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
)
Protected Shared Function CheckConstraints (
constraints As IList(Of SolverConstraintSettings),
currentConstraintValues As Double()
) As Boolean
protected:
static bool CheckConstraints(
IList<SolverConstraintSettings^>^ constraints,
array<double>^ currentConstraintValues
)
static member CheckConstraints :
constraints : IList<SolverConstraintSettings> *
currentConstraintValues : float[] -> bool
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