My Project
OSrLParserData Class Reference

The OSrLParserData Class. More...

#include <OSrLParserData.h>

Public Member Functions

 OSrLParserData ()
 the OSrLParserData class constructor
 
 ~OSrLParserData ()
 
 OSrLParserData ()
 the OSrLParserData class constructor
 
 ~OSrLParserData ()
 

Public Attributes

std::string statusType
 the status type of the result
 
std::string statusDescription
 the status Description of the solution
 
double timeValue
 the next few variables store a time measurement and associated attribute values
 
std::string timeType
 
std::string timeCategory
 
std::string timeUnit
 
std::string timeDescription
 
int numberOfTimes
 There could be more than one time measurement; numberOfTimes stores the number of them.
 
std::string tmpOtherValue
 Provide temporary storage for attribute values associated with an OtherVarResult.
 
std::string tmpOtherName
 
std::string tmpOtherDescription
 
std::string itemContent
 Provide temporary storage for a single <record> contained in an OtherSolutionResult.
 
void * scanner
 scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to the parser
 
unsigned int numberOfSolutions
 number of result solutions
 
int numberOfVariables
 total number of variables in the model instance
 
int numberOfConstraints
 total number of constraints in the model instance
 
int numberOfObjectives
 total number of Objectives in the model instance
 
int numberOfIdx
 number of indexes in a category of basis elements, may change from category to category and solution to solution
 
int numberOfVar
 number of variables in a solution instance, may change from solution to solution
 
int numberOfVarIdx
 number of variables indices in other variable result enumeration, may change from solution to solution
 
int numberOfCon
 number of constraints in a solution instance, may change from solution to solution
 
int numberOfObj
 number of Objectives in a solution instance may change from solution to solution
 
int numberOf
 a temporary variable to hold the number of entries in a list
 
int kounter
 a temporary counter to count variables, number of attributes, etc.
 
int iOther
 a temporary counter to count other variable, objective and constraint results
 
int ivar
 a temporary counter to count second-level objects
 
int idx
 a temporary variable to hold an integer index value
 
double tempVal
 a temporary variable to hold an integer or double value
 
int tempInt
 a temporary variable to hold an integer value
 
std::string tempStr
 a temporary variable to hold a string
 
std::string name
 a temporary variable to hold a variable, objective or constraint name
 
std::ostringstream outStr
 a temporary variable to hold an output stream value
 
int numberOfOtherVariableResults
 the number of types of variable results other than the value of the variable
 
int numberOfOtherObjectiveResults
 the number of types of objective results other than the value of the objective
 
int numberOfOtherConstraintResults
 the number of types of constraint results other than the value of the constraint
 
int numberOfOtherMatrixProgrammingResults
 the number of types of matrix programming results other than those associated with matrix variables, matrix objectives or matrix constraints
 
int numberOfOtherMatrixVariableResults
 the number of types of matrix variable results other than the value of the matrix variable
 
unsigned int solutionIdx
 an index of which solution we have found
 
int mult
 a multiplier or repeat count for compact representation of an array
 
int incr
 an increment for compact representation of an array (used with mult)
 
bool numberAttributePresent
 a number of boolean vriables to track which of the attributes have been found in the present list.
 
bool incrPresent
 
bool multPresent
 
bool idxAttributePresent
 
bool categoryAttributePresent
 
bool descriptionAttributePresent
 
bool nameAttributePresent
 
bool numberOfVarAttributePresent
 
bool numberOfVarIdxAttributePresent
 
bool numberOfObjAttributePresent
 
bool numberOfObjIdxAttributePresent
 
bool numberOfConAttributePresent
 
bool numberOfConIdxAttributePresent
 
bool typeAttributePresent
 
bool varTypeAttributePresent
 
bool objTypeAttributePresent
 
bool conTypeAttributePresent
 
bool unitAttributePresent
 
bool valueAttributePresent
 
bool solverAttributePresent
 
bool weightedObjAttributePresent
 
std::string categoryAttribute
 many attributes, particularly those that return strings, are used multiple times, and the parser uses generic constructs for them.
 
std::string descriptionAttribute
 
std::string nameAttribute
 
