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 73 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 272 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 273 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 275 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 270 of file ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 271 of file ROL_InteriorPointPrimalDualResidual.hpp.
|
private |
Definition at line 273 of file ROL_InteriorPointPrimalDualResidual.hpp.
|
inline |
Definition at line 287 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
References ROL::Vector< Real >::clone(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_.
|
inline |
Definition at line 285 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 292 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 296 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 328 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 290 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 294 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 326 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 278 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 280 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
Referenced by ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse().
|
staticprivate |
Definition at line 281 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
Referenced by ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse().
|
staticprivate |
Definition at line 282 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
Referenced by ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse().
|
staticprivate |
Definition at line 283 of file interiorpoint/ROL_InteriorPointPrimalDualResidual.hpp.
Referenced by ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply(), and ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse().