NonlinearProgramOptions Class

Specifies the methods and numerical controls used to solve a nonlinear program.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public sealed class NonlinearProgramOptions
Inheritance
Object  →  NonlinearProgramOptions

Remarks

Pass this object to Solve(NonlinearProgramOptions). Each solve takes a private copy before invoking callbacks. Changes affect subsequent solves, not a solve already in progress. Automatic selection writes the concrete choice back to Method unless the caller changes Method during initialization. Set Method to Automatic again to request new selection. Configure an object before sharing it between threads; simultaneous writes are not supported. Derivative functions and initial guesses belong to the model. Iteration and evaluation limits remain on Solver.

Constructors

NonlinearProgramOptionsCreates options with the default nonlinear solver settings.

Properties

CurvatureDampingFactorGets or sets the minimum relative curvature retained by a damped quasi-Newton update.
DefaultGets a new options object with the default solver settings.
HistorySizeGets or sets the number of retained BFGS steps.
MethodGets or sets the method used to solve the nonlinear program.
OptimalityToleranceGets or sets the tolerance used to check constraints and first-order optimality.
PreconditioningMethodGets or sets the Newton conjugate-gradient preconditioning method.
SparseCurvatureMethodGets or sets the curvature source for sparse nonlinear steps.
UseFeasibilityRestorationGets or sets whether sparse optimization can try a short feasibility recovery phase.
UseLineSearchGets or sets whether unbounded Newton steps use backtracking.
UseQuadraticProgramWarmStartGets or sets whether reduced QP steps reuse active constraints from earlier steps.
UseSecondOrderCorrectionGets or sets whether sparse optimization corrects steps rejected because of constraint curvature.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also