OSResult.h
Go to the documentation of this file.
1 /* $Id: OSResult.h 5284 2017-12-08 13:52:50Z stefan $ */
15 #ifndef OSRESULT_H
16 #define OSRESULT_H
17 #include <string>
18 #include <vector>
19 #include "OSGeneral.h"
20 #include "OSMatrix.h"
21 
22 //#define DEBUG
23 
24 
30 {
34  int idx;
35 
38  std::string value;
39 
40 };
41 
42 
55 {
56 
57 public:
58 
60  std::string name;
61 
63  std::string description;
64 
75 
80  bool IsEqual(GeneralSubstatus *that);
81 
89  bool setRandom(double density, bool conformant);
90 
91 };//GeneralSubstatus
92 
93 
106 {
107 
108 public:
109 
112 
114  std::string type;
115 
117  std::string description;
118 
121 
126  GeneralStatus();
131  ~GeneralStatus();
132 
137  bool IsEqual(GeneralStatus *that);
138 
146  bool setRandom(double density, bool conformant);
147 
148 };//GeneralStatus
149 
150 
163 {
164 
165 public:
166 
168  std::string name;
169 
171  std::string value;
172 
174  std::string description;
175 
180  OtherResult();
185  ~OtherResult();
186 
191  bool IsEqual(OtherResult *that);
192 
200  bool setRandom(double density, bool conformant);
201 
202 };//OtherResult
203 
204 
217 {
218 
219 public:
220 
223 
226 
231  OtherResults();
236  ~OtherResults();
237 
242  bool IsEqual(OtherResults *that);
243 
251  bool setRandom(double density, bool conformant);
252 
253 };//OtherResults
254 
267 {
268 public:
269 
273 
276  std::string message;
277 
281  std::string serviceURI;
282 
286  std::string serviceName;
287 
290  std::string instanceName;
291 
295  std::string jobID;
296 
299  std::string solverInvoked;
300 
303  std::string timeStamp;
304 
308 
309 
314  GeneralResult();
319  ~GeneralResult();
320 
325  bool IsEqual(GeneralResult *that);
326 
334  bool setRandom(double density, bool conformant);
335 };//class GeneralResult
336 
337 
350 {
351 public:
352 
354  std::string systemInformation;
355 
359 
363 
367 
371 
375 
380  SystemResult();
385  ~SystemResult();
386 
391  bool IsEqual(SystemResult *that);
392 
400  bool setRandom(double density, bool conformant);
401 };//class SystemResult
402 
403 
416 {
417 public:
418 
420  std::string currentState;
421 
424 
427 
429  std::string timeServiceStarted;
430 
433 
437 
442  ServiceResult();
447  ~ServiceResult();
448 
453  bool IsEqual(ServiceResult *that);
454 
462  bool setRandom(double density, bool conformant);
463 };//class ServiceResult
464 
465 #if 0
466 
478 class Time
479 {
480 public:
481 
485  std::string type;
486 
490  std::string category;
491 
495  std::string unit;
496 
500  std::string description;
501 
505  double value;
506 
511  Time();
516  ~Time();
517 
522  bool IsEqual(Time *that);
523 
531  bool setRandom(double density, bool conformant);
532 };//class Time
533 #endif
534 
546 class TimeMeasurement : public TimeSpan
547 {
548 public:
549 
553  std::string type;
554 
558  std::string category;
559 
563  std::string description;
564 
569  TimeMeasurement();
575 
580  bool IsEqual(TimeMeasurement *that);
581 
589  bool setRandom(double density, bool conformant);
590 };//class TimeMeasurement
591 
592 
605 {
606 public:
607 
613 
619 
630 
635  bool IsEqual(TimingInformation *that);
636 
644  bool setRandom(double density, bool conformant);
645 };//class TimingInformation
646 
647 
660 {
661 public:
662 
664  std::string status;
665 
667  std::string submitTime;
668 
670  std::string scheduledStartTime;
671 
673  std::string actualStartTime;
674 
676  std::string endTime;
677 
680 
684 
689 
693 
697 
701 
706  JobResult();
711  ~JobResult();
712 
717  bool IsEqual(JobResult *that);
718 
726  bool setRandom(double density, bool conformant);
727 };//class JobResult
728 
729 
730 
731 
744 {
745 public:
746 
748  std::string type;
749 
751  std::string description;
752 
762 
768 
776  bool setRandom(double density, bool conformant);
777 
778 };//OptimizationSolutionSubstatus
779 
780 
793 {
794 public:
795 
798 
800  std::string type;
801 
803  std::string description;
804 
807 
817 
823 
831  bool setRandom(double density, bool conformant);
832 
833 };//OptimizationSolutionStatus
834 
835 
847 class VarValue
848 {
849 public:
850 
852  int idx;
853 
855  std::string name;
856 
857  /* value is the value of the variable indexed by idx
858  * in the solution
859  */
860  double value;
861 
866  VarValue();
871  ~VarValue();
872 
877  bool IsEqual(VarValue *that);
878 
886  bool setRandom(double density, bool conformant);
887 
888 };// class VarValue
889 
890 
902 {
903 public:
904 
908 
913 
914 
919  VariableValues();
920 
925  ~VariableValues();
926 
931  bool IsEqual(VariableValues *that);
932 
940  bool setRandom(double density, bool conformant);
941 
942 };// class VariableValues
943 
944 
957 {
958 public:
959 
961  int idx;
962 
964  std::string name;
965 
966  /* value is the value of the variable indexed by idx
967  * in the solution
968  */
969  std::string value;
970 
975  VarValueString();
976 
981  ~VarValueString();
982 
987  bool IsEqual(VarValueString *that);
988 
996  bool setRandom(double density, bool conformant);
997 
998 };// class VarValueString
999 
1000 
1012 {
1013 public:
1014 
1018 
1023 
1024 
1030 
1036 
1041  bool IsEqual(VariableValuesString *that);
1042 
1050  bool setRandom(double density, bool conformant);
1051 
1052 };// class VariableValuesString
1053 
1054 
1066 {
1067 public:
1068 
1070  int idx;
1071 
1073  std::string name;
1074 
1081  std::string value;
1082 
1087  OtherVarResult();
1092  ~OtherVarResult();
1093 
1098  bool IsEqual(OtherVarResult *that);
1099 
1107  bool setRandom(double density, bool conformant);
1108 
1109 };//OtherVarResult
1110 
1111 
1112 
1125 {
1126 public:
1127 
1132 
1137 
1139  std::string name;
1140 
1144  std::string value;
1145 
1147  std::string type;
1148 
1150  std::string description;
1151 
1153  std::string solver;
1154 
1156  std::string category;
1157 
1158  /* a pointer to OtherVarResult objects that will
1159  * give for each variable the index and value for
1160  * this user defined variable result
1161  */
1163 
1165  std::string varType;
1166 
1167  /* a pointer to OtherOptionOrResultEnumeration objects that will
1168  * give for each distinct value the set of indices for
1169  * this user defined variable result
1170  */
1172 
1174  std::string enumType;
1175 
1181 
1187 
1192  bool IsEqual(OtherVariableResult *that);
1193 
1201  bool setRandom(double density, bool conformant);
1202 
1203 };//OtherVariableResult
1204 
1205 
1218 {
1219 public:
1220 
1225 
1228 
1231 
1234 
1239 
1244  VariableSolution();
1245 
1251 
1256  bool IsEqual(VariableSolution *that);
1257 
1265  bool setRandom(double density, bool conformant);
1266 
1267 };// class VariableSolution
1268 
1269 
1282 {
1283 public:
1284 
1286  int idx;
1287 
1289  std::string name;
1290 
1292  double value;
1293 
1298  ObjValue();
1299 
1304  ~ObjValue();
1305 
1310  bool IsEqual(ObjValue *that);
1311 
1319  bool setRandom(double density, bool conformant);
1320 };//ObjValue
1321 
1333 {
1334 public:
1335 
1339 
1345 
1350  ObjectiveValues();
1351 
1356  ~ObjectiveValues();
1357 
1362  bool IsEqual(ObjectiveValues *that);
1363 
1371  bool setRandom(double density, bool conformant);
1372 
1373 };//ObjectiveValues
1374 
1375 
1388 {
1389 public:
1390 
1392  int idx;
1393 
1395  std::string name;
1396 
1400  std::string value;
1401 
1406  OtherObjResult();
1407 
1412  ~OtherObjResult();
1413 
1418  bool IsEqual(OtherObjResult *that);
1419 
1427  bool setRandom(double density, bool conformant);
1428 
1429 };//OtherObjResult
1430 
1431 
1444 {
1445 public:
1446 
1451 
1456 
1458  std::string name;
1459 
1463  std::string value;
1464 
1466  std::string type;
1467 
1469  std::string description;
1470 
1472  std::string solver;
1473 
1475  std::string category;
1476 
1477  /* a pointer to OtherObjResult objects that will
1478  * give for each objective function the index and
1479  * value for this user defined objective function result
1480  */
1482 
1484  std::string objType;
1485 
1486  /* a pointer to OtherOptionOrResultEnumeration objects that will
1487  * give for each distinct value the set of indices for
1488  * this user defined variable result
1489  */
1491 
1493  std::string enumType;
1494 
1500 
1506 
1511  bool IsEqual(OtherObjectiveResult *that);
1512 
1520  bool setRandom(double density, bool conformant);
1521 
1522 };//OtherObjectiveResult
1523 
1524 
1525 
1538 {
1539 public:
1540 
1545 
1548 
1551 
1556 
1562 
1568 
1573  bool IsEqual(ObjectiveSolution *that);
1574 
1582  bool setRandom(double density, bool conformant);
1583 
1584 };//ObjectiveSolution
1585 
1586 
1587 
1599 {
1600 public:
1601 
1603  int idx;
1604 
1606  std::string name;
1607 
1611  double value;
1612 
1617  DualVarValue();
1618 
1623  ~DualVarValue();
1624 
1629  bool IsEqual(DualVarValue *that);
1630 
1638  bool setRandom(double density, bool conformant);
1639 
1640 };//DualVarValue
1641 
1642 
1643 
1655 {
1656 public:
1657 
1661 
1667 
1673 
1679 
1684  bool IsEqual(DualVariableValues *that);
1685 
1693  bool setRandom(double density, bool conformant);
1694 
1695 };//DualVariableValues
1696 
1697 
1710 {
1711 public:
1712 
1714  int idx;
1715 
1717  std::string name;
1718 
1724  std::string value;
1725 
1730  OtherConResult();
1731 
1736  ~OtherConResult();
1737 
1742  bool IsEqual(OtherConResult *that);
1743 
1751  bool setRandom(double density, bool conformant);
1752 
1753 };//OtherConResult
1754 
1755 
1768 {
1769 public:
1770 
1775 
1780 
1782  std::string name;
1783 
1787  std::string value;
1788 
1790  std::string type;
1791 
1793  std::string description;
1794 
1796  std::string solver;
1797 
1799  std::string category;
1800 
1801  /* a vector of OtherConResult objects that will
1802  * give for each constraint the index and
1803  * value for this user defined objective function result
1804  */
1806 
1808  std::string conType;
1809 
1810  /* a pointer to OtherOptionOrResultEnumeration objects that will
1811  * give for each distinct value the set of indices for
1812  * this user defined variable result
1813  */
1815 
1817  std::string enumType;
1818 
1824 
1830 
1835  bool IsEqual(OtherConstraintResult *that);
1836 
1844  bool setRandom(double density, bool conformant);
1845 
1846 };//OtherConstraintResult
1847 
1848 
1861 {
1862 
1863 public:
1864 
1869 
1872 
1875 
1880 
1886 
1892 
1897  bool IsEqual(ConstraintSolution *that);
1898 
1906  bool setRandom(double density, bool conformant);
1907 
1908 };//ConstraintSolution
1909 
1915 {
1916 public:
1919 
1922 
1925 
1928 
1932  bool IsEqual(MatrixVariableValues *that);
1933 }; // MatrixVariableValues
1934 
1940 {
1941 public:
1943  std::string name;
1944 
1946  std::string description;
1947  std::string value;
1948  std::string type;
1949  std::string solver;
1950  std::string category;
1951 
1954 
1956  std::string matrixType;
1957 
1960 
1963 
1965  std::string enumType;
1966 
1971 
1974 
1976  OtherMatrixVariableResult(std::string name_);
1977 
1980 
1984  bool IsEqual(OtherMatrixVariableResult *that);
1985 }; // OtherMatrixVariableResult
1986 
1987 
1993 {
1994 public:
1997 
2000 
2003 
2006 
2009 
2013  bool IsEqual(MatrixVariableSolution *that);
2014 }; // MatrixVariableSolution
2015 
2016 
2022 {
2023 public:
2026 
2029 
2032 
2035 
2039  bool IsEqual(MatrixObjectiveSolution *that);
2040 }; // MatrixObjectiveSolution
2041 
2042 
2048 {
2049 public:
2052 
2055 
2058 
2061 
2065  bool IsEqual(MatrixConstraintSolution *that);
2066 }; // MatrixConstraintSolution
2067 
2068 
2069 class OtherSolutionResult; //forward declaration
2070 
2076 {
2077 public:
2080 
2083 
2086 
2089 
2092 
2093 
2096 
2099 
2103  bool IsEqual(MatrixProgrammingSolution *that);
2104 
2114  bool setRandom(double density, bool conformant, int iMin, int iMax);
2115 
2122 }; // MatrixProgrammingSolution
2123 
2124 
2137 {
2138 public:
2139 
2141  std::string name;
2142 
2144  std::string value;
2145 
2149  std::string category;
2150 
2152  std::string description;
2153 
2157 
2160  std::string *item;
2161 
2167 
2173 
2178  bool IsEqual(OtherSolutionResult *that);
2179 
2187  bool setRandom(double density, bool conformant);
2188 
2189 };//OtherSolutionResult
2190 
2191 
2192 
2193 
2206 {
2207 public:
2208 
2211 
2216 
2222 
2228 
2233  bool IsEqual(OtherSolutionResults *that);
2234 
2242  bool setRandom(double density, bool conformant);
2243 
2244 };//OtherSolutionResults
2245 
2246 
2247 
2264 {
2265 public:
2266 
2271 
2275  std::string targetObjectiveName;
2276 
2279 
2284 
2286  std::string message;
2287 
2296 
2301 
2307 
2312 
2318 
2324 
2329  bool IsEqual(OptimizationSolution *that);
2330 
2338  bool setRandom(double density, bool conformant);
2339 
2340 };// class OptimizationSolution
2341 
2342 
2355 {
2356 public:
2357 
2359  std::string name;
2360 
2364  std::string category;
2365 
2367  std::string description;
2368 
2372 
2375  std::string *item;
2376 
2381  SolverOutput();
2382 
2387  ~SolverOutput();
2388 
2393  bool IsEqual(SolverOutput *that);
2394 
2402  bool setRandom(double density, bool conformant);
2403 
2404 };//SolverOutput
2405 
2406 
2407 
2420 {
2421 public:
2422 
2426 
2430 
2436 
2442 
2447  bool IsEqual(OtherSolverOutput *that);
2448 
2456  bool setRandom(double density, bool conformant);
2457 
2458 };//OtherSolverOutput
2459 
2460 
2461 
2474 {
2475 public:
2476 
2481 
2486 
2491 
2496 
2501 
2506 
2512 
2518 
2523  bool IsEqual(OptimizationResult *that);
2524 
2532  bool setRandom(double density, bool conformant);
2533 
2534 };// class OptimizationResult
2535 
2536 
2537 
2549 {
2550 
2551 public:
2552 
2557 
2562 
2567 
2572 
2577 
2582 
2587  OSResult();
2588 
2593  ~OSResult();
2594 
2595 
2606  bool setHeader(std::string name, std::string source,
2607  std::string fileCreator, std::string description, std::string licence);
2608 
2609 public:
2610 
2615 
2620 
2625 
2630 
2635 
2640 
2641 
2642  std::vector<IndexValuePair*> primalVals;
2643 
2644  std::vector<IndexValuePair*> dualVals;
2645 
2646 
2647 public:
2652  bool IsEqual(OSResult *that);
2653 
2654 
2662  bool setRandom(double density, bool conformant);
2663 
2664 
2665 
2666 public:
2667 
2674 
2681  std::string getGeneralStatusType();
2682 
2688  std::string getGeneralStatusDescription();
2689 
2696 
2703  std::string getGeneralSubstatusName(int i);
2704 
2711  std::string getGeneralSubstatusDescription(int i);
2712 
2718  std::string getGeneralMessage();
2719 
2725  std::string getServiceName();
2726 
2732  std::string getServiceURI();
2733 
2739  std::string getInstanceName();
2740 
2746  std::string getJobID();
2747 
2753  std::string getSolverInvoked();
2754 
2760  std::string getTimeStamp();
2761 
2768 
2775  std::string getOtherGeneralResultName(int idx);
2776 
2777  /* */
2778  std::string getOtherGeneralResultValue(int idx);
2779  /* */
2780  std::string getOtherGeneralResultDescription(int idx);
2781  /* */
2782  std::string getSystemInformation();
2783  /* */
2784  std::string getAvailableDiskSpaceUnit();
2785  /* */
2786  std::string getAvailableDiskSpaceDescription();
2787  /* */
2788  double getAvailableDiskSpaceValue();
2789  /* */
2790  std::string getAvailableMemoryUnit();
2791  /* */
2792  std::string getAvailableMemoryDescription();
2793  /* */
2794  double getAvailableMemoryValue();
2795  /* */
2796  std::string getAvailableCPUSpeedUnit();
2797  /* */
2798  std::string getAvailableCPUSpeedDescription();
2799  /* */
2800  double getAvailableCPUSpeedValue();
2801  /* */
2802  std::string getAvailableCPUNumberDescription();
2803  /* */
2805  /* */
2807  /* */
2808  std::string getOtherSystemResultName(int idx);
2809  /* */
2810  std::string getOtherSystemResultValue(int idx);
2811  /* */
2812  std::string getOtherSystemResultDescription(int idx);
2813  /* */
2814  std::string getCurrentState();
2815  /* */
2816  int getCurrentJobCount();
2817  /* */
2818  int getTotalJobsSoFar();
2819  /* */
2820  std::string getTimeServiceStarted();
2821  /* */
2822  double getServiceUtilization();
2823  /* */
2825  /* */
2826  std::string getOtherServiceResultName(int idx);
2827  /* */
2828  std::string getOtherServiceResultValue(int idx);
2829  /* */
2830  std::string getOtherServiceResultDescription(int idx);
2831  /* */
2832  std::string getJobStatus();
2833  /* */
2834  std::string getJobSubmitTime();
2835  /* */
2836  std::string getScheduledStartTime();
2837  /* */
2838  std::string getActualStartTime();
2839  /* */
2840  std::string getJobEndTime();
2841 
2847  int getTimeNumber();
2848 
2855  double getTimeValue();
2856 
2857  /* */
2858  int getNumberOfTimes();
2859  /* */
2860  std::string getTimingInfoUnit(int idx);
2861  /* */
2862  std::string getTimingInfoType(int idx);
2863  /* */
2864  std::string getTimingInfoCategory(int idx);
2865  /* */
2866  std::string getTimingInfoDescription(int idx);
2867  /* */
2868  double getTimingInfoValue(int idx);
2869  /* */
2870  std::string getUsedDiskSpaceUnit();
2871  /* */
2872  std::string getUsedDiskSpaceDescription();
2873  /* */
2874  double getUsedDiskSpaceValue();
2875  /* */
2876  std::string getUsedMemoryUnit();
2877  /* */
2878  std::string getUsedMemoryDescription();
2879  /* */
2880  double getUsedMemoryValue();
2881  /* */
2882  std::string getUsedCPUSpeedUnit();
2883  /* */
2884  std::string getUsedCPUSpeedDescription();
2885  /* */
2886  double getUsedCPUSpeedValue();
2887  /* */
2888  std::string getUsedCPUNumberDescription();
2889  /* */
2890  int getUsedCPUNumberValue();
2891  /* */
2893  /* */
2894  std::string getOtherJobResultName(int idx);
2895  /* */
2896  std::string getOtherJobResultValue(int idx);
2897  /* */
2898  std::string getOtherJobResultDescription(int idx);
2899 
2905  int getVariableNumber();
2906 
2912  int getObjectiveNumber();
2913 
2919  int getConstraintNumber();
2920 
2926  int getSolutionNumber();
2927 
2928 
2938 
2948  std::string getSolutionStatusType(int solIdx);
2949 
2956  std::string getSolutionStatusDescription(int solIdx);
2957 
2958  /* */
2959  int getNumberOfSolutionSubstatuses(int solIdx);
2960  /* */
2961  std::string getSolutionSubstatusType(int solIdx, int substatusIdx);
2962  /* */
2963  std::string getSolutionSubstatusDescription(int solIdx, int substatusIdx);
2964  /* */
2965  int getSolutionTargetObjectiveIdx(int solIdx);
2966  /* */
2967  std::string getSolutionTargetObjectiveName(int solIdx);
2968 
2975  bool getSolutionWeightedObjectives(int solIdx);
2976 
2983  std::string getSolutionMessage(int solIdx);
2984 
2985  /* */
2986  int getNumberOfPrimalVariableValues(int solIdx);
2987  /* */
2988  int getNumberOfVarValues(int solIdx);
2989  /* */
2990  int getVarValueIdx(int solIdx, int varIdx);
2991  /* */
2992  std::string getVarValueName(int solIdx, int varIdx);
2993  /* */
2994  double getVarValue(int solIdx, int varIdx);
2995 
3002  std::vector<IndexValuePair*> getOptimalPrimalVariableValues(int solIdx);
3003 
3004  /* */
3005  int getNumberOfVarValuesString(int solIdx);
3006  /* */
3007  int getVarValueStringIdx(int solIdx, int varIdx);
3008  /* */
3009  std::string getVarValueStringName(int solIdx, int varIdx);
3010  /* */
3011  std::string getVarValueString(int solIdx, int varIdx);
3012 
3021  int getBasisStatusNumberOfEl(int solIdx, int object, int status);
3022 
3032  int getBasisStatusEl(int solIdx, int object, int status, int j);
3033 
3034 
3048  int getBasisInformationDense(int solIdx, int object, int* resultArray, int dim);
3049 
3055  int getNumberOfOtherVariableResults( int solIdx);
3056 
3062  int getAnOtherVariableResultNumberOfVar(int solIdx, int iOther);
3063 
3064  /* */
3065  std::string getOtherVariableResultName(int solIdx, int otherIdx);
3066  /* */
3067  std::string getOtherVariableResultType(int solIdx, int otherIdx);
3068  /* */
3069  std::string getOtherVariableResultValue(int solIdx, int otherIdx);
3070  /* */
3071  std::string getOtherVariableResultDescription(int solIdx, int otherIdx);
3072  /* */
3073  int getOtherVariableResultNumberOfVar(int solIdx, int otherIdx);
3074  /* */
3075  int getOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx);
3076  /* */
3077  int getOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx);
3078  /* */
3079  std::string getOtherVariableResultVar(int solIdx, int otherIdx, int varIdx);
3080 
3088  std::string getOtherVariableResultArrayType(int solIdx,int otherIdx);
3089 
3097  std::string getOtherVariableResultEnumerationValue(int solIdx,int otherIdx, int enumIdx);
3098 
3106  std::string getOtherVariableResultEnumerationDescription(int solIdx,int otherIdx, int enumIdx);
3107 
3115  int getOtherVariableResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx);
3116 
3125  int getOtherVariableResultEnumerationEl(int solIdx,int otherIdx, int enumIdx, int j);
3126 
3139  int getOtherVariableResultArrayDense(int solIdx, int otherIdx, std::string* resultArray, int dim);
3140 
3141 
3142  /* */
3143  int getNumberOfObjValues(int solIdx);
3144  /* */
3145  int getObjValueIdx(int solIdx, int objIdx);
3146  /* */
3147  std::string getObjValueName(int solIdx, int objIdx);
3148  /* */
3149  double getObjValue(int solIdx, int objIdx);
3150 
3158  double getOptimalObjValue(int objIdx, int solIdx);
3159 
3160  /* */
3161  int getNumberOfOtherObjectiveResults(int solIdx);
3162  /* */
3163  std::string getOtherObjectiveResultName(int solIdx, int otherIdx);
3164  /* */
3165  std::string getOtherObjectiveResultType(int solIdx, int otherIdx);
3166  /* */
3167  std::string getOtherObjectiveResultValue(int solIdx, int otherIdx);
3168  /* */
3169  std::string getOtherObjectiveResultDescription(int solIdx, int otherIdx);
3170  /* */
3171  int getOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx);
3172  /* */
3173  int getOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx);
3174  /* */
3175  int getOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx);
3176  /* */
3177  std::string getOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx);
3178 
3186  std::string getOtherObjectiveResultArrayType(int solIdx,int otherIdx);
3187 
3195  std::string getOtherObjectiveResultEnumerationValue(int solIdx,int otherIdx, int enumIdx);
3196 
3204  std::string getOtherObjectiveResultEnumerationDescription(int solIdx,int otherIdx, int enumIdx);
3205 
3213  int getOtherObjectiveResultEnumerationNumberOfEl(int solIdx,int otherIdx, int enumIdx);
3214 
3223  int getOtherObjectiveResultEnumerationEl(int solIdx,int otherIdx, int enumIdx, int j);
3224 
3237  int getOtherObjectiveResultArrayDense(int solIdx, int otherIdx, std::string* resultArray, int dim);
3238 
3239 
3240  /* */
3241  int getNumberOfDualValues(int solIdx);
3242  /* */
3243  int getDualValueIdx(int solIdx, int conIdx);
3244  /* */
3245  std::string getDualValueName(int solIdx, int objIdx);
3246  /* */
3247  double getDualValue(int solIdx, int conIdx);
3248 
3255  std::vector<IndexValuePair*> getOptimalDualVariableValues(int solIdx);
3256 
3257  /* */
3258  int getNumberOfOtherConstraintResults(int solIdx);
3259  /* */
3260  std::string getOtherConstraintResultName(int solIdx, int otherIdx);
3261  /* */
3262  std::string getOtherConstraintResultType(int solIdx, int otherIdx);
3263  /* */
3264  std::string getOtherConstraintResultValue(int solIdx, int otherIdx);
3265  /* */
3266  std::string getOtherConstraintResultDescription(int solIdx, int otherIdx);
3267  /* */
3268  int getOtherConstraintResultNumberOfCon(int solIdx, int otherIdx);
3269  /* */
3270  int getOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx);
3271  /* */
3272  int getOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx);
3273  /* */
3274  std::string getOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx);
3275 
3276 
3284  std::string getOtherConstraintResultArrayType(int solIdx,int otherIdx);
3285 
3293  std::string getOtherConstraintResultEnumerationValue(int solIdx,int otherIdx, int enumIdx);
3294 
3302  std::string getOtherConstraintResultEnumerationDescription(int solIdx,int otherIdx, int enumIdx);
3303 
3311  int getOtherConstraintResultEnumerationNumberOfEl(int solIdx,int otherIdx, int enumIdx);
3312 
3321  int getOtherConstraintResultEnumerationEl(int solIdx,int otherIdx, int enumIdx, int j);
3322 
3338  int getOtherConstraintResultArrayDense(int solIdx, int otherIdx, std::string* resultArray, int dim);
3339 
3340 
3341 
3342  /* */
3343  int getNumberOfOtherSolutionResults(int solIdx);
3344  /* */
3345  std::string getOtherSolutionResultName(int solIdx, int otherIdx);
3346  /* */
3347  std::string getOtherSolutionResultValue(int solIdx, int otherIdx);
3348  /* */
3349  std::string getOtherSolutionResultCategory(int solIdx, int otherIdx);
3350  /* */
3351  std::string getOtherSolutionResultDescription(int solIdx, int otherIdx);
3352  /* */
3353  int getOtherSolutionResultNumberOfItems(int solIdx, int otherIdx);
3354  /* */
3355  std::string getOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx);
3356  /* */
3358  /* */
3359  std::string getSolverOutputName(int otherIdx);
3360  /* */
3361  std::string getSolverOutputCategory(int otherIdx);
3362  /* */
3363  std::string getSolverOutputDescription(int otherIdx);
3364  /* */
3365  int getSolverOutputNumberOfItems(int otherIdx);
3366  /* */
3367  std::string getSolverOutputItem(int otherIdx, int itemIdx);
3368 
3369  // set() methods
3370  //
3371 
3378  bool setGeneralStatus(GeneralStatus *status);
3379 
3387  bool setGeneralStatusType(std::string type);
3388 
3395  bool setNumberOfGeneralSubstatuses(int num);
3396 
3403  bool setGeneralStatusDescription(std::string description);
3404 
3412  bool setGeneralSubstatusName(int idx, std::string name);
3413 
3421  bool setGeneralSubstatusDescription(int idx, std::string description);
3422 
3429  bool setGeneralMessage(std::string message);
3430 
3437  bool setServiceName(std::string serviceName);
3438 
3445  bool setServiceURI(std::string serviceURI);
3446 
3453  bool setInstanceName(std::string instanceName);
3454 
3461  bool setJobID(std::string jobID);
3462 
3469  bool setSolverInvoked(std::string solverInvoked);
3470 
3477  bool setTimeStamp(std::string timeStamp);
3478 
3485  bool setNumberOfOtherGeneralResults(int num);
3486 
3494  bool setOtherGeneralResultName(int idx, std::string name);
3495 
3503  bool setOtherGeneralResultValue(int idx, std::string value);
3504 
3512  bool setOtherGeneralResultDescription(int idx, std::string description);
3513 
3520  bool setSystemInformation(std::string systemInformation);
3521 
3528  bool setAvailableDiskSpaceUnit(std::string unit);
3529 
3536  bool setAvailableDiskSpaceDescription(std::string description);
3537 
3544  bool setAvailableDiskSpaceValue(double value);
3545 
3552  bool setAvailableMemoryUnit(std::string unit);
3553 
3560  bool setAvailableMemoryDescription(std::string description);
3561 
3568  bool setAvailableMemoryValue(double value);
3569 
3576  bool setAvailableCPUSpeedUnit(std::string unit);
3577 
3584  bool setAvailableCPUSpeedDescription(std::string description);
3585 
3592  bool setAvailableCPUSpeedValue(double value);
3593 
3600  bool setAvailableCPUNumberDescription(std::string description);
3601 
3608  bool setAvailableCPUNumberValue(int value);
3609 
3616  bool setNumberOfOtherSystemResults(int num);
3617 
3625  bool setOtherSystemResultName(int idx, std::string name);
3626 
3634  bool setOtherSystemResultValue(int idx, std::string value);
3635 
3643  bool setOtherSystemResultDescription(int idx, std::string description);
3644 
3651  bool setCurrentState(std::string currentState);
3652 
3659  bool setCurrentJobCount(int jobCount);
3660 
3667  bool setTotalJobsSoFar(int number);
3668 
3675  bool setTimeServiceStarted(std::string startTime);
3676 
3684  bool setServiceUtilization(double value);
3685 
3686 
3693  bool setNumberOfOtherServiceResults(int num);
3694 
3702  bool setOtherServiceResultName(int idx, std::string name);
3703 
3711  bool setOtherServiceResultValue(int idx, std::string value);
3712 
3720  bool setOtherServiceResultDescription(int idx, std::string description);
3721 
3722 
3729  bool setJobStatus(std::string status);
3730 
3737  bool setJobSubmitTime(std::string submitTime);
3738 
3745  bool setScheduledStartTime(std::string scheduledStartTime);
3746 
3753  bool setActualStartTime(std::string actualStartTime);
3754 
3761  bool setJobEndTime(std::string endTime);
3762 
3763 
3770  bool setTime(double time);
3771 
3782  bool addTimingInformation(std::string type, std::string category,
3783  std::string unit, std::string description, double value);
3784 
3797  bool setTimingInformation(int idx, std::string type, std::string category,
3798  std::string unit, std::string description, double value);
3799 
3806  bool setNumberOfTimes(int numberOfTimes);
3807 
3814  bool setTimeNumber(int timeNumber);
3815 
3822  bool setUsedDiskSpaceUnit(std::string unit);
3823 
3830  bool setUsedDiskSpaceDescription(std::string description);
3831 
3838  bool setUsedDiskSpaceValue(double value);
3839 
3846  bool setUsedMemoryUnit(std::string unit);
3847 
3854  bool setUsedMemoryDescription(std::string description);
3855 
3862  bool setUsedMemoryValue(double value);
3863 
3870  bool setUsedCPUSpeedUnit(std::string unit);
3871 
3878  bool setUsedCPUSpeedDescription(std::string description);
3879 
3886  bool setUsedCPUSpeedValue(double value);
3887 
3894  bool setUsedCPUNumberDescription(std::string description);
3895 
3902  bool setUsedCPUNumberValue(int value);
3903 
3910  bool setNumberOfOtherJobResults(int num);
3911 
3919  bool setOtherJobResultName(int idx, std::string name);
3920 
3928  bool setOtherJobResultValue(int idx, std::string value);
3929 
3937  bool setOtherJobResultDescription(int idx, std::string description);
3938 
3939 
3946  bool setVariableNumber(int variableNumber);
3947 
3954  bool setObjectiveNumber(int objectiveNumber);
3955 
3962  bool setConstraintNumber(int constraintNumber);
3963 
3976  bool setSolutionNumber(int number);
3977 
3978 
3991  bool setSolutionStatus(int solIdx, std::string type, std::string description);
3992 
4000  bool setSolutionStatusType(int solIdx, std::string type);
4001 
4009  bool setNumberOfSolutionSubstatuses(int solIdx, int num);
4010 
4018  bool setSolutionStatusDescription(int solIdx, std::string description);
4019 
4028  bool setSolutionSubstatusType(int solIdx, int substatusIdx, std::string type);
4029 
4038  bool setSolutionSubstatusDescription(int solIdx, int substatusIdx, std::string description);
4039 
4040 
4054  bool setSolutionTargetObjectiveIdx(int solIdx, int objectiveIdx);
4055 
4067  bool setSolutionTargetObjectiveName(int solIdx, std::string objectiveName);
4068 
4078  bool setSolutionWeightedObjectives(int solIdx, bool weightedObjectives);
4079 
4091  bool setSolutionMessage(int solIdx, std::string msg);
4092 
4102  bool setNumberOfPrimalVariableValues(int solIdx, int n);
4103 
4114  bool setPrimalVariableValuesSparse(int solIdx, std::vector<IndexValuePair*> x);
4115 
4125  bool setPrimalVariableValuesDense(int solIdx, double *x);
4126 
4136  bool setNumberOfVarValues(int solIdx, int numberOfVar);
4137 
4150  bool setVarValue(int solIdx, int number, int idx, std::string name, double val);
4151 
4161  bool setNumberOfVarValuesString(int solIdx, int numberOfVar);
4162 
4175  bool setVarValueString(int solIdx, int number, int idx, std::string name, std::string str);
4176 
4177 
4193  bool setBasisStatus(int solIdx, int object, int status, int *i, int ni);
4194 
4211  bool setNumberOfOtherVariableResults(int solIdx, int numberOfOtherVariableResults);
4212 
4230  bool setAnOtherVariableResultSparse(int solIdx, int otherIdx, std::string name, std::string value, std::string description, int *idx, std::string *s, int n);
4231 
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);
4256 
4272  bool setAnOtherVariableResultDense(int solIdx, int otherIdx, std::string name, std::string value, std::string description, std::string *s);
4273 
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);
4296 
4310  bool setOtherVariableResultNumberOfVar(int solIdx, int otherIdx, int numberOfVar);
4311 
4325  bool setOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfEnumerations);
4326 
4340  bool setOtherVariableResultName(int solIdx, int otherIdx, std::string name);
4341 
4355  bool setOtherVariableResultType(int solIdx, int otherIdx, std::string type);
4356 
4370  bool setOtherVariableResultVarType(int solIdx, int otherIdx, std::string varType);
4371 
4385  bool setOtherVariableResultEnumType(int solIdx, int otherIdx, std::string enumType);
4386 
4400  bool setOtherVariableResultValue(int solIdx, int otherIdx, std::string value);
4401 
4415  bool setOtherVariableResultDescription(int solIdx, int otherIdx, std::string description);
4416 
4430  bool setOtherVariableResultSolver(int solIdx, int otherIdx, std::string solver);
4431 
4445  bool setOtherVariableResultCategory(int solIdx, int otherIdx, std::string category);
4446 
4461  bool setOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx, int idx);
4462 
4477  bool setOtherVariableResultVarName(int solIdx, int otherIdx, int varIdx, std::string name);
4478 
4493  bool setOtherVariableResultVar(int solIdx, int otherIdx, int varIdx, std::string value);
4494 
4514  bool setOtherOptionOrResultEnumeration(int solIdx, int otherIdx, int object, int enumIdx, std::string value, std::string description, int *i, int ni);
4515 
4532  bool setNumberOfOtherObjectiveResults(int solIdx, int numberOfOtherObjectiveResults);
4533 
4543  bool setNumberOfObjValues(int solIdx, int numberOfObj);
4544 
4554  bool setNumberOfObjectiveValues(int solIdx, int n);
4555 
4556 
4572  bool setObjectiveValuesSparse(int solIdx, std::vector<IndexValuePair*> x);
4573 
4588  bool setObjectiveValuesDense(int solIdx, double *objectiveValues);
4589 
4602  bool setObjValue(int solIdx, int number, int idx, std::string name, double val);
4603 
4617  bool setOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx, int numberOfObj);
4618 
4632  bool setOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfObj);
4633 
4647  bool setOtherObjectiveResultName(int solIdx, int otherIdx, std::string name);
4648 
4662  bool setOtherObjectiveResultType(int solIdx, int otherIdx, std::string type);
4663 
4677  bool setOtherObjectiveResultObjType(int solIdx, int otherIdx, std::string objType);
4678 
4692  bool setOtherObjectiveResultEnumType(int solIdx, int otherIdx, std::string enumType);
4693 
4707  bool setOtherObjectiveResultValue(int solIdx, int otherIdx, std::string value);
4708 
4723  bool setOtherObjectiveResultDescription(int solIdx, int otherIdx, std::string description);
4724 
4738  bool setOtherObjectiveResultSolver(int solIdx, int otherIdx, std::string solver);
4739 
4753  bool setOtherObjectiveResultCategory(int solIdx, int otherIdx, std::string category);
4754 
4769  bool setOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx, int idx);
4770 
4785  bool setOtherObjectiveResultObjName(int solIdx, int otherIdx, int objIdx, std::string name);
4786 
4801  bool setOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx, std::string value);
4802 
4819  bool setNumberOfOtherConstraintResults(int solIdx, int numberOfOtherConstraintResults);
4820 
4830  bool setNumberOfDualValues(int solIdx, int numberOfCon);
4831 
4832 
4842  bool setNumberOfDualVariableValues(int solIdx, int n);
4843 
4844 
4855  bool setDualVariableValuesSparse(int solIdx, std::vector<IndexValuePair*> x);
4856 
4857 
4866  bool setDualVariableValuesDense(int solIdx, double *y);
4867 
4877  bool setConstraintValuesDense(int solIdx, double *constraintValues);
4878 
4891  bool setDualValue(int solIdx, int number, int idx, std::string name, double val);
4892 
4906  bool setOtherConstraintResultNumberOfCon(int solIdx, int otherIdx, int numberOfCon);
4907 
4921  bool setOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfCon);
4922 
4936  bool setOtherConstraintResultName(int solIdx, int otherIdx, std::string name);
4937 
4951  bool setOtherConstraintResultType(int solIdx, int otherIdx, std::string type);
4952 
4967  bool setOtherConstraintResultConType(int solIdx, int otherIdx, std::string conType);
4968 
4982  bool setOtherConstraintResultEnumType(int solIdx, int otherIdx, std::string enumType);
4983 
4997  bool setOtherConstraintResultValue(int solIdx, int otherIdx, std::string value);
4998 
5012  bool setOtherConstraintResultDescription(int solIdx, int otherIdx, std::string description);
5013 
5027  bool setOtherConstraintResultSolver(int solIdx, int otherIdx, std::string solver);
5028 
5042  bool setOtherConstraintResultCategory(int solIdx, int otherIdx, std::string category);
5043 
5058  bool setOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx, int idx);
5059 
5074  bool setOtherConstraintResultConName(int solIdx, int otherIdx, int conIdx, std::string name);
5075 
5090  bool setOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx, std::string value);
5091 
5107  bool setMatrixVariableSolution(int solIdx, int numberOfMatrixVar_,
5108  int numberOfOtherMatrixVariableResults_);
5109 
5130  bool setMatrixVarValuesAttributes(int solIdx, int idx, int matrixVarIdx, int numberOfRows,
5131  int numberOfColumns, ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none,
5132  ENUM_MATRIX_TYPE type=ENUM_MATRIX_TYPE_unknown, std::string name="");
5133 
5156  bool setMatrixVarValuesBlockStructure(int solIdx, int idx, int* colOffset, int colOffsetSize,
5157  int* rowOffset, int rowOffsetSize, int numberOfBlocks, int blocksConstructorIdx=0);
5158 
5187  bool setMatrixVarValuesBlockElements(int solIdx, int idx, int blkno, int blkRowIdx, int blkColIdx,
5188  int nz, int* start, int* index, MatrixElementValues* value, ENUM_MATRIX_TYPE valueType,
5189  ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none, bool rowMajor=false);
5190 
5217  bool setMatrixVariablesOtherResultGeneralAttributes(int solIdx, int idx, std::string name,
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="");
5222 
5245  bool setMatrixVariablesOtherResultMatrixAttributes(int solIdx, int otherIdx, int matrixVarIdx,
5246  int numberOfRows, int numberOfColumns,
5248  ENUM_MATRIX_TYPE type=ENUM_MATRIX_TYPE_unknown, std::string name="");
5249 
5274  bool setMatrixVariablesOtherResultBlockStructure(int solIdx, int otherIdx, int matrixVarIdx,
5275  int* colOffset, int colOffsetSize, int* rowOffset, int rowOffsetSize,
5276  int numberOfBlocks, int blocksConstructorIdx=0);
5277 
5308  bool setMatrixVariablesOtherResultBlockElements(int solIdx, int otherIdx, int matrixVarIdx,
5309  int blkno, int blkRowIdx, int blkColIdx, int nz, int* start, int* index,
5310  MatrixElementValues* value, ENUM_MATRIX_TYPE valueType,
5311  ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none, bool rowMajor=false);
5312 
5331  bool setNumberOfOtherSolutionResults(int solIdx, int numberOfOtherSolutionResults);
5332 
5342  bool setOtherSolutionResultName(int solIdx, int otherIdx, std::string name);
5343 
5354  bool setOtherSolutionResultValue(int solIdx, int otherIdx, std::string value);
5355 
5365  bool setOtherSolutionResultCategory(int solIdx, int otherIdx, std::string category);
5366 
5376  bool setOtherSolutionResultDescription(int solIdx, int otherIdx, std::string description);
5377 
5387  bool setOtherSolutionResultNumberOfItems(int solIdx, int otherIdx, int numberOfItems);
5388 
5399  bool setOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx, std::string item);
5400 
5413  bool setAnOtherSolutionResult(int solIdx, std::string name, std::string value, std::string category,
5414  std::string description, int numberOfItems, std::string* item);
5415 
5424  bool setNumberOfSolverOutputs(int numberOfSolverOutputs);
5425 
5433  bool setSolverOutputName(int otherIdx, std::string name);
5434 
5442  bool setSolverOutputCategory(int otherIdx, std::string category);
5443 
5451  bool setSolverOutputDescription(int otherIdx, std::string description);
5452 
5461  bool setSolverOutputNumberOfItems(int otherIdx, int numberOfItems);
5462 
5471  bool setSolverOutputItem(int otherIdx, int itemIdx, std::string item);
5472 
5473 
5474 };
5475 #endif
5476 
The VariableValuesString Class.
Definition: OSResult.h:1011
bool IsEqual(OtherVarResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8757
bool setUsedDiskSpaceUnit(std::string unit)
Set the unit in which used disk space is measured.
Definition: OSResult.cpp:4570
OptimizationSolutionStatus * status
status is a pointer to an OptimizationSolutionStatus object associated with this optimization solutio...
Definition: OSResult.h:2283
OtherSolutionResult ** other
a pointer to the array of &lt;other&gt; children
Definition: OSResult.h:2082
int getObjectiveNumber()
Get objective number.
Definition: OSResult.cpp:2013
std::string getVarValueStringName(int solIdx, int varIdx)
Definition: OSResult.cpp:2273
VariableValues()
Default constructor.
Definition: OSResult.cpp:428
std::string getAvailableCPUSpeedUnit()
Definition: OSResult.cpp:1647
bool IsEqual(SolverOutput *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9616
~OSResult()
Class destructor.
Definition: OSResult.cpp:1402
bool setAvailableMemoryUnit(std::string unit)
Set the unit in which available memory is measured.
Definition: OSResult.cpp:4248
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9877
std::string getOtherObjectiveResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:3269
std::string getGeneralMessage()
Get the general message.
Definition: OSResult.cpp:1520
GeneralStatus * getGeneralStatus()
Get the general status.
Definition: OSResult.cpp:1473
double getTimingInfoValue(int idx)
Definition: OSResult.cpp:1863
bool setOtherJobResultDescription(int idx, std::string description)
Set the job otherResult description.
Definition: OSResult.cpp:4701
bool IsEqual(ServiceResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7874
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10160
int m_iVariableNumber
m_iVariableNumber holds the variable number.
Definition: OSResult.h:2614
int getNumberOfOtherObjectiveResults(int solIdx)
Definition: OSResult.cpp:3094
std::string description
the description of the other result
Definition: OSResult.h:174
bool weightedObjectives
a marker to track whether the objectives are weighted
Definition: OSResult.h:2278
bool IsEqual(VarValueString *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8617
int getOtherConstraintResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:3792
bool setNumberOfObjValues(int solIdx, int numberOfObj)
Set the number of objectives to be given a value.
Definition: OSResult.cpp:5719
std::string description
Further description on the timer used.
Definition: OSResult.h:563
std::string getDualValueName(int solIdx, int objIdx)
Definition: OSResult.cpp:3474
OtherConstraintResult ** other
a pointer to an array of other pointer objects for constraint functions
Definition: OSResult.h:1879
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10284
The TimingInformation Class.
Definition: OSResult.h:604
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...
Definition: OSResult.cpp:5958
OtherSolverOutput()
Default constructor.
Definition: OSResult.cpp:1307
std::string getTimingInfoDescription(int idx)
Definition: OSResult.cpp:1853
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10720
bool setGeneralStatusDescription(std::string description)
Set the general status description.
double getDualValue(int solIdx, int conIdx)
Definition: OSResult.cpp:3489
int getOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx)
Definition: OSResult.cpp:3189
The GeneralSubstatus Class.
Definition: OSResult.h:54
std::vector< IndexValuePair * > primalVals
Definition: OSResult.h:2642
bool setDualValue(int solIdx, int number, int idx, std::string name, double val)
Set a dual value.
Definition: OSResult.cpp:6379
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 &lt;MatrixConstraintSolution&gt; element.
Definition: OSResult.h:2047
std::string name
optional name
Definition: OSResult.h:1395
The OtherResults Class.
Definition: OSResult.h:216
double getUsedDiskSpaceValue()
Definition: OSResult.cpp:1887
bool setJobEndTime(std::string endTime)
Set the time when the job finished.
Definition: OSResult.cpp:4475
int numberOfVar
the number of variable values that are in the solution
Definition: OSResult.h:907
std::string value
value is a value associated with the constraint indexed by idx, for example value might be the value ...
Definition: OSResult.h:1724
int getNumberOfOtherGeneralResults()
Get the number of other results in the &lt;general&gt; element.
Definition: OSResult.cpp:1562
std::string getOtherServiceResultName(int idx)
Definition: OSResult.cpp:1756
bool setPrimalVariableValuesDense(int solIdx, double *x)
Set the [i]th optimization solution&#39;s primal variable values, where i equals the given solution index...
Definition: OSResult.cpp:5001
int getDualValueIdx(int solIdx, int conIdx)
Definition: OSResult.cpp:3459
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:700
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].
Definition: OSResult.cpp:7344
std::string value
this element allows a specific value associated with this particular type of result ...
Definition: OSResult.h:1787
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10682
std::string getGeneralStatusType()
Get the general status type, which can be: success, error, warning.
Definition: OSResult.cpp:1479
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10216
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10404
double getObjValue(int solIdx, int objIdx)
Definition: OSResult.cpp:3050
bool IsEqual(ObjectiveValues *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8870
TimeMeasurement()
Default constructor.
Definition: OSResult.cpp:255
std::string getGeneralSubstatusName(int i)
Get the i_th general substatus name.
Definition: OSResult.cpp:1500
MatrixProgrammingSolution()
The MatrixProgramming class constructor.
Definition: OSResult.cpp:1123
std::string scheduledStartTime
the time when the job was supposed to start
Definition: OSResult.h:670
std::string getSolutionStatusType(int solIdx)
Get the [i]th optimization solution status type, where i equals the given solution index...
Definition: OSResult.cpp:2051
StorageCapacity * usedMemory
a pointer to the MemorySize class
Definition: OSResult.h:688
std::string type
type of the result value (integer, double, boolean, string)
Definition: OSResult.h:1147
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...
Definition: OSResult.cpp:6141
bool setAvailableMemoryDescription(std::string description)
Set the description of available memory.
Definition: OSResult.cpp:4257
int numberOfOtherMatrixProgrammingResults
the number of &lt;other&gt; child elements&gt;
Definition: OSResult.h:2079
int getSolverOutputNumberOfItems(int otherIdx)
Definition: OSResult.cpp:4027
std::string getOtherGeneralResultValue(int idx)
Definition: OSResult.cpp:1579
ObjectiveValues()
Default constructor.
Definition: OSResult.cpp:638
bool IsEqual(OptimizationSolution *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8175
~ObjectiveSolution()
Class destructor.
Definition: OSResult.cpp:744
bool setOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfCon)
Set the number of &lt;enumeration&gt; children of another (non-standard/solver specific) constraint-related...
Definition: OSResult.cpp:6447
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10630
int numberOfOtherObjectiveResults
the number of types of objective function results other than the basic objective function values ...
Definition: OSResult.h:1544
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9803
TimingInformation * timingInformation
a pointer to the TimingInformation class
Definition: OSResult.h:679
bool setAvailableMemoryValue(double value)
Set the amount of available memory.
Definition: OSResult.cpp:4265
std::string category
this element allows a specific category to be associated with this particular type of result ...
Definition: OSResult.h:2149
std::string getOtherObjectiveResultValue(int solIdx, int otherIdx)
Definition: OSResult.cpp:3141
std::string value
this element allows a specific value associated with this particular type of result ...
Definition: OSResult.h:1144
Time()
Default constructor.
Definition: OSResult.cpp:150
bool IsEqual(OptimizationResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8112
int getOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx)
Definition: OSResult.cpp:3173
OtherOptionOrResultEnumeration ** enumeration
the enumeration.
Definition: OSResult.h:1970
std::string value
value is a string that holds the value of the entity
Definition: OSResult.h:38
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.
Definition: OSResult.cpp:4052
bool setJobSubmitTime(std::string submitTime)
Set the time when the job was submitted.
Definition: OSResult.cpp:4454
The OptimizationResult Class.
Definition: OSResult.h:2473
The SolverOutput Class.
Definition: OSResult.h:2354
int numberOfOtherMatrixVariableResults
numberOfOtherMatrixVariableResults gives the number of &lt;other&gt; children
Definition: OSResult.h:1996
std::string description
a brief description of the type of result
Definition: OSResult.h:1469
bool setOtherGeneralResultName(int idx, std::string name)
Set the general otherResult name.
Definition: OSResult.cpp:4186
std::string getUsedDiskSpaceDescription()
Definition: OSResult.cpp:1880
bool setUsedCPUSpeedValue(double value)
Set the used CPU speed.
Definition: OSResult.cpp:4640
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].
Definition: OSResult.cpp:7326
int getOtherVariableResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:2727
bool setNumberOfSolutionSubstatuses(int solIdx, int num)
Set the [i]th optimization solution&#39;s number of substatus elements.
Definition: OSResult.cpp:4810
int numberOfVar
the number of string-valued variable values that are in the solution
Definition: OSResult.h:1017
std::string getAvailableMemoryDescription()
Definition: OSResult.cpp:1633
ObjValue ** obj
obj is a pointer to an array of ObjValue objects that give an index and objective function value for ...
Definition: OSResult.h:1344
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10323
bool setServiceName(std::string serviceName)
Set service name.
std::string description
a brief description of the type of result
Definition: OSResult.h:2152
ENUM_MATRIX_TYPE
An enum to track the many different types of values that a matrix can contain Note that these types a...
Definition: OSParameters.h:599
int idx
idx is the index on variable in the solution
Definition: OSResult.h:852
std::string getOtherVariableResultDescription(int solIdx, int otherIdx)
Definition: OSResult.cpp:2536
int getOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx)
Definition: OSResult.cpp:2568
OtherSolutionResults * otherSolutionResults
otherSolutionResults is a pointer to an OtherSolutionResults object that is associated with this opti...
Definition: OSResult.h:2311
The ObjectiveValues Class.
Definition: OSResult.h:1332
bool setUsedDiskSpaceDescription(std::string description)
Set the description of used disk space.
Definition: OSResult.cpp:4580
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.
Definition: OSResult.cpp:6601
bool setNumberOfSolverOutputs(int numberOfSolverOutputs)
Set the number of other solver outputs.
Definition: OSResult.cpp:7406
OtherObjResult()
Default constructor.
Definition: OSResult.cpp:667
bool setVariableNumber(int variableNumber)
Set the variable number.
Definition: OSResult.cpp:4712
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10593
bool IsEqual(OptimizationSolutionStatus *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8272
int currentJobCount
the number of jobs currently running
Definition: OSResult.h:423
bool setSolutionSubstatusType(int solIdx, int substatusIdx, std::string type)
Set the solution substatus type.
Definition: OSResult.cpp:4839
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
Definition: OSResult.h:961
bool setOtherServiceResultValue(int idx, std::string value)
Set the service otherResult value.
Definition: OSResult.cpp:4425
bool setUsedCPUSpeedUnit(std::string unit)
Set the unit in which used CPU speed is measured.
Definition: OSResult.cpp:4622
std::string description
the description of the substatus
Definition: OSResult.h:63
std::string getAvailableDiskSpaceDescription()
Definition: OSResult.cpp:1612
OtherOptionOrResultEnumeration ** enumeration
Definition: OSResult.h:1171
int getNumberOfVarValues(int solIdx)
Definition: OSResult.cpp:2161
double getUsedMemoryValue()
Definition: OSResult.cpp:1908
int getNumberOfDualValues(int solIdx)
Definition: OSResult.cpp:3446
std::string solver
the solver of the result value
Definition: OSResult.h:1472
DualVarValue ** con
con is a vector of DualVarValue objects that give an index and dual variable value for each constrain...
Definition: OSResult.h:1666
MatrixVariableSolution()
The MatrixVariableSolution class constructor.
Definition: OSResult.cpp:958
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...
Definition: OSResult.cpp:6979
bool setOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfObj)
Set the number of &lt;enumeration&gt; children of another (non-standard/solver specific) objective-related ...
Definition: OSResult.cpp:5937
DualVariableValues * dualValues
a pointer to an array of DualVariableValues objects
Definition: OSResult.h:1871
bool setSolutionTargetObjectiveName(int solIdx, std::string objectiveName)
Set the [i]th optimization solution&#39;s objective name, where i equals the given solution index...
Definition: OSResult.cpp:4887
~GeneralResult()
Class destructor.
Definition: OSResult.cpp:142
std::string getOtherObjectiveResultDescription(int solIdx, int otherIdx)
Definition: OSResult.cpp:3157
bool setUsedCPUSpeedDescription(std::string description)
Set the description of used CPU speed.
Definition: OSResult.cpp:4632
std::string value
this element allows a specific value associated with this particular type of result ...
Definition: OSResult.h:1463
std::string description
Further description on the timer used.
Definition: OSResult.h:246
~JobResult()
Class destructor.
Definition: OSResult.cpp:322
bool IsEqual(OtherResults *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7705
bool IsEqual(GeneralSubstatus *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7654
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.
Definition: OSResult.cpp:6053
bool setNumberOfPrimalVariableValues(int solIdx, int n)
Set the [i]th optimization solution&#39;s number of primal variable values, where i equals the given solu...
Definition: OSResult.cpp:4933
std::string message
a message associated with this solution
Definition: OSResult.h:2286
std::string getOtherSolutionResultDescription(int solIdx, int otherIdx)
Definition: OSResult.cpp:3943
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...
Definition: OSResult.cpp:6789
std::vector< IndexValuePair * > getOptimalPrimalVariableValues(int solIdx)
Get one solution of optimal primal variable values.
Definition: OSResult.cpp:2215
bool setOtherSolutionResultDescription(int solIdx, int otherIdx, std::string description)
Set the description associated with the [j]th other solution result of solution [i].
Definition: OSResult.cpp:7292
bool setNumberOfTimes(int numberOfTimes)
Set the number of time measurements and initial the time array.
Definition: OSResult.cpp:4542
std::string getOtherSolutionResultName(int solIdx, int otherIdx)
Definition: OSResult.cpp:3898
std::string unit
The unit of time (tick/millisecond/second/minute/hour/day/week/month/year)
Definition: OSResult.h:240
bool setSolverOutputCategory(int otherIdx, std::string category)
Set the category associated with the [j]th solver output.
Definition: OSResult.cpp:7436
int getNumberOfOtherConstraintResults(int solIdx)
Definition: OSResult.cpp:3536
std::string systemInformation
a string containing some basic system information
Definition: OSResult.h:354
int numberOfSubstatuses
the number of substatuses
Definition: OSResult.h:111
JobResult * job
job holds the fourth child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2576
bool setOtherConstraintResultNumberOfCon(int solIdx, int otherIdx, int numberOfCon)
Set the number of &lt;con&gt; children of another (non-standard/solver specific) constraint-related result...
Definition: OSResult.cpp:6424
The Result Class.
Definition: OSResult.h:2548
GeneralFileHeader * resultHeader
header information
Definition: OSResult.h:2556
DualVarValue()
Default constructor.
Definition: OSResult.cpp:772
bool setSolutionStatusDescription(int solIdx, std::string description)
Set the [i]th optimization solution status description.
Definition: OSResult.cpp:4791
bool setSolutionStatusType(int solIdx, std::string type)
Set the [i]th optimization solution status type.
Definition: OSResult.cpp:4773
bool IsEqual(OtherConstraintResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9285
bool deepCopyFrom(MatrixProgrammingSolution *that)
A function to make a deep copy of an instance of this class.
int numberOfSubstatuses
the number of substatus objects
Definition: OSResult.h:797
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10554
bool IsEqual(VariableValues *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8454
~OptimizationSolution()
Class destructor.
Definition: OSResult.cpp:1238
std::string getOtherServiceResultDescription(int idx)
Definition: OSResult.cpp:1776
std::string description
a brief description of the type of result
Definition: OSResult.h:1793
ServiceResult()
Default constructor.
Definition: OSResult.cpp:206
int getNumberOfTimes()
Definition: OSResult.cpp:1816
int getBasisInformationDense(int solIdx, int object, int *resultArray, int dim)
Get the basis information associated with the variables, objectives or constraints for some solution...
Definition: OSResult.cpp:2374
bool setJobStatus(std::string status)
Set the job status.
Definition: OSResult.cpp:4445
bool setCurrentState(std::string currentState)
Set the current state of the service.
Definition: OSResult.cpp:4361
GeneralResult * general
general holds the first child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2561
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9698
ServiceResult * service
service holds the third child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2571
bool setNumberOfOtherSolutionResults(int solIdx, int numberOfOtherSolutionResults)
Set the [i]th optimization solution&#39;s other (non-standard/solver specific) solution-related results...
Definition: OSResult.cpp:7220
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:307
bool setSolverInvoked(std::string solverInvoked)
Set solver invoked.
Definition: OSResult.cpp:4155
int getCurrentJobCount()
Definition: OSResult.cpp:1725
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10772
ObjectiveSolution()
Default constructor.
Definition: OSResult.cpp:732
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...
Definition: OSResult.cpp:5631
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.
Definition: OSResult.cpp:6015
std::string getUsedMemoryUnit()
Definition: OSResult.cpp:1894
bool setTime(double time)
Set time.
Definition: OSResult.cpp:4482
~MatrixObjectiveSolution()
The MatrixVariableSolution class destructor.
Definition: OSResult.cpp:1068
GeneralResult()
Default constructor.
Definition: OSResult.cpp:125
The OtherResult Class.
Definition: OSResult.h:162
std::string getSolverOutputCategory(int otherIdx)
Definition: OSResult.cpp:4007
The OptimizationSolution Class.
Definition: OSResult.h:2263
std::string targetObjectiveName
an optional name of the objective function for which we are reporting solution information ...
Definition: OSResult.h:2275
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&#39;s other (non-standard/solver specific)variable-related results...
std::string type
type of the result value (integer, double, boolean, string)
Definition: OSResult.h:1466
VarValueString Class.
Definition: OSResult.h:956
std::string type
type of the result value (integer, double, boolean, string)
Definition: OSResult.h:1790
std::string getOtherJobResultDescription(int idx)
Definition: OSResult.cpp:1977
int getOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx)
Definition: OSResult.cpp:3631
std::string value
the value of the other result
Definition: OSResult.h:171
int getOtherSolutionResultNumberOfItems(int solIdx, int otherIdx)
Definition: OSResult.cpp:3958
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.
Definition: OSResult.cpp:6582
The ConstraintSolution Class.
Definition: OSResult.h:1860
GeneralSubstatus()
Default constructor.
Definition: OSResult.cpp:34
bool setGeneralStatus(GeneralStatus *status)
Set the general status.
Definition: OSResult.cpp:4060
OptimizationResult * optimization
optimization holds the fifth child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2581
bool setAvailableCPUSpeedDescription(std::string description)
Set the description of available CPU speed.
Definition: OSResult.cpp:4282
std::string getTimeServiceStarted()
Definition: OSResult.cpp:1737
std::string getAvailableMemoryUnit()
Definition: OSResult.cpp:1626
~TimeMeasurement()
Class destructor.
Definition: OSResult.cpp:267
DualVariableValues()
Default constructor.
Definition: OSResult.cpp:793
~MatrixConstraintSolution()
The MatrixConstraintSolution class destructor.
Definition: OSResult.cpp:1101
The OtherConstraintResult Class.
Definition: OSResult.h:1767
bool setOtherJobResultName(int idx, std::string name)
Set the job otherResult name.
Definition: OSResult.cpp:4681
an abstract class to help represent the elements in a MatrixType object From this we derive concrete ...
Definition: OSMatrix.h:321
double getOptimalObjValue(int objIdx, int solIdx)
Get one solution&#39;s optimal objective value.
Definition: OSResult.cpp:3065
bool setGeneralSubstatusName(int idx, std::string name)
Set the general substatus name.
Definition: OSResult.cpp:4102
bool setSolutionTargetObjectiveIdx(int solIdx, int objectiveIdx)
Set the [i]th optimization solution&#39;s objective index, where i equals the given solution index...
Definition: OSResult.cpp:4870
bool IsEqual(JobResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7934
~OtherResult()
Class destructor.
Definition: OSResult.cpp:90
bool getSolutionWeightedObjectives(int solIdx)
Get the [i]th optimization solution form of the objective.
Definition: OSResult.cpp:2130
SystemResult()
Default constructor.
Definition: OSResult.cpp:159
std::string matrixType
the type of matrixVar
Definition: OSResult.h:1956
SystemResult * system
system holds the second child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2566
std::vector< IndexValuePair * > getOptimalDualVariableValues(int solIdx)
Get one solution of optimal dual variable values.
Definition: OSResult.cpp:3504
std::string varType
type of the values in the var array
Definition: OSResult.h:1165
bool setDualVariableValuesDense(int solIdx, double *y)
Set the [i]th optimization solution&#39;s dual variable values, where i equals the given solution index...
Definition: OSResult.cpp:6291
int idx
idx is the index on a objective function
Definition: OSResult.h:1392
OtherVariableResult()
Default constructor.
Definition: OSResult.cpp:524
bool setAnOtherVariableResultDense(int solIdx, int otherIdx, std::string name, std::string value, std::string description, std::string *s)
Set the [i]th optimization solution&#39;s other (non-standard/solver specific)variable-related results...
int idx
idx is the index on the constraint
Definition: OSResult.h:1714
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10197
std::string value
value is a value associated with an objective function indexed by idx
Definition: OSResult.h:1400
OtherResults()
Default constructor.
Definition: OSResult.cpp:98
bool setUsedMemoryValue(double value)
Set the amount of used memory.
Definition: OSResult.cpp:4614
bool setNumberOfDualValues(int solIdx, int numberOfCon)
Set the number of constraints to be given a value.
Definition: OSResult.cpp:6185
bool setServiceURI(std::string serviceURI)
Set service uri.
int numberOfOtherMatrixConstraintResults
numberOfOtherMatrixConstraintResults gives the number of &lt;other&gt; children
Definition: OSResult.h:2051
std::string getOtherVariableResultName(int solIdx, int otherIdx)
Definition: OSResult.cpp:2488
int getOtherConstraintResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:3765
std::string description
a brief description of the type of result
Definition: OSResult.h:1150
bool setObjectiveNumber(int objectiveNumber)
Set the objective number.
Definition: OSResult.cpp:4721
~OtherVariableResult()
Class destructor.
Definition: OSResult.cpp:543
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.
Definition: OSResult.cpp:7759
bool IsEqual(OtherSolutionResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9480
int numberOfMatrixVar
numberOfMatrixVar gives the number of &lt;matrixVar&gt; children
Definition: OSResult.h:1918
BasisStatus * basisStatus
a pointer to a BasisStatus object
Definition: OSResult.h:1550
bool setInstanceName(std::string instanceName)
Set instance name.
The OptimizationSolutionSubstatus Class.
Definition: OSResult.h:743
std::string value
the value associated with the result the user is defining
Definition: OSResult.h:2144
bool setNumberOfObjectiveValues(int solIdx, int n)
Set the [i]th optimization solution&#39;s number of objective values, where i equals the given solution i...
Definition: OSResult.cpp:5754
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10469
this class extends OSMatrix for use, e.g., in the matrixVar section of OSoL and OSrL ...
Definition: OSMatrix.h:2336
double getTimeValue()
Get the time measurement.
Definition: OSResult.cpp:1987
bool setSolutionMessage(int solIdx, std::string msg)
Set the [i]th optimization solution&#39;s message, where i equals the given solution index.
Definition: OSResult.cpp:4917
The ServiceResult Class.
Definition: OSResult.h:415
bool setTimeNumber(int timeNumber)
Set the number of time measurements.
Definition: OSResult.cpp:4560
bool setOtherSystemResultValue(int idx, std::string value)
Set the system otherResult value.
Definition: OSResult.cpp:4341
bool setAvailableCPUSpeedUnit(std::string unit)
Set the unit in which available CPU speed is measured.
Definition: OSResult.cpp:4273
bool IsEqual(SystemResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7812
The in-memory representation of the &lt;matrixVariables&gt; element.
Definition: OSResult.h:1914
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10389
std::string name
the name of the result the user is defining
Definition: OSResult.h:2141
OSResult()
Default constructor.
Definition: OSResult.cpp:1382
~VariableSolution()
Class destructor.
Definition: OSResult.cpp:584
CPUNumber * usedCPUNumber
a pointer to the CPUNumber class
Definition: OSResult.h:696
int getNumberOfOtherJobResults()
Definition: OSResult.cpp:1950
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.
Definition: OSResult.cpp:5471
~DualVarValue()
Class destructor.
Definition: OSResult.cpp:785
~GeneralStatus()
Class destructor.
Definition: OSResult.cpp:62
CPUSpeed * usedCPUSpeed
a pointer to the CPUSpeed class
Definition: OSResult.h:692
bool setNumberOfOtherGeneralResults(int num)
Set number of other general results.
Definition: OSResult.cpp:4169
~OtherConstraintResult()
Class destructor.
Definition: OSResult.cpp:860
CPUSpeed * availableCPUSpeed
a pointer to the CPUSpeed class
Definition: OSResult.h:366
std::string name
Gives a name to this result.
Definition: OSResult.h:1943
OtherResult()
Default constructor.
Definition: OSResult.cpp:80
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9737
std::string endTime
the time when the job finished
Definition: OSResult.h:676
double getAvailableCPUSpeedValue()
Definition: OSResult.cpp:1661
~OtherObjResult()
Class destructor.
Definition: OSResult.cpp:678
a data structure that holds general information about files that conform to one of the OSxL schemas ...
Definition: OSGeneral.h:32
bool setOtherSolutionResultNumberOfItems(int solIdx, int otherIdx, int numberOfItems)
Set the number of items associated with the [j]th other solution result of solution [i]...
Definition: OSResult.cpp:7307
bool setPrimalVariableValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution&#39;s primal variable values, where i equals the given solution index...
Definition: OSResult.cpp:4962
The ObjValue Class.
Definition: OSResult.h:1281
ObjectiveSolution * objectives
objectives holds the solution information for the objectives
Definition: OSResult.h:2300
double getAvailableMemoryValue()
Definition: OSResult.cpp:1640
OtherObjectiveResult()
Default constructor.
Definition: OSResult.cpp:686
std::string enumType
type of the values in the enumeration array
Definition: OSResult.h:1817
std::string getOtherServiceResultValue(int idx)
Definition: OSResult.cpp:1766
bool IsEqual(ObjectiveSolution *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8810
std::string getUsedMemoryDescription()
Definition: OSResult.cpp:1901
static char * j
Definition: OSdtoa.cpp:3622
std::string getOtherConstraintResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:3738
OtherSolutionResult ** otherSolutionResult
otherSolutionResult is a pointer to an array of OtherSolutionResult objects
Definition: OSResult.h:2215
bool IsEqual(GeneralStatus *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7597
ENUM_MATRIX_SYMMETRY
Definition: OSParameters.h:735
int getOtherObjectiveResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:3325
int numberOfVar
the number of variables which have values for this particular type of result
Definition: OSResult.h:1131
std::string enumType
the type of the enumeration
Definition: OSResult.h:1965
int m_iObjectiveNumber
m_iObjectiveNumber holds the objective number.
Definition: OSResult.h:2619
std::string name
optional name
Definition: OSResult.h:1717
bool setSystemInformation(std::string systemInformation)
Set the system information.
Definition: OSResult.cpp:4216
std::string timeServiceStarted
the time when the service was started
Definition: OSResult.h:429
std::string getGeneralStatusDescription()
Get the general status description.
Definition: OSResult.cpp:1486
bool setVarValueString(int solIdx, int number, int idx, std::string name, std::string str)
Set a string-valued primal variable value.
Definition: OSResult.cpp:5147
int getOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx)
Definition: OSResult.cpp:2607
~OtherConResult()
Class destructor.
Definition: OSResult.cpp:833
std::string actualStartTime
the time when the job actually started
Definition: OSResult.h:673
bool setNumberOfOtherConstraintResults(int solIdx, int numberOfOtherConstraintResults)
Set the [i]th optimization solution&#39;s other (non-standard/solver specific) constraint-related results...
Definition: OSResult.cpp:6156
std::string getOtherVariableResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:2646
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.
Definition: OSResult.cpp:6620
The OtherSolverOutput Class.
Definition: OSResult.h:2419
bool IsEqual(OtherConResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9373
The OptimizationSolutionStatus Class.
Definition: OSResult.h:792
std::string getTimingInfoType(int idx)
Definition: OSResult.cpp:1833
std::string getSystemInformation()
Definition: OSResult.cpp:1599
std::string solver
the solver of the result value
Definition: OSResult.h:1796
std::string getActualStartTime()
Definition: OSResult.cpp:1804
std::string getJobSubmitTime()
Definition: OSResult.cpp:1792
int getNumberOfOtherSolutionResults(int solIdx)
Definition: OSResult.cpp:3886
std::string getOtherVariableResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the or &lt;enumeration&gt; array associated with an &lt;other&gt; result for...
Definition: OSResult.cpp:2623
bool setNumberOfVarValues(int solIdx, int numberOfVar)
Set the number of primal variables to be given a value.
Definition: OSResult.cpp:5040
std::string description
other data elements are optional
Definition: OSResult.h:1946
OtherConResult ** con
Definition: OSResult.h:1805
OtherSolutionResult()
Default constructor.
Definition: OSResult.cpp:1164
std::string getOtherSystemResultName(int idx)
Definition: OSResult.cpp:1689
int numberOfItems
the number of items contained in this otherSolutionResult
Definition: OSResult.h:2156
OtherSolverOutput * otherSolverOutput
otherSolverOutput is a pointer to an OtherSolverOutput object
Definition: OSResult.h:2505
std::string getOtherConstraintResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the &lt;con&gt; or &lt;enumeration&gt; array associated with an &lt;other&gt; resul...
Definition: OSResult.cpp:3670
MatrixConstraintSolution()
The MatrixConstraintSolution class constructor.
Definition: OSResult.cpp:1091
bool setGeneralSubstatusDescription(int idx, std::string description)
Set the general substatus description.
Definition: OSResult.cpp:4111
OtherSolutionResults()
Default constructor.
Definition: OSResult.cpp:1190
bool setSolutionNumber(int number)
set the number of solutions.
Definition: OSResult.cpp:4740
std::string objType
type of the values in the obj array
Definition: OSResult.h:1484
std::string getOtherSystemResultDescription(int idx)
Definition: OSResult.cpp:1709
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...
Definition: OSResult.cpp:6487
int getNumberOfSolverOutputs()
Definition: OSResult.cpp:3991
bool setBasisStatus(int solIdx, int object, int status, int *i, int ni)
Set the basis status of a number of variables/constraints/objectives.
Definition: OSResult.cpp:5192
int numberOfSolverOutputs
the number of elements in the pointer of SolverOutput objects
Definition: OSResult.h:2425
bool setOtherGeneralResultDescription(int idx, std::string description)
Set the general otherResult description.
Definition: OSResult.cpp:4206
double * m_mdPrimalValues
m_mdPrimalValues a vector of primal variables.
Definition: OSResult.h:2634
std::vector< IndexValuePair * > dualVals
Definition: OSResult.h:2644
bool setScheduledStartTime(std::string scheduledStartTime)
Set the job&#39;s scheduled start time.
Definition: OSResult.cpp:4461
bool setConstraintValuesDense(int solIdx, double *constraintValues)
Set the [i]th optimization solution&#39;s constraint values, where i equals the given solution index...
Definition: OSResult.cpp:6335
~ConstraintSolution()
Class destructor.
Definition: OSResult.cpp:901
this class extends OSMatrix for use, e.g., in the matrixCon section of OSoL and OSrL ...
Definition: OSMatrix.h:2445
std::string getServiceName()
Get service name.
Definition: OSResult.cpp:1526
std::string getOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx)
Definition: OSResult.cpp:3973
bool IsEqual(TimingInformation *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8005
int getUsedCPUNumberValue()
Definition: OSResult.cpp:1943
std::string message
any general message associated with the optimization
Definition: OSResult.h:276
int getTotalJobsSoFar()
Definition: OSResult.cpp:1731
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...
Definition: OSResult.cpp:6034
OtherVarResult ** var
Definition: OSResult.h:1162
bool setAvailableDiskSpaceUnit(std::string unit)
Set the unit in which available disk space is measured.
Definition: OSResult.cpp:4223
std::string getOtherVariableResultType(int solIdx, int otherIdx)
Definition: OSResult.cpp:2504
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9827
OtherVarResult()
Default constructor.
Definition: OSResult.cpp:504
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9792
std::string getSolutionMessage(int solIdx)
Get the [i]th optimization solution message, where i equals the given solution index.
Definition: OSResult.cpp:2140
int numberOfCon
record the number of constraints for which values are given
Definition: OSResult.h:1660
int getAnOtherVariableResultNumberOfVar(int solIdx, int iOther)
Get getAnOtherVariableResultNumberOfVar.
Definition: OSResult.cpp:2473
int getOtherObjectiveResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:3353
int numberOfEnumerations
the number of distinct values for this particular type of result
Definition: OSResult.h:1779
The SystemResult Class.
Definition: OSResult.h:349
The in-memory representation of the &lt;MatrixVariableSolution&gt; element.
Definition: OSResult.h:2021
std::string getOtherObjectiveResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the &lt;obj&gt; or &lt;enumeration&gt; array associated with an &lt;other&gt; resul...
Definition: OSResult.cpp:3246
int getNumberOfObjValues(int solIdx)
Definition: OSResult.cpp:3007
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...
Definition: OSResult.cpp:5433
VarValue ** var
a vector of VarValue objects, there will be one for each variable in the solution ...
Definition: OSResult.h:912
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.
Definition: OSResult.cpp:6563
VariableSolution * variables
variables holds the solution information for the variables
Definition: OSResult.h:2291
std::string getJobID()
Get the job id.
Definition: OSResult.cpp:1544
The OtherSolutionResult Class.
Definition: OSResult.h:2136
bool setNumberOfOtherSystemResults(int num)
Set number of other system results.
Definition: OSResult.cpp:4314
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9916
double getServiceUtilization()
Definition: OSResult.cpp:1743
std::string getVarValueName(int solIdx, int varIdx)
Definition: OSResult.cpp:2187
MatrixObjectiveSolution()
The MatrixVariableSolution class constructor.
Definition: OSResult.cpp:1058
std::string name
optional name
Definition: OSResult.h:1073
bool setNumberOfOtherVariableResults(int solIdx, int numberOfOtherVariableResults)
Set the [i]th optimization solution&#39;s other (non-standard/solver specific) variable-related results...
Definition: OSResult.cpp:5236
~OptimizationSolutionStatus()
Class destructor.
Definition: OSResult.cpp:390
ObjValue()
Default constructor.
Definition: OSResult.cpp:618
OptimizationResult()
Default constructor.
Definition: OSResult.cpp:1337
bool setObjValue(int solIdx, int number, int idx, std::string name, double val)
Set an objective value.
Definition: OSResult.cpp:5867
std::string getScheduledStartTime()
Definition: OSResult.cpp:1798
int getNumberOfOtherSystemResults()
Definition: OSResult.cpp:1682
int numberOfSolutions
numberOfSolutions is the number of objective functions reported.
Definition: OSResult.h:2480
bool setAvailableCPUNumberDescription(std::string description)
Set the description of available number of CPUs.
Definition: OSResult.cpp:4298
std::string name
the name of the result the user is defining
Definition: OSResult.h:1139
int getOtherObjectiveResultArrayDense(int solIdx, int otherIdx, std::string *resultArray, int dim)
Get the values of an &lt;obj&gt; array or an &lt;enumeration&gt; associated with an &lt;other&gt; result for some solut...
Definition: OSResult.cpp:3381
std::string getOtherObjectiveResultName(int solIdx, int otherIdx)
Definition: OSResult.cpp:3109
MatrixVariableSolution * matrixVariables
a pointer to the matrixVariables object
Definition: OSResult.h:2085
OSMatrixWithMatrixConIdx ** matrixCon
matrixCon is an array of pointers to the &lt;matrixCon&gt; children
Definition: OSResult.h:2054
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.
Definition: OSResult.cpp:6703
int getNumberOfGeneralSubstatuses()
Get the number of substatuses.
Definition: OSResult.cpp:1493
std::string status
job status
Definition: OSResult.h:664
std::string getSolutionSubstatusDescription(int solIdx, int substatusIdx)
Definition: OSResult.cpp:2097
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:374
double getAvailableDiskSpaceValue()
Definition: OSResult.cpp:1619
the CPUSpeed class.
Definition: OSGeneral.h:812
int getBasisStatusNumberOfEl(int solIdx, int object, int status)
Get the number of indices that belong to a particular basis status.
Definition: OSResult.cpp:2301
std::string name
the name of the result the user is defining
Definition: OSResult.h:1458
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...
Definition: OSResult.cpp:5601
~OptimizationSolutionSubstatus()
Class destructor.
Definition: OSResult.cpp:370
std::string getAvailableCPUNumberDescription()
Definition: OSResult.cpp:1668
std::string getAvailableDiskSpaceUnit()
Definition: OSResult.cpp:1605
std::string getAvailableCPUSpeedDescription()
Definition: OSResult.cpp:1654
std::string getOtherConstraintResultType(int solIdx, int otherIdx)
Definition: OSResult.cpp:3567
std::string getObjValueName(int solIdx, int objIdx)
Definition: OSResult.cpp:3035
int numberOfTimes
The number of elements in the time array.
Definition: OSResult.h:612
std::string getVarValueString(int solIdx, int varIdx)
Definition: OSResult.cpp:2287
~OtherVarResult()
Class destructor.
Definition: OSResult.cpp:515
VariableValues * values
a pointer to a VariableValues object
Definition: OSResult.h:1227
~MatrixProgrammingSolution()
The MatrixProgramming class destructor.
Definition: OSResult.cpp:1136
bool setUsedMemoryUnit(std::string unit)
Set the unit in which used memory is measured.
Definition: OSResult.cpp:4596
bool IsEqual(DualVarValue *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9233
bool setOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfEnumerations)
Set the number of &lt;enumeration&gt; children of another (non-standard/solver specific) variable-related r...
Definition: OSResult.cpp:5412
StorageCapacity * availableMemory
a pointer to the MemorySize class
Definition: OSResult.h:362
OtherMatrixVariableResult()
The standard MatrixVariableValues class constructor.
Definition: OSResult.cpp:992
bool setUsedMemoryDescription(std::string description)
Set the description of used memory.
Definition: OSResult.cpp:4606
std::string getOtherConstraintResultName(int solIdx, int otherIdx)
Definition: OSResult.cpp:3551
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...
Definition: OSResult.cpp:5452
The in-memory representation of the &lt;MatrixVariableSolution&gt; element.
Definition: OSResult.h:1992
std::string enumType
type of the values in the enumeration array
Definition: OSResult.h:1174
SolverOutput()
Default constructor.
Definition: OSResult.cpp:1276
GeneralStatus * generalStatus
a pointer to the GeneralStatus class
Definition: OSResult.h:272
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...
Definition: OSResult.cpp:5509
std::string name
optional name
Definition: OSResult.h:1606
~MatrixVariableValues()
The MatrixVariableValues class destructor.
Definition: OSResult.cpp:940
int idx
the index of a variable in the solution
Definition: OSResult.h:1070
VarValueString()
Default constructor.
Definition: OSResult.cpp:456
The OtherObjResult Class.
Definition: OSResult.h:1387
The GeneralResult Class.
Definition: OSResult.h:266
The VariableValues Class.
Definition: OSResult.h:901
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...
Definition: OSResult.cpp:6110
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.
Definition: OSResult.cpp:6506
std::string getOtherObjectiveResultType(int solIdx, int otherIdx)
Definition: OSResult.cpp:3125
std::string name
optional name
Definition: OSResult.h:855
int getVarValueStringIdx(int solIdx, int varIdx)
Definition: OSResult.cpp:2259
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 &quot;other&quot; r...
Definition: OSResult.cpp:7021
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)
Definition: OSResult.h:2160
VarValueString ** var
a vector of VarValueString objects, there will be one for each variable in the solution ...
Definition: OSResult.h:1022
StorageCapacity * usedDiskSpace
a pointer to the DiskSpace class
Definition: OSResult.h:683
int numberOfCon
the number of constraints which have values for this particular type of result
Definition: OSResult.h:1774
bool setOtherJobResultValue(int idx, std::string value)
Set the job otherResult value.
Definition: OSResult.cpp:4691
double getVarValue(int solIdx, int varIdx)
Definition: OSResult.cpp:2201
int getSolutionNumber()
get the number of solutions.
Definition: OSResult.cpp:2033
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.
Definition: OSResult.cpp:4351
int getSolutionTargetObjectiveIdx(int solIdx)
Definition: OSResult.cpp:2110
bool setGeneralMessage(std::string message)
Set the general message.
std::string getOtherGeneralResultDescription(int idx)
Definition: OSResult.cpp:1589
std::string getInstanceName()
Get instance name.
Definition: OSResult.cpp:1538
std::string getTimeStamp()
Get the time stamp.
Definition: OSResult.cpp:1556
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.
Definition: OSResult.cpp:10299
TimeMeasurement ** time
An array of time measurements.
Definition: OSResult.h:618
~VariableValues()
Class destructor.
Definition: OSResult.cpp:438
std::string type
the type of solution status
Definition: OSResult.h:800
std::string solverInvoked
the name of the solver used
Definition: OSResult.h:299
int idx
idx holds the index of a string-valued entity (such as a variable, constraint, objective) that is par...
Definition: OSResult.h:34
bool setOtherServiceResultName(int idx, std::string name)
Set the service otherResult name.
Definition: OSResult.cpp:4415
the CPUNumber class.
Definition: OSGeneral.h:871
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 ...
Definition: OSResult.h:2270
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10445
std::string timeStamp
a time stamp associated with the process
Definition: OSResult.h:303
bool setUsedCPUNumberValue(int value)
Set the used number of CPUs.
Definition: OSResult.cpp:4656
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10086
std::string type
the type of status
Definition: OSResult.h:114
int numberOfMatrixVar
number of matrix variables affected by or associated with this result
Definition: OSResult.h:1953
bool setUsedCPUNumberDescription(std::string description)
Set the description of used number of CPUs.
Definition: OSResult.cpp:4648
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10616
~ObjectiveValues()
Class destructor.
Definition: OSResult.cpp:649
std::string solver
the solver of the result value
Definition: OSResult.h:1153
std::string getOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx)
Definition: OSResult.cpp:3208
~ServiceResult()
Class destructor.
Definition: OSResult.cpp:220
int numberOfOtherSolutionResults
the number of elements in the pointer of OtherSolutionResult objects
Definition: OSResult.h:2210
~VarValue()
Class destructor.
Definition: OSResult.cpp:419
ConstraintSolution()
Default constructor.
Definition: OSResult.cpp:889
bool setOtherSolutionResultValue(int solIdx, int otherIdx, std::string value)
Set the value associated with the [j]th other solution result of solution [i].
Definition: OSResult.cpp:7263
The VariableSolution Class.
Definition: OSResult.h:1217
std::string name
the name of the result the user is defining
Definition: OSResult.h:2359
bool setNumberOfDualVariableValues(int solIdx, int n)
Set the [i]th optimization solution&#39;s number of dual variable values, where i equals the given soluti...
Definition: OSResult.cpp:6219
OptimizationSolution ** solution
solution is an array of pointers to OptimizationSolution objects
Definition: OSResult.h:2500
double * m_mdDualValues
m_mdDualValues a vector of dual variables.
Definition: OSResult.h:2639
bool setSolverOutputDescription(int otherIdx, std::string description)
Set the description associated with the [j]th solver output.
Definition: OSResult.cpp:7445
int getObjValueIdx(int solIdx, int objIdx)
Definition: OSResult.cpp:3020
OSMatrixWithMatrixVarIdx ** matrixVar
the list of matrices and their values
Definition: OSResult.h:1959
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...
Definition: OSResult.cpp:5547
bool setOtherSolutionResultName(int solIdx, int otherIdx, std::string name)
Set the name associated with the [j]th other solution result of solution [i].
Definition: OSResult.cpp:7249
MatrixObjectiveSolution * matrixObjectives
a pointer to the matrixObjectives object
Definition: OSResult.h:2088
std::string getTimingInfoCategory(int idx)
Definition: OSResult.cpp:1843
MatrixConstraintSolution * matrixConstraints
a pointer to the matrixConstraints object
Definition: OSResult.h:2091
ConstraintSolution * constraints
constraints holds the solution information for the constraints
Definition: OSResult.h:2295
bool setOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx, int numberOfObj)
Set the number of &lt;obj&gt; children of another (non-standard/solver specific) objective-related result...
Definition: OSResult.cpp:5912
bool setNumberOfOtherJobResults(int num)
Set number of other job results.
Definition: OSResult.cpp:4664
~OptimizationResult()
Class destructor.
Definition: OSResult.cpp:1351
The TimeMeasurement Class.
Definition: OSResult.h:546
A commonly used structure holding an index-string pair This definition is based on the definition of ...
Definition: OSResult.h:29
double serviceUtilization
service utilization
Definition: OSResult.h:432
std::string category
the category of the result value
Definition: OSResult.h:1799
int getOtherVariableResultNumberOfVar(int solIdx, int otherIdx)
Definition: OSResult.cpp:2552
MatrixProgrammingSolution * matrixProgramming
matrixProgramming holds the solution information for the matrix programming components: matrix variab...
Definition: OSResult.h:2306
ObjectiveValues * values
a pointer to an array of ObjectiveValues objects
Definition: OSResult.h:1547
int getNumberOfOtherServiceResults()
Definition: OSResult.cpp:1749
std::string instanceName
the name of the instance that was solved
Definition: OSResult.h:290
std::string getJobEndTime()
Definition: OSResult.cpp:1810
std::string category
the category of the result value
Definition: OSResult.h:1475
std::string description
a brief description of the type of result
Definition: OSResult.h:2367
bool setConstraintNumber(int constraintNumber)
Set the constraint number.
Definition: OSResult.cpp:4731
bool IsEqual(VarValue *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8509
The OtherConResult Class.
Definition: OSResult.h:1709
std::string name
optional name
Definition: OSResult.h:964
VarValue()
Default constructor.
Definition: OSResult.cpp:408
std::string getOtherSolutionResultValue(int solIdx, int otherIdx)
Definition: OSResult.cpp:3913
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...
Definition: OSResult.cpp:5616
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.
Definition: OSResult.cpp:5528
std::string serviceName
the serviceName is the name of the solver service that did the optimization
Definition: OSResult.h:286
bool IsEqual(ConstraintSolution *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9119
bool setAvailableDiskSpaceDescription(std::string description)
Set the description of available disk space.
Definition: OSResult.cpp:4232
std::string getSolverOutputName(int otherIdx)
Definition: OSResult.cpp:3997
std::string category
this element allows a specific category to be associated with this particular type of result ...
Definition: OSResult.h:2364
std::string getJobStatus()
Definition: OSResult.cpp:1786
The in-memory representation of the &lt;MatrixProgrammingSolution&gt; element.
Definition: OSResult.h:2075
~Time()
Class destructor.
Definition: OSResult.cpp:163
OptimizationSolutionSubstatus ** substatus
a pointer to an array of substatus objects
Definition: OSResult.h:806
int numberOfConstraints
numberOfConstrants is the number of constraint functions reported in the solution.
Definition: OSResult.h:2495
std::string getSolutionStatusDescription(int solIdx)
Get the [i]th optimization solution status description, where i equals the given solution index...
Definition: OSResult.cpp:2062
std::string description
a description of the solution status type
Definition: OSResult.h:803
BasisStatus * basisStatus
a pointer to a BasisStatus object
Definition: OSResult.h:1233
std::string getTimingInfoUnit(int idx)
Definition: OSResult.cpp:1823
bool setSolverOutputNumberOfItems(int otherIdx, int numberOfItems)
Set the number of items associated with the [j]th solver output.
Definition: OSResult.cpp:7454
std::string category
The category of time (total/input/preprocessing/optimization/postprocessing/output/other) ...
Definition: OSResult.h:558
double value
Definition: OSResult.h:860
int idx
idx is the index on a constraint
Definition: OSResult.h:1603
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10697
OtherVariableResult ** other
a pointer to an array of other pointer objects for variables
Definition: OSResult.h:1238
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10260
~OtherSolverOutput()
Class destructor.
Definition: OSResult.cpp:1318
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10486
~SolverOutput()
Class destructor.
Definition: OSResult.cpp:1289
bool setActualStartTime(std::string actualStartTime)
Set the job&#39;s actual start time.
Definition: OSResult.cpp:4468
OSMatrixWithMatrixVarIdx ** matrixVar
matrixVar is an array of pointers to the &lt;matrixVar&gt; children
Definition: OSResult.h:1921
std::string * item
an array of items (string-valued)
Definition: OSResult.h:2375
~OtherResults()
Class destructor.
Definition: OSResult.cpp:107
std::string name
the name of the other result
Definition: OSResult.h:168
GeneralSubstatus ** substatus
the array of substatuses
Definition: OSResult.h:120
MatrixVariableValues * values
values is pointer to the &lt;values&gt; child
Definition: OSResult.h:1999
The JobResult Class.
Definition: OSResult.h:659
~MatrixVariableSolution()
The MatrixVariableSolution class destructor.
Definition: OSResult.cpp:969
VariableSolution()
Default constructor.
Definition: OSResult.cpp:571
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...
Definition: OSResult.cpp:6737
std::string enumType
type of the values in the enumeration array
Definition: OSResult.h:1493
std::string getSolverInvoked()
Get the solver invoked.
Definition: OSResult.cpp:1550
int numberOfObj
record the number of objective rows for which values are given
Definition: OSResult.h:1338
bool setMatrixVariableSolution(int solIdx, int numberOfMatrixVar_, int numberOfOtherMatrixVariableResults_)
Set the [i]th optimization solution&#39;s MatrixVariableSolution, where i equals the given solution index...
Definition: OSResult.cpp:6666
std::string getOtherVariableResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:2673
bool setVarValue(int solIdx, int number, int idx, std::string name, double val)
Set a primal variable value.
Definition: OSResult.cpp:5068
bool setOtherSolutionResultCategory(int solIdx, int otherIdx, std::string category)
Set the category associated with the [j]th other solution result of solution [i]. ...
Definition: OSResult.cpp:7277
int getOtherConstraintResultNumberOfCon(int solIdx, int otherIdx)
Definition: OSResult.cpp:3615
CPUNumber * availableCPUNumber
a pointer to the CPUNumber class
Definition: OSResult.h:370
std::string getSolverOutputDescription(int otherIdx)
Definition: OSResult.cpp:4017
bool IsEqual(OtherObjectiveResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8978
std::string serviceURI
the serviceURI is the URI of the solver service that did the optimization
Definition: OSResult.h:281
bool setJobID(std::string jobID)
Set job id.
bool IsEqual(OptimizationSolutionSubstatus *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8341
bool IsEqual(MatrixConstraintSolution *that)
A function to check for the equality of two objects.
VarValue Class.
Definition: OSResult.h:847
bool setOtherSystemResultName(int idx, std::string name)
Set the system otherResult name.
Definition: OSResult.cpp:4331
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9766
The DualVariableValues Class.
Definition: OSResult.h:1654
bool setObjectiveValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution&#39;s objective values, where i equals the given solution index...
Definition: OSResult.cpp:5784
int getNumberOfSolutionSubstatuses(int solIdx)
Definition: OSResult.cpp:2073
std::string getOtherSolutionResultCategory(int solIdx, int otherIdx)
Definition: OSResult.cpp:3928
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10113
TimingInformation()
Default constructor.
Definition: OSResult.cpp:275
bool setCurrentJobCount(int jobCount)
Set the current job count.
Definition: OSResult.cpp:4370
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.
Definition: OSResult.cpp:6525
std::string type
The type of timer used (cpuTime/elapsedTime/other)
Definition: OSResult.h:553
VariableValuesString * valuesString
a pointer to a VariableValuesString object
Definition: OSResult.h:1230
bool IsEqual(OtherVariableResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8670
std::string conType
type of the values in the con array
Definition: OSResult.h:1808
OtherMatrixVariableResult ** other
other is a pointer to an array of &lt;other&gt; children
Definition: OSResult.h:2002
The in-memory representation of the &lt;matrixVariables&gt; &lt;other&gt; element.
Definition: OSResult.h:1939
int numberOfEnumerations
number of levels in an enumeration associated with this result
Definition: OSResult.h:1962
the TimeSpan class.
Definition: OSGeneral.h:924
The OtherObjectiveResult Class.
Definition: OSResult.h:1443
OtherObjResult ** obj
Definition: OSResult.h:1481
std::string getOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx)
Definition: OSResult.cpp:3650
OtherOptionOrResultEnumeration ** enumeration
Definition: OSResult.h:1814
int numberOfEnumerations
the number of distinct values for this particular type of result
Definition: OSResult.h:1136
bool setNumberOfOtherServiceResults(int num)
Set number of other service results.
Definition: OSResult.cpp:4398
bool IsEqual(OSResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7485
bool setSolutionSubstatusDescription(int solIdx, int substatusIdx, std::string description)
Set the solution substatus description.
Definition: OSResult.cpp:4856
std::string getSolutionTargetObjectiveName(int solIdx)
Definition: OSResult.cpp:2120
~VariableValuesString()
Class destructor.
Definition: OSResult.cpp:486
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10537
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...
Definition: OSResult.cpp:6126
std::string name
the name of the substatus
Definition: OSResult.h:60
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9976
int getNumberOfVarValuesString(int solIdx)
Definition: OSResult.cpp:2247
bool setNumberOfVarValuesString(int solIdx, int numberOfVar)
Set the number of string-valued primal variables to be given a value.
Definition: OSResult.cpp:5114
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...
Definition: OSResult.cpp:6468
int numberOfOtherMatrixObjectiveResults
numberOfOtherMatrixObjectiveResults gives the number of &lt;other&gt; children
Definition: OSResult.h:2025
bool setUsedDiskSpaceValue(double value)
Set the amount of used disk space.
Definition: OSResult.cpp:4588
~VarValueString()
Class destructor.
Definition: OSResult.cpp:467
bool setOtherServiceResultDescription(int idx, std::string description)
Set the service otherResult description.
Definition: OSResult.cpp:4435
OtherObjectiveResult ** other
a pointer to an array of other pointer objects for objective functions
Definition: OSResult.h:1555
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.
Definition: OSResult.cpp:2334
bool IsEqual(TimeMeasurement *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8059
int numberOfVariables
numberOfVariables is the number of variables reported in the solution.
Definition: OSResult.h:2485
std::string value
Definition: OSResult.h:969
bool setOtherGeneralResultValue(int idx, std::string value)
Set the general otherResult value.
Definition: OSResult.cpp:4196
std::string getOtherSystemResultValue(int idx)
Definition: OSResult.cpp:1699
~GeneralSubstatus()
Class destructor.
Definition: OSResult.cpp:43
int getNumberOfOtherVariableResults(int solIdx)
Get numberOfOtherVariableResult.
Definition: OSResult.cpp:2456
bool IsEqual(OtherSolutionResults *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9426
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 &quot;other&quot; result i...
Definition: OSResult.cpp:7077
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...
Definition: OSResult.cpp:5977
int getOtherConstraintResultArrayDense(int solIdx, int otherIdx, std::string *resultArray, int dim)
Get the values of a &lt;con&gt; array or an &lt;enumeration&gt; associated with an &lt;other&gt; result for some soluti...
Definition: OSResult.cpp:3819
bool setObjectiveValuesDense(int solIdx, double *objectiveValues)
Set the [i]th optimization solution&#39;s objective values, where i equals the given solution index...
Definition: OSResult.cpp:5824
int numberOfOtherConstraintResults
the number of types of constraint function results other than the basic constraint function values ...
Definition: OSResult.h:1868
bool addTimingInformation(std::string type, std::string category, std::string unit, std::string description, double value)
Add timing information.
Definition: OSResult.cpp:4487
std::string getUsedCPUSpeedDescription()
Definition: OSResult.cpp:1922
std::string name
optional name
Definition: OSResult.h:1289
std::string category
the category of the result value
Definition: OSResult.h:1156
int getOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx)
Definition: OSResult.cpp:3693
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9839
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...
Definition: OSResult.cpp:5585
std::string category
The category of time (total/input/preprocessing/optimization/postprocessing/output/other) ...
Definition: OSResult.h:234
bool setSolverOutputName(int otherIdx, std::string name)
Set the name associated with the [j]th solver output.
Definition: OSResult.cpp:7427
JobResult()
Default constructor.
Definition: OSResult.cpp:302
double value
The time measurement.
Definition: OSResult.h:252
std::string getUsedCPUNumberDescription()
Definition: OSResult.cpp:1936
MatrixVariableValues()
The MatrixVariableValues class constructor.
Definition: OSResult.cpp:930
~ObjValue()
Class destructor.
Definition: OSResult.cpp:629
~DualVariableValues()
Class destructor.
Definition: OSResult.cpp:804
int getTimeNumber()
Get the number of time measurements.
Definition: OSResult.cpp:1995
bool IsEqual(VariableSolution *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8393
The Time Class.
Definition: OSResult.h:221
std::string getServiceURI()
Get service uri.
Definition: OSResult.cpp:1532
int numberOfOtherVariableResults
the number of types of variable results other than the value of the variable
Definition: OSResult.h:1224
OtherOptionOrResultEnumeration ** enumeration
Definition: OSResult.h:1490
int idx
idx is the index on an objective function
Definition: OSResult.h:1286
OptimizationSolutionSubstatus()
Default constructor.
Definition: OSResult.cpp:360
std::string type
The type of timer used (cpuTime/elapsedTime/other)
Definition: OSResult.h:228
int getOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx)
Definition: OSResult.cpp:3229
OtherConstraintResult()
Default constructor.
Definition: OSResult.cpp:842
bool setSolutionWeightedObjectives(int solIdx, bool weightedObjectives)
Record whether the [i]th optimization solution uses weighted objectives, where i equals the given sol...
Definition: OSResult.cpp:4903
double value
the value of the objective indexed by idx
Definition: OSResult.h:1292
std::string getSolverOutputItem(int otherIdx, int itemIdx)
Definition: OSResult.cpp:4037
GeneralStatus()
Default constructor.
Definition: OSResult.cpp:51
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.
Definition: OSResult.cpp:5490
~OtherMatrixVariableResult()
The MatrixVariableValues class destructor.
Definition: OSResult.cpp:1029
std::string getCurrentState()
Definition: OSResult.cpp:1719
bool setSolverOutputItem(int otherIdx, int itemIdx, std::string item)
Set one item associated with the [j]th solver output.
Definition: OSResult.cpp:7468
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.
Definition: OSResult.cpp:6091
BasisStatus * basisStatus
a pointer to a BasisStatus object
Definition: OSResult.h:1874
bool setTotalJobsSoFar(int number)
Set the total number of jobs so far.
Definition: OSResult.cpp:4377
int m_iNumberOfOtherVariableResults
m_iNumberOfOtherVariableResults holds the number of OtherVariableResult objects.
Definition: OSResult.h:2629
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.
Definition: OSResult.cpp:6651
int numberOfOtherResults
the number of other results
Definition: OSResult.h:222
std::string getOtherVariableResultValue(int solIdx, int otherIdx)
Definition: OSResult.cpp:2520
this class extends OSMatrix for use, e.g., in the matrixObj section of OSoL and OSrL ...
Definition: OSMatrix.h:2391
VariableValuesString()
Default constructor.
Definition: OSResult.cpp:476
int numberOfObj
the number of objectives which have values for this particular type of result
Definition: OSResult.h:1450
OtherResult ** other
the array of other results
Definition: OSResult.h:225
std::string getOtherGeneralResultName(int idx)
Get the name of the i-th other result in the &lt;general&gt; element.
Definition: OSResult.cpp:1569
bool setDualVariableValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution&#39;s dual variable values, where i equals the given solution index...
Definition: OSResult.cpp:6248
int getOtherVariableResultArrayDense(int solIdx, int otherIdx, std::string *resultArray, int dim)
Get the values of a array or an &lt;enumeration&gt; associated with an &lt;other&gt; result for some solution...
Definition: OSResult.cpp:2755
bool setNumberOfGeneralSubstatuses(int num)
Set the number of substatus elements.
Definition: OSResult.cpp:4085
~OtherSolutionResults()
Class destructor.
Definition: OSResult.cpp:1200
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.
Definition: OSResult.cpp:6544
int getAvailableCPUNumberValue()
Definition: OSResult.cpp:1675
std::string jobID
the jobID is the ID associated with the solution of this instance
Definition: OSResult.h:295
bool IsEqual(GeneralResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7531
bool IsEqual(VariableValuesString *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8562
std::string type
the type of the solution substatus
Definition: OSResult.h:748
std::string currentState
a string describing the current state of the service
Definition: OSResult.h:420
bool IsEqual(OtherObjResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9066
int getNumberOfPrimalVariableValues(int solIdx)
Definition: OSResult.cpp:2149
std::string getOtherJobResultValue(int idx)
Definition: OSResult.cpp:1967
int getOtherVariableResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:2700
OptimizationSolution()
Default constructor.
Definition: OSResult.cpp:1219
std::string value
value holds a general value associated with a variable, for example, rather than the value of a varia...
Definition: OSResult.h:1081
void fint * n
OptimizationSolutionStatus * getSolutionStatus(int solIdx)
Get the [i]th optimization solution status, where i equals the given solution index.
Definition: OSResult.cpp:2041
std::string getGeneralSubstatusDescription(int i)
Get the i_th general substatus description.
Definition: OSResult.cpp:1510
bool setTimingInformation(int idx, std::string type, std::string category, std::string unit, std::string description, double value)
Set timing information.
Definition: OSResult.cpp:4520
bool IsEqual(DualVariableValues *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9179
std::string getUsedDiskSpaceUnit()
Definition: OSResult.cpp:1873
The DualVarValue Class.
Definition: OSResult.h:1598
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10748
std::string getUsedCPUSpeedUnit()
Definition: OSResult.cpp:1915
bool setTimeStamp(std::string timeStamp)
Set time stamp.
Definition: OSResult.cpp:4162
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 ...
Definition: OSResult.cpp:6922
int getVarValueIdx(int solIdx, int varIdx)
Definition: OSResult.cpp:2173
int getVariableNumber()
Get variable number.
Definition: OSResult.cpp:2003
std::string description
a description of the solution substatus
Definition: OSResult.h:751
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10338
int numberOfEnumerations
the number of distinct values for this particular type of result
Definition: OSResult.h:1455
int m_iConstraintNumber
m_iConstraintNumber holds the constraint number.
Definition: OSResult.h:2624
bool setNumberOfOtherObjectiveResults(int solIdx, int numberOfOtherObjectiveResults)
Set the [i]th optimization solution&#39;s other (non-standard/solver specific) objective-related results...
Definition: OSResult.cpp:5690
bool setOtherVariableResultNumberOfVar(int solIdx, int otherIdx, int numberOfVar)
Set the number of children of another (non-standard/solver specific) variable-related result...
Definition: OSResult.cpp:5390
~TimingInformation()
Class destructor.
Definition: OSResult.cpp:285
double value
value of dual variable on the constraint indexed by idx
Definition: OSResult.h:1611
~SystemResult()
Class destructor.
Definition: OSResult.cpp:173
bool IsEqual(ObjValue *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8925
OtherVarResult Class.
Definition: OSResult.h:1065
The GeneralStatus Class.
Definition: OSResult.h:105
std::string getOtherConstraintResultValue(int solIdx, int otherIdx)
Definition: OSResult.cpp:3583
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:436
std::string getSolutionSubstatusType(int solIdx, int substatusIdx)
Definition: OSResult.cpp:2084
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...
Definition: OSResult.cpp:6636
OSMatrixWithMatrixObjIdx ** matrixObj
matrixObj is an array of pointers to the &lt;matrixObj&gt; children
Definition: OSResult.h:2028
int numberOfItems
the number of items contained in this otherSolutionResult
Definition: OSResult.h:2371
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.
Definition: OSResult.cpp:6072
a data structure to represent an LP basis on both input and output
Definition: OSGeneral.h:645
bool setAvailableCPUNumberValue(int value)
Set the available number of CPUs.
Definition: OSResult.cpp:4306
the StorageCapacity class.
Definition: OSGeneral.h:754
int totalJobsSoFar
total jobs processed so far
Definition: OSResult.h:426
bool setTimeServiceStarted(std::string startTime)
Set the time the service was started.
Definition: OSResult.cpp:4384
OtherConResult()
Default constructor.
Definition: OSResult.cpp:822
int numberOfObjectives
numberOfObjectives is the number of objective functions reported in the solution. ...
Definition: OSResult.h:2490
std::string getOtherJobResultName(int idx)
Definition: OSResult.cpp:1957
~OtherSolutionResult()
Class destructor.
Definition: OSResult.cpp:1178
bool IsEqual(OtherSolverOutput *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9561
bool setServiceUtilization(double value)
Set the service utilitzation.
Definition: OSResult.cpp:4391
int getConstraintNumber()
Get constraint number.
Definition: OSResult.cpp:2023
The OtherVariableResult Class.
Definition: OSResult.h:1124
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10051
The ObjectiveSolution Class.
Definition: OSResult.h:1537
std::string getOtherVariableResultVar(int solIdx, int otherIdx, int varIdx)
Definition: OSResult.cpp:2587
std::string getOtherObjectiveResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:3297
bool setAvailableDiskSpaceValue(double value)
Set the amount of available disk space.
Definition: OSResult.cpp:4240
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.
Definition: OSResult.cpp:5566
std::string getOtherConstraintResultDescription(int solIdx, int otherIdx)
Definition: OSResult.cpp:3599
double getUsedCPUSpeedValue()
Definition: OSResult.cpp:1929
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.
Definition: OSResult.cpp:5996
SolverOutput ** solverOutput
solverOutput is a pointer to an array of SolverOutput objects
Definition: OSResult.h:2429
OptimizationSolutionStatus()
Default constructor.
Definition: OSResult.cpp:378
std::string description
the description of the status
Definition: OSResult.h:117
std::string name
the name of the result the user is defining
Definition: OSResult.h:1782
std::string submitTime
time the job was submitted
Definition: OSResult.h:667
std::string getOtherConstraintResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an &lt;other&gt; result for some solution.
Definition: OSResult.cpp:3710
~OtherObjectiveResult()
Class destructor.
Definition: OSResult.cpp:704
bool setAvailableCPUSpeedValue(double value)
Set the available CPU speed.
Definition: OSResult.cpp:4290
bool IsEqual(MatrixVariableSolution *that)
A function to check for the equality of two objects.
The OtherSolutionResults Class.
Definition: OSResult.h:2205
StorageCapacity * availableDiskSpace
a pointer to the DiskSpace class
Definition: OSResult.h:358