44#ifndef ROL_REDUCED_LINEAR_CONSTRAINT_H
45#define ROL_REDUCED_LINEAR_CONSTRAINT_H
66template<
typename Real>
69 const Ptr<Constraint<Real>>
con_;
70 const Ptr<BoundConstraint<Real>>
bnd_;
71 Ptr<const Vector<Real>>
x_;
Provides the interface to apply upper and lower bound constraints.
Defines the general constraint operator interface.
Reduce the input of a linear constraint based on the active set associated with a vector ,...
const Ptr< Vector< Real > > prim_
void applyAdjointJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the adjoint of the the constraint Jacobian at , , to vector .
const Ptr< BoundConstraint< Real > > bnd_
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .
void applyAdjointHessian(Vector< Real > &ahuv, const Vector< Real > &u, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the derivative of the adjoint of the constraint Jacobian at to vector in direction ,...
const Ptr< Constraint< Real > > con_
Ptr< const Vector< Real > > x_
void setX(const Ptr< const Vector< Real > > &x)
Defines the linear algebra or vector space interface.