ActiveSetSequentialQuadraticProgrammingOptimizerConvergenceCheck Method |
Determines whether the optimizer converged or not.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public override bool ConvergenceCheck(
OptimizerMultivariableFunctionResults currentResults,
OptimizerMultivariableFunctionResults previousResults
)
Public Overrides Function ConvergenceCheck (
currentResults As OptimizerMultivariableFunctionResults,
previousResults As OptimizerMultivariableFunctionResults
) As Boolean
public:
virtual bool ConvergenceCheck(
OptimizerMultivariableFunctionResults^ currentResults,
OptimizerMultivariableFunctionResults^ previousResults
) override
abstract ConvergenceCheck :
currentResults : OptimizerMultivariableFunctionResults *
previousResults : OptimizerMultivariableFunctionResults -> bool
override ConvergenceCheck :
currentResults : OptimizerMultivariableFunctionResults *
previousResults : OptimizerMultivariableFunctionResults -> bool
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.
Remarks
This method calls the
ConvergenceFunction with
this,
currentResults, and
previousResults as its
arguments.
See Also