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