NonlinearProgram.Algorithm Property

Gets or sets the method used to solve the nonlinear program.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public NonlinearProgramAlgorithm Algorithm { get; set; }

Property Value

NonlinearProgramAlgorithm
The default is SequentialQuadraticProgramming.

Remarks

The reduced method computes steps using curvature along directions allowed by the active constraints. Both dense methods use LagrangianHessian when supplied, and otherwise build a damped BFGS approximation from changes in first derivatives. The first two choices use dense matrices for small and moderate problems. Other choices use limited-memory, product-based or sparse storage and have their own derivative requirements.

Exceptions

ArgumentOutOfRangeExceptionThe value is not a defined method.
InvalidOperationExceptionA calculation is in progress.

See Also