Click or drag to resize

SequentialQuadraticProgrammingOptimizerConvergenceCheck Method

Determines whether the optimizer converged or not.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public abstract bool ConvergenceCheck(
	OptimizerMultivariableFunctionResults currentResults,
	OptimizerMultivariableFunctionResults previousResults
)

Parameters

currentResults
Type: AGI.Foundation.NumericalMethodsOptimizerMultivariableFunctionResults
The current results that are used to check if the equality constraints match their desired values within tolerance and the inequality constraints are satisfied. These are also used in combination with the previous results to check changes in the independent variables and the cost function. Use of these results in custom convergence checks is also permitted.
previousResults
Type: AGI.Foundation.NumericalMethodsOptimizerMultivariableFunctionResults
The previous results that are used in combination with the current results to check changes in the independent variables and the cost function. Use of these results in custom convergence checks is also permitted.

Return Value

Type: Boolean
if the convergence check passes; if the convergence check fails.
See Also