Getting Calculation Results
The results are available after the calculation finished with one of successful (positive) states. There are five functions and their usage is obvious:
double PrimalObjective()
Function returns the primal objective function value.
double DualObjective()
Function returns the dual objective function value.
double PrimalValue(int Index)
Function returns value of the primal variable with the specified index. Index varies from 0 to GetVariableCount() – 1.
double DualValue(int Index)
Function returns value of the dual variable with the specified constraint index. Index varies from 0 to GetConstraintCount() – 1.
double ReducedCostValue(int Index)
Function returns value of the primal variable with the specified index. Index varies from 0 to GetVariableCount() – 1.
|