ROL
Public Member Functions | Private Attributes | List of all members
ROL::TruncatedCG< Real > Class Template Reference

Provides interface for truncated CG trust-region subproblem solver. More...

#include <ROL_TruncatedCG.hpp>

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

Public Member Functions

 TruncatedCG (ROL::ParameterList &parlist)
 
void initialize (const Vector< Real > &x, const Vector< Real > &s, const Vector< Real > &g)
 
void run (Vector< Real > &s, Real &snorm, int &iflag, int &iter, const Real del, TrustRegionModel< Real > &model)
 
- Public Member Functions inherited from ROL::TrustRegion< Real >
virtual ~TrustRegion ()
 
 TrustRegion (ROL::ParameterList &parlist)
 
virtual void update (Vector< Real > &x, Real &fnew, Real &del, int &nfval, int &ngrad, ETrustRegionFlag &flagTR, const Vector< Real > &s, const Real snorm, const Real fold, const Vector< Real > &g, int iter, Objective< Real > &obj, BoundConstraint< Real > &bnd, TrustRegionModel< Real > &model)
 
void setPredictedReduction (const Real pRed)
 
Real getPredictedReduction (void) const
 

Private Attributes

ROL::Ptr< Vector< Real > > primalVector_
 
ROL::Ptr< Vector< Real > > s_
 
ROL::Ptr< Vector< Real > > g_
 
ROL::Ptr< Vector< Real > > v_
 
ROL::Ptr< Vector< Real > > p_
 
ROL::Ptr< Vector< Real > > Hp_
 
int maxit_
 
Real tol1_
 
Real tol2_
 
Real pRed_
 

Detailed Description

template<class Real>
class ROL::TruncatedCG< Real >

Provides interface for truncated CG trust-region subproblem solver.

Definition at line 23 of file ROL_TruncatedCG.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::TruncatedCG< Real >::TruncatedCG ( ROL::ParameterList &  parlist)
inline

Member Function Documentation

template<class Real >
void ROL::TruncatedCG< Real >::initialize ( const Vector< Real > &  x,
const Vector< Real > &  s,
const Vector< Real > &  g 
)
inlinevirtual
template<class Real >
void ROL::TruncatedCG< Real >::run ( Vector< Real > &  s,
Real &  snorm,
int &  iflag,
int &  iter,
const Real  del,
TrustRegionModel< Real > &  model 
)
inlinevirtual

Member Data Documentation

template<class Real >
ROL::Ptr<Vector<Real> > ROL::TruncatedCG< Real >::primalVector_
private

Definition at line 25 of file ROL_TruncatedCG.hpp.

Referenced by ROL::TruncatedCG< Real >::initialize().

template<class Real >
ROL::Ptr<Vector<Real> > ROL::TruncatedCG< Real >::s_
private
template<class Real >
ROL::Ptr<Vector<Real> > ROL::TruncatedCG< Real >::g_
private
template<class Real >
ROL::Ptr<Vector<Real> > ROL::TruncatedCG< Real >::v_
private
template<class Real >
ROL::Ptr<Vector<Real> > ROL::TruncatedCG< Real >::p_
private
template<class Real >
ROL::Ptr<Vector<Real> > ROL::TruncatedCG< Real >::Hp_
private
template<class Real >
int ROL::TruncatedCG< Real >::maxit_
private
template<class Real >
Real ROL::TruncatedCG< Real >::tol1_
private
template<class Real >
Real ROL::TruncatedCG< Real >::tol2_
private
template<class Real >
Real ROL::TruncatedCG< Real >::pRed_
private

Definition at line 37 of file ROL_TruncatedCG.hpp.

Referenced by ROL::TruncatedCG< Real >::run().


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