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