MoochoPack : Framework for Large-Scale Optimization Algorithms
Version of the Day
|
Directs the selection of a new decomposition if the line search fails. More...
#include <MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp>
Public Member Functions | |
STANDARD_COMPOSITION_MEMBERS (IterationPack::AlgorithmStep, line_search_step) | |
<<std comp>="">> members for LineSearch object. More... | |
STANDARD_COMPOSITION_MEMBERS (NewDecompositionSelection_Strategy, new_decomp_strategy) | |
<<std comp>="">> members for Decomposition Select Strategy object. More... | |
LineSearchFailureNewDecompositionSelection_Step (const line_search_step_ptr_t &line_search_step, const new_decomp_strategy_ptr_t &new_decomp_strategy) | |
Overridden from AlgorithmStep | |
bool | do_step (Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss) |
void | print_step (const Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss, std::ostream &out, const std::string &leading_str) const |
Directs the selection of a new decomposition if the line search fails.
If the delegated line search Step object throws a LineSearchFailure
exception, then this object directs the selection of a new decomposition. If the very next iteration also results in a linesearch failure then we must quit.
Definition at line 58 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.
MoochoPack::LineSearchFailureNewDecompositionSelection_Step::LineSearchFailureNewDecompositionSelection_Step | ( | const line_search_step_ptr_t & | line_search_step, |
const new_decomp_strategy_ptr_t & | new_decomp_strategy | ||
) |
Definition at line 53 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.cpp.
MoochoPack::LineSearchFailureNewDecompositionSelection_Step::STANDARD_COMPOSITION_MEMBERS | ( | IterationPack::AlgorithmStep | , |
line_search_step | |||
) |
<<std comp>="">> members for LineSearch object.
MoochoPack::LineSearchFailureNewDecompositionSelection_Step::STANDARD_COMPOSITION_MEMBERS | ( | NewDecompositionSelection_Strategy | , |
new_decomp_strategy | |||
) |
<<std comp>="">> members for Decomposition Select Strategy object.
bool MoochoPack::LineSearchFailureNewDecompositionSelection_Step::do_step | ( | Algorithm & | algo, |
poss_type | step_poss, | ||
IterationPack::EDoStepType | type, | ||
poss_type | assoc_step_poss | ||
) |
Definition at line 62 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.cpp.
void MoochoPack::LineSearchFailureNewDecompositionSelection_Step::print_step | ( | const Algorithm & | algo, |
poss_type | step_poss, | ||
IterationPack::EDoStepType | type, | ||
poss_type | assoc_step_poss, | ||
std::ostream & | out, | ||
const std::string & | leading_str | ||
) | const |
Definition at line 102 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.cpp.