Click or drag to resize

ParameterOptimizer.CheckInequalitySatisfaction Method

A helper method to determine if the inequality constraints are satisfied with the currentInequalityValues.

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 CheckInequalitySatisfaction(
	IList<InequalityConstraintSettings> inequalities,
	double[] currentInequalityValues
)

Parameters

inequalities
Type: System.Collections.Generic.IList<InequalityConstraintSettings>
The inequality constraints of the function.
currentInequalityValues
Type:System.Double[]
The values to check against the BoundValue of the inequalities.

Return Value

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