10#ifndef ROL_TYPEP_QUASINEWTONALGORITHM_HPP
11#define ROL_TYPEP_QUASINEWTONALGORITHM_HPP
23template<
typename Real>
59 std::ostream &outStream = std::cout);
71 std::ostream &outStream = std::cout)
override;
73 void writeHeader( std::ostream& os )
const override;
75 void writeName( std::ostream& os )
const override;
77 void writeOutput( std::ostream &os,
bool write_header =
false )
const override;
Provides the interface to evaluate objective functions.
Provides interface for and implements limited-memory secant operators.
Provides an interface to run optimization algorithms to minimize composite optimization problems f+ph...
void pgstep(Vector< Real > &pgiter, Vector< Real > &pgstep, Objective< Real > &nobj, const Vector< Real > &x, const Vector< Real > &dg, Real t, Real &tol) const
const Ptr< AlgorithmState< Real > > state_
const Ptr< CombinedStatusTest< Real > > status_
Provides an interface to run the projected secant algorithm.
Real rhodec_
Backtracking rate (default: 0.5)
Real sigma2_
Upper safeguard for quadratic line search (default: 0.9)
void writeOutput(std::ostream &os, bool write_header=false) const override
Print iterate status.
Real sigma1_
Lower safeguard for quadratic line search (default: 0.1)
Ptr< Secant< Real > > secant_
Secant object (used for quasi-Newton)
int maxit_
Maximum number of line search steps (default: 20)
Real c1_
Sufficient Decrease Parameter (default: 1e-4)
void writeHeader(std::ostream &os) const override
Print iterate header.
void initialize(Vector< Real > &x, const Vector< Real > &g, Objective< Real > &sobj, Objective< Real > &nobj, Vector< Real > &dg, std::ostream &outStream=std::cout)
ESecant esec_
Secant type.
std::string secantName_
Secant name.
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...
void writeName(std::ostream &os) const override
Print step name.
Defines the linear algebra or vector space interface.