ROL
|
Provides an implementation of path-based target leve line search. More...
#include <ROL_PathBasedTargetLevel_U.hpp>
Public Member Functions | |
PathBasedTargetLevel_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 | |
Ptr< Vector< Real > > | xnew_ |
Real | min_value_ |
Real | rec_value_ |
Real | target_ |
Real | delta_ |
Real | sigma_ |
Real | bound_ |
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 () |
Provides an implementation of path-based target leve line search.
Definition at line 22 of file ROL_PathBasedTargetLevel_U.hpp.
|
inline |
Definition at line 35 of file ROL_PathBasedTargetLevel_U.hpp.
References ROL::PathBasedTargetLevel_U< Real >::bound_, and ROL::PathBasedTargetLevel_U< Real >::delta_.
|
inlineoverridevirtual |
Reimplemented from ROL::LineSearch_U< Real >.
Definition at line 44 of file ROL_PathBasedTargetLevel_U.hpp.
References ROL::Vector< Real >::clone(), ROL::LineSearch_U< Real >::initialize(), and ROL::PathBasedTargetLevel_U< Real >::xnew_.
|
inlineoverridevirtual |
Implements ROL::LineSearch_U< Real >.
Definition at line 50 of file ROL_PathBasedTargetLevel_U.hpp.
References ROL::PathBasedTargetLevel_U< Real >::bound_, ROL::PathBasedTargetLevel_U< Real >::delta_, ROL::PathBasedTargetLevel_U< Real >::min_value_, ROL::PathBasedTargetLevel_U< Real >::rec_value_, ROL::PathBasedTargetLevel_U< Real >::sigma_, ROL::PathBasedTargetLevel_U< Real >::target_, ROL::Trial, ROL::Objective< Real >::update(), ROL::Objective< Real >::value(), ROL::PathBasedTargetLevel_U< Real >::xnew_, and zero.
|
private |
Definition at line 24 of file ROL_PathBasedTargetLevel_U.hpp.
Referenced by ROL::PathBasedTargetLevel_U< Real >::initialize(), and ROL::PathBasedTargetLevel_U< Real >::run().
|
private |
Definition at line 26 of file ROL_PathBasedTargetLevel_U.hpp.
Referenced by ROL::PathBasedTargetLevel_U< Real >::run().
|
private |
Definition at line 27 of file ROL_PathBasedTargetLevel_U.hpp.
Referenced by ROL::PathBasedTargetLevel_U< Real >::run().
|
private |
Definition at line 28 of file ROL_PathBasedTargetLevel_U.hpp.
Referenced by ROL::PathBasedTargetLevel_U< Real >::run().
|
private |
Definition at line 29 of file ROL_PathBasedTargetLevel_U.hpp.
Referenced by ROL::PathBasedTargetLevel_U< Real >::PathBasedTargetLevel_U(), and ROL::PathBasedTargetLevel_U< Real >::run().
|
private |
Definition at line 30 of file ROL_PathBasedTargetLevel_U.hpp.
Referenced by ROL::PathBasedTargetLevel_U< Real >::run().
|
private |
Definition at line 31 of file ROL_PathBasedTargetLevel_U.hpp.
Referenced by ROL::PathBasedTargetLevel_U< Real >::PathBasedTargetLevel_U(), and ROL::PathBasedTargetLevel_U< Real >::run().