88 bool setRandom(
double density,
bool conformant);
145 bool setRandom(
double density,
bool conformant);
199 bool setRandom(
double density,
bool conformant);
250 bool setRandom(
double density,
bool conformant);
333 bool setRandom(
double density,
bool conformant);
399 bool setRandom(
double density,
bool conformant);
461 bool setRandom(
double density,
bool conformant);
489 std::string category;
499 std::string description;
521 bool IsEqual(Time *that);
530 bool setRandom(
double density,
bool conformant);
588 bool setRandom(
double density,
bool conformant);
643 bool setRandom(
double density,
bool conformant);
724 bool setRandom(
double density,
bool conformant);
774 bool setRandom(
double density,
bool conformant);
829 bool setRandom(
double density,
bool conformant);
884 bool setRandom(
double density,
bool conformant);
938 bool setRandom(
double density,
bool conformant);
994 bool setRandom(
double density,
bool conformant);
1048 bool setRandom(
double density,
bool conformant);
1105 bool setRandom(
double density,
bool conformant);
1193 bool setRandom(
double density,
bool conformant);
1257 bool setRandom(
double density,
bool conformant);
1311 bool setRandom(
double density,
bool conformant);
1363 bool setRandom(
double density,
bool conformant);
1419 bool setRandom(
double density,
bool conformant);
1506 bool setRandom(
double density,
bool conformant);
1568 bool setRandom(
double density,
bool conformant);
1624 bool setRandom(
double density,
bool conformant);
1679 bool setRandom(
double density,
bool conformant);
1737 bool setRandom(
double density,
bool conformant);
1825 bool setRandom(
double density,
bool conformant);
1887 bool setRandom(
double density,
bool conformant);
1956 bool setRandom(
double density,
bool conformant);
2011 bool setRandom(
double density,
bool conformant);
2102 bool setRandom(
double density,
bool conformant);
2166 bool setRandom(
double density,
bool conformant);
2220 bool setRandom(
double density,
bool conformant);
2296 bool setRandom(
double density,
bool conformant);
2370 bool setHeader(std::string name, std::string source,
2371 std::string fileCreator, std::string description, std::string licence);
2426 bool setRandom(
double density,
bool conformant);
3544 std::string unit, std::string description,
double value);
3559 std::string unit, std::string description,
double value);
3910 bool setVarValue(
int solIdx,
int number,
int idx, std::string name,
double val);
3935 bool setVarValueString(
int solIdx,
int number,
int idx, std::string name, std::string str);
3953 bool setBasisStatus(
int solIdx,
int object,
int status,
int *i,
int ni);
3990 bool setAnOtherVariableResultSparse(
int solIdx,
int otherIdx, std::string name, std::string value, std::string description,
int *idx, std::string *s,
int n);
4015 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);
4055 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);
4244 bool setOtherOptionEnumeration(
int solIdx,
int otherIdx,
int object,
int enumIdx, std::string value, std::string description,
int *i,
int ni);
4332 bool setObjValue(
int solIdx,
int number,
int idx, std::string name,
double val);
4591 bool setDualValue(
int solIdx,
int number,
int idx, std::string name,
double val);
4862 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()
std::string getGeneralSubstatusName(int i)
Get the i_th general substatus name.
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)
OtherOptionEnumeration ** enumeration
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 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.
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 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
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.
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
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.
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.
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.
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
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
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.
bool setOtherOptionEnumeration(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...
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 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)
OtherOptionEnumeration ** enumeration
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.
std::string status
job status
bool IsEqual(VariableValues *that)
A function to check for the equality of two objects.
brief an integer vector data structure used in OSOption and OSResult
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.
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.
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.
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
double getUsedMemoryValue()
std::string timeStamp
a time stamp associated with the process
std::vector< IndexValuePair * > dualVals
bool setSolutionSubstatusType(int solIdx, int substatusIdx, std::string type)
Set the solution substatus type.
std::string scheduledStartTime
the time when the job was supposed to start
std::string description
a description of the solution status type
int getNumberOfSolverOutputs()
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.
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...
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
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 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.
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...
bool setUsedDiskSpaceUnit(std::string unit)
Set the unit in which used disk space is measured.
~GeneralStatus()
Class destructor.
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.
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 setUsedDiskSpaceDescription(std::string description)
Set the description of used disk space.
bool IsEqual(OtherObjectiveResult *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.
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 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
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...
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 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()
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.
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 getOtherObjectiveResultValue(int solIdx, int otherIdx)
int numberOfOtherSolutionResults
the number of elements in the pointer of OtherSolutionResult objects
std::string getUsedMemoryUnit()
std::string getJobEndTime()
int idx
idx is the index on the constraint
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.
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.
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
OtherOptionEnumeration ** enumeration
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.
~ObjectiveSolution()
Class destructor.
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 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
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.
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
std::string objType
type of the values in the obj array
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)
std::string enumType
type of the values in the enumeration array
TimingInformation * timingInformation
a pointer to the TimingInformation class
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...
bool IsEqual(SystemResult *that)
A function to check for the equality of two objects.
std::string name
the name of the substatus
bool setObjectiveValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution's objective values, where i equals the given solution index...
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 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 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
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.
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 setAvailableMemoryDescription(std::string description)
Set the description of available memory.
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.
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.
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 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 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.
~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.
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.
std::string getOtherVariableResultDescription(int solIdx, int otherIdx)
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 ...
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 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 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.
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...
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
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)