42 #ifndef CHECK_CONVERGENCE_STRATEGY_H
43 #define CHECK_CONVERGENCE_STRATEGY_H
50 namespace MoochoPack {
111 bool scale_opt_error_by_Gf =
true
157 CheckConvergence_Strategy >
164 ,
const char opt_grp_name[] =
"CheckConvergenceStrategy" );
176 #endif // CHECK_CONVERGENCE_STRATEGY_H
CheckConvergence_StrategySetOptions(CheckConvergence_Strategy *target=0, const char opt_grp_name[]="CheckConvergenceStrategy")
virtual void print_step(const Algorithm &_algo, std::ostream &out, const std::string &L) const =0
void setOption(int option_num, const std::string &option_value)
Overridden from SetOptionsFromStreamNode.
Strategy interface for performing convergence checks.
CheckConvergence_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)
Templated node class manipulating a reference to a target object who will have its options set...
Set options for CheckConvergence_Strategy from an OptionsFromStream object.
CheckConvergence_Strategy & target()
STANDARD_MEMBER_COMPOSITION_MEMBERS(EOptErrorCheck, opt_error_check)
<<std member="" comp>="">> members for whether to check the reduced or full gradient of the Lagrangia...
Acts as the central hub for an iterative algorithm.
Node class for setting options from a stream.
virtual bool Converged(Algorithm &_algo)=0
const std::string & option_value(OptionsGroup::const_iterator &itr)