ConstraintSystem.CreateSolver Method (ISolverEnvironment)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates an instance of a solver.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function CreateSolver ( _
context As ISolverEnvironment _
) As ConstraintSystem
public static ConstraintSystem CreateSolver(
ISolverEnvironment context
)
public:
static ConstraintSystem^ CreateSolver(
ISolverEnvironment^ context
)
static member CreateSolver :
context:ISolverEnvironment -> ConstraintSystem
public static function CreateSolver(
context : ISolverEnvironment
) : ConstraintSystem
Parameters
- context
Type: Microsoft.SolverFoundation.Services.ISolverEnvironment
The environment for the solver.
Return Value
Type: Microsoft.SolverFoundation.Solvers.ConstraintSystem
An instance of a solver.
.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.