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, bool use_rel=false) | |
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 23 of file ROL_PH_StatusTest.hpp.
|
inline |
Definition at line 34 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 40 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 46 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 26 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::PH_StatusTest(), and ROL::PH_StatusTest< Real >::setData().
|
private |
Definition at line 27 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::PH_StatusTest(), and ROL::PH_StatusTest< Real >::setData().
|
private |
Definition at line 28 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::check(), and ROL::PH_StatusTest< Real >::setData().
|
private |
Definition at line 29 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::check(), and ROL::PH_StatusTest< Real >::setData().
|
private |
Definition at line 30 of file ROL_PH_StatusTest.hpp.
Referenced by ROL::PH_StatusTest< Real >::check(), and ROL::PH_StatusTest< Real >::PH_StatusTest().