ROL
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
ROL::LineSearch_U< Real > Class Template Referenceabstract

Provides interface for and implements line searches. More...

#include <ROL_LineSearch_U.hpp>

+ Inheritance diagram for ROL::LineSearch_U< Real >:

Public Member Functions

virtual ~LineSearch_U ()
 
 LineSearch_U (ParameterList &parlist)
 
virtual void initialize (const Vector< Real > &x, const Vector< Real > &g)
 
virtual 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)=0
 
void setMaxitUpdate (Real &alpha, Real &fnew, const Real &fold)
 

Protected Member Functions

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 ()
 

Private Member Functions

Real dirDeriv (const Vector< Real > &x, const Vector< Real > &s, const Real alpha, const Real fnew, Objective< Real > &obj)
 

Private Attributes

ECurvatureConditionU econd_
 
EDescentU edesc_
 
bool useralpha_
 
bool usePrevAlpha_
 
Real alpha0_
 
Real alpha0bnd_
 
int maxit_
 
Real c1_
 
Real c2_
 
Real c3_
 
Real eps_
 
Real fmin_
 
Real alphaMin_
 
bool acceptMin_
 
bool itcond_
 
bool FDdirDeriv_
 
Ptr< Vector< Real > > xtst_
 

Detailed Description

template<typename Real>
class ROL::LineSearch_U< Real >

Provides interface for and implements line searches.

Definition at line 27 of file ROL_LineSearch_U.hpp.

Constructor & Destructor Documentation

template<typename Real >
virtual ROL::LineSearch_U< Real >::~LineSearch_U ( )
inlinevirtual

Definition at line 78 of file ROL_LineSearch_U.hpp.

template<typename Real >
ROL::LineSearch_U< Real >::LineSearch_U ( ParameterList &  parlist)
inline

Member Function Documentation

template<typename Real >
Real ROL::LineSearch_U< Real >::dirDeriv ( const Vector< Real > &  x,
const Vector< Real > &  s,
const Real  alpha,
const Real  fnew,
Objective< Real > &  obj 
)
inlineprivate
template<typename Real >
virtual void ROL::LineSearch_U< Real >::initialize ( const Vector< Real > &  x,
const Vector< Real > &  g 
)
inlinevirtual
template<typename Real >
virtual void ROL::LineSearch_U< Real >::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 
)
pure virtual
template<typename Real >
void ROL::LineSearch_U< Real >::setMaxitUpdate ( Real &  alpha,
Real &  fnew,
const Real &  fold 
)
inline
template<typename Real >
virtual bool ROL::LineSearch_U< Real >::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 
)
inlineprotectedvirtual
template<typename Real >
virtual Real ROL::LineSearch_U< 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 
)
inlineprotectedvirtual
template<typename Real >
void ROL::LineSearch_U< Real >::setNextInitialAlpha ( Real  alpha)
inlineprotected
template<typename Real >
bool ROL::LineSearch_U< Real >::useLocalMinimizer ( )
inlineprotected
template<typename Real >
bool ROL::LineSearch_U< Real >::takeNoStep ( )
inlineprotected

Member Data Documentation

template<typename Real >
ECurvatureConditionU ROL::LineSearch_U< Real >::econd_
private
template<typename Real >
EDescentU ROL::LineSearch_U< Real >::edesc_
private
template<typename Real >
bool ROL::LineSearch_U< Real >::useralpha_
private
template<typename Real >
bool ROL::LineSearch_U< Real >::usePrevAlpha_
private
template<typename Real >
Real ROL::LineSearch_U< Real >::alpha0_
private
template<typename Real >
Real ROL::LineSearch_U< Real >::alpha0bnd_
private
template<typename Real >
int ROL::LineSearch_U< Real >::maxit_
private
template<typename Real >
Real ROL::LineSearch_U< Real >::c1_
private
template<typename Real >
Real ROL::LineSearch_U< Real >::c2_
private
template<typename Real >
Real ROL::LineSearch_U< Real >::c3_
private
template<typename Real >
Real ROL::LineSearch_U< Real >::eps_
private

Definition at line 41 of file ROL_LineSearch_U.hpp.

template<typename Real >
Real ROL::LineSearch_U< Real >::fmin_
private
template<typename Real >
Real ROL::LineSearch_U< Real >::alphaMin_
private
template<typename Real >
bool ROL::LineSearch_U< Real >::acceptMin_
private
template<typename Real >
bool ROL::LineSearch_U< Real >::itcond_
private
template<typename Real >
bool ROL::LineSearch_U< Real >::FDdirDeriv_
private
template<typename Real >
Ptr<Vector<Real> > ROL::LineSearch_U< Real >::xtst_
private

The documentation for this class was generated from the following file: