10 #ifndef ROL_LINEARCONSTRAINT_H
11 #define ROL_LINEARCONSTRAINT_H
25 template<
typename Real>
28 const Ptr<const LinearOperator<Real>>
A_;
29 const Ptr<const Vector<Real>>
b_;
Defines the general affine constraint with the form .
LinearConstraint(const Ptr< const LinearOperator< Real >> &A, const Ptr< const Vector< Real >> &b)
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 ...
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .
const Ptr< const Vector< Real > > b_
Defines the linear algebra or vector space interface.
void update(const Vector< Real > &x, UpdateType type, int iter=-1) override
Update constraint function.
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 .
Provides the interface to apply a linear operator.
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .
const Ptr< const LinearOperator< Real > > A_
Ptr< Vector< Real > > createRangeSpaceVector(void) const
Defines the general constraint operator interface.