44 #ifndef ROL_UPPER_BOUND_INEQUALITY_CONSTRAINT_H
45 #define ROL_UPPER_BOUND_INEQUALITY_CONSTRAINT_H
59 Teuchos::RCP<Vector<Real> >
up_;
Provides an implementation for upper bound inequality constraints.
void applyAdjointHessian(Vector< Real > &ahuv, const Vector< Real > &u, const Vector< Real > &v, const Vector< Real > &x, Real &tol)
Apply the derivative of the adjoint of the constraint Jacobian at to vector in direction ...
virtual void scale(const Real alpha)=0
Compute where .
virtual void axpy(const Real alpha, const Vector &x)
Compute where .
virtual Teuchos::RCP< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
virtual void setVectorToUpperBound(Vector< Real > &u)
Set the input vector to the upper bound.
virtual void zero()
Set to zero vector.
Defines the linear algebra or vector space interface.
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol)
Apply the constraint Jacobian at , , to vector .
Teuchos::RCP< Vector< Real > > up_
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol)
Evaluate the constraint operator at .
Provides the interface to apply upper and lower bound constraints.
void applyAdjointJacobian(Vector< Real > &ajv, const Vector< Real > &v, const Vector< Real > &x, Real &tol)
Apply the adjoint of the the constraint Jacobian at , , to vector .
virtual void set(const Vector &x)
Set where .
Provides a unique argument for inequality constraints, which otherwise behave exactly as equality con...
UpperBoundInequalityConstraint(BoundConstraint< Real > &bnd, const Vector< Real > &x)
UpperBoundInequalityConstraint(const Vector< Real > &up)