44 #ifndef ROL_AFFINE_TRANSFORM_CONSTRAINT_H
45 #define ROL_AFFINE_TRANSFORM_CONSTRAINT_H
64 const Ptr<Constraint<Real>>
con_;
65 const Ptr<LinearOperator<Real>>
A_;
66 const Ptr<Vector<Real>>
b_;
75 Real tol = std::sqrt(ROL_EPSILON<Real>());
91 dual_ = b->dual().clone();
92 if (storage == nullPtr) {
93 storage_ = makePtr<SimController<Real>>();
100 storage_->equalityConstraintUpdate(
true);
109 A_->apply(*
Av_,v,tol);
115 A_->applyAdjoint(ajv,*
dual_,tol);
119 A_->apply(*
Av_,v,tol);
121 A_->applyAdjoint(ahuv,*
dual_,tol);
128 #endif // ROL_AFFINE_TRANSFORM_OBJECTIVE_H
Defines the linear algebra or vector space interface.
Provides the interface to apply a linear operator.
Defines the general constraint operator interface.