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 (Teuchos::ParameterList &parlist)
 
void initialize (const Vector< Real > &x, const Vector< Real > &s, const Vector< Real > &g)
 
void run (Vector< Real > &s, Real &snorm, Real &del, int &iflag, int &iter, const Vector< Real > &x, const Vector< Real > &grad, const Real &gnorm, ProjectedObjective< Real > &pObj)
 
- Public Member Functions inherited from ROL::TrustRegion< Real >
virtual ~TrustRegion ()
 
 TrustRegion (Teuchos::ParameterList &parlist)
 
virtual void update (Vector< Real > &x, Real &fnew, Real &del, int &nfval, int &ngrad, int &flagTR, const Vector< Real > &s, const Real snorm, const Real fold, const Vector< Real > &g, int iter, ProjectedObjective< Real > &pObj)
 
void setPredictedReduction (const Real pRed)
 
Real getPredictedReduction (void) const
 

Private Attributes

Teuchos::RCP< Vector< Real > > primalVector_
 
Teuchos::RCP< Vector< Real > > s_
 
Teuchos::RCP< Vector< Real > > g_
 
Teuchos::RCP< Vector< Real > > v_
 
Teuchos::RCP< Vector< Real > > p_
 
Teuchos::RCP< 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 58 of file ROL_TruncatedCG.hpp.

Constructor & Destructor Documentation

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

Definition at line 77 of file ROL_TruncatedCG.hpp.

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,
Real &  del,
int &  iflag,
int &  iter,
const Vector< Real > &  x,
const Vector< Real > &  grad,
const Real &  gnorm,
ProjectedObjective< Real > &  pObj 
)
inlinevirtual

Member Data Documentation

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::TruncatedCG< Real >::primalVector_
private

Definition at line 60 of file ROL_TruncatedCG.hpp.

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::TruncatedCG< Real >::s_
private

Definition at line 62 of file ROL_TruncatedCG.hpp.

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::TruncatedCG< Real >::g_
private

Definition at line 63 of file ROL_TruncatedCG.hpp.

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::TruncatedCG< Real >::v_
private

Definition at line 64 of file ROL_TruncatedCG.hpp.

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::TruncatedCG< Real >::p_
private

Definition at line 65 of file ROL_TruncatedCG.hpp.

template<class Real >
Teuchos::RCP<Vector<Real> > ROL::TruncatedCG< Real >::Hp_
private

Definition at line 66 of file ROL_TruncatedCG.hpp.

template<class Real >
int ROL::TruncatedCG< Real >::maxit_
private

Definition at line 68 of file ROL_TruncatedCG.hpp.

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

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

Definition at line 69 of file ROL_TruncatedCG.hpp.

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

Definition at line 70 of file ROL_TruncatedCG.hpp.

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

Definition at line 72 of file ROL_TruncatedCG.hpp.


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