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