ROL
|
Implements a simple back tracking line search. More...
#include <ROL_BackTracking.hpp>
Public Member Functions | |
virtual | ~BackTracking () |
BackTracking (ROL::ParameterList &parlist) | |
void | initialize (const Vector< Real > &x, const Vector< Real > &s, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con) |
void | run (Real &alpha, Real &fval, int &ls_neval, int &ls_ngrad, const Real &gs, const Vector< Real > &s, const Vector< Real > &x, Objective< Real > &obj, BoundConstraint< Real > &con) |
Public Member Functions inherited from ROL::LineSearch< Real > | |
virtual | ~LineSearch () |
LineSearch (ROL::ParameterList &parlist) | |
void | setData (Real &eps, const Vector< Real > &g) |
void | setMaxitUpdate (Real &alpha, Real &fnew, const Real &fold) |
Private Attributes | |
Real | rho_ |
ROL::Ptr< Vector< Real > > | xnew_ |
Additional Inherited Members | |
Protected Member Functions inherited from ROL::LineSearch< Real > | |
virtual bool | status (const ELineSearch type, int &ls_neval, int &ls_ngrad, const Real alpha, const Real fold, const Real sgold, const Real fnew, const Vector< Real > &x, const Vector< Real > &s, Objective< Real > &obj, BoundConstraint< Real > &con) |
virtual Real | getInitialAlpha (int &ls_neval, int &ls_ngrad, const Real fval, const Real gs, const Vector< Real > &x, const Vector< Real > &s, Objective< Real > &obj, BoundConstraint< Real > &con) |
void | setNextInitialAlpha (Real alpha) |
void | updateIterate (Vector< Real > &xnew, const Vector< Real > &x, const Vector< Real > &s, Real alpha, BoundConstraint< Real > &con) |
bool | useLocalMinimizer () |
bool | takeNoStep () |
Implements a simple back tracking line search.
Definition at line 22 of file ROL_BackTracking.hpp.
|
inlinevirtual |
Definition at line 29 of file ROL_BackTracking.hpp.
|
inline |
Definition at line 32 of file ROL_BackTracking.hpp.
References ROL::BackTracking< Real >::rho_.
|
inlinevirtual |
Reimplemented from ROL::LineSearch< Real >.
Definition at line 37 of file ROL_BackTracking.hpp.
References ROL::Vector< Real >::clone(), ROL::LineSearch< Real >::initialize(), and ROL::BackTracking< Real >::xnew_.
|
inlinevirtual |
Implements ROL::LineSearch< Real >.
Definition at line 43 of file ROL_BackTracking.hpp.
References ROL::LineSearch< Real >::getInitialAlpha(), ROL::LINESEARCH_BACKTRACKING, ROL::BackTracking< Real >::rho_, ROL::Objective< Real >::update(), ROL::LineSearch< Real >::updateIterate(), ROL::Objective< Real >::value(), and ROL::BackTracking< Real >::xnew_.
|
private |
Definition at line 24 of file ROL_BackTracking.hpp.
Referenced by ROL::BackTracking< Real >::BackTracking(), and ROL::BackTracking< Real >::run().
|
private |
Definition at line 25 of file ROL_BackTracking.hpp.
Referenced by ROL::BackTracking< Real >::initialize(), and ROL::BackTracking< Real >::run().