ROL
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

◆ TruncatedCG()

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

Definition at line 42 of file ROL_TruncatedCG.hpp.

References maxit_, pRed_, tol1_, tol2_, and ROL::TrustRegion< Real >::TrustRegion().

Member Function Documentation

◆ initialize()

template<class Real>
void ROL::TruncatedCG< Real >::initialize ( const Vector< Real > & x,
const Vector< Real > & s,
const Vector< Real > & g )
inlinevirtual

◆ run()

Member Data Documentation

◆ primalVector_

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

Definition at line 25 of file ROL_TruncatedCG.hpp.

Referenced by initialize().

◆ s_

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

Definition at line 27 of file ROL_TruncatedCG.hpp.

Referenced by initialize(), and run().

◆ g_

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

Definition at line 28 of file ROL_TruncatedCG.hpp.

Referenced by initialize(), and run().

◆ v_

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

Definition at line 29 of file ROL_TruncatedCG.hpp.

Referenced by initialize(), and run().

◆ p_

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

Definition at line 30 of file ROL_TruncatedCG.hpp.

Referenced by initialize(), and run().

◆ Hp_

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

Definition at line 31 of file ROL_TruncatedCG.hpp.

Referenced by initialize(), and run().

◆ maxit_

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

Definition at line 33 of file ROL_TruncatedCG.hpp.

Referenced by run(), and TruncatedCG().

◆ tol1_

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

Definition at line 34 of file ROL_TruncatedCG.hpp.

Referenced by run(), and TruncatedCG().

◆ tol2_

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

Definition at line 35 of file ROL_TruncatedCG.hpp.

Referenced by run(), and TruncatedCG().

◆ pRed_

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

Definition at line 37 of file ROL_TruncatedCG.hpp.

Referenced by run(), and TruncatedCG().


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