ROL
|
Provides interface for truncated CG trust-region subproblem solver. More...
#include <ROL_TruncatedCG.hpp>
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_ |
Provides interface for truncated CG trust-region subproblem solver.
Definition at line 57 of file ROL_TruncatedCG.hpp.
|
inline |
Definition at line 76 of file ROL_TruncatedCG.hpp.
References ROL::TruncatedCG< Real >::maxit_, ROL::TruncatedCG< Real >::tol1_, and ROL::TruncatedCG< Real >::tol2_.
|
inlinevirtual |
Reimplemented from ROL::TrustRegion< Real >.
Definition at line 84 of file ROL_TruncatedCG.hpp.
References ROL::Vector< Real >::clone(), ROL::TruncatedCG< Real >::g_, ROL::TruncatedCG< Real >::Hp_, ROL::TrustRegion< Real >::initialize(), ROL::TruncatedCG< Real >::p_, ROL::TruncatedCG< Real >::primalVector_, ROL::TruncatedCG< Real >::s_, and ROL::TruncatedCG< Real >::v_.
|
inlinevirtual |
Implements ROL::TrustRegion< Real >.
Definition at line 96 of file ROL_TruncatedCG.hpp.
References ROL::Vector< Real >::axpy(), ROL::TrustRegionModel< Real >::dualTransform(), ROL::TruncatedCG< Real >::g_, ROL::TrustRegionModel< Real >::getGradient(), ROL::TrustRegionModel< Real >::hessVec(), ROL::TruncatedCG< Real >::Hp_, ROL::TruncatedCG< Real >::maxit_, ROL::Vector< Real >::norm(), ROL::TruncatedCG< Real >::p_, ROL::TrustRegionModel< Real >::precond(), ROL::TruncatedCG< Real >::pRed_, ROL::TrustRegionModel< Real >::primalTransform(), ROL::TruncatedCG< Real >::s_, ROL::Vector< Real >::set(), ROL::TrustRegion< Real >::setPredictedReduction(), ROL::TruncatedCG< Real >::tol1_, ROL::TruncatedCG< Real >::tol2_, ROL::TruncatedCG< Real >::v_, zero, and ROL::Vector< Real >::zero().
|
private |
Definition at line 59 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::initialize().
|
private |
Definition at line 61 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::initialize(), and ROL::TruncatedCG< Real >::run().
|
private |
Definition at line 62 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::initialize(), and ROL::TruncatedCG< Real >::run().
|
private |
Definition at line 63 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::initialize(), and ROL::TruncatedCG< Real >::run().
|
private |
Definition at line 64 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::initialize(), and ROL::TruncatedCG< Real >::run().
|
private |
Definition at line 65 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::initialize(), and ROL::TruncatedCG< Real >::run().
|
private |
Definition at line 67 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::run(), and ROL::TruncatedCG< Real >::TruncatedCG().
|
private |
Definition at line 68 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::run(), and ROL::TruncatedCG< Real >::TruncatedCG().
|
private |
Definition at line 69 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::run(), and ROL::TruncatedCG< Real >::TruncatedCG().
|
private |
Definition at line 71 of file ROL_TruncatedCG.hpp.
Referenced by ROL::TruncatedCG< Real >::run().