LinearConstraint.EvaluateConstraintAndGradient Method

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

Definition

Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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