MoochoPack : Framework for Large-Scale Optimization Algorithms
Version of the Day
|
Standard evaluation step class for extra parameters in primal/dual barrier method. More...
#include <MoochoPack_PreEvalNewPointBarrier_Step.hpp>
Public Member Functions | |
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 More... | |
STANDARD_MEMBER_COMPOSITION_MEMBERS (value_type, absolute_bound_push) | |
absolute measure 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 More... | |
PreEvalNewPointBarrier_Step (const value_type relative_bound_push=0.01, const value_type absolute_bound_push=0.001) | |
Overridden from AlgorithmStep | |
bool | do_step (Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss) |
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 |
Standard evaluation step class for extra parameters in primal/dual barrier method.
This class calculates invXu
, invXl
invXu_m_invXl
Definition at line 64 of file MoochoPack_PreEvalNewPointBarrier_Step.hpp.
MoochoPack::PreEvalNewPointBarrier_Step::PreEvalNewPointBarrier_Step | ( | const value_type | relative_bound_push = 0.01 , |
const value_type | absolute_bound_push = 0.001 |
||
) |
Constructor.
Definition at line 63 of file MoochoPack_PreEvalNewPointBarrier_Step.cpp.
MoochoPack::PreEvalNewPointBarrier_Step::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
MoochoPack::PreEvalNewPointBarrier_Step::STANDARD_MEMBER_COMPOSITION_MEMBERS | ( | value_type | , |
absolute_bound_push | |||
) |
absolute measure 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
bool MoochoPack::PreEvalNewPointBarrier_Step::do_step | ( | Algorithm & | algo, |
poss_type | step_poss, | ||
IterationPack::EDoStepType | type, | ||
poss_type | assoc_step_poss | ||
) |
Definition at line 72 of file MoochoPack_PreEvalNewPointBarrier_Step.cpp.