ROL
|
Provides an interface to check status of the progressive hedging algorithm. More...
#include <ROL_PH_StatusTest.hpp>
Public Member Functions | |
PH_StatusTest (ROL::ParameterList &parlist, const Vector< Real > &x) | |
void | setData (const int iter, const Ptr< const Vector< Real >> &xbar) |
bool | check (AlgorithmState< Real > &state) |
Check algorithm status. More... | |
Public Member Functions inherited from ROL::StatusTest< Real > | |
virtual | ~StatusTest () |
StatusTest (ROL::ParameterList &parlist) | |
StatusTest (Real gtol=1.e-6, Real stol=1.e-12, int max_iter=100) | |
Private Attributes | |
Real | mu_ |
Real | epsilon_ |
Ptr< const Vector< Real > > | xbar_ |
Real | tol_ |
Ptr< Vector< Real > > | x_ |
Provides an interface to check status of the progressive hedging algorithm.
Definition at line 57 of file ROL_PH_StatusTest.hpp.
|
inline |
Definition at line 68 of file ROL_PH_StatusTest.hpp.
References ROL::Vector< Real >::clone(), ROL::PH_StatusTest< Real >::epsilon_, ROL::PH_StatusTest< Real >::mu_, and ROL::PH_StatusTest< Real >::x_.
|
inline |
Definition at line 74 of file ROL_PH_StatusTest.hpp.
References ROL::PH_StatusTest< Real >::epsilon_, ROL::PH_StatusTest< Real >::mu_, ROL::PH_StatusTest< Real >::tol_, and ROL::PH_StatusTest< Real >::xbar_.
|
inlinevirtual |
Check algorithm status.
Reimplemented from ROL::StatusTest< Real >.
Definition at line 80 of file ROL_PH_StatusTest.hpp.
References ROL::EXITSTATUS_USERDEFINED, ROL::AlgorithmState< Real >::gnorm, ROL::AlgorithmState< Real >::iterateVec, ROL::AlgorithmState< Real >::statusFlag, ROL::PH_StatusTest< Real >::tol_, ROL::PH_StatusTest< Real >::x_, and ROL::PH_StatusTest< Real >::xbar_.
|
private |
Definition at line 60 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::PH_StatusTest(), and ROL::PH_StatusTest< Real >::setData().
|
private |
Definition at line 61 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::PH_StatusTest(), and ROL::PH_StatusTest< Real >::setData().
|
private |
Definition at line 62 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::check(), and ROL::PH_StatusTest< Real >::setData().
|
private |
Definition at line 63 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::check(), and ROL::PH_StatusTest< Real >::setData().
|
private |
Definition at line 64 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::check(), and ROL::PH_StatusTest< Real >::PH_StatusTest().