44#ifndef ROL_BOUND_TO_CONSTRAINT_H
45#define ROL_BOUND_TO_CONSTRAINT_H
57template<
typename Real>
60 Ptr<Constraint<Real>>
lo_;
61 Ptr<Constraint<Real>>
up_;
Provides the interface to apply upper and lower bound constraints.
Provides an implementation for bound constraints.
void applyAdjointJacobian(Vector< Real > &ajv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the adjoint of the the constraint Jacobian at , , to vector .
Ptr< Vector< Real > > tmp_
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 ,...
Ptr< Constraint< Real > > up_
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .
Ptr< Constraint< Real > > lo_
Defines the general constraint operator interface.
Defines the linear algebra or vector space interface.