44 #ifndef ROL_TYPEB_GRADIENTALGORITHM_HPP
45 #define ROL_TYPEB_GRADIENTALGORITHM_HPP
56 template<
typename Real>
73 std::ostream &outStream = std::cout);
84 std::ostream &outStream = std::cout)
override;
86 void writeHeader( std::ostream& os )
const override;
88 void writeName( std::ostream& os )
const override;
90 void writeOutput( std::ostream& os,
const bool write_header =
false )
const override;
Provides the interface to evaluate objective functions.
void writeName(std::ostream &os) const override
Print step name.
Defines the linear algebra or vector space interface.
Provides an interface to run bound constrained optimization algorithms.
Provides an interface to run the projected gradient algorithm.
void writeOutput(std::ostream &os, const bool write_header=false) const override
Print iterate status.
void initialize(Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &bnd, std::ostream &outStream=std::cout)
Provides the interface to apply upper and lower bound constraints.
void writeHeader(std::ostream &os) const override
Print iterate header.
void run(Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &bnd, std::ostream &outStream=std::cout) override
Run algorithm on bound constrained problems (Type-B). This general interface supports the use of dual...
GradientAlgorithm(ParameterList &list)