VariableSolution Class Reference

The VariableSolution Class. More...

#include <OSResult.h>

Collaboration diagram for VariableSolution:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VariableSolution ()
 Default constructor.
 ~VariableSolution ()
 Class destructor.
bool IsEqual (VariableSolution *that)
 A function to check for the equality of two objects.
 VariableSolution ()
 Default constructor.
 ~VariableSolution ()
 Class destructor.

Public Attributes

int numberOfOtherVariableResults
 the number of types of variable results other than the value of the variable
VariableValuesvalues
 a pointer to a VariableValues object
VariableValuesStringvaluesString
 a pointer to a VariableValuesString object
BasisStatusbasisStatus
 a pointer to a BasisStatus object
OtherVariableResult ** other
 a pointer to an array of other pointer objects for variables
VariableValuesvalues
 a pointer to an array of VariableValues objects
VariableStringValuesvaluesString
 a pointer to an array of VariableStringValues objects
OtherVariableResult ** other
 a pointer to an array of other pointer objects for variables

Detailed Description

The VariableSolution Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class for reporting all of the types of solution values associated with variables.

Definition at line 1128 of file OSResult.h.


Constructor & Destructor Documentation

VariableSolution::VariableSolution (  ) 

Default constructor.

Definition at line 588 of file OSResult.cpp.

VariableSolution::~VariableSolution (  ) 

Class destructor.

Definition at line 601 of file OSResult.cpp.

References basisStatus, numberOfOtherVariableResults, other, values, and valuesString.

VariableSolution::VariableSolution (  ) 

Default constructor.

VariableSolution::~VariableSolution (  ) 

Class destructor.


Member Function Documentation

bool VariableSolution::IsEqual ( VariableSolution that  ) 

A function to check for the equality of two objects.

Definition at line 5461 of file OSResult.cpp.

References basisStatus, numberOfOtherVariableResults, other, values, and valuesString.


Member Data Documentation

int VariableSolution::numberOfOtherVariableResults

the number of types of variable results other than the value of the variable

Definition at line 1134 of file OSResult.h.

Referenced by OSResult::getAnOtherVariableResultNumberOfVar(), OSResult::getNumberOfOtherVariableResults(), OSResult::getOtherVariableResultDescription(), OSResult::getOtherVariableResultName(), OSResult::getOtherVariableResultNumberOfVar(), OSResult::getOtherVariableResultValue(), OSResult::getOtherVariableResultVar(), OSResult::getOtherVariableResultVarIdx(), IsEqual(), OSResult::setNumberOfOtherVariableResults(), OSrL2Gams::writeSolution(), and ~VariableSolution().

VariableValues* VariableSolution::values

a pointer to a VariableValues object

Definition at line 1137 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 ~VariableSolution().

VariableValuesString* VariableSolution::valuesString

a pointer to a VariableValuesString object

Definition at line 1140 of file OSResult.h.

Referenced by OSResult::getNumberOfVarValuesString(), OSResult::getVarValueString(), OSResult::getVarValueStringIdx(), IsEqual(), OSResult::setNumberOfVarValuesString(), OSResult::setVarValueString(), and ~VariableSolution().

BasisStatus* VariableSolution::basisStatus

a pointer to a BasisStatus object

Definition at line 1143 of file OSResult.h.

Referenced by IsEqual(), OSResult::setBasisStatus(), and ~VariableSolution().

OtherVariableResult** VariableSolution::other

a pointer to an array of other pointer objects for variables

Definition at line 1148 of file OSResult.h.

Referenced by OSResult::getAnOtherVariableResultNumberOfVar(), OSResult::getNumberOfOtherVariableResults(), OSResult::getOtherVariableResultDescription(), OSResult::getOtherVariableResultName(), OSResult::getOtherVariableResultNumberOfVar(), OSResult::getOtherVariableResultValue(), OSResult::getOtherVariableResultVar(), OSResult::getOtherVariableResultVarIdx(), IsEqual(), main(), OSResult::setNumberOfOtherVariableResults(), OSResult::setOtherOptionEnumeration(), OSResult::setOtherVariableResultDescription(), OSResult::setOtherVariableResultName(), OSResult::setOtherVariableResultNumberOfEnumerations(), OSResult::setOtherVariableResultNumberOfVar(), OSResult::setOtherVariableResultValue(), OSResult::setOtherVariableResultVar(), OSResult::setOtherVariableResultVarIdx(), OSrL2Gams::writeSolution(), and ~VariableSolution().

VariableValues* VariableSolution::values

a pointer to an array of VariableValues objects

Definition at line 668 of file OSResult.h.

VariableStringValues* VariableSolution::valuesString

a pointer to an array of VariableStringValues objects

Definition at line 671 of file OSResult.h.

OtherVariableResult** VariableSolution::other

a pointer to an array of other pointer objects for variables

Definition at line 677 of file OSResult.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 2 03:06:45 2011 by  doxygen 1.4.7