Dakota  Version
Explore and Predict with Confidence
Public Member Functions | List of all members
DakotaROLObjectiveHess Class Reference
Inheritance diagram for DakotaROLObjectiveHess:
DakotaROLObjectiveGrad DakotaROLObjective

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
ModeldakotaModel
 Dakota problem data provided by user.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DakotaROLObjectiveHess()

Constructor.

Implementation of the DakotaROLObjectiveHess class.


The documentation for this class was generated from the following files: