Click or drag to resize

MultivariableFunctionSolverCheckConstraints Method

A helper method to determine if the constraints are satisfied with the currentConstraintValues

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
protected static bool CheckConstraints(
	IList<SolverConstraintSettings> constraints,
	double[] currentConstraintValues
)

Parameters

constraints
Type: System.Collections.GenericIListSolverConstraintSettings
The SolverConstraintSettings of the function.
currentConstraintValues
Type: SystemDouble
The values to check against the DesiredValue of the constraints.

Return Value

Type: Boolean
if all of the constraints are satisfied; otherwise .
See Also