std::string typeAttribute
 
std::string varTypeAttribute
 
std::string objTypeAttribute
 
std::string conTypeAttribute
 
std::string unitAttribute
 
std::string valueAttribute
 
std::string solverAttribute
 
bool nVarPresent
 
bool nObjPresent
 
bool nConPresent
 
bool generalStatusPresent
 set general...Present to true if the corresponding element (child of the <general> element) has been parsed
 
bool generalMessagePresent
 
bool generalServiceURIPresent
 
bool generalServiceNamePresent
 
bool generalInstanceNamePresent
 
bool generalJobIDPresent
 
bool generalSolverInvokedPresent
 
bool generalTimeStampPresent
 
bool otherGeneralResultsPresent
 
bool systemInformationPresent
 set system...Present to true if the corresponding element (child of the <system> element) has been parsed
 
bool systemAvailableDiskSpacePresent
 
bool systemAvailableMemoryPresent
 
bool systemAvailableCPUSpeedPresent
 
bool systemAvailableCPUNumberPresent
 
bool otherSystemResultsPresent
 
bool serviceCurrentStatePresent
 set service...Present to true if the corresponding element (child of the <service> element) has been parsed
 
bool serviceCurrentJobCountPresent
 
bool serviceTotalJobsSoFarPresent
 
bool timeServiceStartedPresent
 
bool serviceUtilizationPresent
 
bool otherServiceResultsPresent
 
bool jobStatusPresent
 set job...Present to true if the corresponding element (child of the <job> element) has been parsed
 
bool jobSubmitTimePresent
 
bool scheduledStartTimePresent
 
bool actualStartTimePresent
 
bool jobEndTimePresent
 
bool jobTimingInformationPresent
 
bool jobUsedDiskSpacePresent
 
bool jobUsedMemoryPresent
 
bool jobUsedCPUSpeedPresent
 
bool jobUsedCPUNumberPresent
 
bool otherJobResultsPresent
 
bool numberOfItemsPresent
 
int numberOfItems
 
struct IndexValuePairprimalValPair
 for each solution we will build a vector of index-value pairs of primal values
 
std::vector< IndexValuePair * > primalVals
 
struct IndexValuePairobjValPair
 for each solution we will build a vector of index-value pairs of objective function values
 
std::vector< IndexValuePair * > objVals
 
struct IndexValuePairdualValPair
 for each solution we will build a vector of index-value pairs of dual values
 
std::vector< IndexValuePair * > dualVals
 
struct OtherVariableResultStructotherVarStruct
 a pointer to an OtherVariableResultStruct structure

 
std::vector< OtherVariableResultStruct * > otherVarVec
 store a vector of pointers to otherVarVec structures
 
char * errorText
 if the parser finds invalid text it is held here and we delete if the file was not valid
 
std::string parser_errors
 used to accumulate error message so the parser does not die on the first error encountered
 
bool ignoreDataAfterErrors
 two booleans to govern the behavior after an error has been encountered
 
bool suppressFurtherErrorMessages
 
int numberOfSolutions
 number of result solutions
 
int solutionIdx
 and index on which solution we have found
 
bool statusTypePresent
 set statusTypePresent to true if there is a status attribute parsed
 
bool generalStatusTypePresent
 set generalStatusTypePresent to true if there is a general status attribute parsed
 
bool otherNamePresent
 set otherNamePresent to true if there is a name attribute in anotherVarResult
 
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 ** primalSolution
 for each solution we have a pointer to each primal solution
 
double ** dualSolution
 for each solution we have a pointer to each dual solution
 

Detailed Description

The OSrLParserData Class.

Author
Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
the OSrLParserData class is used to temporarily hold data found in parsing the OSrL instance we do this so we can have a reentrant parser.
Author
Robert Fourer, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
the OSrLParserData class is used to temporarily hold data found in parsing the OSrL instance we do this so we can have a reentrant parser.

Definition at line 83 of file OSrLParserData.h.

Constructor & Destructor Documentation

◆ OSrLParserData() [1/2]

OSrLParserData::OSrLParserData ( )

the OSrLParserData class constructor

Definition at line 23 of file OSrLParserData.cpp.

