#include <OSResult.h>
Collaboration diagram for ConstraintSolution:
Public Member Functions | |
ConstraintSolution () | |
Default constructor. | |
~ConstraintSolution () | |
Class destructor. | |
bool | IsEqual (ConstraintSolution *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. | |
ConstraintSolution () | |
Default constructor. | |
~ConstraintSolution () | |
Class destructor. | |
Public Attributes | |
int | numberOfOtherConstraintResults |
the number of types of constraint function results other than the basic constraint function values | |
DualVariableValues * | dualValues |
a pointer to an array of DualVariableValues objects | |
BasisStatus * | basisStatus |
a pointer to a BasisStatus object | |
OtherConstraintResult ** | other |
a pointer to an array of other pointer objects for constraint functions | |
DualVariableValues * | dualValues |
a pointer to an array of DualVariableValues objects | |
OtherConstraintResult ** | other |
a pointer to an array of other pointer objects for constraint functions |
Definition at line 1816 of file OSResult.h.
ConstraintSolution::ConstraintSolution | ( | ) |
ConstraintSolution::~ConstraintSolution | ( | ) |
Class destructor.
Definition at line 899 of file OSResult.cpp.
References basisStatus, dualValues, numberOfOtherConstraintResults, and other.
ConstraintSolution::ConstraintSolution | ( | ) |
Default constructor.
ConstraintSolution::~ConstraintSolution | ( | ) |
Class destructor.
bool ConstraintSolution::IsEqual | ( | ConstraintSolution * | that | ) |
A function to check for the equality of two objects.
Definition at line 7407 of file OSResult.cpp.
References basisStatus, dualValues, numberOfOtherConstraintResults, and other.
bool ConstraintSolution::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 8777 of file OSResult.cpp.
References basisStatus, dualValues, n, numberOfOtherConstraintResults, OSRand(), other, BasisStatus::setRandom(), DualVariableValues::setRandom(), and OtherConstraintResult::setRandom().
Referenced by OptimizationSolution::setRandom().
the number of types of constraint function results other than the basic constraint function values
Definition at line 1824 of file OSResult.h.
Referenced by OSResult::getNumberOfOtherConstraintResults(), OSResult::getOtherConstraintResultCon(), OSResult::getOtherConstraintResultConIdx(), OSResult::getOtherConstraintResultDescription(), OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), OSResult::getOtherConstraintResultEnumerationValue(), OSResult::getOtherConstraintResultName(), OSResult::getOtherConstraintResultNumberOfCon(), OSResult::getOtherConstraintResultNumberOfEnumerations(), OSResult::getOtherConstraintResultValue(), IsEqual(), OSResult::setNumberOfOtherConstraintResults(), setRandom(), and ~ConstraintSolution().
a pointer to an array of DualVariableValues objects
Definition at line 1827 of file OSResult.h.
Referenced by OSResult::getDualValue(), OSResult::getDualValueIdx(), OSResult::getDualValueName(), OSResult::getNumberOfDualValues(), OSResult::getOptimalDualVariableValues(), IsEqual(), OSResult::setConstraintValues(), OSResult::setConstraintValuesDense(), OSResult::setDualValue(), OSResult::setDualVariableValues(), OSResult::setDualVariableValuesDense(), OSResult::setDualVariableValuesSparse(), OSResult::setNumberOfDualValues(), OSResult::setNumberOfDualVariableValues(), setRandom(), OSrL2Gams::writeSolution(), and ~ConstraintSolution().
a pointer to a BasisStatus object
Definition at line 1830 of file OSResult.h.
Referenced by OSResult::getBasisStatusEl(), OSResult::getBasisStatusNumberOfEl(), IsEqual(), OSResult::setBasisStatus(), setRandom(), tempPrintArrays(), and ~ConstraintSolution().
a pointer to an array of other pointer objects for constraint functions
Definition at line 1835 of file OSResult.h.
Referenced by OSResult::getNumberOfOtherConstraintResults(), OSResult::getOtherConstraintResultCon(), OSResult::getOtherConstraintResultConIdx(), OSResult::getOtherConstraintResultDescription(), OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), OSResult::getOtherConstraintResultEnumerationValue(), OSResult::getOtherConstraintResultName(), OSResult::getOtherConstraintResultNumberOfCon(), OSResult::getOtherConstraintResultNumberOfEnumerations(), OSResult::getOtherConstraintResultValue(), IsEqual(), OSResult::setNumberOfOtherConstraintResults(), OSResult::setOtherConstraintResultCon(), OSResult::setOtherConstraintResultConIdx(), OSResult::setOtherConstraintResultConName(), OSResult::setOtherConstraintResultDescription(), OSResult::setOtherConstraintResultName(), OSResult::setOtherConstraintResultNumberOfCon(), OSResult::setOtherConstraintResultNumberOfEnumerations(), OSResult::setOtherConstraintResultValue(), OSResult::setOtherOptionEnumeration(), setRandom(), tempPrintArrays(), and ~ConstraintSolution().
a pointer to an array of other pointer objects for constraint functions
Definition at line 1112 of file OSResult.h.