44 #ifndef ROL_BUNDLESTATUSTEST_H 45 #define ROL_BUNDLESTATUSTEST_H 64 tol_ = parlist.sublist(
"Step").sublist(
"Bundle").get(
"Epsilon Solution Tolerance", 1.e-6);
65 max_iter_ = parlist.sublist(
"Status Test").get(
"Iteration Limit", 100);
69 tol_(tol), max_iter_(max_iter) {}
76 && (state.
iter < max_iter_)
77 && (state.
flag ==
false) ) {
virtual bool check(AlgorithmState< Real > &state)
Check algorithm status.
Real aggregateGradientNorm
Contains definitions of custom data types in ROL.
State for algorithm class. Will be used for restarts.
virtual ~BundleStatusTest()
Provides an interface to check status of optimization algorithms.
BundleStatusTest(Real tol=1.e-6, int max_iter=100)
BundleStatusTest(Teuchos::ParameterList &parlist)