ROL
|
Provides an interface to check status of optimization algorithms. More...
#include <ROL_StatusTest.hpp>
Public Member Functions | |
virtual | ~StatusTest () |
StatusTest (ROL::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 | stol_ |
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 >::gtol_, ROL::StatusTest< Real >::max_iter_, ROL::StatusTest< Real >::stol_, and ROL::StatusTest< Real >::use_rel_.
|
inline |
Definition at line 44 of file ROL_StatusTest.hpp.
|
inlinevirtual |
Check algorithm status.
Reimplemented in StatusTest_PDAS< Real >, ROL::ConstraintStatusTest< Real >, ROL::FletcherStatusTest< Real >, ROL::PH_StatusTest< Real >, ROL::BundleStatusTest< Real >, and ROL::CombinedStatusTest< Real >.
Definition at line 49 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 >::gtol_, ROL::AlgorithmState< Real >::iter, ROL::StatusTest< Real >::max_iter_, ROL::AlgorithmState< Real >::snorm, ROL::AlgorithmState< Real >::statusFlag, 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 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().