#include <OSResult.h>
Collaboration diagram for DualVarValue:
Public Member Functions | |
DualVarValue () | |
Default constructor. | |
~DualVarValue () | |
Class destructor. | |
bool | IsEqual (DualVarValue *that) |
A function to check for the equality of two objects. | |
bool | setRandom (double density, bool conformant) |
A function to make a random instance of this class. | |
DualVarValue () | |
Default constructor. | |
~DualVarValue () | |
Class destructor. | |
Public Attributes | |
int | idx |
idx is the index on a constraint | |
std::string | name |
optional name | |
double | value |
value of dual variable on the constraint indexed by idx if the constraint | |
double | lbValue |
lbValue is the value of dual variable on the constraint indexed by idx if the constraint is at its lower bound | |
double | ubValue |
ubValue is the value of dual variable on the constraint indexed by idx if the constraint is at its upper bound |
Definition at line 1568 of file OSResult.h.
DualVarValue::DualVarValue | ( | ) |
DualVarValue::~DualVarValue | ( | ) |
DualVarValue::DualVarValue | ( | ) |
Default constructor.
DualVarValue::~DualVarValue | ( | ) |
Class destructor.
bool DualVarValue::IsEqual | ( | DualVarValue * | that | ) |
bool DualVarValue::setRandom | ( | double | density, | |
bool | conformant | |||
) |
A function to make a random instance of this class.
density,: | corresponds to the probability that a particular child element is created | |
conformant,: | if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" atrbutes and <XXX> children) |
Definition at line 8839 of file OSResult.cpp.
References OSRand().
Referenced by DualVariableValues::setRandom().
idx is the index on a constraint
Definition at line 1573 of file OSResult.h.
Referenced by OSResult::getDualValueIdx(), OSResult::getOptimalDualVariableValues(), IsEqual(), OSResult::setConstraintValues(), OSResult::setConstraintValuesDense(), OSResult::setDualValue(), OSResult::setDualVariableValues(), OSResult::setDualVariableValuesDense(), OSResult::setDualVariableValuesSparse(), and OSrL2Gams::writeSolution().
std::string DualVarValue::name |
optional name
Definition at line 1576 of file OSResult.h.
Referenced by OSResult::getDualValueName(), IsEqual(), and OSResult::setDualValue().
double DualVarValue::value |
value of dual variable on the constraint indexed by idx if the constraint
Definition at line 1581 of file OSResult.h.
Referenced by OSResult::getDualValue(), OSResult::getOptimalDualVariableValues(), IsEqual(), OSResult::setConstraintValues(), OSResult::setConstraintValuesDense(), OSResult::setDualValue(), OSResult::setDualVariableValues(), OSResult::setDualVariableValuesDense(), OSResult::setDualVariableValuesSparse(), and OSrL2Gams::writeSolution().
double DualVarValue::lbValue |
lbValue is the value of dual variable on the constraint indexed by idx if the constraint is at its lower bound
Definition at line 922 of file OSResult.h.
Referenced by OSResult::setDualVariableValues().
double DualVarValue::ubValue |
ubValue is the value of dual variable on the constraint indexed by idx if the constraint is at its upper bound
Definition at line 929 of file OSResult.h.
Referenced by OSResult::setDualVariableValues().