NelderMeadSolver.Solve Method (ISolverParameters)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Solves the model using the given parameter instance.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function Solve ( _
parameters As ISolverParameters _
) As INonlinearSolution
public INonlinearSolution Solve(
ISolverParameters parameters
)
public:
virtual INonlinearSolution^ Solve(
ISolverParameters^ parameters
) sealed
abstract Solve :
parameters:ISolverParameters -> INonlinearSolution
override Solve :
parameters:ISolverParameters -> INonlinearSolution
public final function Solve(
parameters : ISolverParameters
) : INonlinearSolution
Parameters
- parameters
Type: Microsoft.SolverFoundation.Services.ISolverParameters
Should be an instance of NelderMeadSolverParams.
Return Value
Type: Microsoft.SolverFoundation.Services.INonlinearSolution
The solution after solving.
Implements
IRowVariableSolver.Solve(ISolverParameters)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Parameters should not be null. |
ArgumentException | Parameters should be of type NelderMeadSolverParams. |
ModelException | FunctionEvaluator must be specified before calling this method. |
.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.