44 #ifndef ROL_LINEAR_OBJECTIVE_H
45 #define ROL_LINEAR_OBJECTIVE_H
49 #include "ROL_Ptr.hpp"
70 const ROL::Ptr<const Vector<Real> >
cost_;
Provides the interface to evaluate linear objective functions.
const ROL::Ptr< const Vector< Real > > cost_
LinearObjective(const ROL::Ptr< const Vector< Real > > &cost)
void gradient(Vector< Real > &g, const Vector< Real > &x, Real &tol)
Compute gradient.
void hessVec(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &x, Real &tol)
Apply Hessian approximation to vector.
Real value(const Vector< Real > &x, Real &tol)
Compute value.
Provides the interface to evaluate objective functions.
Defines the linear algebra or vector space interface.
virtual void set(const Vector &x)
Set where .
virtual void zero()
Set to zero vector.
virtual Real dot(const Vector &x) const =0
Compute where .