42 #include "MoochoPack_ReducedHessianSecantUpdateBFGSFull_Strategy.hpp"
43 #include "MoochoPack_NLPAlgo.hpp"
44 #include "MoochoPack_NLPAlgoState.hpp"
46 namespace MoochoPack {
48 ReducedHessianSecantUpdateBFGSFull_Strategy::ReducedHessianSecantUpdateBFGSFull_Strategy(
49 const bfgs_update_ptr_t& bfgs_update
51 :bfgs_update_(bfgs_update)
56 ,VectorMutable *y_bfgs
59 ,EJournalOutputLevel olevel
65 bfgs_update().perform_update(
66 s_bfgs,y_bfgs,first_update,out,olevel,algo->algo_cntr().check_results()
67 ,rHL_k, &quasi_newton_stats_(*s).set_k(0)
75 << L <<
"*** Perform BFGS update on full matrix where: B = rHL_k\n";
76 bfgs_update().print_step(out,L);
rSQP Algorithm control class.
void print_step(std::ostream &out, const std::string &leading_str) const
bool perform_update(VectorMutable *s_bfgs, VectorMutable *y_bfgs, bool first_update, std::ostream &out, EJournalOutputLevel olevel, NLPAlgo *algo, NLPAlgoState *s, MatrixSymOp *rHL_k)
Reduced space SQP state encapsulation interface.