ROL
|
Implements cubic interpolation back tracking line search. More...
#include <ROL_CubicInterp_U.hpp>
Public Member Functions | |
CubicInterp_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 cubic interpolation back tracking line search.
Definition at line 22 of file ROL_CubicInterp_U.hpp.
|
inline |
Definition at line 32 of file ROL_CubicInterp_U.hpp.
References ROL::CubicInterp_U< Real >::rho_.
|
inlineoverridevirtual |
Reimplemented from ROL::LineSearch_U< Real >.
Definition at line 37 of file ROL_CubicInterp_U.hpp.
References ROL::Vector< Real >::clone(), ROL::LineSearch_U< Real >::initialize(), and ROL::CubicInterp_U< Real >::xnew_.
|
inlineoverridevirtual |
Implements ROL::LineSearch_U< Real >.
Definition at line 42 of file ROL_CubicInterp_U.hpp.
References ROL::LineSearch_U< Real >::getInitialAlpha(), ROL::LINESEARCH_U_CUBICINTERP, ROL::LineSearch_U< Real >::status(), ROL::Trial, ROL::Objective< Real >::update(), ROL::Objective< Real >::value(), and ROL::CubicInterp_U< Real >::xnew_.
|
private |
Definition at line 24 of file ROL_CubicInterp_U.hpp.
Referenced by ROL::CubicInterp_U< Real >::CubicInterp_U().
|
private |
Definition at line 25 of file ROL_CubicInterp_U.hpp.
Referenced by ROL::CubicInterp_U< Real >::initialize(), and ROL::CubicInterp_U< Real >::run().