NonlinearConstraint.EvaluateConstraintAndGradient Method

Evaluates both the constrain value and its gradient in one operation.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public override double EvaluateConstraintAndGradient(
	Vector<double> x
)

Parameters

x  Vector<Double>
A vector containing the point at which to evaluate the constraint and gradient.

Return Value

Double
The value of the constraint at x.

See Also