◆ ~OSrLParserData() [1/2]

OSrLParserData::~OSrLParserData ( )

Definition at line 18 of file OSrLParserData.cpp.

◆ OSrLParserData() [2/2]

OSrLParserData::OSrLParserData ( )

the OSrLParserData class constructor

◆ ~OSrLParserData() [2/2]

OSrLParserData::~OSrLParserData ( )

Member Data Documentation

◆ statusType

std::string OSrLParserData::statusType

the status type of the result

Definition at line 95 of file OSrLParserData.h.

◆ statusDescription

std::string OSrLParserData::statusDescription

the status Description of the solution

Definition at line 98 of file OSrLParserData.h.

◆ timeValue

double OSrLParserData::timeValue

the next few variables store a time measurement and associated attribute values

Definition at line 102 of file OSrLParserData.h.

◆ timeType

std::string OSrLParserData::timeType

Definition at line 103 of file OSrLParserData.h.

◆ timeCategory

std::string OSrLParserData::timeCategory

Definition at line 104 of file OSrLParserData.h.

◆ timeUnit

std::string OSrLParserData::timeUnit

Definition at line 105 of file OSrLParserData.h.

◆ timeDescription

std::string OSrLParserData::timeDescription

Definition at line 106 of file OSrLParserData.h.

◆ numberOfTimes

int OSrLParserData::numberOfTimes

There could be more than one time measurement; numberOfTimes stores the number of them.

Definition at line 110 of file OSrLParserData.h.

◆ tmpOtherValue

std::string OSrLParserData::tmpOtherValue

Provide temporary storage for attribute values associated with an OtherVarResult.

Definition at line 113 of file OSrLParserData.h.

◆ tmpOtherName

std::string OSrLParserData::tmpOtherName

Definition at line 114 of file OSrLParserData.h.

◆ tmpOtherDescription

std::string OSrLParserData::tmpOtherDescription

Definition at line 115 of file OSrLParserData.h.

◆ itemContent

std::string OSrLParserData::itemContent

Provide temporary storage for a single <record> contained in an OtherSolutionResult.

Definition at line 118 of file OSrLParserData.h.

◆ scanner

void * OSrLParserData::scanner

scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to the parser

Definition at line 122 of file OSrLParserData.h.

◆ numberOfSolutions [1/2]

unsigned int OSrLParserData::numberOfSolutions

number of result solutions

Definition at line 125 of file OSrLParserData.h.

◆ numberOfVariables

int OSrLParserData::numberOfVariables

total number of variables in the model instance

number of variables in the solution instance

Definition at line 128 of file OSrLParserData.h.

◆ numberOfConstraints

int OSrLParserData::numberOfConstraints

total number of constraints in the model instance

number of constraints in the solution instance

Definition at line 131 of file OSrLParserData.h.

◆ numberOfObjectives

int OSrLParserData::numberOfObjectives

total number of Objectives in the model instance

number of Objectives in the solution instance

Definition at line 134 of file OSrLParserData.h.

◆ numberOfIdx

int OSrLParserData::numberOfIdx

number of indexes in a category of basis elements, may change from category to category and solution to solution

Definition at line 139 of file OSrLParserData.h.

◆ numberOfVar

int OSrLParserData::numberOfVar

number of variables in a solution instance, may change from solution to solution

Definition at line 144 of file OSrLParserData.h.

◆ numberOfVarIdx

int OSrLParserData::numberOfVarIdx

number of variables indices in other variable result enumeration, may change from solution to solution

Definition at line 149 of file OSrLParserData.h.

◆ numberOfCon

int OSrLParserData::numberOfCon

number of constraints in a solution instance, may change from solution to solution

Definition at line 154 of file OSrLParserData.h.

◆ numberOfObj

int OSrLParserData::numberOfObj

number of Objectives in a solution instance may change from solution to solution

Definition at line 160 of file OSrLParserData.h.

◆ numberOf

int OSrLParserData::numberOf

a temporary variable to hold the number of entries in a list

Definition at line 163 of file OSrLParserData.h.

◆ kounter

int OSrLParserData::kounter

a temporary counter to count variables, number of attributes, etc.

