50 namespace MoochoPack {
76 var_dep = s.var_dep(),
77 var_indep = s.var_indep();
80 &x_k = s.x().get_k(0),
81 &xl = algo.nlp().xl(),
82 &xu = algo.nlp().xu();
93 if( static_cast<int>(ns_olevel) >= static_cast<int>(
PRINT_VECTORS) ) {
94 if(var_indep.size()) {
95 out <<
"\ndl(var_indep)_k = \n" << *dl.sub_view(var_indep);
96 out <<
"\ndu(var_indep)_k = \n" << *du.sub_view(var_indep);
100 if( static_cast<int>(olevel) >= static_cast<int>(
PRINT_VECTORS) ) {
102 out <<
"\ndl(var_dep)_k = \n" << *dl.sub_view(var_dep);
103 out <<
"\ndu(var_dep)_k = \n" << *du.sub_view(var_dep);
105 out <<
"\ndl_k = \n" << dl;
106 out <<
"\ndu_k = \n" << du;
114 ,
poss_type assoc_step_poss, std::ostream&
out,
const std::string& L
118 << L <<
"*** Set the bounds on d\n"
119 << L <<
"d_bounds_k.l = xl - x_k\n"
120 << L <<
"d_bounds_k.u = xu - x_k\n"
IterationPack::CastIQMember< VectorMutable > dl_iq_
rSQP Algorithm control class.
const std::string dl_name
IterationPack::CastIQMember< VectorMutable > du_iq_
SetDBoundsStd_AddedStep()
virtual std::ostream & journal_out() const
Return a reference to a std::ostream to be used to output debug information and the like...
EJournalOutputLevel
enum for journal output.
Reduced space SQP state encapsulation interface.
void print_algorithm_step(const Algorithm &algo, Algorithm::poss_type step_poss, EDoStepType type, Algorithm::poss_type assoc_step_poss, std::ostream &out)
Prints to 'out' the algorithm step.
AlgorithmTracker & track()
bool do_step(Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss)
Acts as the central hub for an iterative algorithm.
NLPAlgoState & rsqp_state()
<<std aggr>="">> members for algo_cntr
void V_VmV(VectorMutable *v_lhs, const V1 &V1_rhs1, const V2 &V2_rhs2)
v_lhs = V_rhs1 - V_rhs2.
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
RangePack::Range1D Range1D
NLPAlgo & rsqp_algo(Algorithm &algo)
Convert from a Algorithm to a NLPAlgo.
const std::string du_name