ROL
|
#include <ROL_DykstraProjection.hpp>
Public Member Functions | |
DykstraProjection (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< Constraint< Real >> &con, const Vector< Real > &mul, const Vector< Real > &res) | |
DykstraProjection (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< Constraint< Real >> &con, const Vector< Real > &mul, const Vector< Real > &res, ParameterList &list) | |
void | project (Vector< Real > &x, std::ostream &stream=std::cout) override |
Public Member Functions inherited from ROL::PolyhedralProjection< Real > | |
virtual | ~PolyhedralProjection () |
PolyhedralProjection (const Ptr< BoundConstraint< Real >> &bnd) | |
PolyhedralProjection (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< Constraint< Real >> &con, const Vector< Real > &mul, const Vector< Real > &res) | |
const Ptr< Constraint< Real > > | getLinearConstraint (void) const |
const Ptr< BoundConstraint < Real > > | getBoundConstraint (void) const |
const Ptr< Vector< Real > > | getMultiplier (void) const |
const Ptr< Vector< Real > > | getResidual (void) const |
Private Member Functions | |
Real | residual_1d (const Vector< Real > &x) const |
void | residual_nd (Vector< Real > &r, const Vector< Real > &y) const |
void | project_bnd (Vector< Real > &x, const Vector< Real > &y) const |
void | project_con (Vector< Real > &x, const Vector< Real > &y) const |
void | project_Dykstra (Vector< Real > &x, std::ostream &stream=std::cout) const |
Private Attributes | |
int | dim_ |
Ptr< Vector< Real > > | tmp_ |
Ptr< Vector< Real > > | p_ |
Ptr< Vector< Real > > | q_ |
Ptr< Vector< Real > > | y_ |
Ptr< Vector< Real > > | z_ |
Real | b_ |
Real | cdot_ |
Real | DEFAULT_atol_ |
Real | DEFAULT_rtol_ |
int | DEFAULT_maxit_ |
int | DEFAULT_verbosity_ |
Real | atol_ |
Real | rtol_ |
int | maxit_ |
int | verbosity_ |
Additional Inherited Members | |
Protected Attributes inherited from ROL::PolyhedralProjection< Real > | |
const Ptr< BoundConstraint < Real > > | bnd_ |
const Ptr< Constraint< Real > > | con_ |
Ptr< Vector< Real > > | xprim_ |
Ptr< Vector< Real > > | xdual_ |
Ptr< Vector< Real > > | mul_ |
Ptr< Vector< Real > > | res_ |
Definition at line 19 of file ROL_DykstraProjection.hpp.
ROL::DykstraProjection< Real >::DykstraProjection | ( | const Vector< Real > & | xprim, |
const Vector< Real > & | xdual, | ||
const Ptr< BoundConstraint< Real >> & | bnd, | ||
const Ptr< Constraint< Real >> & | con, | ||
const Vector< Real > & | mul, | ||
const Vector< Real > & | res | ||
) |
Definition at line 16 of file ROL_DykstraProjection_Def.hpp.
References ROL::DykstraProjection< Real >::b_, ROL::DykstraProjection< Real >::cdot_, ROL::Vector< Real >::clone(), ROL::PolyhedralProjection< Real >::con_, ROL::DykstraProjection< Real >::dim_, ROL::Vector< Real >::dimension(), ROL::PolyhedralProjection< Real >::mul_, ROL::DykstraProjection< Real >::p_, ROL::DykstraProjection< Real >::q_, ROL::PolyhedralProjection< Real >::res_, ROL::Temp, ROL::DykstraProjection< Real >::tmp_, ROL::PolyhedralProjection< Real >::xprim_, ROL::DykstraProjection< Real >::y_, and ROL::DykstraProjection< Real >::z_.
ROL::DykstraProjection< Real >::DykstraProjection | ( | const Vector< Real > & | xprim, |
const Vector< Real > & | xdual, | ||
const Ptr< BoundConstraint< Real >> & | bnd, | ||
const Ptr< Constraint< Real >> & | con, | ||
const Vector< Real > & | mul, | ||
const Vector< Real > & | res, | ||
ParameterList & | list | ||
) |
Definition at line 52 of file ROL_DykstraProjection_Def.hpp.
References ROL::DykstraProjection< Real >::atol_, ROL::DykstraProjection< Real >::DEFAULT_atol_, ROL::DykstraProjection< Real >::DEFAULT_maxit_, ROL::DykstraProjection< Real >::DEFAULT_rtol_, ROL::DykstraProjection< Real >::DEFAULT_verbosity_, ROL::DykstraProjection< Real >::maxit_, ROL::DykstraProjection< Real >::rtol_, and ROL::DykstraProjection< Real >::verbosity_.
|
overridevirtual |
Reimplemented from ROL::PolyhedralProjection< Real >.
Definition at line 67 of file ROL_DykstraProjection_Def.hpp.
|
private |
Definition at line 77 of file ROL_DykstraProjection_Def.hpp.
|
private |
Definition at line 82 of file ROL_DykstraProjection_Def.hpp.
References ROL::Temp.
|
private |
Definition at line 89 of file ROL_DykstraProjection_Def.hpp.
References ROL::Vector< Real >::set().
|
private |
Definition at line 95 of file ROL_DykstraProjection_Def.hpp.
References ROL::Vector< Real >::axpy(), ROL::Vector< Real >::plus(), ROL::Vector< Real >::scale(), and ROL::Vector< Real >::set().
|
private |
Definition at line 112 of file ROL_DykstraProjection_Def.hpp.
References ROL::Vector< Real >::norm().
|
private |
Definition at line 21 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 22 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 22 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 22 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 22 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 22 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 23 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 23 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 25 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 25 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 26 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 26 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 28 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 28 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 29 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().
|
private |
Definition at line 29 of file ROL_DykstraProjection.hpp.
Referenced by ROL::DykstraProjection< Real >::DykstraProjection().