CompactQuasiNewtonSolver.Solve Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Solves a model by using the specified parameters.

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

Return Value

Type: Microsoft.SolverFoundation.Services.INonlinearSolution
The solution from the solver.

Implements

IRowVariableSolver.Solve(ISolverParameters)

Exceptions

Exception Condition
ArgumentNullException

parameters is nulla null reference (Nothing in Visual Basic).

ArgumentException

parameters is not of type CompactQuasiNewtonSolverParams.

ModelException

Either FunctionEvaluator() or GradientEvaluator() is not specified before the Solve method is called.

.NET Framework Security

See Also

Reference

CompactQuasiNewtonSolver Class

Microsoft.SolverFoundation.Solvers Namespace