10 #ifndef ROL_CONSTRAINTSTATUSTEST_H
11 #define ROL_CONSTRAINTSTATUSTEST_H
39 gtol_ = parlist.sublist(
"Status Test").get(
"Gradient Tolerance", em6);
40 ctol_ = parlist.sublist(
"Status Test").get(
"Constraint Tolerance", em6);
41 stol_ = parlist.sublist(
"Status Test").get(
"Step Tolerance", em6*
gtol_);
42 max_iter_ = parlist.sublist(
"Status Test").get(
"Iteration Limit", 100);
43 use_rel_ = parlist.sublist(
"Status Test").get(
"Use Relative Tolerances",
false);
49 ConstraintStatusTest( Real gtol = 1e-6, Real ctol = 1e-6, Real stol = 1e-12,
int max_iter = 100,
bool use_rel =
false ) :
virtual ~ConstraintStatusTest()
Provides an interface to check status of optimization algorithms for problems with equality constrain...
State for algorithm class. Will be used for restarts.
ConstraintStatusTest(ROL::ParameterList &parlist)
ConstraintStatusTest(Real gtol=1e-6, Real ctol=1e-6, Real stol=1e-12, int max_iter=100, bool use_rel=false)
Provides an interface to check status of optimization algorithms.
virtual bool check(AlgorithmState< Real > &state)
Check algorithm status.