Definition at line 166 of file OSrLParserData.h.

◆ iOther

int OSrLParserData::iOther

a temporary counter to count other variable, objective and constraint results

Definition at line 169 of file OSrLParserData.h.

◆ ivar

int OSrLParserData::ivar

a temporary counter to count second-level objects

a temporary variable to hold an integer index value

Definition at line 172 of file OSrLParserData.h.

◆ idx

int OSrLParserData::idx

a temporary variable to hold an integer index value

Definition at line 175 of file OSrLParserData.h.

◆ tempVal

double OSrLParserData::tempVal

a temporary variable to hold an integer or double value

Definition at line 178 of file OSrLParserData.h.

◆ tempInt

int OSrLParserData::tempInt

a temporary variable to hold an integer value

Definition at line 181 of file OSrLParserData.h.

◆ tempStr

std::string OSrLParserData::tempStr

a temporary variable to hold a string

Definition at line 184 of file OSrLParserData.h.

◆ name

std::string OSrLParserData::name

a temporary variable to hold a variable, objective or constraint name

Definition at line 187 of file OSrLParserData.h.

◆ outStr

std::ostringstream OSrLParserData::outStr

a temporary variable to hold an output stream value

Definition at line 190 of file OSrLParserData.h.

◆ numberOfOtherVariableResults

int OSrLParserData::numberOfOtherVariableResults

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

Definition at line 195 of file OSrLParserData.h.

◆ numberOfOtherObjectiveResults

int OSrLParserData::numberOfOtherObjectiveResults

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

Definition at line 200 of file OSrLParserData.h.

◆ numberOfOtherConstraintResults

int OSrLParserData::numberOfOtherConstraintResults

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

Definition at line 205 of file OSrLParserData.h.

◆ numberOfOtherMatrixProgrammingResults

int OSrLParserData::numberOfOtherMatrixProgrammingResults

the number of types of matrix programming results other than those associated with matrix variables, matrix objectives or matrix constraints

Definition at line 210 of file OSrLParserData.h.

◆ numberOfOtherMatrixVariableResults

int OSrLParserData::numberOfOtherMatrixVariableResults

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

Definition at line 215 of file OSrLParserData.h.

◆ solutionIdx [1/2]

unsigned int OSrLParserData::solutionIdx

an index of which solution we have found

Definition at line 218 of file OSrLParserData.h.

◆ mult

int OSrLParserData::mult

a multiplier or repeat count for compact representation of an array

Definition at line 221 of file OSrLParserData.h.

◆ incr

int OSrLParserData::incr

an increment for compact representation of an array (used with mult)

Definition at line 224 of file OSrLParserData.h.

◆ numberAttributePresent

bool OSrLParserData::numberAttributePresent

a number of boolean vriables to track which of the attributes have been found in the present list.

Attributes have standardized names, and the information about their presence or absence is immaterial once the list has been completely processed, so the boolean variables can be reused in the same way the names can be reused.

Definition at line 232 of file OSrLParserData.h.

◆ incrPresent

bool OSrLParserData::incrPresent

Definition at line 233 of file OSrLParserData.h.

◆ multPresent

bool OSrLParserData::multPresent

Definition at line 234 of file OSrLParserData.h.

◆ idxAttributePresent

bool OSrLParserData::idxAttributePresent

Definition at line 235 of file OSrLParserData.h.

◆ categoryAttributePresent

bool OSrLParserData::categoryAttributePresent

Definition at line 236 of file OSrLParserData.h.

◆ descriptionAttributePresent

bool OSrLParserData::descriptionAttributePresent

Definition at line 237 of file OSrLParserData.h.

◆ nameAttributePresent

bool OSrLParserData::nameAttributePresent

Definition at line 238 of file OSrLParserData.h.

◆ numberOfVarAttributePresent

bool OSrLParserData::numberOfVarAttributePresent

Definition at line 239 of file OSrLParserData.h.

◆ numberOfVarIdxAttributePresent

bool OSrLParserData::numberOfVarIdxAttributePresent

Definition at line 240 of file OSrLParserData.h.

◆ numberOfObjAttributePresent

bool OSrLParserData::numberOfObjAttributePresent

