Linear Constraint.Evaluate Gradient Method
Evaluates the gradient of the constraint at the specified point.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The value of the constraint gradient at x.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public override Vector<double> EvaluateGradient(
Vector<double> x
)
Parameters
Return Value
Vector<Double>The value of the constraint gradient at x.
Remarks
For a linear constraint, the gradient is equal to the vector of coefficients. It is independent of x.