Click or drag to resize

ParameterOptimizer.CheckEqualitySatisfaction Method

A helper method to determine if the equality constraints are satisfied with the currentEqualityValues.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static bool CheckEqualitySatisfaction(
	IList<SolverConstraintSettings> equalities,
	double[] currentEqualityValues
)

Parameters

equalities
Type: System.Collections.Generic.IList<SolverConstraintSettings>
The equality constraints of the function.
currentEqualityValues
Type:System.Double[]
The values to check against the DesiredValue of the equalities.

Return Value

Type: Boolean
true if all of the equality constraints are satisfied or there are no equality constraints; otherwise false.
See Also