Click or drag to resize

MultivariableFunctionSolverIterationResults.IndexOfConstraint Method (String)

Gets the index of the SolverConstraintSettings with the matching constraintName in the array that is returned by the GetConstraintSettings() method. This index also corresponds to the evaluated value in the array returned by the GetConstraintValues() of every SolvableMultivariableFunctionResults stored in this set of results.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public int IndexOfConstraint(
	string constraintName
)

Parameters

constraintName
Type: System.String
The name of the SolverConstraintSettings whose index is desired.

Return Value

Type: Int32
The index of the SolverConstraintSettings with the matching constraintName and constraint value in all of the SolvableMultivariableFunctionResults stored in this, or -1 if the SolverConstraintSettings is not stored in this set of results.
See Also