SolverContext.Solve Method (array<Directive)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Solves a model that has been created and loaded. Solves the model using the specified directives.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
'Declaration Public Function Solve ( _ ParamArray directives As Directive() _ ) As Solution
public Solution Solve( params Directive directives )
public: Solution^ Solve( ... array<Directive^>^ directives )
member Solve : directives:Directive -> Solution
public function Solve( ... directives : Directive ) : Solution
A set of directives to use during the solve process.
A solution of the model.
No solver can accept the model.
This method is a blocking call.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.