ROL
|
Implements a simple back tracking line search. More...
#include <ROL_BackTracking_U.hpp>
Public Member Functions | |
BackTracking_U (ParameterList &parlist) | |
void | initialize (const Vector< Real > &x, const Vector< Real > &g) override |
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) override |
Public Member Functions inherited from ROL::LineSearch_U< Real > | |
virtual | ~LineSearch_U () |
LineSearch_U (ParameterList &parlist) | |
void | setMaxitUpdate (Real &alpha, Real &fnew, const Real &fold) |
Private Attributes | |
Real | rho_ |
Ptr< Vector< Real > > | xnew_ |
Additional Inherited Members | |
Protected Member Functions inherited from ROL::LineSearch_U< Real > | |
virtual bool | status (const ELineSearchU 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) |
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) |
void | setNextInitialAlpha (Real alpha) |
bool | useLocalMinimizer () |
bool | takeNoStep () |
Implements a simple back tracking line search.
Definition at line 22 of file ROL_BackTracking_U.hpp.
|
inline |
Definition at line 32 of file ROL_BackTracking_U.hpp.
References ROL::BackTracking_U< Real >::rho_.
|
inlineoverridevirtual |
Reimplemented from ROL::LineSearch_U< Real >.
Definition at line 37 of file ROL_BackTracking_U.hpp.
References ROL::Vector< Real >::clone(), ROL::LineSearch_U< Real >::initialize(), and ROL::BackTracking_U< Real >::xnew_.
|
inlineoverridevirtual |
Implements ROL::LineSearch_U< Real >.
Definition at line 42 of file ROL_BackTracking_U.hpp.
References ROL::LineSearch_U< Real >::getInitialAlpha(), ROL::LINESEARCH_U_BACKTRACKING, ROL::BackTracking_U< Real >::rho_, ROL::LineSearch_U< Real >::status(), ROL::Trial, ROL::Objective< Real >::update(), ROL::Objective< Real >::value(), and ROL::BackTracking_U< Real >::xnew_.
|
private |
Definition at line 24 of file ROL_BackTracking_U.hpp.
Referenced by ROL::BackTracking_U< Real >::BackTracking_U(), and ROL::BackTracking_U< Real >::run().
|
private |
Definition at line 25 of file ROL_BackTracking_U.hpp.
Referenced by ROL::BackTracking_U< Real >::initialize(), and ROL::BackTracking_U< Real >::run().