#include <OSResult.h>
Collaboration diagram for VariableValues:
Public Member Functions | |
VariableValues () | |
Default constructor. | |
~VariableValues () | |
Class destructor. | |
bool | IsEqual (VariableValues *that) |
A function to check for the equality of two objects. | |
VariableValues () | |
Default constructor. | |
~VariableValues () | |
Class destructor. | |
Public Attributes | |
int | numberOfVar |
the number of variable values that are in the solution | |
VarValue ** | var |
a vector of VarValue objects, there will be one for each variable in the solution | |
std::vector< VarValue * > | var |
a vector of VarValue objects, there will be one for each variable in the solution |
Definition at line 883 of file OSResult.h.
VariableValues::VariableValues | ( | ) |
VariableValues::~VariableValues | ( | ) |
VariableValues::VariableValues | ( | ) |
Default constructor.
VariableValues::~VariableValues | ( | ) |
Class destructor.
bool VariableValues::IsEqual | ( | VariableValues * | that | ) |
A function to check for the equality of two objects.
Definition at line 5512 of file OSResult.cpp.
References numberOfVar, and var.
the number of variable values that are in the solution
Definition at line 888 of file OSResult.h.
Referenced by OSResult::getNumberOfPrimalVariableValues(), OSResult::getNumberOfVarValues(), OSResult::getOptimalPrimalVariableValues(), OSResult::getVarValue(), OSResult::getVarValueIdx(), IsEqual(), OSResult::setNumberOfPrimalVariableValues(), OSResult::setNumberOfVarValues(), OSResult::setPrimalVariableValues(), OSResult::setPrimalVariableValuesDense(), OSResult::setPrimalVariableValuesSparse(), OSResult::setVarValue(), OSrL2Gams::writeSolution(), and ~VariableValues().
a vector of VarValue objects, there will be one for each variable in the solution
Definition at line 893 of file OSResult.h.
Referenced by OSResult::getOptimalPrimalVariableValues(), OSResult::getVarValue(), OSResult::getVarValueIdx(), IsEqual(), OSResult::setNumberOfPrimalVariableValues(), OSResult::setNumberOfVarValues(), OSResult::setPrimalVariableValues(), OSResult::setPrimalVariableValuesDense(), OSResult::setPrimalVariableValuesSparse(), OSResult::setVarValue(), OSrL2Gams::writeSolution(), and ~VariableValues().
std::vector<VarValue*> VariableValues::var |
a vector of VarValue objects, there will be one for each variable in the solution
Definition at line 465 of file OSResult.h.