Definition at line 241 of file OSrLParserData.h.

◆ numberOfObjIdxAttributePresent

bool OSrLParserData::numberOfObjIdxAttributePresent

Definition at line 242 of file OSrLParserData.h.

◆ numberOfConAttributePresent

bool OSrLParserData::numberOfConAttributePresent

Definition at line 243 of file OSrLParserData.h.

◆ numberOfConIdxAttributePresent

bool OSrLParserData::numberOfConIdxAttributePresent

Definition at line 244 of file OSrLParserData.h.

◆ typeAttributePresent

bool OSrLParserData::typeAttributePresent

Definition at line 245 of file OSrLParserData.h.

◆ varTypeAttributePresent

bool OSrLParserData::varTypeAttributePresent

Definition at line 246 of file OSrLParserData.h.

◆ objTypeAttributePresent

bool OSrLParserData::objTypeAttributePresent

Definition at line 247 of file OSrLParserData.h.

◆ conTypeAttributePresent

bool OSrLParserData::conTypeAttributePresent

Definition at line 248 of file OSrLParserData.h.

◆ unitAttributePresent

bool OSrLParserData::unitAttributePresent

Definition at line 249 of file OSrLParserData.h.

◆ valueAttributePresent

bool OSrLParserData::valueAttributePresent

Definition at line 250 of file OSrLParserData.h.

◆ solverAttributePresent

bool OSrLParserData::solverAttributePresent

Definition at line 251 of file OSrLParserData.h.

◆ weightedObjAttributePresent

bool OSrLParserData::weightedObjAttributePresent

Definition at line 252 of file OSrLParserData.h.

◆ categoryAttribute

std::string OSrLParserData::categoryAttribute

many attributes, particularly those that return strings, are used multiple times, and the parser uses generic constructs for them.

These temporary variables are used to hold the values returned by the parser.

Definition at line 259 of file OSrLParserData.h.

◆ descriptionAttribute

std::string OSrLParserData::descriptionAttribute

Definition at line 260 of file OSrLParserData.h.

◆ nameAttribute

std::string OSrLParserData::nameAttribute

Definition at line 261 of file OSrLParserData.h.

◆ typeAttribute

std::string OSrLParserData::typeAttribute

Definition at line 262 of file OSrLParserData.h.

◆ varTypeAttribute

std::string OSrLParserData::varTypeAttribute

Definition at line 263 of file OSrLParserData.h.

◆ objTypeAttribute

std::string OSrLParserData::objTypeAttribute

Definition at line 264 of file OSrLParserData.h.

◆ conTypeAttribute

std::string OSrLParserData::conTypeAttribute

Definition at line 265 of file OSrLParserData.h.

◆ unitAttribute

std::string OSrLParserData::unitAttribute

Definition at line 266 of file OSrLParserData.h.

◆ valueAttribute

std::string OSrLParserData::valueAttribute

Definition at line 267 of file OSrLParserData.h.

◆ solverAttribute

std::string OSrLParserData::solverAttribute

Definition at line 268 of file OSrLParserData.h.

◆ nVarPresent

bool OSrLParserData::nVarPresent

Definition at line 271 of file OSrLParserData.h.

◆ nObjPresent

bool OSrLParserData::nObjPresent

Definition at line 272 of file OSrLParserData.h.

◆ nConPresent

bool OSrLParserData::nConPresent

Definition at line 273 of file OSrLParserData.h.

◆ generalStatusPresent

bool OSrLParserData::generalStatusPresent

set general...Present to true if the corresponding element (child of the <general> element) has been parsed

Definition at line 278 of file OSrLParserData.h.

◆ generalMessagePresent

bool OSrLParserData::generalMessagePresent

Definition at line 279 of file OSrLParserData.h.

◆ generalServiceURIPresent

bool OSrLParserData::generalServiceURIPresent

Definition at line 280 of file OSrLParserData.h.

◆ generalServiceNamePresent

bool OSrLParserData::generalServiceNamePresent

Definition at line 281 of file OSrLParserData.h.

◆ generalInstanceNamePresent

bool OSrLParserData::generalInstanceNamePresent

