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