42 #ifndef LINE_SEARCH_FULL_STEP_AFTER_K_ITER_STEP_H
43 #define LINE_SEARCH_FULL_STEP_AFTER_K_ITER_STEP_H
47 #include "rSQPAlgo_StepBaseClasses.h"
48 #include "ConstrainedOptPack_DirectLineSearch_Strategy.hpp"
50 #include "MiStandardAggregationMacros.h"
52 namespace MoochoPack {
65 const line_search_ptr_t& line_search = 0
67 = std::numeric_limits<int>::max() )
68 : line_search_(line_search)
77 {
return full_steps_after_k_; }
83 bool do_step(
Algorithm& algo, poss_type step_poss, IterationPack::EDoStepType type
84 , poss_type assoc_step_poss);
87 void print_step(
const Algorithm& algo, poss_type step_poss, IterationPack::EDoStepType type
88 , poss_type assoc_step_poss, std::ostream& out,
const std::string& leading_str )
const;
91 int full_steps_after_k_;
97 #endif // LINE_SEARCH_FULL_STEP_AFTER_K_ITER_STEP_H
value_type full_steps_after_k() const
Changes from a line search step to just taking full steps after full_steps_after_k iterations...
LineSearchFullStepAfterKIter_Step(const line_search_ptr_t &line_search=0, int full_steps_after_k=std::numeric_limits< int >::max())
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
bool do_step(Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss)
STANDARD_COMPOSITION_MEMBERS(LineSearch_Step, line_search)
<<std comp>="">> members for the line search step