SolverContext.Solve Method (Func, Void)
Solver Foundation 3.0
[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)
- Type: System.Func<TResult>
A function that is called periodically during the computation to determine whether the user has canceled the operation.
- Type: System.Void
A set of directives to use during the solve process.
Return ValueType: Microsoft.SolverFoundation.Services.Solution
A solution to the model.
- 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.