$extrastylesheet
Dakota  Version 6.2
Public Member Functions
RelaxedVarConstraints Class Reference

Derived class within the Constraints hierarchy which employs relaxation of discrete variables. More...

Inheritance diagram for RelaxedVarConstraints:
Constraints

List of all members.

Public Member Functions

 RelaxedVarConstraints (const SharedVariablesData &svd)
 lightweight constructor
 RelaxedVarConstraints (const ProblemDescDB &problem_db, const SharedVariablesData &svd)
 standard constructor
 ~RelaxedVarConstraints ()
 destructor
void write (std::ostream &s) const
 write a variable constraints object to an std::ostream
void read (std::istream &s)
 read a variable constraints object from an std::istream

Detailed Description

Derived class within the Constraints hierarchy which employs relaxation of discrete variables.

Derived variable constraints classes take different views of the design, uncertain, and state variable types and the continuous and discrete domain types. The RelaxedVarConstraints derived class combines continuous and discrete domain types through integer relaxation. The branch and bound method uses this approach (see Variables::get_variables(problem_db) for variables type selection; variables type is passed to the Constraints constructor in Model).


Constructor & Destructor Documentation

RelaxedVarConstraints ( const ProblemDescDB problem_db,
const SharedVariablesData svd 
)

standard constructor

In this class, a relaxed data approach is used in which continuous and discrete arrays are combined into a single continuous array (integrality is relaxed; the converse of truncating reals is not currently supported but could be in the future if needed). Iterators which use this class include: BranchBndOptimizer.

References SharedVariablesData::all_relaxed_discrete_int(), SharedVariablesData::all_relaxed_discrete_real(), Constraints::allContinuousLowerBnds, Constraints::allContinuousUpperBnds, Constraints::allDiscreteIntLowerBnds, Constraints::allDiscreteIntUpperBnds, Constraints::allDiscreteRealLowerBnds, Constraints::allDiscreteRealUpperBnds, Dakota::copy_data_partial(), ProblemDescDB::get_iv(), ProblemDescDB::get_rv(), Constraints::sharedVarsData, and SharedVariablesData::view().


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