Definition at line 282 of file OSrLParserData.h.

◆ generalJobIDPresent

bool OSrLParserData::generalJobIDPresent

Definition at line 283 of file OSrLParserData.h.

◆ generalSolverInvokedPresent

bool OSrLParserData::generalSolverInvokedPresent

Definition at line 284 of file OSrLParserData.h.

◆ generalTimeStampPresent

bool OSrLParserData::generalTimeStampPresent

Definition at line 285 of file OSrLParserData.h.

◆ otherGeneralResultsPresent

bool OSrLParserData::otherGeneralResultsPresent

Definition at line 286 of file OSrLParserData.h.

◆ systemInformationPresent

bool OSrLParserData::systemInformationPresent

set system...Present to true if the corresponding element (child of the <system> element) has been parsed

Definition at line 291 of file OSrLParserData.h.

◆ systemAvailableDiskSpacePresent

bool OSrLParserData::systemAvailableDiskSpacePresent

Definition at line 292 of file OSrLParserData.h.

◆ systemAvailableMemoryPresent

bool OSrLParserData::systemAvailableMemoryPresent

Definition at line 293 of file OSrLParserData.h.

◆ systemAvailableCPUSpeedPresent

bool OSrLParserData::systemAvailableCPUSpeedPresent

Definition at line 294 of file OSrLParserData.h.

◆ systemAvailableCPUNumberPresent

bool OSrLParserData::systemAvailableCPUNumberPresent

Definition at line 295 of file OSrLParserData.h.

◆ otherSystemResultsPresent

bool OSrLParserData::otherSystemResultsPresent

Definition at line 296 of file OSrLParserData.h.

◆ serviceCurrentStatePresent

bool OSrLParserData::serviceCurrentStatePresent

set service...Present to true if the corresponding element (child of the <service> element) has been parsed

Definition at line 301 of file OSrLParserData.h.

◆ serviceCurrentJobCountPresent

bool OSrLParserData::serviceCurrentJobCountPresent

Definition at line 302 of file OSrLParserData.h.

◆ serviceTotalJobsSoFarPresent

bool OSrLParserData::serviceTotalJobsSoFarPresent

Definition at line 303 of file OSrLParserData.h.

◆ timeServiceStartedPresent

bool OSrLParserData::timeServiceStartedPresent

Definition at line 304 of file OSrLParserData.h.

◆ serviceUtilizationPresent

bool OSrLParserData::serviceUtilizationPresent

Definition at line 305 of file OSrLParserData.h.

◆ otherServiceResultsPresent

bool OSrLParserData::otherServiceResultsPresent

Definition at line 306 of file OSrLParserData.h.

◆ jobStatusPresent

bool OSrLParserData::jobStatusPresent

set job...Present to true if the corresponding element (child of the <job> element) has been parsed

Definition at line 311 of file OSrLParserData.h.

◆ jobSubmitTimePresent

bool OSrLParserData::jobSubmitTimePresent

Definition at line 312 of file OSrLParserData.h.

◆ scheduledStartTimePresent

bool OSrLParserData::scheduledStartTimePresent

Definition at line 313 of file OSrLParserData.h.

◆ actualStartTimePresent

bool OSrLParserData::actualStartTimePresent

Definition at line 314 of file OSrLParserData.h.

◆ jobEndTimePresent

bool OSrLParserData::jobEndTimePresent

Definition at line 315 of file OSrLParserData.h.

◆ jobTimingInformationPresent

bool OSrLParserData::jobTimingInformationPresent

Definition at line 316 of file OSrLParserData.h.

◆ jobUsedDiskSpacePresent

bool OSrLParserData::jobUsedDiskSpacePresent

Definition at line 317 of file OSrLParserData.h.

◆ jobUsedMemoryPresent

bool OSrLParserData::jobUsedMemoryPresent

Definition at line 318 of file OSrLParserData.h.

◆ jobUsedCPUSpeedPresent

bool OSrLParserData::jobUsedCPUSpeedPresent

Definition at line 319 of file OSrLParserData.h.

◆ jobUsedCPUNumberPresent

bool OSrLParserData::jobUsedCPUNumberPresent

Definition at line 320 of file OSrLParserData.h.

◆ otherJobResultsPresent

bool OSrLParserData::otherJobResultsPresent

Definition at line 321 of file OSrLParserData.h.

◆ numberOfItemsPresent

bool OSrLParserData::numberOfItemsPresent

Definition at line 323 of file OSrLParserData.h.

◆ numberOfItems

int OSrLParserData::numberOfItems

Definition at line 324 of file OSrLParserData.h.

◆ primalValPair

struct IndexValuePair* OSrLParserData::primalValPair

for each solution we will build a vector of index-value pairs of primal values

Definition at line 329 of file OSrLParserData.h.

◆ primalVals

std::vector<IndexValuePair*> OSrLParserData::primalVals

Definition at line 330 of file OSrLParserData.h.

◆ objValPair

struct IndexValuePair* OSrLParserData::objValPair

for each solution we will build a vector of index-value pairs of objective function values

Definition at line 335 of file OSrLParserData.h.

◆ objVals

std::vector<IndexValuePair*> OSrLParserData::objVals

Definition at line 336 of file OSrLParserData.h.

◆ dualValPair

struct IndexValuePair* OSrLParserData::dualValPair

for each solution we will build a vector of index-value pairs of dual values

Definition at line 341 of file OSrLParserData.h.

◆ dualVals

std::vector<IndexValuePair*> OSrLParserData::dualVals

Definition at line 342 of file OSrLParserData.h.

◆ otherVarStruct

struct OtherVariableResultStruct * OSrLParserData::otherVarStruct

a pointer to an OtherVariableResultStruct structure

Definition at line 346 of file OSrLParserData.h.

◆ otherVarVec

std::vector< OtherVariableResultStruct * > OSrLParserData::otherVarVec

store a vector of pointers to otherVarVec structures

Definition at line 349 of file OSrLParserData.h.

◆ errorText

char * OSrLParserData::errorText

if the parser finds invalid text it is held here and we delete if the file was not valid

Definition at line 354 of file OSrLParserData.h.

◆ parser_errors

std::string OSrLParserData::parser_errors

used to accumulate error message so the parser does not die on the first error encountered

Definition at line 359 of file OSrLParserData.h.

◆ ignoreDataAfterErrors

bool OSrLParserData::ignoreDataAfterErrors

two booleans to govern the behavior after an error has been encountered

Definition at line 362 of file OSrLParserData.h.

◆ suppressFurtherErrorMessages

bool OSrLParserData::suppressFurtherErrorMessages

Definition at line 363 of file OSrLParserData.h.

◆ numberOfSolutions [2/2]

int OSrLParserData::numberOfSolutions

number of result solutions

Definition at line 119 of file OSrLParserData.h.

◆ solutionIdx [2/2]

int OSrLParserData::solutionIdx

and index on which solution we have found

Definition at line 151 of file OSrLParserData.h.

◆ statusTypePresent

bool OSrLParserData::statusTypePresent

set statusTypePresent to true if there is a status attribute parsed

Definition at line 156 of file OSrLParserData.h.

◆ generalStatusTypePresent

bool OSrLParserData::generalStatusTypePresent

set generalStatusTypePresent to true if there is a general status attribute parsed

Definition at line 161 of file OSrLParserData.h.

◆ otherNamePresent

bool OSrLParserData::otherNamePresent

set otherNamePresent to true if there is a name attribute in anotherVarResult

Definition at line 166 of file OSrLParserData.h.

◆ objectiveIdx

int* OSrLParserData::objectiveIdx

pointer to the array of objective function indexes in each solution

Definition at line 171 of file OSrLParserData.h.

◆ objectiveValues

double** OSrLParserData::objectiveValues

for each solution we have a pointer to the value of each objective function

Definition at line 176 of file OSrLParserData.h.

◆ primalSolution

double** OSrLParserData::primalSolution

for each solution we have a pointer to each primal solution

Definition at line 179 of file OSrLParserData.h.

◆ dualSolution

double** OSrLParserData::dualSolution

for each solution we have a pointer to each dual solution

Definition at line 182 of file OSrLParserData.h.


The documentation for this class was generated from the following files: