45#ifndef ROL_POLYHEDRALPROJECTION_DEF_H
46#define ROL_POLYHEDRALPROJECTION_DEF_H
50template<
typename Real>
52 : bnd_(bnd), con_(nullPtr) {}
54template<
typename Real>
61 : bnd_(bnd), con_(con) {
68template<
typename Real>
70 if (con_ == nullPtr) {
78template<
typename Real>
83template<
typename Real>
88template<
typename Real>
93template<
typename Real>
Provides the interface to apply upper and lower bound constraints.
Defines the general constraint operator interface.
const Ptr< BoundConstraint< Real > > getBoundConstraint(void) const
Ptr< Vector< Real > > xprim_
virtual void project(Vector< Real > &x, std::ostream &stream=std::cout)
Ptr< Vector< Real > > mul_
const Ptr< Vector< Real > > getResidual(void) const
Ptr< Vector< Real > > xdual_
const Ptr< Vector< Real > > getMultiplier(void) const
Ptr< Vector< Real > > res_
PolyhedralProjection(const Ptr< BoundConstraint< Real > > &bnd)
const Ptr< Constraint< Real > > getLinearConstraint(void) const
Defines the linear algebra or vector space interface.
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.