44 #ifndef ROL_STATUSTEST_H
45 #define ROL_STATUSTEST_H
48 #include "ROL_ParameterList.hpp"
71 gtol_ = parlist.sublist(
"Status Test").get(
"Gradient Tolerance", em6);
72 stol_ = parlist.sublist(
"Status Test").get(
"Step Tolerance", em6*
gtol_);
73 max_iter_ = parlist.sublist(
"Status Test").get(
"Iteration Limit", 100);
76 StatusTest( Real gtol = 1.e-6, Real stol = 1.e-12,
int max_iter = 100 ) :
StatusTest(ROL::ParameterList &parlist)
Contains definitions of custom data types in ROL.
virtual bool check(AlgorithmState< Real > &state)
Check algorithm status.
StatusTest(Real gtol=1.e-6, Real stol=1.e-12, int max_iter=100)
State for algorithm class. Will be used for restarts.
Provides an interface to check status of optimization algorithms.