Dakota  Version
Explore and Predict with Confidence
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TPLDataTransfer Class Reference

Public Member Functions

 TPLDataTransfer ()
 default constructor
 
 ~TPLDataTransfer ()
 destructor
 
void configure_data_adapters (std::shared_ptr< TraitsBase >, const Model &)
 Construct maps, etc. needed to exchange data to/from Dakota and the TPL.
 
int num_dakota_nonlin_eq_constraints () const
 Number of nonlinear equality constraints from Dakota perspective.
 
int num_tpl_nonlin_eq_constraints () const
 Number of nonlinear equality constraints from TPL perspective.
 
int num_dakota_nonlin_ineq_constraints () const
 Number of nonlinear inequality constraints from Dakota perspective.
 
int num_tpl_nonlin_ineq_constraints () const
 Number of nonlinear inequality constraints from TPL perspective.
 
Real get_response_value_from_dakota (const Response &resp) const
 
template<typename VecT >
void get_nonlinear_ineq_constraints_from_dakota (const Response &resp, VecT &values)
 
template<typename VecT >
void get_best_nonlinear_ineq_constraints_from_tpl (const VecT &values, RealVector &target)
 
template<typename VecT >
void get_nonlinear_eq_constraints_from_dakota (const Response &resp, VecT &values)
 
template<typename VecT >
void get_best_nonlinear_eq_constraints_from_tpl (const VecT &values, RealVector &target)
 

Protected Member Functions

void configure_nonlinear_eq_adapters (NONLINEAR_EQUALITY_FORMAT, const Constraints &)
 Construct nonlinear equality maps needed to exchange data to/from Dakota and the TPL.
 
void configure_nonlinear_ineq_adapters (NONLINEAR_INEQUALITY_FORMAT, const Constraints &, bool split_eqs)
 Construct nonlinear inequality maps needed to exchange data to/from Dakota and the TPL.
 

Protected Attributes

int numDakotaObjectiveFns
 number of objective functions from Dakota perspective
 
bool maxSense
 Single boolean (could be extended to multiple) indicating min/max sense of optimal value.
 
int numDakotaNonlinearEqConstraints
 number of nonlinear equality constraints from Dakota perspective
 
int numTPLNonlinearEqConstraints
 number of nonlinear equality constraints from TPL perspective
 
std::vector< int > nonlinearEqConstraintMapIndices
 map from Dakota constraint number to TPL constraint number
 
std::vector< double > nonlinearEqConstraintMapMultipliers
 multipliers for constraint transformations - may not be needed? - RWH
 
std::vector< double > nonlinearEqConstraintTargets
 offsets for constraint transformations
 
int numDakotaNonlinearIneqConstraints
 number of nonlinear inequality constraints from Dakota perspective
 
int numTPLNonlinearIneqConstraints
 number of nonlinear inequality constraints actually used ... based conditionally on lower bounds using bigRealBoundSize and on whether TPL splits equalities into two inequalities
 
std::vector< int > nonlinearIneqConstraintMapIndices
 map from Dakota constraint number to TPL constraint number
 
std::vector< double > nonlinearIneqConstraintMapMultipliers
 multipliers for constraint transformations
 
std::vector< double > nonlinearIneqConstraintMapShifts
 offsets for constraint transformations
 

Detailed Description

The TPLDataTransfer class provides ...


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