43 #if !defined CHECK_CONVERGENCE_STD_STRATEGY_H
44 #define CHECK_CONVERGENCE_STD_STRATEGY_H
46 #include "MoochoPack_CheckConvergence_Strategy.hpp"
48 namespace MoochoPack {
63 EOptErrorCheck opt_error_check = OPT_ERROR_REDUCED_GRADIENT_LAGR,
64 EScaleKKTErrorBy scale_opt_error_by = SCALE_BY_ONE,
65 EScaleKKTErrorBy scale_feas_error_by = SCALE_BY_ONE,
66 EScaleKKTErrorBy scale_comp_error_by = SCALE_BY_ONE,
67 bool scale_opt_error_by_Gf =
true
76 virtual void print_step(
const Algorithm& _algo, std::ostream& out,
const std::string& L )
const;
82 value_type CalculateScalingFactor(
NLPAlgoState& state, EScaleKKTErrorBy scale_by )
const;
88 #endif // CHECK_CONVERGENCE_STD_STRATEGY_H
Strategy interface for performing convergence checks.
virtual void print_step(const Algorithm &_algo, std::ostream &out, const std::string &L) const
Reduced space SQP state encapsulation interface.
Implementation of CheckConvergence_Strategy interface.
virtual bool Converged(Algorithm &_algo)