10 #ifndef ROL_RISKLESS_CONSTRAINT_H
11 #define ROL_RISKLESS_CONSTRAINT_H
21 const Ptr<Constraint<Real>>
con_;
35 void setParameter(
const std::vector<Real> ¶m)
override;
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .
RiskLessConstraint(const Ptr< Constraint< Real >> &con)
const Ptr< Constraint< Real > > con_
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .
Defines the linear algebra or vector space interface.
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 ...
void update(const Vector< Real > &x, UpdateType type, int iter=-1) override
Update constraint function.
void setParameter(const std::vector< Real > ¶m) override
Defines the general constraint operator interface.