52 namespace MoochoPack {
76 IterQuantityAccess<VectorMutable>
79 IterQuantityAccess<MatrixOp>
83 V_MtV( &rGf_iq.set_k(0), Z_iq.get_k(0),
trans, Gf_iq.get_k(0) );
86 out <<
"\n||rGf||inf = " << rGf_iq.get_k(0).norm_inf() << std::endl;
89 if( static_cast<int>(ns_olevel) >= static_cast<int>(
PRINT_VECTORS) ) {
90 out <<
"\nrGf_k =\n" << rGf_iq.get_k(0);
98 ,
poss_type assoc_step_poss, std::ostream&
out,
const std::string& L
102 << L <<
"*** Evaluate the reduced gradient of the objective funciton\n"
103 << L <<
"rGf_k = Z_k' * Gf_k\n";
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)
rSQP Algorithm control class.
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()
void V_MtV(VectorMutable *v_lhs, const MatrixOp &M_rhs1, BLAS_Cpp::Transp trans_rhs1, const V &V_rhs2)
v_lhs = op(M_rhs1) * V_rhs2.
Acts as the central hub for an iterative algorithm.
NLPAlgoState & rsqp_state()
<<std aggr>="">> members for algo_cntr
NLPAlgo & rsqp_algo(Algorithm &algo)
Convert from a Algorithm to a NLPAlgo.