Click or drag to resize

ParameterOptimizerIterationResultsIndexOfInequalityConstraint Method (InequalityConstraintSettings)

Gets the index of the InequalityConstraintSettings in the array that is returned by the GetInequalityConstraintSettings method. This index also corresponds to the evaluated value in the array returned by the GetInequalityConstraintValues of every OptimizerMultivariableFunctionResults stored in this set of results.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public int IndexOfInequalityConstraint(
	InequalityConstraintSettings constraint
)

Parameters

constraint
Type: AGI.Foundation.NumericalMethodsInequalityConstraintSettings
The InequalityConstraintSettings whose index is desired.

Return Value

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