Dakota
Version 6.21
Explore and Predict with Confidence
|
Derived class for plugging Dakota evaluations into NOWPAC solver. More...
Inherits BlackBoxBaseClass.
Public Member Functions | |
NOWPACBlackBoxEvaluator (Model &model) | |
constructor | |
void | evaluate (std::vector< double > const &x, std::vector< double > &vals, void *param) |
void | evaluate (std::vector< double > const &x, std::vector< double > &vals, std::vector< double > &noise, void *param) |
double | evaluate_samples (std::vector< double > const &samples, const unsigned int index, std::vector< double >const &x) |
void | allocate_constraints () |
int | num_ineq_constraints () const |
const SizetList & | nonlinear_inequality_mapping_indices () const |
const RealList & | nonlinear_inequality_mapping_multipliers () const |
const RealList & | nonlinear_inequality_mapping_offsets () const |
void | set_unscaled_bounds (const RealVector &l_bnds, const RealVector &u_bnds) |
set {lower,upper}Bounds | |
void | scale (const RealVector &unscaled_x, RealArray &scaled_x) const |
perform scaling from [lower,upper] to [0,1] | |
void | unscale (const RealArray &scaled_x, RealVector &unscaled_x) const |
invert scaling to return from [0,1] to [lower,upper] | |
Private Attributes | |
Model | iteratedModel |
cache a local copy of the Model | |
RealVector | lowerBounds |
cache the active continuous lower bounds for scaling to [0,1] | |
RealVector | upperBounds |
cache the active continuous upper bounds for scaling to [0,1] | |
int | numNowpacIneqConstr |
aggregate unsupported constraint types as nonlinear inequalities | |
SizetList | nonlinIneqConMappingIndices |
a list of indices for referencing the DAKOTA nonlinear inequality constraints used in computing the corresponding NOWPAC constraints. | |
RealList | nonlinIneqConMappingMultipliers |
a list of multipliers for mapping the DAKOTA nonlinear inequality constraints to the corresponding NOWPAC constraints. | |
RealList | nonlinIneqConMappingOffsets |
a list of offsets for mapping the DAKOTA nonlinear inequality constraints to the corresponding NOWPAC constraints. | |
SizetList | linIneqConMappingIndices |
a list of indices for referencing the DAKOTA linear inequality constraints used in computing the corresponding NOWPAC constraints. | |
RealList | linIneqConMappingMultipliers |
a list of multipliers for mapping the DAKOTA linear inequality constraints to the corresponding NOWPAC constraints. | |
RealList | linIneqConMappingOffsets |
a list of offsets for mapping the DAKOTA linear inequality constraints to the corresponding NOWPAC constraints. | |
Derived class for plugging Dakota evaluations into NOWPAC solver.