ROL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROL::DouglasRachfordProjection< Real > Class Template Reference

#include <ROL_DouglasRachfordProjection.hpp>

+ Inheritance diagram for ROL::DouglasRachfordProjection< Real >:

Public Member Functions

 DouglasRachfordProjection (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)
 
 DouglasRachfordProjection (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_DouglasRachford (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 DEFAULT_alpha1_
 
Real DEFAULT_gamma_
 
Real DEFAULT_t0_
 
Real atol_
 
Real rtol_
 
int maxit_
 
int verbosity_
 
Real alpha1_
 
Real alpha2_
 
Real gamma_
 
Real t0_
 

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_
 

Detailed Description

template<typename Real>
class ROL::DouglasRachfordProjection< Real >

Definition at line 54 of file ROL_DouglasRachfordProjection.hpp.

Constructor & Destructor Documentation

◆ DouglasRachfordProjection() [1/2]

template<typename Real >
ROL::DouglasRachfordProjection< Real >::DouglasRachfordProjection ( 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 )

◆ DouglasRachfordProjection() [2/2]

template<typename Real >
ROL::DouglasRachfordProjection< Real >::DouglasRachfordProjection ( 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 )

Member Function Documentation

◆ project()

template<typename Real >
void ROL::DouglasRachfordProjection< Real >::project ( Vector< Real > & x,
std::ostream & stream = std::cout )
overridevirtual

◆ residual_1d()

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::residual_1d ( const Vector< Real > & x) const
private

Definition at line 123 of file ROL_DouglasRachfordProjection_Def.hpp.

◆ residual_nd()

template<typename Real >
void ROL::DouglasRachfordProjection< Real >::residual_nd ( Vector< Real > & r,
const Vector< Real > & y ) const
private

Definition at line 128 of file ROL_DouglasRachfordProjection_Def.hpp.

References ROL::Temp.

◆ project_bnd()

template<typename Real >
void ROL::DouglasRachfordProjection< Real >::project_bnd ( Vector< Real > & x,
const Vector< Real > & y ) const
private

Definition at line 135 of file ROL_DouglasRachfordProjection_Def.hpp.

References ROL::Vector< Real >::set().

◆ project_con()

template<typename Real >
void ROL::DouglasRachfordProjection< Real >::project_con ( Vector< Real > & x,
const Vector< Real > & y ) const
private

◆ project_DouglasRachford()

template<typename Real >
void ROL::DouglasRachfordProjection< Real >::project_DouglasRachford ( Vector< Real > & x,
std::ostream & stream = std::cout ) const
private

Member Data Documentation

◆ dim_

template<typename Real >
int ROL::DouglasRachfordProjection< Real >::dim_
private

◆ tmp_

template<typename Real >
Ptr<Vector<Real> > ROL::DouglasRachfordProjection< Real >::tmp_
private

◆ p_

template<typename Real >
Ptr<Vector<Real> > ROL::DouglasRachfordProjection< Real >::p_
private

◆ q_

template<typename Real >
Ptr<Vector<Real> > ROL::DouglasRachfordProjection< Real >::q_
private

◆ y_

template<typename Real >
Ptr<Vector<Real> > ROL::DouglasRachfordProjection< Real >::y_
private

◆ z_

template<typename Real >
Ptr<Vector<Real> > ROL::DouglasRachfordProjection< Real >::z_
private

◆ b_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::b_
private

◆ cdot_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::cdot_
private

◆ DEFAULT_atol_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::DEFAULT_atol_
private

◆ DEFAULT_rtol_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::DEFAULT_rtol_
private

◆ DEFAULT_maxit_

template<typename Real >
int ROL::DouglasRachfordProjection< Real >::DEFAULT_maxit_
private

◆ DEFAULT_verbosity_

template<typename Real >
int ROL::DouglasRachfordProjection< Real >::DEFAULT_verbosity_
private

◆ DEFAULT_alpha1_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::DEFAULT_alpha1_
private

◆ DEFAULT_gamma_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::DEFAULT_gamma_
private

◆ DEFAULT_t0_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::DEFAULT_t0_
private

◆ atol_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::atol_
private

◆ rtol_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::rtol_
private

◆ maxit_

template<typename Real >
int ROL::DouglasRachfordProjection< Real >::maxit_
private

◆ verbosity_

template<typename Real >
int ROL::DouglasRachfordProjection< Real >::verbosity_
private

◆ alpha1_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::alpha1_
private

◆ alpha2_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::alpha2_
private

◆ gamma_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::gamma_
private

◆ t0_

template<typename Real >
Real ROL::DouglasRachfordProjection< Real >::t0_
private

The documentation for this class was generated from the following files: