44 #ifndef ROL_TYPEB_MOREAUYOSIDAALGORITHM_HPP
45 #define ROL_TYPEB_MOREAUYOSIDAALGORITHM_HPP
58 template<
typename Real>
89 std::ostream &outStream = std::cout);
95 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,
const bool write_header =
false )
const override;
Provides the interface to evaluate objective functions.
void writeHeader(std::ostream &os) const override
Print iterate header.
void initialize(Vector< Real > &x, const Vector< Real > &g, MoreauYosidaObjective< Real > &myobj, BoundConstraint< Real > &bnd, Vector< Real > &pwa, std::ostream &outStream=std::cout)
void writeOutput(std::ostream &os, const bool write_header=false) const override
Print iterate status.
void writeName(std::ostream &os) const override
Print step name.
Defines the linear algebra or vector space interface.
MoreauYosidaAlgorithm(ParameterList &list, const Ptr< Secant< Real >> &secant=nullPtr)
Provides an interface to run bound constrained optimization algorithms.
Provides the interface to evaluate the Moreau-Yosida penalty function.
Provides interface for and implements limited-memory secant operators.
const Ptr< Secant< Real > > secant_
Provides the interface to apply upper and lower bound constraints.
void updateState(const Vector< Real > &x, MoreauYosidaObjective< Real > &myobj, BoundConstraint< Real > &bnd, Vector< Real > &pwa, std::ostream &outStream=std::cout)
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...
Provides an interface to run the Moreau-Yosida algorithm.