465 std::vector<VarValue*>
var;
540 std::vector<VarStringValue*>
var;
631 std::vector<OtherVarResult*>
var;
748 std::vector<ObjValue*>
obj;
840 std::vector<OtherObjResult*>
obj;
972 std::vector<DualVarValue*>
con;
1066 std::vector<OtherConResult*>
con;
1220 std::vector<OtherOptimizationResult*>
other;
1633 std::string unit, std::string description,
double value);
1766 bool setAnOtherVariableResult(
int solIdx,
int otherIdx, std::string name, std::string description,
int *indexes, std::string *s,
int n);
The ConstraintSolution Class.
OtherConstraintResult ** other
a pointer to an array of other pointer objects for constraint functions
ConstraintSolution()
Default constructor.
DualVariableValues * dualValues
a pointer to an array of DualVariableValues objects
~ConstraintSolution()
Class destructor.
int numberOfOtherConstraintResults
the number of types of constraint function results other than the basic constraint function values
double lbValue
lbValue is the value of dual variable on the constraint indexed by idx if the constraint is at its lo...
DualVarValue()
Default constructor.
double ubValue
ubValue is the value of dual variable on the constraint indexed by idx if the constraint is at its up...
~DualVarValue()
Class destructor.
double value
value of dual variable on the constraint indexed by idx
int idx
idx is the index on a constraint
The DualVariableValues Class.
~DualVariableValues()
Class destructor.
std::vector< DualVarValue * > con
con is a vector of DualVarValue objects that give an index and dual variable value for each constrain...
DualVariableValues()
Default constructor.
int numberOfCon
record the number of constraints for which values are given
~GeneralResult()
Class destructor.
std::string time
the time when solution was complete kippster – verify this
GeneralResult()
Default constructor.
std::string serviceURI
the serviceURI is the URI of the solver service that did the optimization
std::string serviceName
the serviceName is the name of the solver service that did the optimization
std::string jobID
the jobID is the ID associated with the solution of this instance
GeneralStatus * generalStatus
a pointer to the GeneralStatus class
std::string instanceName
the name of the instance that was solved
std::string message
any general message associated with the optimization
int numberOfSubstatuses
the number of substatuses
std::string type
the type of status
~GeneralStatus()
Class destructor.
std::string description
the description of the status
std::vector< GeneralSubstatus * > substatus
the array of substatuses
GeneralStatus()
Default constructor.
The GeneralSubstatus Class.
~GeneralSubstatus()
Class destructor.
std::string description
the description of the substatus
GeneralSubstatus()
Default constructor.
std::string name
the name of the substatus
JobResult()
Default constructor.
TimingInformation * timingInformation
a pointer to the TimingInformation class
~JobResult()
Class destructor.
std::string getSolutionMessage(int solIdx)
Get the [i]th optimization solution message, where i equals the given solution index.
std::string getGeneralMessage()
Get the general message.
bool setGeneralMessage(std::string message)
Set the general message.
bool setAnOtherVariableResult(int solIdx, int otherIdx, std::string name, std::string description, int *indexes, std::string *s, int n)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
bool setJobID(std::string jobID)
Set job id.
bool setPrimalVariableValues(int solIdx, double *x, int n)
Set the [i]th optimization solution's primal variable values, where i equals the given solution index...
bool setDualVariableValues(int solIdx, double *lbValues, double *ubValues, int n)
Set the [i]th optimization solution's dual variable values, where i equals the given solution index.
std::string getServiceURI()
Get service uri.
OSResult()
Default constructor.
int m_iNumberOfOtherVariableResults
m_iNumberOfOtherVariableResults holds the number of OtherVariableResult objects.
bool setGeneralStatusDescription(std::string description)
Set the general status description.
bool setSolutionNumber(int number)
set the number of solutions.
bool setInstanceName(std::string instanceName)
Set instance name.
GeneralResult * general
general holds the first child of the OSResult specified by the OSrL Schema.
int m_iObjectiveNumber
m_iObjectiveNumber holds the objective number.
std::string getServiceName()
Get service name.
bool setNumberOfOtherVariableResults(int solIdx, int numberOfOtherVariableResults)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
double * m_mdPrimalValues
m_mdPrimalValues a vector of primal variables.
bool setGeneralStatusType(std::string type)
Set the general status type, which can be: success, error, warning.
ServiceResult * service
service holds the third child of the OSResult specified by the OSrL Schema.
bool setObjectiveNumber(int objectiveNumber)
Set the objective number.
int m_iVariableNumber
m_iVariableNumber holds the variable number.
std::string getGeneralStatusDescription()
Get the general status description.
int getObjectiveNumber()
Get objective number.
bool setConstraintValues(int solIdx, double *constraintValues, int n)
Set the [i]th optimization solution's constraint values, where i equals the given solution index.
OptimizationResult * optimization
optimization holds the fifth child of the OSResult specified by the OSrL Schema.
bool setGeneralStatus(GeneralStatus *status)
Set the general status.
double * m_mdDualValues
m_mdDualValues a vector of dual variables.
bool setObjectiveValues(int solIdx, double *objectiveValues, int n)
Set the [i]th optimization solution's objective values, where i equals the given solution index.
bool setServiceName(std::string serviceName)
Set service name.
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 getJobID()
Get the job id.
OptimizationSolutionStatus * getSolutionStatus(int solIdx)
Get the [i]th optimization solution status, where i equals the given solution index.
int getTimeNumber()
Get the number of time measurements.
bool setVariableNumber(int variableNumber)
Set the variable number.
~OSResult()
Class destructor.
bool setTime(double time)
Set time.
int getSolutionNumber()
get the number of solutions.
SystemResult * system
system holds the second child of the OSResult specified by the OSrL Schema.
double * getOptimalPrimalVariableValues(int objIdx)
Get one solution of optimal primal variable values.
bool setSolutionObjectiveIndex(int solIdx, int objectiveIdx)
Set the [i]th optimization solution's objective index, where i equals the given solution index.
std::string getInstanceName()
Get instance name.
bool setTimeNumber(int timeNumber)
Set the number of time measurements.
bool setSolutionStatus(int solIdx, std::string type, std::string description)
Set the [i]th optimization solution status, where i equals the given solution index.
double getTimeValue()
Get the time measurement.
GeneralStatus * getGeneralStatus()
Get the general status.
bool addTimingInformation(std::string type, std::string category, std::string unit, std::string description, double value)
Add timing information.
int getConstraintNumber()
Get constraint number.
double * getOptimalDualVariableValues(int objIdx)
Get one solution of optimal dual variable values.
bool setConstraintNumber(int constraintNumber)
Set the constraint number.
std::string getGeneralStatusType()
Get the general status type, which can be: success, error, warning.
bool setServiceURI(std::string serviceURI)
Set service uri.
int getNumberOfOtherVariableResults(int solIdx)
Get numberOfOtherVariableResult.
int getVariableNumber()
Get variable number.
JobResult * job
job holds the fourth child of the OSResult specified by the OSrL Schema.
std::string getSolutionStatusType(int solIdx)
Get the [i]th optimization solution status type, where i equals the given solution index.
int m_iConstraintNumber
m_iConstraintNumber holds the constraint number.
std::string getSolutionStatusDescription(int solIdx)
Get the [i]th optimization solution status description, where i equals the given solution index.
ObjValue()
Default constructor.
~ObjValue()
Class destructor.
double value
the value of the objective indexed by idx
int idx
idx is the index on an objective function
The ObjectiveSolution Class.
OtherObjectiveResult ** other
a pointer to an array of other pointer objects for objective functions
ObjectiveSolution()
Default constructor.
int numberOfOtherObjectiveResults
the number of types of objective function results other than the basic objective function values
~ObjectiveSolution()
Class destructor.
ObjectiveValues * values
a pointer to an array of ObjectiveValues objects
The ObjectiveValues Class.
~ObjectiveValues()
Class destructor.
int numberOfObj
record the number of objective rows for which values are given
ObjectiveValues()
Default constructor.
std::vector< ObjValue * > obj
obj is a pointer to an array of ObjValue objects that give an index and objective function value for ...
The OptimizationResult Class.
int numberOfSolutions
numberOfSolutions is the number of objective functions reported.
OptimizationResult()
Default constructor.
int numberOfObjectives
numberOfObjectives is the number of objective functions reported in the solution.
int numberOfVariables
numberOfVariables is the number of variables reported in the solution.
OptimizationSolution ** solution
solution is an array of pointers to OptimizationSolution objects
~OptimizationResult()
Class destructor.
int numberOfConstraints
numberOfConstrants is the number of constraint functions reported in the solution.
The OptimizationSolution Class.
VariableSolution * variables
variables holds the solution information for the variables
OptimizationSolution()
Default constructor.
ObjectiveSolution * objectives
objectives holds the solution information for the objectives
int targetObjectiveIdx
the index of the objective function for which we are reporting solution information
std::vector< OtherOptimizationResult * > other
other is a pointer to an array of OtherOptimizationResult objects associated with this optimization s...
~OptimizationSolution()
Class destructor.
ConstraintSolution * constraints
constraints holds the solution information for the constraints
OptimizationSolutionStatus * status
status is a pointer to an OptimizationSolutionStatus object associated with this optimization solutio...
int numberOfOtherResults
the number of other results associated with this solution
std::string message
a message associated with this solution
The OptimizationSolutionStatus Class.
std::vector< OptimizationSolutionSubstatus * > substatus
a pointer to an array of substatus objects
int numberOfSubstatuses
the number of substatus objects
std::string description
a description of the solution status type
OptimizationSolutionStatus()
Default constructor.
std::string type
the type of solution status
~OptimizationSolutionStatus()
Class destructor.
The OptimizationSolutionSubstatus Class.
std::string namee
the name of the solution substatus
std::string description
a description of the solution substatus
~OptimizationSolutionSubstatus()
Class destructor.
OptimizationSolutionSubstatus()
Default constructor.
The OtherConResult Class.
int idx
idx is the index on the constraint
~OtherConResult()
Class destructor.
OtherConResult()
Default constructor.
std::string value
value is a value associated with the constraint indexed by idx, for example value might be the value ...
The OtherConstraintResult Class.
std::vector< OtherConResult * > con
std::string description
a brief description of the type of result
OtherConstraintResult()
Default constructor.
int numberOfCon
the number of constraints which have values for this particular type of result
~OtherConstraintResult()
Class destructor.
std::string name
the name of the result the user is defining
std::string value
this element allows a specific value associated with this particular type of result
The OtherObjResult Class.
~OtherObjResult()
Class destructor.
OtherObjResult()
Default constructor.
std::string value
value is a value associated with an objective function indexed by idx
int idx
idx is the index on a objective function
The OtherObjectiveResult Class.
std::string value
this element allows a specific value associated with this particular type of result
OtherObjectiveResult()
Default constructor.
std::string description
a brief description of the type of result
std::vector< OtherObjResult * > obj
int numberOfObj
the number of objectives which have values for this particular type of result
~OtherObjectiveResult()
Class destructor.
std::string name
the name of the result the user is defining
The OtherOptimizationResult Class.
std::string description
a brief description of the type of result
std::string value
this element allows a specific value associated with this particular type of result
~OtherOptimizationResult()
Class destructor.
OtherOptimizationResult()
Default constructor.
std::string name
the name of the result the user is defining
OtherVarResult()
Default constructor.
std::string value
value holds a general value associated with a variable, for example, rather than the value of a varia...
~OtherVarResult()
Class destructor.
int idx
the index of a variable in the solution
The OtherVariableResult Class.
OtherVariableResult()
Default constructor.
std::string value
this element allows a specific value associated with this particular type of result
~OtherVariableResult()
Class destructor.
std::string description
a brief description of the type of result
std::string name
the name of the result the user is defining
int numberOfVar
the number of variables which have values for this particular type of result
std::vector< OtherVarResult * > var
~ServiceResult()
Class destructor.
ServiceResult()
Default constructor.
~SystemResult()
Class destructor.
SystemResult()
Default constructor.
std::string type
The type of timer used (cpuTime/elapsedTime/other)
std::string unit
The unit of time (tick/millisecond/second/minute/hour/day/week/month/year)
std::string description
Further description on the timer used.
double value
The time measurement.
Time()
Default constructor.
std::string category
The category of time (total/input/preprocessing/optimization/postprocessing/output/other)
VarStringValue()
Default constructor.
~VarStringValue()
Class destructor.
int idx
idx is the index on variable in the solution
VarValue()
Default constructor.
int idx
idx is the index on variable in the solution
~VarValue()
Class destructor.
The VariableSolution Class.
VariableStringValues * valuesString
a pointer to an array of VariableStringValues objects
VariableSolution()
Default constructor.
OtherVariableResult ** other
a pointer to an array of other pointer objects for variables
int numberOfOtherVariableResults
the number of types of variable results other than the value of the variable
~VariableSolution()
Class destructor.
VariableValues * values
a pointer to a VariableValues object
The VariableStringValues Class.
~VariableStringValues()
Class destructor.
int numberOfVar
the number of variable values that are in the solution
std::vector< VarStringValue * > var
a vector of VarValue objects, there will be one for each variable in the solution
VariableStringValues()
Default constructor.
The VariableValues Class.
VariableValues()
Default constructor.
int numberOfVar
the number of variable values that are in the solution
~VariableValues()
Class destructor.
std::vector< VarValue * > var
a vector of VarValue objects, there will be one for each variable in the solution