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 objective functions.
Provides the interface to evaluate linear objective functions.
virtual void zero()
Set to zero vector.
Defines the linear algebra or vector space interface.
virtual Real dot(const Vector &x) const =0
Compute where .
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.
virtual void set(const Vector &x)
Set where .
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.