Dakota
Version
Explore and Predict with Confidence
|
Public Member Functions | |
DakotaROLEqConstraintsHess (Model &model) | |
Constructor. More... | |
virtual | ~DakotaROLEqConstraintsHess () |
Destructor. | |
void | applyAdjointHessian (std::vector< Real > &ahuv, const std::vector< Real > &u, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override |
Function to return the result of applying the constraint adjoint Hessian to an arbitrary vector to ROL. | |
Public Member Functions inherited from DakotaROLEqConstraintsGrad | |
DakotaROLEqConstraintsGrad (Model &model) | |
Constructor. More... | |
virtual | ~DakotaROLEqConstraintsGrad () |
Destructor. | |
void | applyJacobian (std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override |
Function to return the result of applying the constraint gradient to an arbitrary vector to ROL. | |
void | applyAdjointJacobian (std::vector< Real > &ajv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override |
Function to return the result of applying the constraint adjoint to an arbitrary vector to ROL. | |
Public Member Functions inherited from DakotaROLEqConstraints | |
DakotaROLEqConstraints (Model &model) | |
Constructor. More... | |
void | value (std::vector< Real > &c, const std::vector< Real > &x, Real &tol) override |
Function to return the constaint value to ROL. | |
Additional Inherited Members | |
Protected Attributes inherited from DakotaROLEqConstraints | |
Model & | dakotaModel |
Dakota problem data provided by user. | |
bool | haveNlnConst |
Whether or not problem has nonlinear equality constraints. | |
DakotaROLEqConstraintsHess is derived from DakotaROLEqConstraintsGrad. It implements overrides of ROL member functions to provide a Dakota-specific implementation of a adjoint Hessian-vector product for equality constraints. This separate class is needed (rather than putting the product into DakotaROLEqConstraints) because logic in ROL does not always protect against calling the adjoint Hessian-vector product in cases where there is not actually a Hessian provided.
DakotaROLEqConstraintsHess | ( | Model & | model | ) |
Constructor.
Implementation of the DakotaROLEqConstraintsHess class.