Click or drag to resize

ActiveSetLineSearchSQPSolve(NonlinearProgrammingProblem, DoubleVector) Method

Solve the specified nonlinear programming problem starting the iteration from the specified starting point.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public override bool Solve(
	NonlinearProgrammingProblem problem,
	DoubleVector startingPoint
)

Parameters

problem  NonlinearProgrammingProblem
The nonlinear programming problem.
startingPoint  DoubleVector
Initial iteration starting point.

Return Value

Boolean
true if the algorithm converged to a solution. false if it did not.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if there are no constraints.
Remarks
If you have no constraints, use a minimizer such as DownhillSimplexMinimizer or ConjugateGradientMinimizer.
See Also