49 #include "ConstrainedOptPack/src/VectorWithNorms.h"
50 #include "AbstractLinAlgPack/src/AbstractLinAlgPack_MatrixOp.hpp"
55 namespace LinAlgOpPack {
66 NLPAlgoState &s = algo.rsqp_state();
69 std::ostream&
out = algo.track().journal_out();
84 out <<
"\n||w||inf = " << s.w().get_k(0).norm_inf() << std::endl;
87 if( static_cast<int>(olevel) >= static_cast<int>(
PRINT_VECTORS) ) {
88 out <<
"\nw_k =\n" << s.w().get_k(0)();
96 , std::ostream& out,
const std::string& L )
const
99 << L <<
"*** Evaluate the exact reduced QP cross term\n"
100 << L <<
"w_k = Z_k' * HL_k * Ypy_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)
EJournalOutputLevel
enum for journal output.
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.
void Vp_StMtV(VectorMutable *v_lhs, value_type alpha, const MatrixOp &M_rhs1, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2, value_type beta=1.0)
v_lhs = alpha * op(M_rhs1) * v_rhs2 + beta * v_lhs (BLAS xGEMV)
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.
value_type norm_inf(const DVectorSlice &vs_rhs)
result = ||vs_rhs||infinity (BLAS IxAMAX)
NLPAlgo & rsqp_algo(Algorithm &algo)
Convert from a Algorithm to a NLPAlgo.