ROL
|
#include <ROL_PrimalDualInteriorPointOperator.hpp>
Public Member Functions | |
PrimalDualInteriorPointBlock11 (ROL::Ptr< OBJ > &obj, ROL::Ptr< CON > &con, const V &x, ROL::Ptr< V > &scratch, Real delta=0) | |
void | update (const Vector< Real > &x, bool flag=true, int iter=-1) |
Update linear operator. More... | |
void | apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply linear operator. More... | |
void | applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply inverse of linear operator. More... | |
void | setInertia (Real delta) |
Public Member Functions inherited from ROL::LinearOperator< Real > | |
virtual | ~LinearOperator () |
virtual void | applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply adjoint of linear operator. More... | |
virtual void | applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply adjoint of the inverse linear operator. More... | |
Private Types | |
typedef Vector< Real > | V |
typedef PartitionedVector< Real > | PV |
typedef Objective< Real > | OBJ |
typedef Constraint< Real > | CON |
Private Attributes | |
ROL::Ptr< const V > | x_ |
ROL::Ptr< const V > | l_ |
ROL::Ptr< V > | scratch_ |
Real | delta_ |
Static Private Attributes | |
static const size_type | OPT = 0 |
static const size_type | EQUAL = 1 |
static const size_type | LOWER = 0 |
static const size_type | UPPER = 1 |
Definition at line 55 of file ROL_PrimalDualInteriorPointOperator.hpp.
|
private |
Definition at line 57 of file ROL_PrimalDualInteriorPointOperator.hpp.
|
private |
Definition at line 58 of file ROL_PrimalDualInteriorPointOperator.hpp.
|
private |
Definition at line 59 of file ROL_PrimalDualInteriorPointOperator.hpp.
|
private |
Definition at line 60 of file ROL_PrimalDualInteriorPointOperator.hpp.
|
inline |
Definition at line 77 of file ROL_PrimalDualInteriorPointOperator.hpp.
References ROL::PrimalDualInteriorPointBlock11< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::PrimalDualInteriorPointBlock11< Real >::l_, ROL::PrimalDualInteriorPointBlock11< Real >::OPT, and ROL::PrimalDualInteriorPointBlock11< Real >::x_.
|
inlinevirtual |
Update linear operator.
This function updates the linear operator at new iterations.
[in] | x | is the new iterate. |
[in] | flag | is true if the iterate has changed. |
[in] | iter | is the outer algorithm iterations count. |
Reimplemented from ROL::LinearOperator< Real >.
Definition at line 88 of file ROL_PrimalDualInteriorPointOperator.hpp.
References ROL::PrimalDualInteriorPointBlock11< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::PrimalDualInteriorPointBlock11< Real >::l_, obj_, ROL::PrimalDualInteriorPointBlock11< Real >::OPT, and ROL::PrimalDualInteriorPointBlock11< Real >::x_.
|
inlinevirtual |
Apply linear operator.
This function applies the linear operator to a vector.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact linear operator application. |
Implements ROL::LinearOperator< Real >.
Definition at line 99 of file ROL_PrimalDualInteriorPointOperator.hpp.
References ROL::PrimalDualInteriorPointBlock11< Real >::delta_, ROL::PrimalDualInteriorPointBlock11< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::PrimalDualInteriorPointBlock11< Real >::l_, obj_, ROL::PrimalDualInteriorPointBlock11< Real >::OPT, ROL::PrimalDualInteriorPointBlock11< Real >::scratch_, and ROL::PrimalDualInteriorPointBlock11< Real >::x_.
|
inlinevirtual |
Apply inverse of linear operator.
This function applies the inverse of linear operator to a vector.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact linear operator application. |
Reimplemented from ROL::LinearOperator< Real >.
Definition at line 129 of file ROL_PrimalDualInteriorPointOperator.hpp.
|
inline |
Definition at line 135 of file ROL_PrimalDualInteriorPointOperator.hpp.
References ROL::PrimalDualInteriorPointBlock11< Real >::delta_.
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 64 of file ROL_PrimalDualInteriorPointOperator.hpp.
|
staticprivate |
Definition at line 65 of file ROL_PrimalDualInteriorPointOperator.hpp.
|
private |
|
private |
|
private |
Definition at line 70 of file ROL_PrimalDualInteriorPointOperator.hpp.
Referenced by ROL::PrimalDualInteriorPointBlock11< Real >::apply().
|
private |
Definition at line 72 of file ROL_PrimalDualInteriorPointOperator.hpp.
Referenced by ROL::PrimalDualInteriorPointBlock11< Real >::apply(), and ROL::PrimalDualInteriorPointBlock11< Real >::setInertia().