|
ROL
|
#include <ROL_InteriorPointObjective.hpp>
Classes | |
| class | ModifiedLogarithm |
| class | ModifiedReciprocal |
| class | ModifiedDivide |
| class | Mask |
Public Member Functions | |
| InteriorPointObjective (const Ptr< Objective< Real > > &obj, const Ptr< BoundConstraint< Real > > &bnd, const Vector< Real > &x, const Vector< Real > &g, const bool useLinearDamping, const Real kappaD, const Real mu) | |
| InteriorPointObjective (const Ptr< Objective< Real > > &obj, const Ptr< BoundConstraint< Real > > &bnd, const Vector< Real > &x, const Vector< Real > &g, ParameterList &parlist) | |
| Real | getObjectiveValue (const Vector< Real > &x, Real &tol) |
| const Ptr< const Vector< Real > > | getObjectiveGradient (const Vector< Real > &x, Real &tol) |
| int | getNumberFunctionEvaluations (void) const |
| int | getNumberGradientEvaluations (void) const |
| void | updatePenalty (const Real mu) |
| void | update (const Vector< Real > &x, UpdateType type, int iter=-1) |
| Real | value (const Vector< Real > &x, Real &tol) |
| void | gradient (Vector< Real > &g, const Vector< Real > &x, Real &tol) |
| void | hessVec (Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
| Public Member Functions inherited from ROL::ROL::Objective< Real > | |
| virtual | ~Objective () |
| Objective () | |
| virtual void | update (const Vector< Real > &x, UpdateType type, int iter=-1) |
| Update objective function. | |
| virtual void | update (const Vector< Real > &x, bool flag=true, int iter=-1) |
| Update objective function. | |
| virtual Real | value (const Vector< Real > &x, Real &tol)=0 |
| Compute value. | |
| virtual void | gradient (Vector< Real > &g, const Vector< Real > &x, Real &tol) |
| Compute gradient. | |
| virtual Real | dirDeriv (const Vector< Real > &x, const Vector< Real > &d, Real &tol) |
| Compute directional derivative. | |
| virtual void | hessVec (Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
| Apply Hessian approximation to vector. | |
| virtual void | invHessVec (Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
| Apply inverse Hessian approximation to vector. | |
| virtual void | precond (Vector< Real > &Pv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
| Apply preconditioner to vector. | |
| virtual void | prox (Vector< Real > &Pv, const Vector< Real > &v, Real t, Real &tol) |
| Compute the proximity operator. | |
| virtual void | proxJacVec (Vector< Real > &Jv, const Vector< Real > &v, const Vector< Real > &x, Real t, Real &tol) |
| Apply the Jacobian of the proximity operator. | |
| virtual std::vector< std::vector< Real > > | checkGradient (const Vector< Real > &x, const Vector< Real > &d, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
| Finite-difference gradient check. | |
| virtual std::vector< std::vector< Real > > | checkGradient (const Vector< Real > &x, const Vector< Real > &g, const Vector< Real > &d, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
| Finite-difference gradient check. | |
| virtual std::vector< std::vector< Real > > | checkGradient (const Vector< Real > &x, const Vector< Real > &d, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
| Finite-difference gradient check with specified step sizes. | |
| virtual std::vector< std::vector< Real > > | checkGradient (const Vector< Real > &x, const Vector< Real > &g, const Vector< Real > &d, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
| Finite-difference gradient check with specified step sizes. | |
| virtual std::vector< std::vector< Real > > | checkHessVec (const Vector< Real > &x, const Vector< Real > &v, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
| Finite-difference Hessian-applied-to-vector check. | |
| virtual std::vector< std::vector< Real > > | checkHessVec (const Vector< Real > &x, const Vector< Real > &hv, const Vector< Real > &v, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
| Finite-difference Hessian-applied-to-vector check. | |
| virtual std::vector< std::vector< Real > > | checkHessVec (const Vector< Real > &x, const Vector< Real > &v, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
| Finite-difference Hessian-applied-to-vector check with specified step sizes. | |
| virtual std::vector< std::vector< Real > > | checkHessVec (const Vector< Real > &x, const Vector< Real > &hv, const Vector< Real > &v, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
| Finite-difference Hessian-applied-to-vector check with specified step sizes. | |
| virtual std::vector< Real > | checkHessSym (const Vector< Real > &x, const Vector< Real > &v, const Vector< Real > &w, const bool printToStream=true, std::ostream &outStream=std::cout) |
| Hessian symmetry check. | |
| virtual std::vector< Real > | checkHessSym (const Vector< Real > &x, const Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &w, const bool printToStream=true, std::ostream &outStream=std::cout) |
| Hessian symmetry check. | |
| virtual std::vector< std::vector< Real > > | checkProxJacVec (const Vector< Real > &x, const Vector< Real > &v, Real t=Real(1), bool printToStream=true, std::ostream &outStream=std::cout, int numSteps=ROL_NUM_CHECKDERIV_STEPS) |
| Finite-difference proximity operator Jacobian-applied-to-vector check. | |
| virtual void | setParameter (const std::vector< Real > ¶m) |
Private Types | |
| typedef Elementwise::ValueSet< Real > | ValueSet |
Private Member Functions | |
| void | initialize (const Vector< Real > &x, const Vector< Real > &g) |
Private Attributes | |
| const Ptr< Objective< Real > > | obj_ |
| const Ptr< BoundConstraint< Real > > | bnd_ |
| const Ptr< const Vector< Real > > | lo_ |
| const Ptr< const Vector< Real > > | up_ |
| Ptr< Vector< Real > > | maskL_ |
| Ptr< Vector< Real > > | maskU_ |
| Ptr< Vector< Real > > | maskL0_ |
| Ptr< Vector< Real > > | maskU0_ |
| Ptr< Vector< Real > > | pwa_ |
| bool | useLinearDamping_ |
| Real | kappaD_ |
| Real | mu_ |
| Ptr< ScalarController< Real, int > > | fval_ |
| Ptr< VectorController< Real, int > > | gradient_ |
| int | nfval_ |
| int | ngrad_ |
Additional Inherited Members | |
| Protected Member Functions inherited from ROL::ROL::Objective< Real > | |
| const std::vector< Real > | getParameter (void) const |
Definition at line 30 of file ROL_InteriorPointObjective.hpp.
|
private |
Definition at line 32 of file ROL_InteriorPointObjective.hpp.
|
inline |
Definition at line 139 of file ROL_InteriorPointObjective.hpp.
References bnd_, initialize(), kappaD_, lo_, mu_, nfval_, ngrad_, obj_, ROL::ROL::Objective< Real >::Objective(), up_, and useLinearDamping_.
|
inline |
Definition at line 152 of file ROL_InteriorPointObjective.hpp.
References bnd_, initialize(), kappaD_, lo_, mu_, nfval_, ngrad_, obj_, ROL::ROL::Objective< Real >::Objective(), up_, and useLinearDamping_.
|
inlineprivate |
Definition at line 108 of file ROL_InteriorPointObjective.hpp.
References ROL::Vector< Real >::clone(), fval_, gradient_, lo_, maskL0_, maskL_, maskU0_, maskU_, pwa_, ROL::ROL_INF(), ROL::ROL_NINF(), up_, useLinearDamping_, and zero.
Referenced by InteriorPointObjective(), and InteriorPointObjective().
|
inline |
Definition at line 169 of file ROL_InteriorPointObjective.hpp.
References fval_, nfval_, and obj_.
Referenced by ROL::TypeB::InteriorPointAlgorithm< Real >::updateState(), ROL::TypeG::InteriorPointAlgorithm< Real >::updateState(), and value().
|
inline |
Definition at line 180 of file ROL_InteriorPointObjective.hpp.
References ROL::Vector< Real >::dual(), gradient_, ngrad_, and obj_.
Referenced by gradient().
|
inline |
Definition at line 189 of file ROL_InteriorPointObjective.hpp.
References nfval_.
|
inline |
Definition at line 193 of file ROL_InteriorPointObjective.hpp.
References ngrad_.
|
inline |
Definition at line 197 of file ROL_InteriorPointObjective.hpp.
References mu_.
Referenced by ROL::TypeB::InteriorPointAlgorithm< Real >::run(), and ROL::TypeG::InteriorPointAlgorithm< Real >::run().
|
inline |
Definition at line 201 of file ROL_InteriorPointObjective.hpp.
References fval_, gradient_, and obj_.
Referenced by ROL::TypeB::InteriorPointAlgorithm< Real >::updateState(), and ROL::TypeG::InteriorPointAlgorithm< Real >::updateState().
|
inline |
Definition at line 207 of file ROL_InteriorPointObjective.hpp.
References getObjectiveValue(), kappaD_, lo_, maskL0_, maskL_, maskU0_, maskU_, mu_, pwa_, up_, useLinearDamping_, and zero.
|
inline |
Definition at line 240 of file ROL_InteriorPointObjective.hpp.
References ROL::Vector< Real >::axpy(), getObjectiveGradient(), kappaD_, lo_, maskL0_, maskL_, maskU0_, maskU_, mu_, pwa_, ROL::Vector< Real >::set(), up_, and useLinearDamping_.
Referenced by ROL::TypeB::InteriorPointAlgorithm< Real >::updateState(), and ROL::TypeG::InteriorPointAlgorithm< Real >::updateState().
|
inline |
Definition at line 267 of file ROL_InteriorPointObjective.hpp.
References ROL::Vector< Real >::axpy(), lo_, maskL_, maskU_, mu_, obj_, pwa_, and up_.
|
private |
Definition at line 36 of file ROL_InteriorPointObjective.hpp.
Referenced by getObjectiveGradient(), getObjectiveValue(), hessVec(), InteriorPointObjective(), InteriorPointObjective(), and update().
|
private |
Definition at line 37 of file ROL_InteriorPointObjective.hpp.
Referenced by InteriorPointObjective(), and InteriorPointObjective().
|
private |
Definition at line 38 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), hessVec(), initialize(), InteriorPointObjective(), InteriorPointObjective(), and value().
|
private |
Definition at line 39 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), hessVec(), initialize(), InteriorPointObjective(), InteriorPointObjective(), and value().
|
private |
Definition at line 41 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), hessVec(), initialize(), and value().
|
private |
Definition at line 42 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), hessVec(), initialize(), and value().
|
private |
Definition at line 43 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), initialize(), and value().
|
private |
Definition at line 44 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), initialize(), and value().
|
private |
Definition at line 45 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), hessVec(), initialize(), and value().
|
private |
Definition at line 47 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), initialize(), InteriorPointObjective(), InteriorPointObjective(), and value().
|
private |
Definition at line 50 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), InteriorPointObjective(), InteriorPointObjective(), and value().
|
private |
Definition at line 51 of file ROL_InteriorPointObjective.hpp.
Referenced by gradient(), hessVec(), InteriorPointObjective(), InteriorPointObjective(), updatePenalty(), and value().
|
private |
Definition at line 53 of file ROL_InteriorPointObjective.hpp.
Referenced by getObjectiveValue(), initialize(), and update().
|
private |
Definition at line 54 of file ROL_InteriorPointObjective.hpp.
Referenced by getObjectiveGradient(), initialize(), and update().
|
private |
Definition at line 56 of file ROL_InteriorPointObjective.hpp.
Referenced by getNumberFunctionEvaluations(), getObjectiveValue(), InteriorPointObjective(), and InteriorPointObjective().
|
private |
Definition at line 57 of file ROL_InteriorPointObjective.hpp.
Referenced by getNumberGradientEvaluations(), getObjectiveGradient(), InteriorPointObjective(), and InteriorPointObjective().