Click or drag to resize

ParameterOptimizerIterationResultsIndexOfEqualityConstraint Method (SolverConstraintSettings)

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

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 23.2.417.0 (23.2.417.0)
public int IndexOfEqualityConstraint(
	SolverConstraintSettings constraint


Type: AGI.Foundation.NumericalMethodsSolverConstraintSettings
The SolverConstraintSettings whose index is desired.

Return Value

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