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