43 #if !defined CHECK_CONVERGENCE_STD_STRATEGY_H
44 #define CHECK_CONVERGENCE_STD_STRATEGY_H
48 namespace MoochoPack {
67 bool scale_opt_error_by_Gf =
true
88 #endif // CHECK_CONVERGENCE_STD_STRATEGY_H
CheckConvergenceStd_Strategy(EOptErrorCheck opt_error_check=OPT_ERROR_REDUCED_GRADIENT_LAGR, EScaleKKTErrorBy scale_opt_error_by=SCALE_BY_ONE, EScaleKKTErrorBy scale_feas_error_by=SCALE_BY_ONE, EScaleKKTErrorBy scale_comp_error_by=SCALE_BY_ONE, bool scale_opt_error_by_Gf=true)
Strategy interface for performing convergence checks.
value_type CalculateScalingFactor(NLPAlgoState &state, EScaleKKTErrorBy scale_by) const
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.
AbstractLinAlgPack::value_type value_type
virtual bool Converged(Algorithm &_algo)
Acts as the central hub for an iterative algorithm.