10 #ifndef ROL_OBJECTIVE_FROM_CONSTRAINT_H
11 #define ROL_OBJECTIVE_FROM_CONSTRAINT_H
26 template<
typename Real>
29 Ptr<Constraint<Real>>
con_;
51 #endif // ROL_OBJECTIVE_FROM_CONSTRAINT_H
Provides the interface to evaluate objective functions.
Ptr< Constraint< Real > > con_
Defines the linear algebra or vector space interface.
void update(const Vector< Real > &x, UpdateType type, int iter=-1) override
Update objective function.
Real value(const Vector< Real > &x, Real &tol) override
Compute value.
void updateMultiplier(const Vector< Real > &l)
ObjectiveFromConstraint(const Ptr< Constraint< Real >> &con, const Vector< Real > &l)
void hessVec(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Apply Hessian approximation to vector.
virtual ~ObjectiveFromConstraint()
void gradient(Vector< Real > &g, const Vector< Real > &x, Real &tol) override
Compute gradient.
Defines the general constraint operator interface.