10 #ifndef ROL_POLYHEDRALPROJECTION_DEF_H
11 #define ROL_POLYHEDRALPROJECTION_DEF_H
15 template<
typename Real>
17 : bnd_(bnd), con_(nullPtr) {}
19 template<
typename Real>
26 : bnd_(bnd), con_(con) {
33 template<
typename Real>
35 if (con_ == nullPtr) {
43 template<
typename Real>
48 template<
typename Real>
53 template<
typename Real>
58 template<
typename Real>
Ptr< Vector< Real > > xprim_
PolyhedralProjection(const Ptr< BoundConstraint< Real >> &bnd)
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
Ptr< Vector< Real > > res_
Ptr< Vector< Real > > xdual_
virtual void project(Vector< Real > &x, std::ostream &stream=std::cout)
const Ptr< Constraint< Real > > getLinearConstraint(void) const
const Ptr< Vector< Real > > getResidual(void) const
Defines the linear algebra or vector space interface.
Ptr< Vector< Real > > mul_
const Ptr< Vector< Real > > getMultiplier(void) const
Provides the interface to apply upper and lower bound constraints.
const Ptr< BoundConstraint< Real > > getBoundConstraint(void) const
Defines the general constraint operator interface.