ROL
|
#include <ROL_InteriorPointPrimalDualResidual.hpp>
Public Member Functions | |
PrimalDualSymmetrizer (const V &s) | |
void | update (const V &s, bool flag=true, int iter=-1) |
Update linear operator. More... | |
void | apply (V &Hv, const V &v, Real &tol) const |
Apply linear operator. More... | |
void | applyInverse (V &Hv, const V &v, Real &tol) const |
Apply inverse of linear operator. More... | |
PrimalDualSymmetrizer (const V &s) | |
void | update (const V &s, bool flag=true, int iter=-1) |
Update linear operator. More... | |
void | apply (V &Hv, const V &v, Real &tol) const |
Apply linear operator. More... | |
void | applyInverse (V &Hv, const V &v, Real &tol) const |
Apply inverse of linear operator. More... | |
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 PV::size_type | size_type |
typedef Vector< Real > | V |
typedef PartitionedVector< Real > | PV |
typedef PV::size_type | size_type |
Private Attributes | |
ROL::Ptr< V > | s_ |
Static Private Attributes | |
static const size_type | OPT = 0 |
static const size_type | SLACK = 1 |
static const size_type | EQUAL = 2 |
static const size_type | INEQ = 3 |
Definition at line 38 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 237 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 238 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 240 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 235 of file ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 236 of file ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 238 of file ROL_InteriorPointPrimalDualResidual.hpp.
|
inline |
Definition at line 252 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
References ROL::Vector< Real >::clone(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_.
|
inline |
Definition at line 250 of file ROL_InteriorPointPrimalDualResidual.hpp.
References ROL::Vector< Real >::clone(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_.
|
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 257 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_.
|
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 261 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_, and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK.
|
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 293 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_, and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK.
|
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 255 of file ROL_InteriorPointPrimalDualResidual.hpp.
References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_.
|
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 259 of file ROL_InteriorPointPrimalDualResidual.hpp.
References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_, and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK.
|
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 291 of file ROL_InteriorPointPrimalDualResidual.hpp.
References ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT, ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_, and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK.
|
private |
Definition at line 243 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
Referenced by ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse(), ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::PrimalDualSymmetrizer(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::update().
|
staticprivate |
Definition at line 245 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
Referenced by ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse().
|
staticprivate |
Definition at line 246 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
Referenced by ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse().
|
staticprivate |
Definition at line 247 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
Referenced by ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse().
|
staticprivate |
Definition at line 248 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
Referenced by ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse().