15 #define PARSERDATA_DEBUG
21 #ifdef PARSERDATA_DEBUG
22 std::cout <<
"delete objectiveIdx" << std::endl;
27 #ifdef PARSERDATA_DEBUG
28 std::cout <<
"delete primalSolution" << std::endl;
35 #ifdef PARSERDATA_DEBUG
36 std::cout <<
"delete otherVarText" << std::endl;
45 #ifdef PARSERDATA_DEBUG
46 std::cout <<
"delete otherVarVec" << std::endl;
50 #ifdef PARSERDATA_DEBUG
51 std::cout <<
"clear otherVarVec" << std::endl;
54 #ifdef PARSERDATA_DEBUG
55 std::cout <<
"delete dualSolution" << std::endl;
61 #ifdef PARSERDATA_DEBUG
62 std::cout <<
"delete objectiveValues" << std::endl;
68 #ifdef PARSERDATA_DEBUG
69 std::cout <<
"delete primalSolution" << std::endl;
73 #ifdef PARSERDATA_DEBUG
74 std::cout <<
"delete dualSolution" << std::endl;
78 #ifdef PARSERDATA_DEBUG
79 std::cout <<
"delete objectiveValues" << std::endl;
83 #ifdef PARSERDATA_DEBUG
84 std::cout <<
"success" << std::endl;
93 statusDescription(
""),
95 timeType(
"elapsedTime"),
96 timeCategory(
"total"),
102 tmpOtherDescription(
""),
104 numberOfSolutions(0),
105 numberOfVariables(0),
106 numberOfConstraints(0),
107 numberOfObjectives(0),
113 numberOfOtherVariableResults( 0),
115 statusTypePresent( false),
116 generalStatusTypePresent( false),
117 otherNamePresent( false),
119 objectiveValues( NULL),
120 primalSolution( NULL),
122 otherVarStruct( NULL),
int numberOfOtherVariableResults
the number of types of variable results other than the value of the variable
int numberOfConstraints
total number of constraints in the model instance
std::vector< OtherVariableResultStruct * > otherVarVec
store a vector of pointers to otherVarVec structures
unsigned int numberOfSolutions
number of result solutions
OSrLParserData()
the OSrLParserData class constructor
int * objectiveIdx
pointer to the array of objective function indexes in each solution
double ** objectiveValues
for each solution we have a pointer to the value of each objective function
double ** dualSolution
for each solution we have a pointer to each dual solution
double ** primalSolution
for each solution we have a pointer to each primal solution