48 #ifndef ROL_LINEAR_CONSTRAINT_H
49 #define ROL_LINEAR_CONSTRAINT_H
71 const ROL::Ptr<const LinearOperator<Real>>
A_;
72 const ROL::Ptr<const LinearOperator<Real>>
Atrans_;
73 const ROL::Ptr<const Vector<Real>>
b_;
109 A_->update(x,flag,iter);
111 A_->update(x,flag,iter);
119 #endif //ROL_LINEAR_EQUALITY_CONSTRAINT_H
const ROL::Ptr< const LinearOperator< Real > > A_
Provides the interface to evaluate linear 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 ...
void update(const Vector< Real > &x, bool flag=true, int iter=-1)
Update constraint functions. x is the optimization variable, flag = true if optimization variable is ...
const ROL::Ptr< const Vector< Real > > b_
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 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 .
LinearConstraint(const ROL::Ptr< const LinearOperator< Real >> &A, const ROL::Ptr< const LinearOperator< Real >> &Atrans, const ROL::Ptr< const Vector< Real > &b)
Provides the interface to apply a linear operator.
LinearConstraint(const ROL::Ptr< const LinearOperator< Real >> &A, const ROL::Ptr< const Vector< Real > &b)
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol)
Evaluate the constraint operator at .
Defines the general constraint operator interface.
const ROL::Ptr< const LinearOperator< Real > > Atrans_