10 #ifndef ROL_SLACKLESSCONSTRAINT_HPP
11 #define ROL_SLACKLESSCONSTRAINT_HPP
24 template<
typename Real>
27 const Ptr<Constraint<Real>>
con_;
41 void setParameter(
const std::vector<Real> ¶m)
override;
54 #endif // ROL__SLACKLESSCONSTRAINT_HPP
const Ptr< Constraint< Real > > con_
void update(const Vector< Real > &x, UpdateType type, int iter=-1) override
Update constraint function.
SlacklessConstraint(const Ptr< Constraint< Real >> &con)
Ptr< Vector< Real > > getOpt(Vector< Real > &xs) const
Defines the linear algebra or vector space interface.
void applyAdjointJacobian(Vector< Real > &ajv, const Vector< Real > &v, const Vector< Real > &x, const Vector< Real > &dualv, 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 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 value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Evaluate the constraint operator at .
This class strips out the slack variables from constraint evaluations to create the new constraint ...
void setParameter(const std::vector< Real > ¶m) override
void zeroSlack(Vector< Real > &x) const
Defines the general constraint operator interface.