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