SolverContext.Solve Method (Func, Void)
[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.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
'Declaration Public Function Solve ( _ queryAbort As Func, _ ParamArray directives As Void _ ) As Solution
public Solution Solve( Func queryAbort, params void directives )
public: Solution^ Solve( Func^ queryAbort, ... void directives )
member Solve : queryAbort:Func * directives:unit -> Solution
public function Solve( queryAbort : Func, ... directives : Void ) : Solution
A function that is called periodically during the computation to determine whether the user has canceled the operation.
A set of directives to use during the solve process.
A solution to 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.