44 #ifndef ROL_NONLINEARLEASTSQUARESOBJECTIVE_DYNAMIC_H
45 #define ROL_NONLINEARLEASTSQUARESOBJECTIVE_DYNAMIC_H
73 class DynamicConstraint;
78 const Ptr<DynamicConstraint<Real>>
con_;
79 const Ptr<const Vector<Real>>
uo_;
80 const Ptr<const Vector<Real>>
z_;
81 const Ptr<const TimeStamp<Real>>
ts_;
99 const bool GNH =
false)
104 udual_ = uo->dual().clone();
Provides the interface to evaluate objective functions.
const Ptr< const Vector< Real > > uo_
virtual const Vector & dual() const
Return dual representation of , for example, the result of applying a Riesz map, or change of basis...
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
virtual void plus(const Vector &x)=0
Compute , where .
Defines the time-dependent constraint operator interface for simulation-based optimization.
Ptr< Vector< Real > > udual_
Contains definitions of custom data types in ROL.
NonlinearLeastSquaresObjective_Dynamic(const Ptr< DynamicConstraint< Real >> &con, const Vector< Real > &c, const Ptr< const Vector< Real >> &uo, const Ptr< const Vector< Real >> &z, const Ptr< const TimeStamp< Real >> &ts, const bool GNH=false)
Constructor.
Real value(const Vector< Real > &x, Real &tol)
Compute value.
Defines the linear algebra or vector space interface.
void precond(Vector< Real > &pv, const Vector< Real > &v, const Vector< Real > &u, Real &tol)
Apply preconditioner to vector.
void hessVec(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, Real &tol)
Apply Hessian approximation to vector.
void update(const Vector< Real > &u, bool flag=true, int iter=-1)
Update objective function.
Ptr< Vector< Real > > c1_
Ptr< Vector< Real > > cdual_
const bool GaussNewtonHessian_
const Ptr< const TimeStamp< Real > > ts_
void gradient(Vector< Real > &g, const Vector< Real > &u, Real &tol)
Compute gradient.
Provides the interface to evaluate nonlinear least squares objective functions.
const Ptr< DynamicConstraint< Real > > con_
const Ptr< const Vector< Real > > z_
Ptr< Vector< Real > > c2_