44 #ifndef ROL_TYPEP_QUASINEWTONALGORITHM_HPP
45 #define ROL_TYPEP_QUASINEWTONALGORITHM_HPP
57 template<
typename Real>
93 std::ostream &outStream = std::cout);
105 std::ostream &outStream = std::cout)
override;
107 void writeHeader( std::ostream& os )
const override;
109 void writeName( std::ostream& os )
const override;
111 void writeOutput( std::ostream &os,
bool write_header =
false )
const override;
Provides the interface to evaluate objective functions.
std::string secantName_
Secant name.
Provides an interface to run the projected secant algorithm.
void initialize(Vector< Real > &x, const Vector< Real > &g, Objective< Real > &sobj, Objective< Real > &nobj, Vector< Real > &dg, std::ostream &outStream=std::cout)
void run(Vector< Real > &x, const Vector< Real > &g, Objective< Real > &sobj, Objective< Real > &nobj, std::ostream &outStream=std::cout) override
Run algorithm on unconstrained problems (Type-U). This general interface supports the use of dual opt...
Real sigma2_
Upper safeguard for quadratic line search (default: 0.9)
Real sigma1_
Lower safeguard for quadratic line search (default: 0.1)
Ptr< Secant< Real > > secant_
Secant object (used for quasi-Newton)
QuasiNewtonAlgorithm(ParameterList &list, const Ptr< Secant< Real >> &secant=nullPtr)
Defines the linear algebra or vector space interface.
ESecant
Enumeration of secant update algorithms.
Provides interface for and implements limited-memory secant operators.
void writeName(std::ostream &os) const override
Print step name.
ESecant esec_
Secant type.
Real c1_
Sufficient Decrease Parameter (default: 1e-4)
Provides an interface to run optimization algorithms to minimize composite optimization problems f+ph...
void writeHeader(std::ostream &os) const override
Print iterate header.
int maxit_
Maximum number of line search steps (default: 20)
Real rhodec_
Backtracking rate (default: 0.5)
void writeOutput(std::ostream &os, bool write_header=false) const override
Print iterate status.