|
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 23 of file ROL_TruncatedCG.hpp.
|
inline |
Definition at line 42 of file ROL_TruncatedCG.hpp.
References maxit_, pRed_, tol1_, tol2_, and ROL::TrustRegion< Real >::TrustRegion().
|
inlinevirtual |
Reimplemented from ROL::TrustRegion< Real >.
Definition at line 50 of file ROL_TruncatedCG.hpp.
References ROL::Vector< Real >::clone(), g_, Hp_, ROL::TrustRegion< Real >::initialize(), p_, primalVector_, s_, and v_.
|
inlinevirtual |
Implements ROL::TrustRegion< Real >.
Definition at line 62 of file ROL_TruncatedCG.hpp.
References ROL::Vector< Real >::axpy(), ROL::TrustRegionModel< Real >::dualTransform(), g_, ROL::TrustRegionModel< Real >::getGradient(), ROL::TrustRegionModel< Real >::hessVec(), Hp_, maxit_, ROL::Vector< Real >::norm(), p_, ROL::TrustRegionModel< Real >::precond(), pRed_, ROL::TrustRegionModel< Real >::primalTransform(), ROL::ROL_EPSILON(), s_, ROL::Vector< Real >::set(), ROL::TrustRegion< Real >::setPredictedReduction(), tol1_, tol2_, v_, ROL::Vector< Real >::zero(), and zero.
|
private |
Definition at line 25 of file ROL_TruncatedCG.hpp.
Referenced by initialize().
|
private |
Definition at line 27 of file ROL_TruncatedCG.hpp.
Referenced by initialize(), and run().
|
private |
Definition at line 28 of file ROL_TruncatedCG.hpp.
Referenced by initialize(), and run().
|
private |
Definition at line 29 of file ROL_TruncatedCG.hpp.
Referenced by initialize(), and run().
|
private |
Definition at line 30 of file ROL_TruncatedCG.hpp.
Referenced by initialize(), and run().
|
private |
Definition at line 31 of file ROL_TruncatedCG.hpp.
Referenced by initialize(), and run().
|
private |
Definition at line 33 of file ROL_TruncatedCG.hpp.
Referenced by run(), and TruncatedCG().
|
private |
Definition at line 34 of file ROL_TruncatedCG.hpp.
Referenced by run(), and TruncatedCG().
|
private |
Definition at line 35 of file ROL_TruncatedCG.hpp.
Referenced by run(), and TruncatedCG().
|
private |
Definition at line 37 of file ROL_TruncatedCG.hpp.
Referenced by run(), and TruncatedCG().