42 #ifndef UPDATE_BARRIER_PARAMETER_STEP_H
43 #define UPDATE_BARRIER_PARAMETER_STEP_H
53 namespace MoochoPack {
107 const value_type init_barrier_parameter = 0.1,
124 ,
poss_type assoc_step_poss, std::ostream&
out,
const std::string& leading_str )
const;
140 const char opt_grp_name[] =
"UpdateBarrierParameter" );
151 #endif // #if !defined UPDATE_BARRIER_PARAMETER_STEP_H
Base type for all objects that perform steps in an Algorithm.
UpdateBarrierParameter_Step(const value_type init_barrier_parameter=0.1, const value_type tau_mu=0.2, const value_type theta_mu=1.5, const value_type tau_epsilon=10, const value_type theta_epsilon=1.1, const value_type e_tol_max=1000)
Constructor.
value_type Calculate_e_tol(value_type mu)
Templated node class manipulating a reference to a target object who will have its options set...
void print_step(const IterationPack::Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss, std::ostream &out, const std::string &leading_str) const
Called by Algorithm::print_algorithm() to print out what this step does in Matlab like format...
UpdateBarrierParameter_Step & target()
Barrier Parameter (mu) Update.
bool do_step(Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss)
STANDARD_MEMBER_COMPOSITION_MEMBERS(value_type, init_barrier_parameter)
Initial barrier parameter.
void setOption(int option_num, const std::string &option_value)
Overridden from SetOptionsFromStreamNode.
UpdateBarrierParameter_StepSetOptions(UpdateBarrierParameter_Step *target=0, const char opt_grp_name[]="UpdateBarrierParameter")
AbstractLinAlgPack::value_type value_type
Acts as the central hub for an iterative algorithm.
Node class for setting options from a stream.
const std::string & option_value(OptionsGroup::const_iterator &itr)