10#ifndef ROL_POLYHEDRALPROJECTION_DEF_H
11#define ROL_POLYHEDRALPROJECTION_DEF_H
15template<
typename Real>
17 : bnd_(bnd), con_(nullPtr) {}
19template<
typename Real>
26 : bnd_(bnd), con_(con) {
33template<
typename Real>
35 if (con_ == nullPtr) {
43template<
typename Real>
48template<
typename Real>
53template<
typename Real>
58template<
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.