ROL
|
#include <ROL_Algorithm.hpp>
Public Member Functions | |
virtual | ~DefaultAlgorithm () |
DefaultAlgorithm (Step< Real > &step, StatusTest< Real > &status, bool printHeader=false) | |
DefaultAlgorithm (Step< Real > &step, StatusTest< Real > &status, AlgorithmState< Real > &state, bool printHeader=false) | |
virtual std::vector< std::string > | run (Vector< Real > &x, Objective< Real > &obj, bool print=false, std::ostream &outStream=std::cout) |
Run algorithm on unconstrained problems (Type-U). This is the primary Type-U interface. More... | |
virtual std::vector< std::string > | run (Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, bool print=false, std::ostream &outStream=std::cout) |
Run algorithm on unconstrained problems (Type-U). This general interface supports the use of dual optimization vector spaces, where the user does not define the dual() method. More... | |
virtual std::vector< std::string > | run (Vector< Real > &x, Objective< Real > &obj, BoundConstraint< Real > &con, bool print=false, std::ostream &outStream=std::cout) |
Run algorithm on bound constrained problems (Type-B). This is the primary Type-B interface. More... | |
virtual std::vector< std::string > | run (Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con, bool print=false, std::ostream &outStream=std::cout) |
Run algorithm on bound constrained problems (Type-B). This general interface supports the use of dual optimization vector spaces, where the user does not define the dual() method. More... | |
virtual std::vector< std::string > | run (Vector< Real > &x, Vector< Real > &l, Objective< Real > &obj, EqualityConstraint< Real > &con, bool print=false, std::ostream &outStream=std::cout) |
Run algorithm on equality constrained problems (Type-E). This is the primary Type-E interface. More... | |
virtual std::vector< std::string > | run (Vector< Real > &x, const Vector< Real > &g, Vector< Real > &l, const Vector< Real > &c, Objective< Real > &obj, EqualityConstraint< Real > &con, bool print=false, std::ostream &outStream=std::cout) |
Run algorithm on equality constrained problems (Type-E). This general interface supports the use of dual optimization and constraint vector spaces, where the user does not define the dual() method. More... | |
virtual std::vector< std::string > | run (Vector< Real > &x, const Vector< Real > &g, Vector< Real > &l, const Vector< Real > &c, Objective< Real > &obj, EqualityConstraint< Real > &con, BoundConstraint< Real > &bnd, bool print=false, std::ostream &outStream=std::cout) |
Run algorithm on equality constrained problems (Type-E). This general interface supports the use of dual optimization and constraint vector spaces, where the user does not define the dual() method. More... | |
std::string | getIterHeader (void) |
std::string | getIterInfo (bool withHeader=false) |
Teuchos::RCP< const AlgorithmState< Real > > | getState (void) const |
Private Attributes | |
Teuchos::RCP< Step< Real > > | step_ |
Teuchos::RCP< StatusTest< Real > > | status_ |
Teuchos::RCP< AlgorithmState < Real > > | state_ |
bool | printHeader_ |
Definition at line 62 of file ROL_Algorithm.hpp.
|
inlinevirtual |
Definition at line 72 of file ROL_Algorithm.hpp.
|
inline |
Definition at line 74 of file ROL_Algorithm.hpp.
References ROL::DefaultAlgorithm< Real >::printHeader_, ROL::DefaultAlgorithm< Real >::state_, ROL::DefaultAlgorithm< Real >::status_, and ROL::DefaultAlgorithm< Real >::step_.
|
inline |
Definition at line 81 of file ROL_Algorithm.hpp.
References ROL::DefaultAlgorithm< Real >::printHeader_, ROL::DefaultAlgorithm< Real >::state_, ROL::DefaultAlgorithm< Real >::status_, and ROL::DefaultAlgorithm< Real >::step_.
|
inlinevirtual |
Run algorithm on unconstrained problems (Type-U). This is the primary Type-U interface.
Definition at line 92 of file ROL_Algorithm.hpp.
References ROL::BoundConstraint< Real >::deactivate(), and ROL::Vector< Real >::dual().
Referenced by main(), and ROL::DefaultAlgorithm< Real >::run().
|
inlinevirtual |
Run algorithm on unconstrained problems (Type-U). This general interface supports the use of dual optimization vector spaces, where the user does not define the dual() method.
Definition at line 105 of file ROL_Algorithm.hpp.
References ROL::BoundConstraint< Real >::deactivate(), and ROL::DefaultAlgorithm< Real >::run().
|
inlinevirtual |
Run algorithm on bound constrained problems (Type-B). This is the primary Type-B interface.
Definition at line 118 of file ROL_Algorithm.hpp.
References ROL::Vector< Real >::dual(), and ROL::DefaultAlgorithm< Real >::run().
|
inlinevirtual |
Run algorithm on bound constrained problems (Type-B). This general interface supports the use of dual optimization vector spaces, where the user does not define the dual() method.
Definition at line 130 of file ROL_Algorithm.hpp.
References ROL::Vector< Real >::clone(), ROL::DefaultAlgorithm< Real >::printHeader_, ROL::DefaultAlgorithm< Real >::state_, ROL::DefaultAlgorithm< Real >::status_, and ROL::DefaultAlgorithm< Real >::step_.
|
inlinevirtual |
Run algorithm on equality constrained problems (Type-E). This is the primary Type-E interface.
Definition at line 185 of file ROL_Algorithm.hpp.
References ROL::Vector< Real >::dual(), and ROL::DefaultAlgorithm< Real >::run().
|
inlinevirtual |
Run algorithm on equality constrained problems (Type-E). This general interface supports the use of dual optimization and constraint vector spaces, where the user does not define the dual() method.
Definition at line 201 of file ROL_Algorithm.hpp.
References ROL::Vector< Real >::clone(), ROL::DefaultAlgorithm< Real >::printHeader_, ROL::DefaultAlgorithm< Real >::state_, ROL::DefaultAlgorithm< Real >::status_, and ROL::DefaultAlgorithm< Real >::step_.
|
inlinevirtual |
Run algorithm on equality constrained problems (Type-E). This general interface supports the use of dual optimization and constraint vector spaces, where the user does not define the dual() method.
Definition at line 249 of file ROL_Algorithm.hpp.
References ROL::Vector< Real >::clone(), ROL::DefaultAlgorithm< Real >::printHeader_, ROL::DefaultAlgorithm< Real >::state_, ROL::DefaultAlgorithm< Real >::status_, and ROL::DefaultAlgorithm< Real >::step_.
|
inline |
Definition at line 294 of file ROL_Algorithm.hpp.
References ROL::DefaultAlgorithm< Real >::step_.
|
inline |
Definition at line 298 of file ROL_Algorithm.hpp.
References ROL::DefaultAlgorithm< Real >::state_, and ROL::DefaultAlgorithm< Real >::step_.
|
inline |
Definition at line 302 of file ROL_Algorithm.hpp.
References ROL::DefaultAlgorithm< Real >::state_.
Referenced by main().
|
private |
Definition at line 64 of file ROL_Algorithm.hpp.
Referenced by ROL::DefaultAlgorithm< Real >::DefaultAlgorithm(), ROL::DefaultAlgorithm< Real >::getIterHeader(), ROL::DefaultAlgorithm< Real >::getIterInfo(), and ROL::DefaultAlgorithm< Real >::run().
|
private |
Definition at line 65 of file ROL_Algorithm.hpp.
Referenced by ROL::DefaultAlgorithm< Real >::DefaultAlgorithm(), and ROL::DefaultAlgorithm< Real >::run().
|
private |
Definition at line 66 of file ROL_Algorithm.hpp.
Referenced by ROL::DefaultAlgorithm< Real >::DefaultAlgorithm(), ROL::DefaultAlgorithm< Real >::getIterInfo(), ROL::DefaultAlgorithm< Real >::getState(), and ROL::DefaultAlgorithm< Real >::run().
|
private |
Definition at line 68 of file ROL_Algorithm.hpp.
Referenced by ROL::DefaultAlgorithm< Real >::DefaultAlgorithm(), and ROL::DefaultAlgorithm< Real >::run().