89 bool setRandom(
double density,
bool conformant);
146 bool setRandom(
double density,
bool conformant);
200 bool setRandom(
double density,
bool conformant);
251 bool setRandom(
double density,
bool conformant);
334 bool setRandom(
double density,
bool conformant);
400 bool setRandom(
double density,
bool conformant);
462 bool setRandom(
double density,
bool conformant);
522 bool IsEqual(
Time *that);
531 bool setRandom(
double density,
bool conformant);
589 bool setRandom(
double density,
bool conformant);
644 bool setRandom(
double density,
bool conformant);
726 bool setRandom(
double density,
bool conformant);
776 bool setRandom(
double density,
bool conformant);
831 bool setRandom(
double density,
bool conformant);
886 bool setRandom(
double density,
bool conformant);
940 bool setRandom(
double density,
bool conformant);
996 bool setRandom(
double density,
bool conformant);
1050 bool setRandom(
double density,
bool conformant);
1107 bool setRandom(
double density,
bool conformant);
1201 bool setRandom(
double density,
bool conformant);
1265 bool setRandom(
double density,
bool conformant);
1319 bool setRandom(
double density,
bool conformant);
1371 bool setRandom(
double density,
bool conformant);
1427 bool setRandom(
double density,
bool conformant);
1520 bool setRandom(
double density,
bool conformant);
1582 bool setRandom(
double density,
bool conformant);
1638 bool setRandom(
double density,
bool conformant);
1693 bool setRandom(
double density,
bool conformant);
1751 bool setRandom(
double density,
bool conformant);
1844 bool setRandom(
double density,
bool conformant);
1906 bool setRandom(
double density,
bool conformant);
2114 bool setRandom(
double density,
bool conformant,
int iMin,
int iMax);
2187 bool setRandom(
double density,
bool conformant);
2242 bool setRandom(
double density,
bool conformant);
2338 bool setRandom(
double density,
bool conformant);
2402 bool setRandom(
double density,
bool conformant);
2456 bool setRandom(
double density,
bool conformant);
2532 bool setRandom(
double density,
bool conformant);
2606 bool setHeader(std::string name, std::string source,
2607 std::string fileCreator, std::string description, std::string licence);
2662 bool setRandom(
double density,
bool conformant);
3783 std::string unit, std::string description,
double value);
3798 std::string unit, std::string description,
double value);
4150 bool setVarValue(
int solIdx,
int number,
int idx, std::string name,
double val);
4175 bool setVarValueString(
int solIdx,
int number,
int idx, std::string name, std::string str);
4193 bool setBasisStatus(
int solIdx,
int object,
int status,
int *i,
int ni);
4255 bool setAnOtherVariableResultSparse(
int solIdx,
int otherIdx, std::string name, std::string value, std::string description,
int *idx, std::string *s,
int n, std::string type, std::string varType, std::string enumType);
4295 bool setAnOtherVariableResultDense(
int solIdx,
int otherIdx, std::string name, std::string value, std::string description, std::string *s, std::string type, std::string varType, std::string enumType);
4602 bool setObjValue(
int solIdx,
int number,
int idx, std::string name,
double val);
4891 bool setDualValue(
int solIdx,
int number,
int idx, std::string name,
double val);
5108 int numberOfOtherMatrixVariableResults_);
5157 int* rowOffset,
int rowOffsetSize,
int numberOfBlocks,
int blocksConstructorIdx=0);
5218 std::string description, std::string value, std::string type,
5219 std::string solver, std::string category,
5220 int numberOfMatrixVar=0, std::string matrixType=
"",
5221 int numberOfEnumerations=0, std::string enumType=
"");
5246 int numberOfRows,
int numberOfColumns,
5275 int* colOffset,
int colOffsetSize,
int* rowOffset,
int rowOffsetSize,
5276 int numberOfBlocks,
int blocksConstructorIdx=0);
5309 int blkno,
int blkRowIdx,
int blkColIdx,
int nz,
int* start,
int* index,
5414 std::string description,
int numberOfItems, std::string* item);
a data structure to represent an LP basis on both input and output
The ConstraintSolution Class.
OtherConstraintResult ** other
a pointer to an array of other pointer objects for constraint functions
ConstraintSolution()
Default constructor.
BasisStatus * basisStatus
a pointer to a BasisStatus object
bool IsEqual(ConstraintSolution *that)
A function to check for the equality of two objects.
DualVariableValues * dualValues
a pointer to an array of DualVariableValues objects
~ConstraintSolution()
Class destructor.
int numberOfOtherConstraintResults
the number of types of constraint function results other than the basic constraint function values
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string name
optional name
DualVarValue()
Default constructor.
~DualVarValue()
Class destructor.
double value
value of dual variable on the constraint indexed by idx
bool IsEqual(DualVarValue *that)
A function to check for the equality of two objects.
int idx
idx is the index on a constraint
The DualVariableValues Class.
~DualVariableValues()
Class destructor.
DualVarValue ** con
con is a vector of DualVarValue objects that give an index and dual variable value for each constrain...
bool IsEqual(DualVariableValues *that)
A function to check for the equality of two objects.
DualVariableValues()
Default constructor.
int numberOfCon
record the number of constraints for which values are given
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~GeneralResult()
Class destructor.
std::string solverInvoked
the name of the solver used
GeneralResult()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string serviceURI
the serviceURI is the URI of the solver service that did the optimization
std::string serviceName
the serviceName is the name of the solver service that did the optimization
bool IsEqual(GeneralResult *that)
A function to check for the equality of two objects.
std::string timeStamp
a time stamp associated with the process
std::string jobID
the jobID is the ID associated with the solution of this instance
OtherResults * otherResults
a pointer to the OtherResults class
GeneralStatus * generalStatus
a pointer to the GeneralStatus class
std::string instanceName
the name of the instance that was solved
std::string message
any general message associated with the optimization
bool IsEqual(GeneralStatus *that)
A function to check for the equality of two objects.
int numberOfSubstatuses
the number of substatuses
std::string type
the type of status
GeneralSubstatus ** substatus
the array of substatuses
~GeneralStatus()
Class destructor.
std::string description
the description of the status
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
GeneralStatus()
Default constructor.
The GeneralSubstatus Class.
bool IsEqual(GeneralSubstatus *that)
A function to check for the equality of two objects.
~GeneralSubstatus()
Class destructor.
std::string description
the description of the substatus
GeneralSubstatus()
Default constructor.
std::string name
the name of the substatus
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string status
job status
std::string scheduledStartTime
the time when the job was supposed to start
JobResult()
Default constructor.
TimingInformation * timingInformation
a pointer to the TimingInformation class
CPUSpeed * usedCPUSpeed
a pointer to the CPUSpeed class
CPUNumber * usedCPUNumber
a pointer to the CPUNumber class
StorageCapacity * usedMemory
a pointer to the MemorySize class
std::string submitTime
time the job was submitted
~JobResult()
Class destructor.
std::string actualStartTime
the time when the job actually started
bool IsEqual(JobResult *that)
A function to check for the equality of two objects.
StorageCapacity * usedDiskSpace
a pointer to the DiskSpace class
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherResults * otherResults
a pointer to the OtherResults class
std::string endTime
the time when the job finished
The in-memory representation of the <MatrixConstraintSolution> element.
OSMatrixWithMatrixConIdx ** matrixCon
matrixCon is an array of pointers to the <matrixCon> children
MatrixConstraintSolution()
The MatrixConstraintSolution class constructor.
bool IsEqual(MatrixConstraintSolution *that)
A function to check for the equality of two objects.
int numberOfOtherMatrixConstraintResults
numberOfOtherMatrixConstraintResults gives the number of <other> children
~MatrixConstraintSolution()
The MatrixConstraintSolution class destructor.
an abstract class to help represent the elements in a MatrixType object From this we derive concrete ...
The in-memory representation of the <MatrixVariableSolution> element.
int numberOfOtherMatrixObjectiveResults
numberOfOtherMatrixObjectiveResults gives the number of <other> children
MatrixObjectiveSolution()
The MatrixVariableSolution class constructor.
OSMatrixWithMatrixObjIdx ** matrixObj
matrixObj is an array of pointers to the <matrixObj> children
~MatrixObjectiveSolution()
The MatrixVariableSolution class destructor.
bool IsEqual(MatrixObjectiveSolution *that)
A function to check for the equality of two objects.
The in-memory representation of the <MatrixProgrammingSolution> element.
bool setRandom(double density, bool conformant, int iMin, int iMax)
A function to make a random instance of this class.
bool deepCopyFrom(MatrixProgrammingSolution *that)
A function to make a deep copy of an instance of this class.
~MatrixProgrammingSolution()
The MatrixProgramming class destructor.
MatrixVariableSolution * matrixVariables
a pointer to the matrixVariables object
MatrixProgrammingSolution()
The MatrixProgramming class constructor.
bool IsEqual(MatrixProgrammingSolution *that)
A function to check for the equality of two objects.
OtherSolutionResult ** other
a pointer to the array of <other> children
int numberOfOtherMatrixProgrammingResults
the number of <other> child elements>
MatrixConstraintSolution * matrixConstraints
a pointer to the matrixConstraints object
MatrixObjectiveSolution * matrixObjectives
a pointer to the matrixObjectives object
The in-memory representation of the <MatrixVariableSolution> element.
MatrixVariableValues * values
values is pointer to the <values> child
bool IsEqual(MatrixVariableSolution *that)
A function to check for the equality of two objects.
MatrixVariableSolution()
The MatrixVariableSolution class constructor.
int numberOfOtherMatrixVariableResults
numberOfOtherMatrixVariableResults gives the number of <other> children
OtherMatrixVariableResult ** other
other is a pointer to an array of <other> children
~MatrixVariableSolution()
The MatrixVariableSolution class destructor.
The in-memory representation of the <matrixVariables> element.
MatrixVariableValues()
The MatrixVariableValues class constructor.
bool IsEqual(MatrixVariableValues *that)
A function to check for the equality of two objects.
~MatrixVariableValues()
The MatrixVariableValues class destructor.
OSMatrixWithMatrixVarIdx ** matrixVar
matrixVar is an array of pointers to the <matrixVar> children
int numberOfMatrixVar
numberOfMatrixVar gives the number of <matrixVar> children
this class extends OSMatrix for use, e.g., in the matrixCon section of OSoL and OSrL
this class extends OSMatrix for use, e.g., in the matrixObj section of OSoL and OSrL
this class extends OSMatrix for use, e.g., in the matrixVar section of OSoL and OSrL
bool setAvailableDiskSpaceDescription(std::string description)
Set the description of available disk space.
double getUsedCPUSpeedValue()
bool setNumberOfOtherServiceResults(int num)
Set number of other service results.
int getOtherObjectiveResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an <other> result for some solution.
bool setVarValue(int solIdx, int number, int idx, std::string name, double val)
Set a primal variable value.
bool setOtherVariableResultVarType(int solIdx, int otherIdx, std::string varType)
Set the varType of another (non-standard/solver specific) variable-related result,...
bool setDualVariableValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution's dual variable values, where i equals the given solution index.
std::string getOtherConstraintResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an <other> result for some solution.
std::string getServiceName()
Get service name.
bool setNumberOfDualVariableValues(int solIdx, int n)
Set the [i]th optimization solution's number of dual variable values, where i equals the given soluti...
int getNumberOfVarValuesString(int solIdx)
bool setOtherConstraintResultType(int solIdx, int otherIdx, std::string type)
Set the type of another (non-standard/solver specific) constraint-related result, for the [i]th solut...
int getNumberOfDualValues(int solIdx)
bool setGeneralMessage(std::string message)
Set the general message.
std::string getSolverOutputItem(int otherIdx, int itemIdx)
int getSolverOutputNumberOfItems(int otherIdx)
bool setTimeStamp(std::string timeStamp)
Set time stamp.
bool setVarValueString(int solIdx, int number, int idx, std::string name, std::string str)
Set a string-valued primal variable value.
int getOtherVariableResultNumberOfVar(int solIdx, int otherIdx)
bool setOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx, int idx)
Set the index of another (non-standard/solver specific) objective-related result, for the [i]th solut...
bool setOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx, std::string value)
Set the value of another (non-standard/solver specific) objective-related result, for the [i]th solut...
bool setOtherVariableResultNumberOfVar(int solIdx, int otherIdx, int numberOfVar)
Set the number of children of another (non-standard/solver specific) variable-related result,...
bool setJobID(std::string jobID)
Set job id.
bool setNumberOfOtherJobResults(int num)
Set number of other job results.
bool setJobStatus(std::string status)
Set the job status.
bool setOtherVariableResultType(int solIdx, int otherIdx, std::string type)
Set the type of another (non-standard/solver specific) variable-related result, for the [i]th solutio...
std::string getGeneralSubstatusName(int i)
Get the i_th general substatus name.
bool setPrimalVariableValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution's primal variable values, where i equals the given solution index...
std::string getTimingInfoDescription(int idx)
std::string getVarValueString(int solIdx, int varIdx)
std::string getSolverInvoked()
Get the solver invoked.
std::string getGeneralStatusDescription()
Get the general status description.
std::string getOtherVariableResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an <other> result for some solution.
std::string getOtherConstraintResultValue(int solIdx, int otherIdx)
bool setUsedDiskSpaceValue(double value)
Set the amount of used disk space.
std::string getOtherObjectiveResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an <other> result for some solution.
bool setOtherConstraintResultConType(int solIdx, int otherIdx, std::string conType)
Set the conType of another (non-standard/solver specific) constraint-related result,...
std::string getSolutionStatusType(int solIdx)
Get the [i]th optimization solution status type, where i equals the given solution index.
std::string getOtherSolutionResultName(int solIdx, int otherIdx)
bool setAvailableCPUNumberDescription(std::string description)
Set the description of available number of CPUs.
std::string getOtherVariableResultValue(int solIdx, int otherIdx)
std::string getGeneralSubstatusDescription(int i)
Get the i_th general substatus description.
bool setUsedCPUNumberDescription(std::string description)
Set the description of used number of CPUs.
OSResult()
Default constructor.
int m_iNumberOfOtherVariableResults
m_iNumberOfOtherVariableResults holds the number of OtherVariableResult objects.
std::string getOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx)
std::string getOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx)
std::string getTimeServiceStarted()
int getUsedCPUNumberValue()
int getNumberOfObjValues(int solIdx)
bool setOtherVariableResultValue(int solIdx, int otherIdx, std::string value)
Set the value of another (non-standard/solver specific) variable-related result, for the [i]th soluti...
std::string getInstanceName()
Get instance name.
bool setOtherVariableResultVar(int solIdx, int otherIdx, int varIdx, std::string value)
Set the value of another (non-standard/solver specific) variable-related result, for the [i]th soluti...
bool setGeneralStatusDescription(std::string description)
Set the general status description.
bool setSolutionNumber(int number)
set the number of solutions.
int getNumberOfOtherJobResults()
std::string getOtherVariableResultType(int solIdx, int otherIdx)
std::string getJobStatus()
bool setMatrixVariablesOtherResultBlockElements(int solIdx, int otherIdx, int matrixVarIdx, int blkno, int blkRowIdx, int blkColIdx, int nz, int *start, int *index, MatrixElementValues *value, ENUM_MATRIX_TYPE valueType, ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none, bool rowMajor=false)
A method to set the elements within a block of a matrixVar associated with the [j]th "other" result i...
std::string getOtherConstraintResultDescription(int solIdx, int otherIdx)
bool setOtherSystemResultValue(int idx, std::string value)
Set the system otherResult value.
bool setOtherGeneralResultName(int idx, std::string name)
Set the general otherResult name.
bool setAvailableCPUSpeedValue(double value)
Set the available CPU speed.
std::string getOtherObjectiveResultName(int solIdx, int otherIdx)
int getOtherConstraintResultNumberOfCon(int solIdx, int otherIdx)
std::string getSolutionSubstatusDescription(int solIdx, int substatusIdx)
bool setOtherVariableResultVarName(int solIdx, int otherIdx, int varIdx, std::string name)
Set the name of another (non-standard/solver specific) variable-related result, for the [i]th solutio...
bool setSolverOutputItem(int otherIdx, int itemIdx, std::string item)
Set one item associated with the [j]th solver output.
std::string getOtherGeneralResultValue(int idx)
int getBasisStatusNumberOfEl(int solIdx, int object, int status)
Get the number of indices that belong to a particular basis status.
bool setInstanceName(std::string instanceName)
Set instance name.
GeneralResult * general
general holds the first child of the OSResult specified by the OSrL Schema.
bool setOtherJobResultName(int idx, std::string name)
Set the job otherResult name.
bool setOtherConstraintResultConName(int solIdx, int otherIdx, int conIdx, std::string name)
Set the name of another (non-standard/solver specific) constraint-related result, for the [i]th solut...
bool setSolutionSubstatusDescription(int solIdx, int substatusIdx, std::string description)
Set the solution substatus description.
double getAvailableCPUSpeedValue()
std::string getUsedDiskSpaceDescription()
bool setSolverOutputNumberOfItems(int otherIdx, int numberOfItems)
Set the number of items associated with the [j]th solver output.
bool setMatrixVariableSolution(int solIdx, int numberOfMatrixVar_, int numberOfOtherMatrixVariableResults_)
Set the [i]th optimization solution's MatrixVariableSolution, where i equals the given solution index...
bool setObjectiveValuesDense(int solIdx, double *objectiveValues)
Set the [i]th optimization solution's objective values, where i equals the given solution index.
std::string getOtherGeneralResultName(int idx)
Get the name of the i-th other result in the <general> element.
bool setJobSubmitTime(std::string submitTime)
Set the time when the job was submitted.
bool setMatrixVarValuesAttributes(int solIdx, int idx, int matrixVarIdx, int numberOfRows, int numberOfColumns, ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none, ENUM_MATRIX_TYPE type=ENUM_MATRIX_TYPE_unknown, std::string name="")
A method to set general attributes for a matrixVar in the [i]th optimization solution,...
std::string getOtherVariableResultDescription(int solIdx, int otherIdx)
bool setOtherOptionOrResultEnumeration(int solIdx, int otherIdx, int object, int enumIdx, std::string value, std::string description, int *i, int ni)
Set the value and corresponding indices of another (non-standard/solver specific) variable-related re...
std::string getActualStartTime()
bool setNumberOfDualValues(int solIdx, int numberOfCon)
Set the number of constraints to be given a value.
bool setMatrixVariablesOtherResultGeneralAttributes(int solIdx, int idx, std::string name, std::string description, std::string value, std::string type, std::string solver, std::string category, int numberOfMatrixVar=0, std::string matrixType="", int numberOfEnumerations=0, std::string enumType="")
A method to set general attributes for another (non-standard/solver specific) result associated with ...
bool setNumberOfSolutionSubstatuses(int solIdx, int num)
Set the [i]th optimization solution's number of substatus elements.
double getAvailableMemoryValue()
bool setOtherServiceResultDescription(int idx, std::string description)
Set the service otherResult description.
int m_iObjectiveNumber
m_iObjectiveNumber holds the objective number.
int getOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx)
int getOtherVariableResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an <other> result for some solution.
bool setOtherSolutionResultName(int solIdx, int otherIdx, std::string name)
Set the name associated with the [j]th other solution result of solution [i].
int getNumberOfOtherConstraintResults(int solIdx)
int getOtherVariableResultArrayDense(int solIdx, int otherIdx, std::string *resultArray, int dim)
Get the values of a array or an <enumeration> associated with an <other> result for some solution.
bool setUsedCPUSpeedUnit(std::string unit)
Set the unit in which used CPU speed is measured.
bool setTimeServiceStarted(std::string startTime)
Set the time the service was started.
std::string getAvailableCPUNumberDescription()
std::string getOtherJobResultDescription(int idx)
int getOtherVariableResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an <other> result for some solution.
std::string getSolutionStatusDescription(int solIdx)
Get the [i]th optimization solution status description, where i equals the given solution index.
bool setNumberOfOtherVariableResults(int solIdx, int numberOfOtherVariableResults)
Set the [i]th optimization solution's other (non-standard/solver specific) variable-related results,...
double * m_mdPrimalValues
m_mdPrimalValues a vector of primal variables.
std::string getJobSubmitTime()
bool setOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfObj)
Set the number of <enumeration> children of another (non-standard/solver specific) objective-related ...
bool setObjectiveValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution's objective values, where i equals the given solution index.
std::string getTimingInfoType(int idx)
bool setGeneralStatusType(std::string type)
Set the general status type, which can be: success, error, warning.
std::string getOtherObjectiveResultValue(int solIdx, int otherIdx)
ServiceResult * service
service holds the third child of the OSResult specified by the OSrL Schema.
bool setNumberOfTimes(int numberOfTimes)
Set the number of time measurements and initial the time array.
bool setObjectiveNumber(int objectiveNumber)
Set the objective number.
std::string getSolverOutputDescription(int otherIdx)
bool setOtherServiceResultValue(int idx, std::string value)
Set the service otherResult value.
bool setSolutionTargetObjectiveName(int solIdx, std::string objectiveName)
Set the [i]th optimization solution's objective name, where i equals the given solution index.
bool setCurrentJobCount(int jobCount)
Set the current job count.
int getNumberOfSolverOutputs()
bool getSolutionWeightedObjectives(int solIdx)
Get the [i]th optimization solution form of the objective.
bool setOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx, std::string value)
Set the value of another (non-standard/solver specific) constraint-related result,...
std::string getAvailableCPUSpeedDescription()
int getObjValueIdx(int solIdx, int objIdx)
std::string getVarValueName(int solIdx, int varIdx)
bool setNumberOfOtherSolutionResults(int solIdx, int numberOfOtherSolutionResults)
Set the [i]th optimization solution's other (non-standard/solver specific) solution-related results,...
bool setOtherVariableResultSolver(int solIdx, int otherIdx, std::string solver)
Set the solver of another (non-standard/solver specific) variable-related result, for the [i]th solut...
bool setTotalJobsSoFar(int number)
Set the total number of jobs so far.
int getOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx)
int m_iVariableNumber
m_iVariableNumber holds the variable number.
bool setOtherObjectiveResultCategory(int solIdx, int otherIdx, std::string category)
Set the category of another (non-standard/solver specific) objective-related result,...
std::string getJobEndTime()
std::string getScheduledStartTime()
bool setSolverOutputName(int otherIdx, std::string name)
Set the name associated with the [j]th solver output.
std::string getOtherServiceResultValue(int idx)
bool setAvailableMemoryUnit(std::string unit)
Set the unit in which available memory is measured.
bool setActualStartTime(std::string actualStartTime)
Set the job's actual start time.
int getObjectiveNumber()
Get objective number.
bool setNumberOfOtherGeneralResults(int num)
Set number of other general results.
bool setNumberOfObjectiveValues(int solIdx, int n)
Set the [i]th optimization solution's number of objective values, where i equals the given solution i...
int getNumberOfOtherGeneralResults()
Get the number of other results in the <general> element.
bool setOtherJobResultValue(int idx, std::string value)
Set the job otherResult value.
bool setPrimalVariableValuesDense(int solIdx, double *x)
Set the [i]th optimization solution's primal variable values, where i equals the given solution index...
bool setAvailableCPUNumberValue(int value)
Set the available number of CPUs.
int getOtherConstraintResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an <other> result for some solution.
std::string getOtherSystemResultValue(int idx)
std::string getSolutionTargetObjectiveName(int solIdx)
bool setMatrixVariablesOtherResultMatrixAttributes(int solIdx, int otherIdx, int matrixVarIdx, int numberOfRows, int numberOfColumns, ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none, ENUM_MATRIX_TYPE type=ENUM_MATRIX_TYPE_unknown, std::string name="")
A method to set attributes for a matrixVar in the [j]th other result associated with matrix variables...
bool setOtherConstraintResultName(int solIdx, int otherIdx, std::string name)
Set the name of another (non-standard/solver specific) constraint-related result, for the [i]th solut...
int getOtherConstraintResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an <other> result for some solution.
bool setUsedCPUNumberValue(int value)
Set the used number of CPUs.
int getNumberOfSolutionSubstatuses(int solIdx)
std::vector< IndexValuePair * > primalVals
int getNumberOfGeneralSubstatuses()
Get the number of substatuses.
std::string getUsedDiskSpaceUnit()
OptimizationResult * optimization
optimization holds the fifth child of the OSResult specified by the OSrL Schema.
bool setOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfCon)
Set the number of <enumeration> children of another (non-standard/solver specific) constraint-related...
bool setUsedMemoryValue(double value)
Set the amount of used memory.
bool setOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx, int idx)
Set the index of another (non-standard/solver specific) variable-related result, for the [i]th soluti...
double getOptimalObjValue(int objIdx, int solIdx)
Get one solution's optimal objective value.
std::string getTimingInfoUnit(int idx)
bool setOtherObjectiveResultObjName(int solIdx, int otherIdx, int objIdx, std::string name)
Set the name of another (non-standard/solver specific) objective-related result, for the [i]th soluti...
std::string getSolutionMessage(int solIdx)
Get the [i]th optimization solution message, where i equals the given solution index.
bool setOtherConstraintResultEnumType(int solIdx, int otherIdx, std::string enumType)
Set the enumType of another (non-standard/solver specific) constraint-related result,...
bool setGeneralStatus(GeneralStatus *status)
Set the general status.
int getVarValueStringIdx(int solIdx, int varIdx)
bool setMatrixVariablesOtherResultBlockStructure(int solIdx, int otherIdx, int matrixVarIdx, int *colOffset, int colOffsetSize, int *rowOffset, int rowOffsetSize, int numberOfBlocks, int blocksConstructorIdx=0)
A method to set the block structure for the values of a matrixVar associated with the [j]th "other" r...
double getVarValue(int solIdx, int varIdx)
int getNumberOfVarValues(int solIdx)
GeneralFileHeader * resultHeader
header information
double * m_mdDualValues
m_mdDualValues a vector of dual variables.
std::string getJobID()
Get the job id.
bool setOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx, int numberOfObj)
Set the number of <obj> children of another (non-standard/solver specific) objective-related result,...
std::vector< IndexValuePair * > getOptimalDualVariableValues(int solIdx)
Get one solution of optimal dual variable values.
std::string getOtherVariableResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an <other> result for some solution.
bool setOtherObjectiveResultSolver(int solIdx, int otherIdx, std::string solver)
Set the solver of another (non-standard/solver specific) objective-related result,...
bool setServiceName(std::string serviceName)
Set service name.
double getTimingInfoValue(int idx)
bool setNumberOfPrimalVariableValues(int solIdx, int n)
Set the [i]th optimization solution's number of primal variable values, where i equals the given solu...
std::vector< IndexValuePair * > getOptimalPrimalVariableValues(int solIdx)
Get one solution of optimal primal variable values.
std::string getSolverOutputCategory(int otherIdx)
OptimizationSolutionStatus * getSolutionStatus(int solIdx)
Get the [i]th optimization solution status, where i equals the given solution index.
bool setUsedMemoryDescription(std::string description)
Set the description of used memory.
bool setAvailableDiskSpaceValue(double value)
Set the amount of available disk space.
int getTimeNumber()
Get the number of time measurements.
bool setSolverInvoked(std::string solverInvoked)
Set solver invoked.
std::string getAvailableCPUSpeedUnit()
bool setOtherObjectiveResultEnumType(int solIdx, int otherIdx, std::string enumType)
Set the enumType of another (non-standard/solver specific) objective-related result,...
std::string getOtherConstraintResultName(int solIdx, int otherIdx)
bool setNumberOfOtherObjectiveResults(int solIdx, int numberOfOtherObjectiveResults)
Set the [i]th optimization solution's other (non-standard/solver specific) objective-related results,...
int getBasisInformationDense(int solIdx, int object, int *resultArray, int dim)
Get the basis information associated with the variables, objectives or constraints for some solution.
double getAvailableDiskSpaceValue()
bool setOtherSolutionResultDescription(int solIdx, int otherIdx, std::string description)
Set the description associated with the [j]th other solution result of solution [i].
bool setVariableNumber(int variableNumber)
Set the variable number.
~OSResult()
Class destructor.
int getNumberOfOtherSystemResults()
int getOtherObjectiveResultArrayDense(int solIdx, int otherIdx, std::string *resultArray, int dim)
Get the values of an <obj> array or an <enumeration> associated with an <other> result for some solut...
int getBasisStatusEl(int solIdx, int object, int status, int j)
Get an entry in the array of indices that belong to a particular basis status.
bool setAvailableCPUSpeedDescription(std::string description)
Set the description of available CPU speed.
bool setOtherObjectiveResultName(int solIdx, int otherIdx, std::string name)
Set the name of another (non-standard/solver specific) objective-related result, for the [i]th soluti...
std::string getOtherSolutionResultCategory(int solIdx, int otherIdx)
bool setTime(double time)
Set time.
int getNumberOfOtherServiceResults()
bool setOtherVariableResultDescription(int solIdx, int otherIdx, std::string description)
Set the description of another (non-standard/solver specific) variable-related result,...
std::string getGeneralMessage()
Get the general message.
std::string getTimingInfoCategory(int idx)
bool setNumberOfGeneralSubstatuses(int num)
Set the number of substatus elements.
std::string getOtherJobResultValue(int idx)
int getSolutionNumber()
get the number of solutions.
std::string getUsedMemoryUnit()
bool setDualVariableValuesDense(int solIdx, double *y)
Set the [i]th optimization solution's dual variable values, where i equals the given solution index.
int getOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx)
bool setSolutionSubstatusType(int solIdx, int substatusIdx, std::string type)
Set the solution substatus type.
bool setUsedCPUSpeedValue(double value)
Set the used CPU speed.
int getOtherObjectiveResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an <other> result for some solution.
std::string getSolutionSubstatusType(int solIdx, int substatusIdx)
bool setAnOtherVariableResultDense(int solIdx, int otherIdx, std::string name, std::string value, std::string description, std::string *s)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
std::string getOtherSolutionResultValue(int solIdx, int otherIdx)
SystemResult * system
system holds the second child of the OSResult specified by the OSrL Schema.
int getVarValueIdx(int solIdx, int varIdx)
bool setUsedDiskSpaceUnit(std::string unit)
Set the unit in which used disk space is measured.
int getSolutionTargetObjectiveIdx(int solIdx)
std::string getOtherObjectiveResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an <other> result for some solution.
bool setOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx, std::string item)
Set one item associated with the [j]th other solution result of solution [i].
bool setOtherJobResultDescription(int idx, std::string description)
Set the job otherResult description.
bool setUsedDiskSpaceDescription(std::string description)
Set the description of used disk space.
bool setSolverOutputDescription(int otherIdx, std::string description)
Set the description associated with the [j]th solver output.
bool setGeneralSubstatusName(int idx, std::string name)
Set the general substatus name.
bool setSolutionMessage(int solIdx, std::string msg)
Set the [i]th optimization solution's message, where i equals the given solution index.
bool setOtherConstraintResultSolver(int solIdx, int otherIdx, std::string solver)
Set the solver of another (non-standard/solver specific) constraint-related result,...
std::string getSolverOutputName(int otherIdx)
bool setOtherVariableResultCategory(int solIdx, int otherIdx, std::string category)
Set the category of another (non-standard/solver specific) variable-related result,...
std::string getUsedCPUSpeedUnit()
bool setUsedMemoryUnit(std::string unit)
Set the unit in which used memory is measured.
bool setCurrentState(std::string currentState)
Set the current state of the service.
std::string getCurrentState()
std::string getOtherObjectiveResultDescription(int solIdx, int otherIdx)
bool setOtherObjectiveResultValue(int solIdx, int otherIdx, std::string value)
Set the value of another (non-standard/solver specific) objective-related result, for the [i]th solut...
bool setTimeNumber(int timeNumber)
Set the number of time measurements.
double getUsedDiskSpaceValue()
int getOtherSolutionResultNumberOfItems(int solIdx, int otherIdx)
bool setOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx, int idx)
Set the index of another (non-standard/solver specific) constraint-related result,...
bool setSolutionStatusDescription(int solIdx, std::string description)
Set the [i]th optimization solution status description.
int getNumberOfOtherSolutionResults(int solIdx)
double getUsedMemoryValue()
bool setOtherGeneralResultDescription(int idx, std::string description)
Set the general otherResult description.
bool setSolutionStatus(int solIdx, std::string type, std::string description)
Set the [i]th optimization solution status, where i equals the given solution index.
double getTimeValue()
Get the time measurement.
std::string getAvailableDiskSpaceDescription()
bool setObjValue(int solIdx, int number, int idx, std::string name, double val)
Set an objective value.
bool setOtherSolutionResultNumberOfItems(int solIdx, int otherIdx, int numberOfItems)
Set the number of items associated with the [j]th other solution result of solution [i].
std::string getAvailableMemoryUnit()
bool setUsedCPUSpeedDescription(std::string description)
Set the description of used CPU speed.
GeneralStatus * getGeneralStatus()
Get the general status.
bool addTimingInformation(std::string type, std::string category, std::string unit, std::string description, double value)
Add timing information.
std::string getOtherSystemResultDescription(int idx)
int getNumberOfPrimalVariableValues(int solIdx)
std::string getVarValueStringName(int solIdx, int varIdx)
bool setOtherObjectiveResultDescription(int solIdx, int otherIdx, std::string description)
Set the description of another (non-standard/solver specific) objective-related result,...
int getConstraintNumber()
Get constraint number.
std::string getAvailableDiskSpaceUnit()
bool setTimingInformation(int idx, std::string type, std::string category, std::string unit, std::string description, double value)
Set timing information.
std::string getOtherVariableResultVar(int solIdx, int otherIdx, int varIdx)
std::string getSystemInformation()
std::vector< IndexValuePair * > dualVals
bool setSolutionWeightedObjectives(int solIdx, bool weightedObjectives)
Record whether the [i]th optimization solution uses weighted objectives, where i equals the given sol...
std::string getOtherSolutionResultDescription(int solIdx, int otherIdx)
std::string getOtherVariableResultName(int solIdx, int otherIdx)
std::string getOtherConstraintResultType(int solIdx, int otherIdx)
std::string getOtherObjectiveResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the <obj> or <enumeration> array associated with an <other> resul...
int getAvailableCPUNumberValue()
std::string getObjValueName(int solIdx, int objIdx)
bool setOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfEnumerations)
Set the number of <enumeration> children of another (non-standard/solver specific) variable-related r...
bool setAnOtherVariableResultSparse(int solIdx, int otherIdx, std::string name, std::string value, std::string description, int *idx, std::string *s, int n)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
bool setSolverOutputCategory(int otherIdx, std::string category)
Set the category associated with the [j]th solver output.
bool setConstraintNumber(int constraintNumber)
Set the constraint number.
double getObjValue(int solIdx, int objIdx)
std::string getOtherGeneralResultDescription(int idx)
bool IsEqual(OSResult *that)
A function to check for the equality of two objects.
bool setMatrixVarValuesBlockStructure(int solIdx, int idx, int *colOffset, int colOffsetSize, int *rowOffset, int rowOffsetSize, int numberOfBlocks, int blocksConstructorIdx=0)
A method to set the block structure for the values of a matrixVar in the [i]th optimization solution,...
double getServiceUtilization()
bool setNumberOfOtherSystemResults(int num)
Set number of other system results.
bool setBasisStatus(int solIdx, int object, int status, int *i, int ni)
Set the basis status of a number of variables/constraints/objectives.
std::string getOtherConstraintResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an <other> result for some solution.
bool setAvailableMemoryValue(double value)
Set the amount of available memory.
bool setJobEndTime(std::string endTime)
Set the time when the job finished.
bool setServiceUtilization(double value)
Set the service utilitzation.
std::string getAvailableMemoryDescription()
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setNumberOfOtherConstraintResults(int solIdx, int numberOfOtherConstraintResults)
Set the [i]th optimization solution's other (non-standard/solver specific) constraint-related results...
bool setOtherObjectiveResultObjType(int solIdx, int otherIdx, std::string objType)
Set the objType of another (non-standard/solver specific) objective-related result,...
bool setNumberOfObjValues(int solIdx, int numberOfObj)
Set the number of objectives to be given a value.
std::string getOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx)
int getOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx)
bool setOtherObjectiveResultType(int solIdx, int otherIdx, std::string type)
Set the type of another (non-standard/solver specific) objective-related result, for the [i]th soluti...
bool setAvailableCPUSpeedUnit(std::string unit)
Set the unit in which available CPU speed is measured.
bool setOtherVariableResultEnumType(int solIdx, int otherIdx, std::string enumType)
Set the enumType of another (non-standard/solver specific) variable-related result,...
std::string getOtherServiceResultDescription(int idx)
bool setNumberOfVarValuesString(int solIdx, int numberOfVar)
Set the number of string-valued primal variables to be given a value.
bool setAnOtherVariableResultDense(int solIdx, int otherIdx, std::string name, std::string value, std::string description, std::string *s, std::string type, std::string varType, std::string enumType)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
std::string getOtherServiceResultName(int idx)
int getOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx)
std::string getUsedMemoryDescription()
bool setOtherConstraintResultCategory(int solIdx, int otherIdx, std::string category)
Set the category of another (non-standard/solver specific) constraint-related result,...
bool setScheduledStartTime(std::string scheduledStartTime)
Set the job's scheduled start time.
bool setServiceURI(std::string serviceURI)
Set service uri.
std::string getDualValueName(int solIdx, int objIdx)
int getDualValueIdx(int solIdx, int conIdx)
double getDualValue(int solIdx, int conIdx)
bool setDualValue(int solIdx, int number, int idx, std::string name, double val)
Set a dual value.
int getNumberOfOtherVariableResults(int solIdx)
Get numberOfOtherVariableResult.
bool setOtherServiceResultName(int idx, std::string name)
Set the service otherResult name.
bool setOtherSolutionResultValue(int solIdx, int otherIdx, std::string value)
Set the value associated with the [j]th other solution result of solution [i].
std::string getTimeStamp()
Get the time stamp.
bool setAnOtherSolutionResult(int solIdx, std::string name, std::string value, std::string category, std::string description, int numberOfItems, std::string *item)
Set another solution result of solution [i].
std::string getOtherObjectiveResultType(int solIdx, int otherIdx)
bool setOtherConstraintResultValue(int solIdx, int otherIdx, std::string value)
Set the value of another (non-standard/solver specific) constraint-related result,...
std::string getUsedCPUNumberDescription()
int getVariableNumber()
Get variable number.
bool setGeneralSubstatusDescription(int idx, std::string description)
Set the general substatus description.
bool setMatrixVarValuesBlockElements(int solIdx, int idx, int blkno, int blkRowIdx, int blkColIdx, int nz, int *start, int *index, MatrixElementValues *value, ENUM_MATRIX_TYPE valueType, ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none, bool rowMajor=false)
A method to set the elements within a block of a matrixVar in the [i]th optimization solution,...
bool setOtherVariableResultName(int solIdx, int otherIdx, std::string name)
Set the name of another (non-standard/solver specific) variable-related result, for the [i]th solutio...
bool setSolutionTargetObjectiveIdx(int solIdx, int objectiveIdx)
Set the [i]th optimization solution's objective index, where i equals the given solution index.
JobResult * job
job holds the fourth child of the OSResult specified by the OSrL Schema.
bool setAvailableDiskSpaceUnit(std::string unit)
Set the unit in which available disk space is measured.
bool setOtherSystemResultDescription(int idx, std::string description)
Set the system otherResult description.
bool setSystemInformation(std::string systemInformation)
Set the system information.
int getOtherConstraintResultArrayDense(int solIdx, int otherIdx, std::string *resultArray, int dim)
Get the values of a <con> array or an <enumeration> associated with an <other> result for some soluti...
std::string getOtherJobResultName(int idx)
bool setAvailableMemoryDescription(std::string description)
Set the description of available memory.
int getAnOtherVariableResultNumberOfVar(int solIdx, int iOther)
Get getAnOtherVariableResultNumberOfVar.
bool setAnOtherVariableResultSparse(int solIdx, int otherIdx, std::string name, std::string value, std::string description, int *idx, std::string *s, int n, std::string type, std::string varType, std::string enumType)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
std::string getOtherConstraintResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the <con> or <enumeration> array associated with an <other> resul...
bool setSolutionStatusType(int solIdx, std::string type)
Set the [i]th optimization solution status type.
bool setOtherGeneralResultValue(int idx, std::string value)
Set the general otherResult value.
std::string getOtherSystemResultName(int idx)
int getNumberOfOtherObjectiveResults(int solIdx)
bool setNumberOfSolverOutputs(int numberOfSolverOutputs)
Set the number of other solver outputs.
std::string getServiceURI()
Get service uri.
std::string getGeneralStatusType()
Get the general status type, which can be: success, error, warning.
bool setHeader(std::string name, std::string source, std::string fileCreator, std::string description, std::string licence)
A function to populate an instance of the result header element.
bool setOtherConstraintResultNumberOfCon(int solIdx, int otherIdx, int numberOfCon)
Set the number of <con> children of another (non-standard/solver specific) constraint-related result,...
std::string getOtherVariableResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the or <enumeration> array associated with an <other> result for...
int m_iConstraintNumber
m_iConstraintNumber holds the constraint number.
std::string getUsedCPUSpeedDescription()
bool setOtherSystemResultName(int idx, std::string name)
Set the system otherResult name.
bool setOtherSolutionResultCategory(int solIdx, int otherIdx, std::string category)
Set the category associated with the [j]th other solution result of solution [i].
int getOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx)
bool setOtherConstraintResultDescription(int solIdx, int otherIdx, std::string description)
Set the description of another (non-standard/solver specific) constraint-related result,...
bool setConstraintValuesDense(int solIdx, double *constraintValues)
Set the [i]th optimization solution's constraint values, where i equals the given solution index.
bool setNumberOfVarValues(int solIdx, int numberOfVar)
Set the number of primal variables to be given a value.
int getOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx)
bool IsEqual(ObjValue *that)
A function to check for the equality of two objects.
ObjValue()
Default constructor.
~ObjValue()
Class destructor.
double value
the value of the objective indexed by idx
int idx
idx is the index on an objective function
std::string name
optional name
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
The ObjectiveSolution Class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(ObjectiveSolution *that)
A function to check for the equality of two objects.
OtherObjectiveResult ** other
a pointer to an array of other pointer objects for objective functions
ObjectiveSolution()
Default constructor.
int numberOfOtherObjectiveResults
the number of types of objective function results other than the basic objective function values
~ObjectiveSolution()
Class destructor.
BasisStatus * basisStatus
a pointer to a BasisStatus object
ObjectiveValues * values
a pointer to an array of ObjectiveValues objects
The ObjectiveValues Class.
~ObjectiveValues()
Class destructor.
int numberOfObj
record the number of objective rows for which values are given
bool IsEqual(ObjectiveValues *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.
ObjValue ** obj
obj is a pointer to an array of ObjValue objects that give an index and objective function value for ...
ObjectiveValues()
Default constructor.
The OptimizationResult Class.
int numberOfSolutions
numberOfSolutions is the number of objective functions reported.
OtherSolverOutput * otherSolverOutput
otherSolverOutput is a pointer to an OtherSolverOutput object
OptimizationResult()
Default constructor.
bool IsEqual(OptimizationResult *that)
A function to check for the equality of two objects.
int numberOfObjectives
numberOfObjectives is the number of objective functions reported in the solution.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfVariables
numberOfVariables is the number of variables reported in the solution.
OptimizationSolution ** solution
solution is an array of pointers to OptimizationSolution objects
~OptimizationResult()
Class destructor.
int numberOfConstraints
numberOfConstrants is the number of constraint functions reported in the solution.
The OptimizationSolution Class.
VariableSolution * variables
variables holds the solution information for the variables
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OptimizationSolution()
Default constructor.
ObjectiveSolution * objectives
objectives holds the solution information for the objectives
MatrixProgrammingSolution * matrixProgramming
matrixProgramming holds the solution information for the matrix programming components: matrix variab...
bool weightedObjectives
a marker to track whether the objectives are weighted
int targetObjectiveIdx
the index of the objective function for which we are reporting solution information
OtherSolutionResults * otherSolutionResults
otherSolutionResults is a pointer to an OtherSolutionResults object that is associated with this opti...
std::string targetObjectiveName
an optional name of the objective function for which we are reporting solution information
~OptimizationSolution()
Class destructor.
bool IsEqual(OptimizationSolution *that)
A function to check for the equality of two objects.
ConstraintSolution * constraints
constraints holds the solution information for the constraints
OptimizationSolutionStatus * status
status is a pointer to an OptimizationSolutionStatus object associated with this optimization solutio...
std::string message
a message associated with this solution
The OptimizationSolutionStatus Class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfSubstatuses
the number of substatus objects
OptimizationSolutionSubstatus ** substatus
a pointer to an array of substatus objects
bool IsEqual(OptimizationSolutionStatus *that)
A function to check for the equality of two objects.
std::string description
a description of the solution status type
OptimizationSolutionStatus()
Default constructor.
std::string type
the type of solution status
~OptimizationSolutionStatus()
Class destructor.
The OptimizationSolutionSubstatus Class.
bool IsEqual(OptimizationSolutionSubstatus *that)
A function to check for the equality of two objects.
std::string description
a description of the solution substatus
std::string type
the type of the solution substatus
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~OptimizationSolutionSubstatus()
Class destructor.
OptimizationSolutionSubstatus()
Default constructor.
The OtherConResult Class.
int idx
idx is the index on the constraint
std::string name
optional name
~OtherConResult()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(OtherConResult *that)
A function to check for the equality of two objects.
OtherConResult()
Default constructor.
std::string value
value is a value associated with the constraint indexed by idx, for example value might be the value ...
The OtherConstraintResult Class.
std::string category
the category of the result value
std::string conType
type of the values in the con array
std::string solver
the solver of the result value
int numberOfEnumerations
the number of distinct values for this particular type of result
bool IsEqual(OtherConstraintResult *that)
A function to check for the equality of two objects.
std::string description
a brief description of the type of result
std::string enumType
type of the values in the enumeration array
OtherConstraintResult()
Default constructor.
int numberOfCon
the number of constraints which have values for this particular type of result
~OtherConstraintResult()
Class destructor.
std::string name
the name of the result the user is defining
OtherOptionOrResultEnumeration ** enumeration
std::string type
type of the result value (integer, double, boolean, string)
std::string value
this element allows a specific value associated with this particular type of result
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
The in-memory representation of the <matrixVariables> <other> element.
bool IsEqual(OtherMatrixVariableResult *that)
A function to check for the equality of two objects.
std::string matrixType
the type of matrixVar
OtherOptionOrResultEnumeration ** enumeration
the enumeration.
int numberOfEnumerations
number of levels in an enumeration associated with this result
std::string enumType
the type of the enumeration
std::string name
Gives a name to this result.
OSMatrixWithMatrixVarIdx ** matrixVar
the list of matrices and their values
int numberOfMatrixVar
number of matrix variables affected by or associated with this result
std::string description
other data elements are optional
~OtherMatrixVariableResult()
The MatrixVariableValues class destructor.
OtherMatrixVariableResult()
The standard MatrixVariableValues class constructor.
The OtherObjResult Class.
~OtherObjResult()
Class destructor.
bool IsEqual(OtherObjResult *that)
A function to check for the equality of two objects.
OtherObjResult()
Default constructor.
std::string value
value is a value associated with an objective function indexed by idx
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int idx
idx is the index on a objective function
std::string name
optional name
The OtherObjectiveResult Class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string value
this element allows a specific value associated with this particular type of result
bool IsEqual(OtherObjectiveResult *that)
A function to check for the equality of two objects.
std::string category
the category of the result value
std::string objType
type of the values in the obj array
std::string solver
the solver of the result value
OtherObjectiveResult()
Default constructor.
int numberOfEnumerations
the number of distinct values for this particular type of result
std::string description
a brief description of the type of result
std::string enumType
type of the values in the enumeration array
OtherOptionOrResultEnumeration ** enumeration
int numberOfObj
the number of objectives which have values for this particular type of result
std::string type
type of the result value (integer, double, boolean, string)
~OtherObjectiveResult()
Class destructor.
std::string name
the name of the result the user is defining
std::string name
the name of the other result
OtherResult()
Default constructor.
~OtherResult()
Class destructor.
std::string description
the description of the other result
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(OtherResult *that)
A function to check for the equality of two objects.
std::string value
the value of the other result
int numberOfOtherResults
the number of other results
OtherResults()
Default constructor.
bool IsEqual(OtherResults *that)
A function to check for the equality of two objects.
OtherResult ** other
the array of other results
~OtherResults()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
The OtherSolutionResult Class.
std::string name
the name of the result the user is defining
std::string * item
an array of items (string-valued)
std::string description
a brief description of the type of result
std::string value
the value associated with the result the user is defining
bool IsEqual(OtherSolutionResult *that)
A function to check for the equality of two objects.
std::string category
this element allows a specific category to be associated with this particular type of result
~OtherSolutionResult()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfItems
the number of items contained in this otherSolutionResult
OtherSolutionResult()
Default constructor.
The OtherSolutionResults Class.
int numberOfOtherSolutionResults
the number of elements in the pointer of OtherSolutionResult objects
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherSolutionResults()
Default constructor.
OtherSolutionResult ** otherSolutionResult
otherSolutionResult is a pointer to an array of OtherSolutionResult objects
bool IsEqual(OtherSolutionResults *that)
A function to check for the equality of two objects.
~OtherSolutionResults()
Class destructor.
The OtherSolverOutput Class.
OtherSolverOutput()
Default constructor.
SolverOutput ** solverOutput
solverOutput is a pointer to an array of SolverOutput objects
bool IsEqual(OtherSolverOutput *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.
~OtherSolverOutput()
Class destructor.
int numberOfSolverOutputs
the number of elements in the pointer of SolverOutput objects
OtherVarResult()
Default constructor.
std::string value
value holds a general value associated with a variable, for example, rather than the value of a varia...
~OtherVarResult()
Class destructor.
int idx
the index of a variable in the solution
bool IsEqual(OtherVarResult *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.
std::string name
optional name
The OtherVariableResult Class.
OtherVariableResult()
Default constructor.
std::string category
the category of the result value
int numberOfEnumerations
the number of distinct values for this particular type of result
std::string value
this element allows a specific value associated with this particular type of result
std::string varType
type of the values in the var array
std::string enumType
type of the values in the enumeration array
bool IsEqual(OtherVariableResult *that)
A function to check for the equality of two objects.
std::string solver
the solver of the result value
~OtherVariableResult()
Class destructor.
std::string type
type of the result value (integer, double, boolean, string)
std::string description
a brief description of the type of result
OtherOptionOrResultEnumeration ** enumeration
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string name
the name of the result the user is defining
int numberOfVar
the number of variables which have values for this particular type of result
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
double serviceUtilization
service utilization
int totalJobsSoFar
total jobs processed so far
bool IsEqual(ServiceResult *that)
A function to check for the equality of two objects.
~ServiceResult()
Class destructor.
int currentJobCount
the number of jobs currently running
OtherResults * otherResults
a pointer to the OtherResults class
ServiceResult()
Default constructor.
std::string currentState
a string describing the current state of the service
std::string timeServiceStarted
the time when the service was started
~SolverOutput()
Class destructor.
int numberOfItems
the number of items contained in this otherSolutionResult
std::string category
this element allows a specific category to be associated with this particular type of result
std::string name
the name of the result the user is defining
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string * item
an array of items (string-valued)
std::string description
a brief description of the type of result
bool IsEqual(SolverOutput *that)
A function to check for the equality of two objects.
SolverOutput()
Default constructor.
the StorageCapacity class.
OtherResults * otherResults
a pointer to the OtherResults class
std::string systemInformation
a string containing some basic system information
bool IsEqual(SystemResult *that)
A function to check for the equality of two objects.
StorageCapacity * availableMemory
a pointer to the MemorySize class
CPUNumber * availableCPUNumber
a pointer to the CPUNumber class
~SystemResult()
Class destructor.
StorageCapacity * availableDiskSpace
a pointer to the DiskSpace class
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
SystemResult()
Default constructor.
CPUSpeed * availableCPUSpeed
a pointer to the CPUSpeed class
std::string type
The type of timer used (cpuTime/elapsedTime/other)
std::string unit
The unit of time (tick/millisecond/second/minute/hour/day/week/month/year)
std::string description
Further description on the timer used.
double value
The time measurement.
Time()
Default constructor.
std::string category
The category of time (total/input/preprocessing/optimization/postprocessing/output/other)
The TimeMeasurement Class.
std::string category
The category of time (total/input/preprocessing/optimization/postprocessing/output/other)
bool IsEqual(TimeMeasurement *that)
A function to check for the equality of two objects.
TimeMeasurement()
Default constructor.
std::string description
Further description on the timer used.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string type
The type of timer used (cpuTime/elapsedTime/other)
~TimeMeasurement()
Class destructor.
VarValue()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int idx
idx is the index on variable in the solution
~VarValue()
Class destructor.
bool IsEqual(VarValue *that)
A function to check for the equality of two objects.
std::string name
optional name
std::string name
optional name
int idx
idx is the index on variable in the solution
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(VarValueString *that)
A function to check for the equality of two objects.
VarValueString()
Default constructor.
~VarValueString()
Class destructor.
The VariableSolution Class.
VariableSolution()
Default constructor.
OtherVariableResult ** other
a pointer to an array of other pointer objects for variables
BasisStatus * basisStatus
a pointer to a BasisStatus object
bool IsEqual(VariableSolution *that)
A function to check for the equality of two objects.
int numberOfOtherVariableResults
the number of types of variable results other than the value of the variable
~VariableSolution()
Class destructor.
VariableValues * values
a pointer to a VariableValues object
VariableValuesString * valuesString
a pointer to a VariableValuesString object
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
The VariableValues Class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
VariableValues()
Default constructor.
VarValue ** var
a vector of VarValue objects, there will be one for each variable in the solution
int numberOfVar
the number of variable values that are in the solution
~VariableValues()
Class destructor.
bool IsEqual(VariableValues *that)
A function to check for the equality of two objects.
The VariableValuesString Class.
VariableValuesString()
Default constructor.
bool IsEqual(VariableValuesString *that)
A function to check for the equality of two objects.
VarValueString ** var
a vector of VarValueString objects, there will be one for each variable in the solution
int numberOfVar
the number of string-valued variable values that are in the solution
~VariableValuesString()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
ENUM_MATRIX_TYPE
An enum to track the many different types of values that a matrix can contain Note that these types a...
@ ENUM_MATRIX_TYPE_unknown
@ ENUM_MATRIX_SYMMETRY_none
A commonly used structure holding an index-string pair This definition is based on the definition of ...
int idx
idx holds the index of a string-valued entity (such as a variable, constraint, objective) that is par...
std::string value
value is a string that holds the value of the entity