Provides an interface to run unconstrained optimization algorithms.
More...
#include <ROL_TypeU_Algorithm.hpp>
|
| virtual | ~Algorithm () |
| | Algorithm () |
| | Constructor, given a step and a status test.
|
| void | setStatusTest (const Ptr< StatusTest< Real > > &status, bool combineStatus=false) |
| virtual void | run (Problem< Real > &problem, std::ostream &outStream=std::cout) |
| | Run algorithm on unconstrained problems (Type-U). This is the primary Type-U interface.
|
| virtual void | run (Vector< Real > &x, Objective< Real > &obj, std::ostream &outStream=std::cout) |
| | Run algorithm on unconstrained problems (Type-U). This is the primary Type-U interface.
|
| virtual void | run (Vector< Real > &x, Objective< Real > &obj, Constraint< Real > &linear_con, Vector< Real > &linear_mul, std::ostream &outStream=std::cout) |
| | Run algorithm on unconstrained problems with explicit linear equality constraints (Type-U). This is the primary Type-U with explicit linear equality constraints interface.
|
| virtual void | run (Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, Constraint< Real > &linear_con, Vector< Real > &linear_mul, const Vector< Real > &linear_c, std::ostream &outStream=std::cout) |
| | Run algorithm on unconstrained problems with explicit linear equality constraints (Type-U). This general interface supports the use of dual optimization vector spaces, where the user does not define the dual() method.
|
| virtual void | run (Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, std::ostream &outStream=std::cout)=0 |
| | 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.
|
| virtual void | writeHeader (std::ostream &os) const |
| | Print iterate header.
|
| virtual void | writeName (std::ostream &os) const |
| | Print step name.
|
| virtual void | writeOutput (std::ostream &os, const bool write_header=false) const |
| | Print iterate status.
|
| virtual void | writeExitStatus (std::ostream &os) const |
| Ptr< const AlgorithmState< Real > > | getState () const |
| void | reset () |
template<typename Real>
class ROL::TypeU::Algorithm< Real >
Provides an interface to run unconstrained optimization algorithms.
Definition at line 49 of file ROL_TypeU_Algorithm.hpp.
◆ ~Algorithm()
◆ Algorithm()
Constructor, given a step and a status test.
◆ initialize()
◆ setStatusTest()
◆ run() [1/5]
Run algorithm on unconstrained problems (Type-U). This is the primary Type-U interface.
◆ run() [2/5]
Run algorithm on unconstrained problems (Type-U). This is the primary Type-U interface.
◆ run() [3/5]
Run algorithm on unconstrained problems with explicit linear equality constraints (Type-U). This is the primary Type-U with explicit linear equality constraints interface.
◆ run() [4/5]
Run algorithm on unconstrained problems with explicit linear equality constraints (Type-U). This general interface supports the use of dual optimization vector spaces, where the user does not define the dual() method.
◆ run() [5/5]
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.
◆ writeHeader()
◆ writeName()
◆ writeOutput()
template<typename Real>
| virtual void ROL::TypeU::Algorithm< Real >::writeOutput |
( |
std::ostream & | os, |
|
|
const bool | write_header = false ) const |
|
virtual |
◆ writeExitStatus()
◆ getState()
◆ reset()
◆ status_
◆ state_
The documentation for this class was generated from the following file: