SequentialQuadraticProgrammingOptimizerConvergenceCheck 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 abstract bool ConvergenceCheck(
OptimizerMultivariableFunctionResults currentResults,
OptimizerMultivariableFunctionResults previousResults
)
Public MustOverride Function ConvergenceCheck (
currentResults As OptimizerMultivariableFunctionResults,
previousResults As OptimizerMultivariableFunctionResults
) As Boolean
public:
virtual bool ConvergenceCheck(
OptimizerMultivariableFunctionResults^ currentResults,
OptimizerMultivariableFunctionResults^ previousResults
) abstract
abstract 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.
See Also