Nonlinear Constraint.Fast Constraint Gradient Property
Gets or sets the gradient of the constraint function.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public Func<Vector<double>, Vector<double>?, Vector<double>> FastConstraintGradient { get; set; }
Property Value
Func<Vector<Double>, Vector<Double>, Vector<Double>>Remarks
If this property is not set after setting the ConstraintFunction property, then
the gradient is evaluated numerically.