10 #ifndef ROL_PH_STATUSTEST_H
11 #define ROL_PH_STATUSTEST_H
35 mu_ = parlist.sublist(
"SOL").sublist(
"Progressive Hedging").get(
"Fixed Tolerance", 1e-4);
36 epsilon_ = parlist.sublist(
"SOL").sublist(
"Progressive Hedging").get(
"Dynamic Tolerance", 0.1);
49 Real xnorm =
x_->norm();
50 if ( state.
gnorm <=
tol_*std::min(one,xnorm) ) {
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
void setData(const int iter, const Ptr< const Vector< Real >> &xbar)
Defines the linear algebra or vector space interface.
State for algorithm class. Will be used for restarts.
PH_StatusTest(ROL::ParameterList &parlist, const Vector< Real > &x)
bool check(AlgorithmState< Real > &state)
Check algorithm status.
ROL::Ptr< Vector< Real > > iterateVec
Provides an interface to check status of optimization algorithms.
Provides an interface to check status of the progressive hedging algorithm.
Ptr< const Vector< Real > > xbar_