Nonlinear Program.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#
The default is SequentialQuadraticProgramming.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public NonlinearProgramAlgorithm Algorithm { get; set; }Property Value
NonlinearProgramAlgorithmThe 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
| Argument | The value is not a defined method. |
| Invalid | A calculation is in progress. |