44#ifndef ROL_AFFINE_HYPERPLANE_EQUALITY_CONSTRAINT_H
45#define ROL_AFFINE_HYPERPLANE_EQUALITY_CONSTRAINT_H
79template<
typename Real>
82 const Ptr<const Vector<Real>>
a_;
Defines the general constraint operator interface.
This equality constraint defines an affine hyperplane.
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 .
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 ,...
std::vector< Real > solveAugmentedSystem(Vector< Real > &v1, Vector< Real > &v2, const Vector< Real > &b1, const Vector< Real > &b2, const Vector< Real > &x, Real &tol) override
Approximately solves the augmented system
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .
const Real b_
Affine shift.
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .
const Ptr< const Vector< Real > > a_
Dual vector defining hyperplane.
ScalarLinearConstraint(const Ptr< const Vector< Real > > &a, const Real b)
Defines the linear algebra or vector space interface.