NonlinearProgram.SparseDerivatives Property

Gets or sets the sparse derivative callbacks.

Definition

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

Property Value

SparseNonlinearProgramDerivatives
Sparse pattern/value callbacks, or null.

Remarks

SparseSequentialQuadraticProgramming requires Jacobian callbacks. NewtonConjugateGradient can use the Hessian callbacks for a bounds-only problem. Dense SQP continues to use the existing gradient and Hessian callbacks.

Exceptions

InvalidOperationExceptionA calculation is in progress.

See Also