ROL
|
Provides an interface to check status of optimization algorithms. More...
#include <ROL_StatusTest.hpp>
Public Member Functions | |
virtual | ~StatusTest () |
StatusTest (ParameterList &parlist) | |
StatusTest (Real gtol=1.e-6, Real stol=1.e-12, int max_iter=100, bool use_rel=false) | |
virtual bool | check (AlgorithmState< Real > &state) |
Check algorithm status. More... | |
Private Attributes | |
Real | gtol_ |
Real | gtol0_ |
Real | stol_ |
Real | stol0_ |
int | max_iter_ |
bool | use_rel_ |
Provides an interface to check status of optimization algorithms.
Definition at line 24 of file ROL_StatusTest.hpp.
|
inlinevirtual |
Definition at line 34 of file ROL_StatusTest.hpp.
|
inline |
Definition at line 36 of file ROL_StatusTest.hpp.
References ROL::StatusTest< Real >::gtol0_, ROL::StatusTest< Real >::gtol_, ROL::StatusTest< Real >::max_iter_, ROL::StatusTest< Real >::stol0_, ROL::StatusTest< Real >::stol_, and ROL::StatusTest< Real >::use_rel_.
|
inline |
Definition at line 46 of file ROL_StatusTest.hpp.
|
inlinevirtual |
Check algorithm status.
If "Use Relative Tolerances" is set to "true" upon construction, the gradient and step tolerances are scaled by the norm of the initial gradient.
Reimplemented in ROL::ConstraintStatusTest< Real >, StatusTest_PDAS< Real >, ROL::FletcherStatusTest< Real >, ROL::PH_StatusTest< Real >, ROL::BundleStatusTest< Real >, and ROL::CombinedStatusTest< Real >.
Definition at line 55 of file ROL_StatusTest.hpp.
References ROL::EXITSTATUS_CONVERGED, ROL::EXITSTATUS_LAST, ROL::EXITSTATUS_MAXITER, ROL::EXITSTATUS_NAN, ROL::EXITSTATUS_STEPTOL, ROL::AlgorithmState< Real >::gnorm, ROL::StatusTest< Real >::gtol0_, ROL::StatusTest< Real >::gtol_, ROL::AlgorithmState< Real >::iter, ROL::StatusTest< Real >::max_iter_, ROL::AlgorithmState< Real >::snorm, ROL::AlgorithmState< Real >::statusFlag, ROL::StatusTest< Real >::stol0_, ROL::StatusTest< Real >::stol_, and ROL::StatusTest< Real >::use_rel_.
|
private |
Definition at line 27 of file ROL_StatusTest.hpp.
Referenced by ROL::StatusTest< Real >::check(), and ROL::StatusTest< Real >::StatusTest().
|
private |
Definition at line 27 of file ROL_StatusTest.hpp.
Referenced by ROL::StatusTest< Real >::check(), and ROL::StatusTest< Real >::StatusTest().
|
private |
Definition at line 28 of file ROL_StatusTest.hpp.
Referenced by ROL::StatusTest< Real >::check(), and ROL::StatusTest< Real >::StatusTest().
|
private |
Definition at line 28 of file ROL_StatusTest.hpp.
Referenced by ROL::StatusTest< Real >::check(), and ROL::StatusTest< Real >::StatusTest().
|
private |
Definition at line 29 of file ROL_StatusTest.hpp.
Referenced by ROL::StatusTest< Real >::check(), and ROL::StatusTest< Real >::StatusTest().
|
private |
Definition at line 30 of file ROL_StatusTest.hpp.
Referenced by ROL::StatusTest< Real >::check(), and ROL::StatusTest< Real >::StatusTest().