44 #ifndef ROL_LINEAR_OBJECTIVE_SIMOPT_H
45 #define ROL_LINEAR_OBJECTIVE_SIMOPT_H
76 Real valu(0), valz(0);
Provides the interface to evaluate simulation-based objective functions.
void hessVec_11(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol)
Apply Hessian approximation to vector.
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 gradient_2(Vector< Real > &g, const Vector< Real > &u, const Vector< Real > &z, Real &tol)
Compute gradient with respect to second component.
void hessVec_22(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol)
Provides the interface to evaluate linear objective functions.
void gradient_1(Vector< Real > &g, const Vector< Real > &u, const Vector< Real > &z, Real &tol)
Compute gradient with respect to first component.
LinearObjective_SimOpt(const Ptr< const Vector< Real >> &simcost=nullPtr, const Ptr< const Vector< Real >> &optcost=nullPtr)
void hessVec_12(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol)
const Ptr< const Vector< Real > > simcost_
void hessVec_21(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol)
virtual void set(const Vector &x)
Set where .
const Ptr< const Vector< Real > > optcost_
Real value(const Vector< Real > &u, const Vector< Real > &z, Real &tol)
Compute value.