PopulationBasedOptimizer<TSolution, TPopulation, TCandidate>.GetConstraintViolation Method

Gets the total constraint violation for a given solution vector.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
protected double GetConstraintViolation(
	Vector<double> x
)

Parameters

x  Vector<Double>
The solution vector.

Return Value

Double
The total constraint violation.

See Also