Dakota
Version 6.21
Explore and Predict with Confidence
|
Public Member Functions | |
DakotaROLObjectiveHess (Model &model) | |
Constructor. More... | |
virtual | ~DakotaROLObjectiveHess () |
Destructor. | |
void | hessVec (std::vector< Real > &hv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override |
Function to return Hessian-vector product needed by ROL when using user/Dakota-supplied Hessians. | |
void | invHessVec (std::vector< Real > &hv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override |
This function is not used by ROL algorithms currently supported by Dakota but is included to protect against unexpected behavior. | |
Public Member Functions inherited from DakotaROLObjectiveGrad | |
DakotaROLObjectiveGrad (Model &model) | |
Constructor. More... | |
virtual | ~DakotaROLObjectiveGrad () |
Destructor. | |
void | gradient (std::vector< Real > &g, const std::vector< Real > &x, Real &tol) override |
Function to return the response gradient to ROL. | |
Public Member Functions inherited from DakotaROLObjective | |
DakotaROLObjective (Model &model) | |
Constructor. More... | |
Real | value (const std::vector< Real > &x, Real &tol) override |
Function to return the objective value (response) to ROL. | |
Additional Inherited Members | |
Public Attributes inherited from DakotaROLObjective | |
Model & | dakotaModel |
Dakota problem data provided by user. | |
DakotaROLObjectiveHess is derived from DakotaROLObjectiveGrad. It implements overrides of ROL member functions to provide a Dakota-specific implementation of a Hessian-vector product. This separate class is needed (rather than putting the product into DakotaROLObjective) because logic in ROL does not always protect against calling the Hessian-vector product in cases where there is not actually a Hessian provided.
DakotaROLObjectiveHess | ( | Model & | model | ) |
Constructor.
Implementation of the DakotaROLObjectiveHess class.