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,
bool write_header =
false )
const override;
Provides the interface to apply upper and lower bound constraints.
Provides the interface to evaluate objective functions.
Provides an interface to run bound constrained optimization algorithms.
Provides an interface to run the projected gradient algorithm.
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...
void writeHeader(std::ostream &os) const override
Print iterate header.
void initialize(Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &bnd, std::ostream &outStream=std::cout)
void writeName(std::ostream &os) const override
Print step name.
GradientAlgorithm(ParameterList &list)
void writeOutput(std::ostream &os, bool write_header=false) const override
Print iterate status.
Defines the linear algebra or vector space interface.