ROL
|
#include <ROL_InteriorPointStep.hpp>
Public Member Functions | |
~InteriorPointStep () | |
InteriorPointStep (Teuchos::ParameterList &parlist) | |
void | initialize (Vector< Real > &x, const Vector< Real > &g, Vector< Real > &l, const Vector< Real > &c, Objective< Real > &obj, EqualityConstraint< Real > &con, AlgorithmState< Real > &algo_state) |
Initialize step with equality constraint. More... | |
void | initialize (Vector< Real > &x, const Vector< Real > &g, Vector< Real > &l, const Vector< Real > &c, Objective< Real > &obj, EqualityConstraint< Real > &con, BoundConstraint< Real > &bnd, AlgorithmState< Real > &algo_state) |
Initialize step with equality constraint. More... | |
void | compute (Vector< Real > &s, const Vector< Real > &x, const Vector< Real > &l, Objective< Real > &obj, EqualityConstraint< Real > &con, AlgorithmState< Real > &algo_state) |
Compute step (equality constraints). More... | |
virtual void | compute (Vector< Real > &s, const Vector< Real > &x, const Vector< Real > &l, Objective< Real > &obj, EqualityConstraint< Real > &con, BoundConstraint< Real > &bnd, AlgorithmState< Real > &algo_state) |
Compute step (equality constraints). More... | |
void | update (Vector< Real > &x, Vector< Real > &l, const Vector< Real > &s, Objective< Real > &obj, EqualityConstraint< Real > &con, AlgorithmState< Real > &algo_state) |
Update step, if successful (equality constraints). More... | |
void | update (Vector< Real > &x, Vector< Real > &l, const Vector< Real > &s, Objective< Real > &obj, EqualityConstraint< Real > &con, BoundConstraint< Real > &bnd, AlgorithmState< Real > &algo_state) |
Update step, if successful (equality constraints). More... | |
virtual void | compute (Vector< Real > &s, const Vector< Real > &x, Objective< Real > &obj, BoundConstraint< Real > &con, AlgorithmState< Real > &algo_state) |
Compute step for bound constraints; here only to satisfy the interface requirements, does nothing, needs refactoring. More... | |
virtual void | update (Vector< Real > &x, const Vector< Real > &s, Objective< Real > &obj, BoundConstraint< Real > &con, AlgorithmState< Real > &algo_state) |
Update step, for bound constraints; here only to satisfy the interface requirements, does nothing, needs refactoring. More... | |
std::string | printHeader (void) const |
Print iterate header. More... | |
std::string | printName (void) const |
Print step name. More... | |
std::string | print (AlgorithmState< Real > &algo_state, bool pHeader=false) const |
Print iterate status. More... | |
![]() | |
virtual | ~Step () |
Step (void) | |
virtual void | initialize (Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con, AlgorithmState< Real > &algo_state) |
Initialize step with bound constraint. More... | |
virtual void | initialize (Vector< Real > &x, const Vector< Real > &s, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con, AlgorithmState< Real > &algo_state) |
Initialize step with bound constraint. More... | |
void | initialize (OptimizationProblem< Real > &opt, AlgorithmState< Real > &algo_state) |
void | compute (Vector< Real > &s, OptimizationProblem< Real > &opt, AlgorithmState< Real > &algo_state) |
void | update (OptimizationProblem< Real > &opt, const Vector< Real > &s, AlgorithmState< Real > &algo_state) |
const Teuchos::RCP< const StepState< Real > > | getStepState (void) const |
Get state for step object. More... | |
Private Types | |
typedef InteriorPoint::PenalizedObjective< Real > | IPOBJ |
typedef InteriorPoint::CompositeConstraint< Real > | IPCON |
typedef PartitionedVector< Real > | PV |
typedef PV::size_type | size_type |
Private Attributes | |
Teuchos::RCP< StatusTest< Real > > | status_ |
Teuchos::RCP< Step< Real > > | step_ |
Teuchos::RCP< IPOBJ > | ipobj_ |
Teuchos::RCP< IPCON > | ipcon_ |
Teuchos::RCP< Algorithm< Real > > | algo_ |
Teuchos::RCP< Teuchos::ParameterList > | parlist_ |
Teuchos::RCP< PV > | x_ |
Teuchos::RCP< Vector< Real > > | g_ |
Teuchos::RCP< Vector< Real > > | l_ |
Teuchos::RCP< Vector< Real > > | c_ |
Real | mu_ |
Real | mumin_ |
Real | mumax_ |
Real | rho_ |
int | maxit_ |
Real | gtol_ |
Real | ctol_ |
Real | stol_ |
int | subproblemIter_ |
int | verbosity_ |
Static Private Attributes | |
static const size_type | OPT = 0 |
static const size_type | SLACK = 1 |
Additional Inherited Members | |
![]() | |
Teuchos::RCP< StepState< Real > > | getState (void) |
Definition at line 57 of file ROL_InteriorPointStep.hpp.
|
private |
Definition at line 59 of file ROL_InteriorPointStep.hpp.
|
private |
Definition at line 60 of file ROL_InteriorPointStep.hpp.
|
private |
Definition at line 62 of file ROL_InteriorPointStep.hpp.
|
private |
Definition at line 63 of file ROL_InteriorPointStep.hpp.
|
inline |
Definition at line 103 of file ROL_InteriorPointStep.hpp.
|
inline |
Definition at line 105 of file ROL_InteriorPointStep.hpp.
References ROL::InteriorPointStep< Real >::ctol_, ROL::InteriorPointStep< Real >::gtol_, ROL::InteriorPointStep< Real >::maxit_, ROL::InteriorPointStep< Real >::mu_, ROL::InteriorPointStep< Real >::mumax_, ROL::InteriorPointStep< Real >::mumin_, ROL::InteriorPointStep< Real >::parlist_, ROL::InteriorPointStep< Real >::rho_, ROL::InteriorPointStep< Real >::stol_, ROL::InteriorPointStep< Real >::subproblemIter_, and ROL::InteriorPointStep< Real >::verbosity_.
|
inlinevirtual |
Initialize step with equality constraint.
Reimplemented from ROL::Step< Real >.
Definition at line 145 of file ROL_InteriorPointStep.hpp.
References ROL::InteriorPointStep< Real >::c_, ROL::Vector< Real >::clone(), ROL::AlgorithmState< Real >::cnorm, ROL::InteriorPointStep< Real >::g_, ROL::Step< Real >::getState(), ROL::AlgorithmState< Real >::gnorm, ROL::Objective< Real >::gradient(), ROL::InteriorPointStep< Real >::ipcon_, ROL::InteriorPointStep< Real >::ipobj_, ROL::AlgorithmState< Real >::iter, ROL::InteriorPointStep< Real >::l_, ROL::InteriorPointStep< Real >::mu_, ROL::AlgorithmState< Real >::ncval, ROL::AlgorithmState< Real >::nfval, ROL::AlgorithmState< Real >::ngrad, ROL::Objective< Real >::update(), ROL::Objective< Real >::value(), ROL::AlgorithmState< Real >::value, ROL::EqualityConstraint< Real >::value(), and ROL::InteriorPointStep< Real >::x_.
Referenced by ROL::InteriorPointStep< Real >::initialize().
|
inlinevirtual |
Initialize step with equality constraint.
Reimplemented from ROL::Step< Real >.
Definition at line 191 of file ROL_InteriorPointStep.hpp.
References ROL::InteriorPointStep< Real >::initialize().
|
inlinevirtual |
Compute step (equality constraints).
Reimplemented from ROL::Step< Real >.
Definition at line 202 of file ROL_InteriorPointStep.hpp.
References ROL::InteriorPointStep< Real >::algo_, ROL::Vector< Real >::axpy(), ROL::InteriorPointStep< Real >::c_, ROL::InteriorPointStep< Real >::g_, ROL::InteriorPointStep< Real >::ipcon_, ROL::InteriorPointStep< Real >::ipobj_, ROL::InteriorPointStep< Real >::l_, ROL::InteriorPointStep< Real >::parlist_, ROL::Vector< Real >::set(), ROL::InteriorPointStep< Real >::subproblemIter_, and ROL::InteriorPointStep< Real >::x_.
Referenced by ROL::InteriorPointStep< Real >::compute().
|
inlinevirtual |
Compute step (equality constraints).
Reimplemented from ROL::Step< Real >.
Definition at line 221 of file ROL_InteriorPointStep.hpp.
References ROL::InteriorPointStep< Real >::compute().
|
inlinevirtual |
Update step, if successful (equality constraints).
Reimplemented from ROL::Step< Real >.
Definition at line 232 of file ROL_InteriorPointStep.hpp.
References ROL::InteriorPointStep< Real >::c_, ROL::AlgorithmState< Real >::cnorm, ROL::InteriorPointStep< Real >::g_, ROL::Step< Real >::getState(), ROL::AlgorithmState< Real >::gnorm, ROL::InteriorPointStep< Real >::ipcon_, ROL::InteriorPointStep< Real >::ipobj_, ROL::AlgorithmState< Real >::iter, ROL::AlgorithmState< Real >::iterateVec, ROL::InteriorPointStep< Real >::l_, ROL::InteriorPointStep< Real >::mu_, ROL::InteriorPointStep< Real >::mumax_, ROL::InteriorPointStep< Real >::mumin_, ROL::AlgorithmState< Real >::ncval, ROL::AlgorithmState< Real >::nfval, ROL::AlgorithmState< Real >::ngrad, ROL::Vector< Real >::norm(), ROL::Vector< Real >::plus(), ROL::InteriorPointStep< Real >::rho_, ROL::InteriorPointStep< Real >::SLACK, ROL::AlgorithmState< Real >::snorm, ROL::AlgorithmState< Real >::value, and ROL::InteriorPointStep< Real >::x_.
Referenced by ROL::InteriorPointStep< Real >::update().
|
inlinevirtual |
Update step, if successful (equality constraints).
Reimplemented from ROL::Step< Real >.
Definition at line 288 of file ROL_InteriorPointStep.hpp.
References ROL::InteriorPointStep< Real >::update().
|
inlinevirtual |
Compute step for bound constraints; here only to satisfy the interface requirements, does nothing, needs refactoring.
Reimplemented from ROL::Step< Real >.
Definition at line 300 of file ROL_InteriorPointStep.hpp.
|
inlinevirtual |
Update step, for bound constraints; here only to satisfy the interface requirements, does nothing, needs refactoring.
Reimplemented from ROL::Step< Real >.
Definition at line 307 of file ROL_InteriorPointStep.hpp.
|
inlinevirtual |
Print iterate header.
Reimplemented from ROL::Step< Real >.
Definition at line 313 of file ROL_InteriorPointStep.hpp.
References ROL::InteriorPointStep< Real >::verbosity_.
Referenced by ROL::InteriorPointStep< Real >::print().
|
inlinevirtual |
Print step name.
Reimplemented from ROL::Step< Real >.
Definition at line 354 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::print().
|
inlinevirtual |
Print iterate status.
Reimplemented from ROL::Step< Real >.
Definition at line 362 of file ROL_InteriorPointStep.hpp.
References ROL::AlgorithmState< Real >::cnorm, ROL::AlgorithmState< Real >::gnorm, ROL::AlgorithmState< Real >::iter, ROL::InteriorPointStep< Real >::mu_, ROL::AlgorithmState< Real >::ncval, ROL::AlgorithmState< Real >::nfval, ROL::AlgorithmState< Real >::ngrad, ROL::InteriorPointStep< Real >::printHeader(), ROL::InteriorPointStep< Real >::printName(), ROL::AlgorithmState< Real >::snorm, ROL::InteriorPointStep< Real >::subproblemIter_, and ROL::AlgorithmState< Real >::value.
|
staticprivate |
Definition at line 65 of file ROL_InteriorPointStep.hpp.
|
staticprivate |
Definition at line 66 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 70 of file ROL_InteriorPointStep.hpp.
|
private |
Definition at line 71 of file ROL_InteriorPointStep.hpp.
|
private |
Definition at line 72 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::compute(), ROL::InteriorPointStep< Real >::initialize(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 73 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::compute(), ROL::InteriorPointStep< Real >::initialize(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 74 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::compute().
|
private |
Definition at line 75 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::compute(), and ROL::InteriorPointStep< Real >::InteriorPointStep().
|
private |
Definition at line 78 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::compute(), ROL::InteriorPointStep< Real >::initialize(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 79 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::compute(), ROL::InteriorPointStep< Real >::initialize(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 80 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::compute(), ROL::InteriorPointStep< Real >::initialize(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 81 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::compute(), ROL::InteriorPointStep< Real >::initialize(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 83 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::initialize(), ROL::InteriorPointStep< Real >::InteriorPointStep(), ROL::InteriorPointStep< Real >::print(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 84 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::InteriorPointStep(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 85 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::InteriorPointStep(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 86 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::InteriorPointStep(), and ROL::InteriorPointStep< Real >::update().
|
private |
Definition at line 87 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::InteriorPointStep().
|
private |
Definition at line 90 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::InteriorPointStep().
|
private |
Definition at line 91 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::InteriorPointStep().
|
private |
Definition at line 92 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::InteriorPointStep().
|
private |
Definition at line 93 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::compute(), ROL::InteriorPointStep< Real >::InteriorPointStep(), and ROL::InteriorPointStep< Real >::print().
|
private |
Definition at line 95 of file ROL_InteriorPointStep.hpp.
Referenced by ROL::InteriorPointStep< Real >::InteriorPointStep(), and ROL::InteriorPointStep< Real >::printHeader().