10#ifndef ROL_SEPARABLE_CONSTRAINT_H
11#define ROL_SEPARABLE_CONSTRAINT_H
26template<
typename Real>
29 const std::vector<Ptr<Constraint<Real>>>
con_;
34 Ptr<Constraint<Real>>
get(
unsigned ind = 0)
const;
57 void setParameter(
const std::vector<Real> ¶m)
override;
Defines the general constraint operator interface.
Array of constraints with entries that depend on indepdent subvectors.
Ptr< Constraint< Real > > get(unsigned ind=0) const
virtual void applyPreconditioner(Vector< Real > &pv, const Vector< Real > &v, const Vector< Real > &x, const Vector< Real > &g, Real &tol) override
Apply a constraint preconditioner at , , to vector . Ideally, this preconditioner satisfies the follo...
void setParameter(const std::vector< Real > ¶m) override
const std::vector< Ptr< Constraint< Real > > > con_
void update(const Vector< Real > &x, UpdateType type, int iter=-1) override
Update constraint function.
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 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 applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply the constraint Jacobian at , , to vector .
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.