This topic has not yet been rated - Rate this topic

SolverContext Methods

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The SolverContext type exposes the following members.

  Name Description
Public method CheckModel Checks a model for errors.
Public method ClearModel Clears a model.
Public method CreateModel Creates a model.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindAllowedValues(IEnumerable<DecisionBinding>) Finds all allowed values for a set of decisions.
Public method FindAllowedValues(IEnumerable<DecisionBinding>, Func<TResult>, Void) Finds all allowed values for a set of decisions.
Public method Static member GetContext Returns the singleton context.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LoadModel(ILinearModel) Loads a linear model.
Public method LoadModel(ITermModel) Loads a non-linear model.
Public method LoadModel(FileFormat, TextReader) Loads a model from a file.
Public method LoadModel(FileFormat, String) Loads a model in OML, MPS, or .SMPS format.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PropagateDecisions Writes decision values from the current solution back to the database.
Public method SaveModel Writes the decision values from a solution.
Public method Solve() Solves a model that has been created and loaded.
Public method Solve(Directive[]) Solves a model that has been created and loaded. Solves the model using the specified directives.
Public method Solve(Func<TResult>, Void) Solves a model that has been created and loaded.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.