42 #ifndef PRE_EVAL_NEW_POINT_BARRIER_STEP_H
43 #define PRE_EVAL_NEW_POINT_BARRIER_STEP_H
46 #include "IterationPack_AlgorithmStep.hpp"
50 #include "MoochoPack_Types.hpp"
51 #include "IterationPack_AlgorithmStep.hpp"
53 #include "OptionsFromStreamPack_SetOptionsFromStreamNode.hpp"
54 #include "OptionsFromStreamPack_SetOptionsToTargetBase.hpp"
56 namespace MoochoPack {
107 ,
poss_type assoc_step_poss, std::ostream& out,
const std::string& leading_str )
const;
113 const value_type relative_bound_push = 0.01,
114 const value_type absolute_bound_push = 0.001
120 class PreEvalNewPointBarrier_StepSetOptions
125 PreEvalNewPointBarrier_StepSetOptions(
127 const char opt_grp_name[] =
"PreEvalNewPointBarrier" );
132 void setOption(
int option_num,
const std::string& option_value );
139 #endif // PRE_EVAL_NEW_POINT_BARRIER_STEP_H
PreEvalNewPointBarrier_Step(const value_type relative_bound_push=0.01, const value_type absolute_bound_push=0.001)
bool do_step(Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss)
STANDARD_MEMBER_COMPOSITION_MEMBERS(value_type, relative_bound_push)
relative fraction for initializing x within bounds. xl_sb = min(xl+relative_bound_push*(xu-xl), xl + absolute_bound_push) xu_sb = max(xu-relative_bound_push*(xu-xl), xu - absolute_bound_push) if (xl_sb > xu_sb) then x = (xl + (xu-xl)/2 else if (x < xl_sb) then x = xl_sb else if (x > xu_sb) then x = xu_sb
Standard evaluation step class for extra parameters in primal/dual barrier method.