MultivariableFunctionSolver.CheckConstraints 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: 25.1.421.0 (25.1.421.0)
Syntaxprotected 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.Generic.IList<SolverConstraintSettings>
The SolverConstraintSettings of the function. - currentConstraintValues
- Type:System.Double[]
The values to check against the DesiredValue
of the constraints.
Return Value
Type:
Booleantrue if all of the constraints are satisfied; otherwise
false.
See Also