OS  2.10.2
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 
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 
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 
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 
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 
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 
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 
448 
453  bool IsEqual(ServiceResult *that);
454 
462  bool setRandom(double density, bool conformant);
463 };//class ServiceResult
464 
465 #if 0
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 
575 
581 
589  bool setRandom(double density, bool conformant);
590 };//class TimeMeasurement
591 
592 
605 {
606 public:
607 
613 
619 
630 
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 
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 
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 
920 
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 
976 
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 
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 
1093 
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 
1193 
1201  bool setRandom(double density, bool conformant);
1202 
1203 };//OtherVariableResult
1204 
1205 
1218 {
1219 public:
1220 
1225 
1228 
1231 
1234 
1239 
1245 
1251 
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 
1299 
1305 
1310  bool IsEqual(ObjValue *that);
1311 
1319  bool setRandom(double density, bool conformant);
1320 };//ObjValue
1321 
1333 {
1334 public:
1335 
1339 
1345 
1351 
1357 
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 
1407 
1413 
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 
1512 
1520  bool setRandom(double density, bool conformant);
1521 
1522 };//OtherObjectiveResult
1523 
1524 
1525 
1538 {
1539 public:
1540 
1545 
1548 
1551 
1556 
1562 
1568 
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 
1618 
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 
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 
1731 
1737 
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 
1836 
1844  bool setRandom(double density, bool conformant);
1845 
1846 };//OtherConstraintResult
1847 
1848 
1861 {
1862 
1863 public:
1864 
1869 
1872 
1875 
1880 
1886 
1892 
1898 
1906  bool setRandom(double density, bool conformant);
1907 
1908 };//ConstraintSolution
1909 
1915 {
1916 public:
1919 
1922 
1925 
1928 
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 
1985 }; // OtherMatrixVariableResult
1986 
1987 
1993 {
1994 public:
1997 
2000 
2003 
2006 
2009 
2014 }; // MatrixVariableSolution
2015 
2016 
2022 {
2023 public:
2026 
2029 
2032 
2035 
2040 }; // MatrixObjectiveSolution
2041 
2042 
2048 {
2049 public:
2052 
2055 
2058 
2061 
2066 }; // MatrixConstraintSolution
2067 
2068 
2069 class OtherSolutionResult; //forward declaration
2070 
2076 {
2077 public:
2080 
2083 
2086 
2089 
2092 
2093 
2096 
2099 
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 
2179 
2187  bool setRandom(double density, bool conformant);
2188 
2189 };//OtherSolutionResult
2190 
2191 
2192 
2193 
2206 {
2207 public:
2208 
2211 
2216 
2222 
2228 
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 
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 
2382 
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 
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 
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 
2588 
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 
2689 
2696 
2703  std::string getGeneralSubstatusName(int i);
2704 
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  /* */
2785  /* */
2787  /* */
2789  /* */
2790  std::string getAvailableMemoryUnit();
2791  /* */
2793  /* */
2795  /* */
2797  /* */
2799  /* */
2801  /* */
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  /* */
2817  /* */
2819  /* */
2820  std::string getTimeServiceStarted();
2821  /* */
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 
2848 
2855  double getTimeValue();
2856 
2857  /* */
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  /* */
2873  /* */
2875  /* */
2876  std::string getUsedMemoryUnit();
2877  /* */
2879  /* */
2881  /* */
2882  std::string getUsedCPUSpeedUnit();
2883  /* */
2885  /* */
2887  /* */
2889  /* */
2891  /* */
2893  /* */
2894  std::string getOtherJobResultName(int idx);
2895  /* */
2896  std::string getOtherJobResultValue(int idx);
2897  /* */
2898  std::string getOtherJobResultDescription(int idx);
2899 
2906 
2913 
2920 
2927 
2928 
2938 
2948  std::string getSolutionStatusType(int solIdx);
2949 
2956  std::string getSolutionStatusDescription(int solIdx);
2957 
2958  /* */
2960  /* */
2961  std::string getSolutionSubstatusType(int solIdx, int substatusIdx);
2962  /* */
2963  std::string getSolutionSubstatusDescription(int solIdx, int substatusIdx);
2964  /* */
2966  /* */
2967  std::string getSolutionTargetObjectiveName(int solIdx);
2968 
2976 
2983  std::string getSolutionMessage(int solIdx);
2984 
2985  /* */
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  /* */
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 
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  /* */
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  /* */
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  /* */
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 
3379 
3387  bool setGeneralStatusType(std::string type);
3388 
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 
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 
3609 
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 
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 
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 
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:600
@ ENUM_MATRIX_TYPE_unknown
Definition: OSParameters.h:615
ENUM_MATRIX_SYMMETRY
Definition: OSParameters.h:736
@ ENUM_MATRIX_SYMMETRY_none
Definition: OSParameters.h:737
a data structure to represent an LP basis on both input and output
Definition: OSGeneral.h:646
the CPUNumber class.
Definition: OSGeneral.h:872
the CPUSpeed class.
Definition: OSGeneral.h:813
The ConstraintSolution Class.
Definition: OSResult.h:1861
OtherConstraintResult ** other
a pointer to an array of other pointer objects for constraint functions
Definition: OSResult.h:1879
ConstraintSolution()
Default constructor.
BasisStatus * basisStatus
a pointer to a BasisStatus object
Definition: OSResult.h:1874
bool IsEqual(ConstraintSolution *that)
A function to check for the equality of two objects.
~ConstraintSolution()
Class destructor.
int numberOfOtherConstraintResults
the number of types of constraint function results other than the basic constraint function values
Definition: OSResult.h:1868
DualVariableValues * dualValues
a pointer to an array of DualVariableValues objects
Definition: OSResult.h:1871
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
The DualVarValue Class.
Definition: OSResult.h:1599
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string name
optional name
Definition: OSResult.h:1606
DualVarValue()
Default constructor.
~DualVarValue()
Class destructor.
double value
value of dual variable on the constraint indexed by idx
Definition: OSResult.h:1611
bool IsEqual(DualVarValue *that)
A function to check for the equality of two objects.
int idx
idx is the index on a constraint
Definition: OSResult.h:1603
The DualVariableValues Class.
Definition: OSResult.h:1655
~DualVariableValues()
Class destructor.
DualVarValue ** con
con is a vector of DualVarValue objects that give an index and dual variable value for each constrain...
Definition: OSResult.h:1666
bool IsEqual(DualVariableValues *that)
A function to check for the equality of two objects.
DualVariableValues()
Default constructor.
int numberOfCon
record the number of constraints for which values are given
Definition: OSResult.h:1660
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
a data structure that holds general information about files that conform to one of the OSxL schemas
Definition: OSGeneral.h:33
The GeneralResult Class.
Definition: OSResult.h:267
~GeneralResult()
Class destructor.
std::string solverInvoked
the name of the solver used
Definition: OSResult.h:299
GeneralResult()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string serviceURI
the serviceURI is the URI of the solver service that did the optimization
Definition: OSResult.h:281
std::string serviceName
the serviceName is the name of the solver service that did the optimization
Definition: OSResult.h:286
bool IsEqual(GeneralResult *that)
A function to check for the equality of two objects.
std::string timeStamp
a time stamp associated with the process
Definition: OSResult.h:303
std::string jobID
the jobID is the ID associated with the solution of this instance
Definition: OSResult.h:295
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:307
std::string instanceName
the name of the instance that was solved
Definition: OSResult.h:290
std::string message
any general message associated with the optimization
Definition: OSResult.h:276
GeneralStatus * generalStatus
a pointer to the GeneralStatus class
Definition: OSResult.h:272
The GeneralStatus Class.
Definition: OSResult.h:106
bool IsEqual(GeneralStatus *that)
A function to check for the equality of two objects.
int numberOfSubstatuses
the number of substatuses
Definition: OSResult.h:111
std::string type
the type of status
Definition: OSResult.h:114
GeneralSubstatus ** substatus
the array of substatuses
Definition: OSResult.h:120
~GeneralStatus()
Class destructor.
std::string description
the description of the status
Definition: OSResult.h:117
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
GeneralStatus()
Default constructor.
The GeneralSubstatus Class.
Definition: OSResult.h:55
bool IsEqual(GeneralSubstatus *that)
A function to check for the equality of two objects.
~GeneralSubstatus()
Class destructor.
std::string description
the description of the substatus
Definition: OSResult.h:63
GeneralSubstatus()
Default constructor.
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.
The JobResult Class.
Definition: OSResult.h:660
std::string status
job status
Definition: OSResult.h:664
std::string scheduledStartTime
the time when the job was supposed to start
Definition: OSResult.h:670
JobResult()
Default constructor.
CPUSpeed * usedCPUSpeed
a pointer to the CPUSpeed class
Definition: OSResult.h:692
CPUNumber * usedCPUNumber
a pointer to the CPUNumber class
Definition: OSResult.h:696
StorageCapacity * usedMemory
a pointer to the MemorySize class
Definition: OSResult.h:688
std::string submitTime
time the job was submitted
Definition: OSResult.h:667
TimingInformation * timingInformation
a pointer to the TimingInformation class
Definition: OSResult.h:679
~JobResult()
Class destructor.
std::string actualStartTime
the time when the job actually started
Definition: OSResult.h:673
bool IsEqual(JobResult *that)
A function to check for the equality of two objects.
StorageCapacity * usedDiskSpace
a pointer to the DiskSpace class
Definition: OSResult.h:683
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:700
std::string endTime
the time when the job finished
Definition: OSResult.h:676
The in-memory representation of the <MatrixConstraintSolution> element.
Definition: OSResult.h:2048
OSMatrixWithMatrixConIdx ** matrixCon
matrixCon is an array of pointers to the <matrixCon> children
Definition: OSResult.h:2054
MatrixConstraintSolution()
The MatrixConstraintSolution class constructor.
bool IsEqual(MatrixConstraintSolution *that)
A function to check for the equality of two objects.
int numberOfOtherMatrixConstraintResults
numberOfOtherMatrixConstraintResults gives the number of <other> children
Definition: OSResult.h:2051
~MatrixConstraintSolution()
The MatrixConstraintSolution class destructor.
an abstract class to help represent the elements in a MatrixType object From this we derive concrete ...
Definition: OSMatrix.h:322
The in-memory representation of the <MatrixVariableSolution> element.
Definition: OSResult.h:2022
int numberOfOtherMatrixObjectiveResults
numberOfOtherMatrixObjectiveResults gives the number of <other> children
Definition: OSResult.h:2025
MatrixObjectiveSolution()
The MatrixVariableSolution class constructor.
OSMatrixWithMatrixObjIdx ** matrixObj
matrixObj is an array of pointers to the <matrixObj> children
Definition: OSResult.h:2028
~MatrixObjectiveSolution()
The MatrixVariableSolution class destructor.
bool IsEqual(MatrixObjectiveSolution *that)
A function to check for the equality of two objects.
The in-memory representation of the <MatrixProgrammingSolution> element.
Definition: OSResult.h:2076
bool setRandom(double density, bool conformant, int iMin, int iMax)
A function to make a random instance of this class.
bool deepCopyFrom(MatrixProgrammingSolution *that)
A function to make a deep copy of an instance of this class.
~MatrixProgrammingSolution()
The MatrixProgramming class destructor.
MatrixVariableSolution * matrixVariables
a pointer to the matrixVariables object
Definition: OSResult.h:2085
MatrixProgrammingSolution()
The MatrixProgramming class constructor.
bool IsEqual(MatrixProgrammingSolution *that)
A function to check for the equality of two objects.
OtherSolutionResult ** other
a pointer to the array of <other> children
Definition: OSResult.h:2082
int numberOfOtherMatrixProgrammingResults
the number of <other> child elements>
Definition: OSResult.h:2079
MatrixConstraintSolution * matrixConstraints
a pointer to the matrixConstraints object
Definition: OSResult.h:2091
MatrixObjectiveSolution * matrixObjectives
a pointer to the matrixObjectives object
Definition: OSResult.h:2088
The in-memory representation of the <MatrixVariableSolution> element.
Definition: OSResult.h:1993
MatrixVariableValues * values
values is pointer to the <values> child
Definition: OSResult.h:1999
bool IsEqual(MatrixVariableSolution *that)
A function to check for the equality of two objects.
MatrixVariableSolution()
The MatrixVariableSolution class constructor.
int numberOfOtherMatrixVariableResults
numberOfOtherMatrixVariableResults gives the number of <other> children
Definition: OSResult.h:1996
OtherMatrixVariableResult ** other
other is a pointer to an array of <other> children
Definition: OSResult.h:2002
~MatrixVariableSolution()
The MatrixVariableSolution class destructor.
The in-memory representation of the <matrixVariables> element.
Definition: OSResult.h:1915
MatrixVariableValues()
The MatrixVariableValues class constructor.
bool IsEqual(MatrixVariableValues *that)
A function to check for the equality of two objects.
~MatrixVariableValues()
The MatrixVariableValues class destructor.
OSMatrixWithMatrixVarIdx ** matrixVar
matrixVar is an array of pointers to the <matrixVar> children
Definition: OSResult.h:1921
int numberOfMatrixVar
numberOfMatrixVar gives the number of <matrixVar> children
Definition: OSResult.h:1918
this class extends OSMatrix for use, e.g., in the matrixCon section of OSoL and OSrL
Definition: OSMatrix.h:2446
this class extends OSMatrix for use, e.g., in the matrixObj section of OSoL and OSrL
Definition: OSMatrix.h:2392
this class extends OSMatrix for use, e.g., in the matrixVar section of OSoL and OSrL
Definition: OSMatrix.h:2337
The Result Class.
Definition: OSResult.h:2549
bool setAvailableDiskSpaceDescription(std::string description)
Set the description of available disk space.
std::string getGeneralSubstatusDescription(int i)
Get the i_th general substatus description.
std::string getAvailableCPUSpeedUnit()
double getUsedCPUSpeedValue()
bool setNumberOfOtherServiceResults(int num)
Set number of other service results.
std::string getOtherGeneralResultName(int idx)
Get the name of the i-th other result in the <general> element.
std::string getUsedMemoryUnit()
int getOtherObjectiveResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an <other> result for some solution.
bool setVarValue(int solIdx, int number, int idx, std::string name, double val)
Set a primal variable value.
bool setOtherVariableResultVarType(int solIdx, int otherIdx, std::string varType)
Set the varType of another (non-standard/solver specific) variable-related result,...
std::string getSolutionMessage(int solIdx)
Get the [i]th optimization solution message, where i equals the given solution index.
bool setDualVariableValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution's dual variable values, where i equals the given solution index.
std::string getOtherConstraintResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an <other> result for some solution.
bool setNumberOfDualVariableValues(int solIdx, int n)
Set the [i]th optimization solution's number of dual variable values, where i equals the given soluti...
std::string getGeneralMessage()
Get the general message.
int getNumberOfVarValuesString(int solIdx)
bool setOtherConstraintResultType(int solIdx, int otherIdx, std::string type)
Set the type of another (non-standard/solver specific) constraint-related result, for the [i]th solut...
int getNumberOfDualValues(int solIdx)
bool setGeneralMessage(std::string message)
Set the general message.
int getSolverOutputNumberOfItems(int otherIdx)
std::string getTimingInfoDescription(int idx)
bool setTimeStamp(std::string timeStamp)
Set time stamp.
bool setVarValueString(int solIdx, int number, int idx, std::string name, std::string str)
Set a string-valued primal variable value.
int getOtherVariableResultNumberOfVar(int solIdx, int otherIdx)
bool setOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx, int idx)
Set the index of another (non-standard/solver specific) objective-related result, for the [i]th solut...
bool 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...
std::string getAvailableDiskSpaceDescription()
bool setOtherVariableResultNumberOfVar(int solIdx, int otherIdx, int numberOfVar)
Set the number of children of another (non-standard/solver specific) variable-related result,...
bool setJobID(std::string jobID)
Set job id.
bool setNumberOfOtherJobResults(int num)
Set number of other job results.
bool setJobStatus(std::string status)
Set the job status.
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...
bool setPrimalVariableValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution's primal variable values, where i equals the given solution index...
std::string getVarValueString(int solIdx, int varIdx)
std::string getOtherVariableResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an <other> result for some solution.
std::string getOtherConstraintResultDescription(int solIdx, int otherIdx)
bool setUsedDiskSpaceValue(double value)
Set the amount of used disk space.
std::string getOtherObjectiveResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an <other> result for some solution.
bool setOtherConstraintResultConType(int solIdx, int otherIdx, std::string conType)
Set the conType of another (non-standard/solver specific) constraint-related result,...
std::string getServiceURI()
Get service uri.
bool setAvailableCPUNumberDescription(std::string description)
Set the description of available number of CPUs.
bool setUsedCPUNumberDescription(std::string description)
Set the description of used number of CPUs.
SystemResult * system
system holds the second child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2566
OSResult()
Default constructor.
int m_iNumberOfOtherVariableResults
m_iNumberOfOtherVariableResults holds the number of OtherVariableResult objects.
Definition: OSResult.h:2629
std::string getSolverOutputName(int otherIdx)
std::string getUsedCPUSpeedUnit()
std::string getSolverOutputDescription(int otherIdx)
int getUsedCPUNumberValue()
int getNumberOfObjValues(int solIdx)
std::string getOtherVariableResultName(int solIdx, int otherIdx)
bool setOtherVariableResultValue(int solIdx, int otherIdx, std::string value)
Set the value of another (non-standard/solver specific) variable-related result, for the [i]th soluti...
std::string getOtherSystemResultDescription(int idx)
GeneralResult * general
general holds the first child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2561
bool setOtherVariableResultVar(int solIdx, int otherIdx, int varIdx, std::string value)
Set the value of another (non-standard/solver specific) variable-related result, for the [i]th soluti...
bool setGeneralStatusDescription(std::string description)
Set the general status description.
bool setSolutionNumber(int number)
set the number of solutions.
int getNumberOfOtherJobResults()
bool setMatrixVariablesOtherResultBlockElements(int solIdx, int otherIdx, int matrixVarIdx, int blkno, int blkRowIdx, int blkColIdx, int nz, int *start, int *index, MatrixElementValues *value, ENUM_MATRIX_TYPE valueType, ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none, bool rowMajor=false)
A method to set the elements within a block of a matrixVar associated with the [j]th "other" result i...
std::string getOtherGeneralResultDescription(int idx)
std::string getOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx)
bool setOtherSystemResultValue(int idx, std::string value)
Set the system otherResult value.
bool setOtherGeneralResultName(int idx, std::string name)
Set the general otherResult name.
OptimizationSolutionStatus * getSolutionStatus(int solIdx)
Get the [i]th optimization solution status, where i equals the given solution index.
bool setAvailableCPUSpeedValue(double value)
Set the available CPU speed.
std::string getOtherConstraintResultType(int solIdx, int otherIdx)
std::string getJobStatus()
int getOtherConstraintResultNumberOfCon(int solIdx, int otherIdx)
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...
bool setSolverOutputItem(int otherIdx, int itemIdx, std::string item)
Set one item associated with the [j]th solver output.
ServiceResult * service
service holds the third child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2571
int getBasisStatusNumberOfEl(int solIdx, int object, int status)
Get the number of indices that belong to a particular basis status.
GeneralStatus * getGeneralStatus()
Get the general status.
bool setInstanceName(std::string instanceName)
Set instance name.
bool setOtherJobResultName(int idx, std::string name)
Set the job otherResult name.
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...
bool setSolutionSubstatusDescription(int solIdx, int substatusIdx, std::string description)
Set the solution substatus description.
double getAvailableCPUSpeedValue()
bool setSolverOutputNumberOfItems(int otherIdx, int numberOfItems)
Set the number of items associated with the [j]th solver output.
bool setMatrixVariableSolution(int solIdx, int numberOfMatrixVar_, int numberOfOtherMatrixVariableResults_)
Set the [i]th optimization solution's MatrixVariableSolution, where i equals the given solution index...
bool setObjectiveValuesDense(int solIdx, double *objectiveValues)
Set the [i]th optimization solution's objective values, where i equals the given solution index.
std::string getCurrentState()
bool setJobSubmitTime(std::string submitTime)
Set the time when the job was submitted.
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,...
std::string getTimingInfoCategory(int idx)
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...
std::vector< IndexValuePair * > getOptimalPrimalVariableValues(int solIdx)
Get one solution of optimal primal variable values.
bool setNumberOfDualValues(int solIdx, int numberOfCon)
Set the number of constraints to be given a value.
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 ...
bool setNumberOfSolutionSubstatuses(int solIdx, int num)
Set the [i]th optimization solution's number of substatus elements.
double getAvailableMemoryValue()
bool setOtherServiceResultDescription(int idx, std::string description)
Set the service otherResult description.
int m_iObjectiveNumber
m_iObjectiveNumber holds the objective number.
Definition: OSResult.h:2619
int getOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx)
int getOtherVariableResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an <other> result for some solution.
bool setOtherSolutionResultName(int solIdx, int otherIdx, std::string name)
Set the name associated with the [j]th other solution result of solution [i].
std::string getJobEndTime()
int getNumberOfOtherConstraintResults(int solIdx)
int getOtherVariableResultArrayDense(int solIdx, int otherIdx, std::string *resultArray, int dim)
Get the values of a array or an <enumeration> associated with an <other> result for some solution.
std::string getServiceName()
Get service name.
bool setUsedCPUSpeedUnit(std::string unit)
Set the unit in which used CPU speed is measured.
bool setTimeServiceStarted(std::string startTime)
Set the time the service was started.
std::string getOtherSolutionResultValue(int solIdx, int otherIdx)
std::string getUsedCPUSpeedDescription()
int getOtherVariableResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an <other> result for some solution.
bool setNumberOfOtherVariableResults(int solIdx, int numberOfOtherVariableResults)
Set the [i]th optimization solution's other (non-standard/solver specific) variable-related results,...
bool setOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfObj)
Set the number of <enumeration> children of another (non-standard/solver specific) objective-related ...
bool setObjectiveValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution's objective values, where i equals the given solution index.
bool setGeneralStatusType(std::string type)
Set the general status type, which can be: success, error, warning.
std::string getSolutionSubstatusDescription(int solIdx, int substatusIdx)
bool setNumberOfTimes(int numberOfTimes)
Set the number of time measurements and initial the time array.
std::string getOtherSystemResultValue(int idx)
bool setObjectiveNumber(int objectiveNumber)
Set the objective number.
bool setOtherServiceResultValue(int idx, std::string value)
Set the service otherResult value.
bool setSolutionTargetObjectiveName(int solIdx, std::string objectiveName)
Set the [i]th optimization solution's objective name, where i equals the given solution index.
bool setCurrentJobCount(int jobCount)
Set the current job count.
int getNumberOfSolverOutputs()
bool getSolutionWeightedObjectives(int solIdx)
Get the [i]th optimization solution form of the objective.
bool setOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx, std::string value)
Set the value of another (non-standard/solver specific) constraint-related result,...
int getObjValueIdx(int solIdx, int objIdx)
std::string getVarValueName(int solIdx, int varIdx)
std::string getTimingInfoType(int idx)
bool setNumberOfOtherSolutionResults(int solIdx, int numberOfOtherSolutionResults)
Set the [i]th optimization solution's other (non-standard/solver specific) solution-related results,...
bool setOtherVariableResultSolver(int solIdx, int otherIdx, std::string solver)
Set the solver of another (non-standard/solver specific) variable-related result, for the [i]th solut...
bool setTotalJobsSoFar(int number)
Set the total number of jobs so far.
int getOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx)
int m_iVariableNumber
m_iVariableNumber holds the variable number.
Definition: OSResult.h:2614
bool setOtherObjectiveResultCategory(int solIdx, int otherIdx, std::string category)
Set the category of another (non-standard/solver specific) objective-related result,...
std::string getUsedDiskSpaceUnit()
std::string getAvailableDiskSpaceUnit()
std::string getGeneralStatusDescription()
Get the general status description.
bool setSolverOutputName(int otherIdx, std::string name)
Set the name associated with the [j]th solver output.
std::string getTimeStamp()
Get the time stamp.
bool setAvailableMemoryUnit(std::string unit)
Set the unit in which available memory is measured.
bool setActualStartTime(std::string actualStartTime)
Set the job's actual start time.
int getObjectiveNumber()
Get objective number.
bool setNumberOfOtherGeneralResults(int num)
Set number of other general results.
bool setNumberOfObjectiveValues(int solIdx, int n)
Set the [i]th optimization solution's number of objective values, where i equals the given solution i...
int getNumberOfOtherGeneralResults()
Get the number of other results in the <general> element.
bool setOtherJobResultValue(int idx, std::string value)
Set the job otherResult value.
bool setPrimalVariableValuesDense(int solIdx, double *x)
Set the [i]th optimization solution's primal variable values, where i equals the given solution index...
bool setAvailableCPUNumberValue(int value)
Set the available number of CPUs.
int getOtherConstraintResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an <other> result for some solution.
std::string getSolutionTargetObjectiveName(int solIdx)
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...
std::string getScheduledStartTime()
std::string getJobSubmitTime()
bool setOtherConstraintResultName(int solIdx, int otherIdx, std::string name)
Set the name of another (non-standard/solver specific) constraint-related result, for the [i]th solut...
int getOtherConstraintResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an <other> result for some solution.
std::string getAvailableMemoryDescription()
bool setUsedCPUNumberValue(int value)
Set the used number of CPUs.
int getNumberOfSolutionSubstatuses(int solIdx)
std::vector< IndexValuePair * > primalVals
Definition: OSResult.h:2642
int getNumberOfGeneralSubstatuses()
Get the number of substatuses.
std::string getOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx)
std::string getOtherObjectiveResultType(int solIdx, int otherIdx)
bool setOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfCon)
Set the number of <enumeration> children of another (non-standard/solver specific) constraint-related...
bool setUsedMemoryValue(double value)
Set the amount of used memory.
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...
double getOptimalObjValue(int objIdx, int solIdx)
Get one solution's optimal objective value.
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...
bool setOtherConstraintResultEnumType(int solIdx, int otherIdx, std::string enumType)
Set the enumType of another (non-standard/solver specific) constraint-related result,...
bool setGeneralStatus(GeneralStatus *status)
Set the general status.
int getVarValueStringIdx(int solIdx, int varIdx)
bool setMatrixVariablesOtherResultBlockStructure(int solIdx, int otherIdx, int matrixVarIdx, int *colOffset, int colOffsetSize, int *rowOffset, int rowOffsetSize, int numberOfBlocks, int blocksConstructorIdx=0)
A method to set the block structure for the values of a matrixVar associated with the [j]th "other" r...
double getVarValue(int solIdx, int varIdx)
int getNumberOfVarValues(int solIdx)
GeneralFileHeader * resultHeader
header information
Definition: OSResult.h:2556
bool setOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx, int numberOfObj)
Set the number of <obj> children of another (non-standard/solver specific) objective-related result,...
std::string getActualStartTime()
std::string getOtherVariableResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an <other> result for some solution.
bool setOtherObjectiveResultSolver(int solIdx, int otherIdx, std::string solver)
Set the solver of another (non-standard/solver specific) objective-related result,...
std::string getOtherObjectiveResultDescription(int solIdx, int otherIdx)
bool setServiceName(std::string serviceName)
Set service name.
double getTimingInfoValue(int idx)
bool setNumberOfPrimalVariableValues(int solIdx, int n)
Set the [i]th optimization solution's number of primal variable values, where i equals the given solu...
std::string getJobID()
Get the job id.
bool setUsedMemoryDescription(std::string description)
Set the description of used memory.
bool setAvailableDiskSpaceValue(double value)
Set the amount of available disk space.
int getTimeNumber()
Get the number of time measurements.
bool setSolverInvoked(std::string solverInvoked)
Set solver invoked.
bool setOtherObjectiveResultEnumType(int solIdx, int otherIdx, std::string enumType)
Set the enumType of another (non-standard/solver specific) objective-related result,...
bool setNumberOfOtherObjectiveResults(int solIdx, int numberOfOtherObjectiveResults)
Set the [i]th optimization solution's other (non-standard/solver specific) objective-related results,...
int getBasisInformationDense(int solIdx, int object, int *resultArray, int dim)
Get the basis information associated with the variables, objectives or constraints for some solution.
double getAvailableDiskSpaceValue()
bool setOtherSolutionResultDescription(int solIdx, int otherIdx, std::string description)
Set the description associated with the [j]th other solution result of solution [i].
bool setVariableNumber(int variableNumber)
Set the variable number.
~OSResult()
Class destructor.
int getNumberOfOtherSystemResults()
int getOtherObjectiveResultArrayDense(int solIdx, int otherIdx, std::string *resultArray, int dim)
Get the values of an <obj> array or an <enumeration> associated with an <other> result for some solut...
int getBasisStatusEl(int solIdx, int object, int status, int j)
Get an entry in the array of indices that belong to a particular basis status.
bool setAvailableCPUSpeedDescription(std::string description)
Set the description of available CPU speed.
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...
bool setTime(double time)
Set time.
std::string getSolutionSubstatusType(int solIdx, int substatusIdx)
int getNumberOfOtherServiceResults()
bool setOtherVariableResultDescription(int solIdx, int otherIdx, std::string description)
Set the description of another (non-standard/solver specific) variable-related result,...
bool setNumberOfGeneralSubstatuses(int num)
Set the number of substatus elements.
double * m_mdDualValues
m_mdDualValues a vector of dual variables.
Definition: OSResult.h:2639
std::string getAvailableCPUNumberDescription()
int getSolutionNumber()
get the number of solutions.
bool setDualVariableValuesDense(int solIdx, double *y)
Set the [i]th optimization solution's dual variable values, where i equals the given solution index.
int getOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx)
bool setSolutionSubstatusType(int solIdx, int substatusIdx, std::string type)
Set the solution substatus type.
bool setUsedCPUSpeedValue(double value)
Set the used CPU speed.
int getOtherObjectiveResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an <other> result for some solution.
std::string getOtherVariableResultVar(int solIdx, int otherIdx, int varIdx)
bool setAnOtherVariableResultDense(int solIdx, int otherIdx, std::string name, std::string value, std::string description, std::string *s)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
int getVarValueIdx(int solIdx, int varIdx)
std::string getAvailableCPUSpeedDescription()
bool setUsedDiskSpaceUnit(std::string unit)
Set the unit in which used disk space is measured.
std::string getOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx)
int getSolutionTargetObjectiveIdx(int solIdx)
std::string getOtherObjectiveResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an <other> result for some solution.
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].
bool setOtherJobResultDescription(int idx, std::string description)
Set the job otherResult description.
std::string getUsedCPUNumberDescription()
bool setUsedDiskSpaceDescription(std::string description)
Set the description of used disk space.
int getTotalJobsSoFar()
bool setSolverOutputDescription(int otherIdx, std::string description)
Set the description associated with the [j]th solver output.
std::string getOtherObjectiveResultName(int solIdx, int otherIdx)
std::string getOtherVariableResultType(int solIdx, int otherIdx)
bool setGeneralSubstatusName(int idx, std::string name)
Set the general substatus name.
bool setSolutionMessage(int solIdx, std::string msg)
Set the [i]th optimization solution's message, where i equals the given solution index.
bool setOtherConstraintResultSolver(int solIdx, int otherIdx, std::string solver)
Set the solver of another (non-standard/solver specific) constraint-related result,...
std::string getOtherJobResultValue(int idx)
std::string getSolverOutputItem(int otherIdx, int itemIdx)
std::string getSystemInformation()
bool setOtherVariableResultCategory(int solIdx, int otherIdx, std::string category)
Set the category of another (non-standard/solver specific) variable-related result,...
std::string getInstanceName()
Get instance name.
bool setUsedMemoryUnit(std::string unit)
Set the unit in which used memory is measured.
bool setCurrentState(std::string currentState)
Set the current state of the service.
std::string getSolverInvoked()
Get the solver invoked.
int getNumberOfTimes()
std::string getTimeServiceStarted()
bool setOtherObjectiveResultValue(int solIdx, int otherIdx, std::string value)
Set the value of another (non-standard/solver specific) objective-related result, for the [i]th solut...
bool setTimeNumber(int timeNumber)
Set the number of time measurements.
double getUsedDiskSpaceValue()
std::string getOtherGeneralResultValue(int idx)
int getOtherSolutionResultNumberOfItems(int solIdx, int otherIdx)
bool setOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx, int idx)
Set the index of another (non-standard/solver specific) constraint-related result,...
bool setSolutionStatusDescription(int solIdx, std::string description)
Set the [i]th optimization solution status description.
int getNumberOfOtherSolutionResults(int solIdx)
double getUsedMemoryValue()
bool setOtherGeneralResultDescription(int idx, std::string description)
Set the general otherResult description.
bool setSolutionStatus(int solIdx, std::string type, std::string description)
Set the [i]th optimization solution status, where i equals the given solution index.
double getTimeValue()
Get the time measurement.
bool setObjValue(int solIdx, int number, int idx, std::string name, double val)
Set an objective value.
std::string getAvailableMemoryUnit()
bool setOtherSolutionResultNumberOfItems(int solIdx, int otherIdx, int numberOfItems)
Set the number of items associated with the [j]th other solution result of solution [i].
std::string getGeneralSubstatusName(int i)
Get the i_th general substatus name.
bool setUsedCPUSpeedDescription(std::string description)
Set the description of used CPU speed.
bool addTimingInformation(std::string type, std::string category, std::string unit, std::string description, double value)
Add timing information.
int getNumberOfPrimalVariableValues(int solIdx)
std::string getVarValueStringName(int solIdx, int varIdx)
std::string getUsedDiskSpaceDescription()
std::string getOtherSolutionResultName(int solIdx, int otherIdx)
bool setOtherObjectiveResultDescription(int solIdx, int otherIdx, std::string description)
Set the description of another (non-standard/solver specific) objective-related result,...
int getConstraintNumber()
Get constraint number.
bool setTimingInformation(int idx, std::string type, std::string category, std::string unit, std::string description, double value)
Set timing information.
std::vector< IndexValuePair * > dualVals
Definition: OSResult.h:2644
bool setSolutionWeightedObjectives(int solIdx, bool weightedObjectives)
Record whether the [i]th optimization solution uses weighted objectives, where i equals the given sol...
std::string getOtherObjectiveResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the <obj> or <enumeration> array associated with an <other> resul...
int getAvailableCPUNumberValue()
std::string getObjValueName(int solIdx, int objIdx)
bool setOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfEnumerations)
Set the number of <enumeration> children of another (non-standard/solver specific) variable-related r...
bool setAnOtherVariableResultSparse(int solIdx, int otherIdx, std::string name, std::string value, std::string description, int *idx, std::string *s, int n)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
bool setSolverOutputCategory(int otherIdx, std::string category)
Set the category associated with the [j]th solver output.
std::string getOtherJobResultDescription(int idx)
std::string getOtherServiceResultValue(int idx)
bool setConstraintNumber(int constraintNumber)
Set the constraint number.
double getObjValue(int solIdx, int objIdx)
std::string getTimingInfoUnit(int idx)
JobResult * job
job holds the fourth child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2576
bool IsEqual(OSResult *that)
A function to check for the equality of two objects.
std::string getOtherServiceResultDescription(int idx)
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,...
double getServiceUtilization()
bool setNumberOfOtherSystemResults(int num)
Set number of other system results.
bool setBasisStatus(int solIdx, int object, int status, int *i, int ni)
Set the basis status of a number of variables/constraints/objectives.
std::string getOtherObjectiveResultValue(int solIdx, int otherIdx)
std::string getOtherConstraintResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an <other> result for some solution.
bool setAvailableMemoryValue(double value)
Set the amount of available memory.
bool setJobEndTime(std::string endTime)
Set the time when the job finished.
bool setServiceUtilization(double value)
Set the service utilitzation.
int getCurrentJobCount()
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setNumberOfOtherConstraintResults(int solIdx, int numberOfOtherConstraintResults)
Set the [i]th optimization solution's other (non-standard/solver specific) constraint-related results...
std::string getGeneralStatusType()
Get the general status type, which can be: success, error, warning.
bool setOtherObjectiveResultObjType(int solIdx, int otherIdx, std::string objType)
Set the objType of another (non-standard/solver specific) objective-related result,...
bool setNumberOfObjValues(int solIdx, int numberOfObj)
Set the number of objectives to be given a value.
std::string getOtherVariableResultValue(int solIdx, int otherIdx)
int getOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx)
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...
bool setAvailableCPUSpeedUnit(std::string unit)
Set the unit in which available CPU speed is measured.
std::string getOtherConstraintResultValue(int solIdx, int otherIdx)
bool setOtherVariableResultEnumType(int solIdx, int otherIdx, std::string enumType)
Set the enumType of another (non-standard/solver specific) variable-related result,...
bool setNumberOfVarValuesString(int solIdx, int numberOfVar)
Set the number of string-valued primal variables to be given a value.
std::string getOtherSolutionResultDescription(int solIdx, int otherIdx)
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)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
int getOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx)
bool setOtherConstraintResultCategory(int solIdx, int otherIdx, std::string category)
Set the category of another (non-standard/solver specific) constraint-related result,...
bool setScheduledStartTime(std::string scheduledStartTime)
Set the job's scheduled start time.
bool setServiceURI(std::string serviceURI)
Set service uri.
std::string getDualValueName(int solIdx, int objIdx)
int getDualValueIdx(int solIdx, int conIdx)
double getDualValue(int solIdx, int conIdx)
bool setDualValue(int solIdx, int number, int idx, std::string name, double val)
Set a dual value.
std::string getOtherJobResultName(int idx)
int getNumberOfOtherVariableResults(int solIdx)
Get numberOfOtherVariableResult.
bool setOtherServiceResultName(int idx, std::string name)
Set the service otherResult name.
bool setOtherSolutionResultValue(int solIdx, int otherIdx, std::string value)
Set the value associated with the [j]th other solution result of solution [i].
bool setAnOtherSolutionResult(int solIdx, std::string name, std::string value, std::string category, std::string description, int numberOfItems, std::string *item)
Set another solution result of solution [i].
std::string getUsedMemoryDescription()
bool setOtherConstraintResultValue(int solIdx, int otherIdx, std::string value)
Set the value of another (non-standard/solver specific) constraint-related result,...
int getVariableNumber()
Get variable number.
std::string getSolverOutputCategory(int otherIdx)
bool setGeneralSubstatusDescription(int idx, std::string description)
Set the general substatus description.
std::string getOtherVariableResultDescription(int solIdx, int otherIdx)
std::string getOtherServiceResultName(int idx)
std::string getOtherConstraintResultName(int solIdx, int otherIdx)
double * m_mdPrimalValues
m_mdPrimalValues a vector of primal variables.
Definition: OSResult.h:2634
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,...
OptimizationResult * optimization
optimization holds the fifth child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2581
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...
bool setSolutionTargetObjectiveIdx(int solIdx, int objectiveIdx)
Set the [i]th optimization solution's objective index, where i equals the given solution index.
bool setAvailableDiskSpaceUnit(std::string unit)
Set the unit in which available disk space is measured.
bool setOtherSystemResultDescription(int idx, std::string description)
Set the system otherResult description.
bool setSystemInformation(std::string systemInformation)
Set the system information.
int getOtherConstraintResultArrayDense(int solIdx, int otherIdx, std::string *resultArray, int dim)
Get the values of a <con> array or an <enumeration> associated with an <other> result for some soluti...
std::string getOtherSolutionResultCategory(int solIdx, int otherIdx)
std::vector< IndexValuePair * > getOptimalDualVariableValues(int solIdx)
Get one solution of optimal dual variable values.
bool setAvailableMemoryDescription(std::string description)
Set the description of available memory.
int getAnOtherVariableResultNumberOfVar(int solIdx, int iOther)
Get getAnOtherVariableResultNumberOfVar.
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)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
std::string getOtherConstraintResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the <con> or <enumeration> array associated with an <other> resul...
bool setSolutionStatusType(int solIdx, std::string type)
Set the [i]th optimization solution status type.
std::string getSolutionStatusType(int solIdx)
Get the [i]th optimization solution status type, where i equals the given solution index.
bool setOtherGeneralResultValue(int idx, std::string value)
Set the general otherResult value.
int getNumberOfOtherObjectiveResults(int solIdx)
bool setNumberOfSolverOutputs(int numberOfSolverOutputs)
Set the number of other solver outputs.
bool setHeader(std::string name, std::string source, std::string fileCreator, std::string description, std::string licence)
A function to populate an instance of the result header element.
bool setOtherConstraintResultNumberOfCon(int solIdx, int otherIdx, int numberOfCon)
Set the number of <con> children of another (non-standard/solver specific) constraint-related result,...
std::string getOtherVariableResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the or <enumeration> array associated with an <other> result for...
int m_iConstraintNumber
m_iConstraintNumber holds the constraint number.
Definition: OSResult.h:2624
bool setOtherSystemResultName(int idx, std::string name)
Set the system otherResult name.
bool setOtherSolutionResultCategory(int solIdx, int otherIdx, std::string category)
Set the category associated with the [j]th other solution result of solution [i].
std::string getOtherSystemResultName(int idx)
std::string getSolutionStatusDescription(int solIdx)
Get the [i]th optimization solution status description, where i equals the given solution index.
int getOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx)
bool setOtherConstraintResultDescription(int solIdx, int otherIdx, std::string description)
Set the description of another (non-standard/solver specific) constraint-related result,...
bool setConstraintValuesDense(int solIdx, double *constraintValues)
Set the [i]th optimization solution's constraint values, where i equals the given solution index.
bool setNumberOfVarValues(int solIdx, int numberOfVar)
Set the number of primal variables to be given a value.
int getOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx)
The ObjValue Class.
Definition: OSResult.h:1282
bool IsEqual(ObjValue *that)
A function to check for the equality of two objects.
ObjValue()
Default constructor.
~ObjValue()
Class destructor.
double value
the value of the objective indexed by idx
Definition: OSResult.h:1292
int idx
idx is the index on an objective function
Definition: OSResult.h:1286
std::string name
optional name
Definition: OSResult.h:1289
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
The ObjectiveSolution Class.
Definition: OSResult.h:1538
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(ObjectiveSolution *that)
A function to check for the equality of two objects.
ObjectiveValues * values
a pointer to an array of ObjectiveValues objects
Definition: OSResult.h:1547
OtherObjectiveResult ** other
a pointer to an array of other pointer objects for objective functions
Definition: OSResult.h:1555
ObjectiveSolution()
Default constructor.
int numberOfOtherObjectiveResults
the number of types of objective function results other than the basic objective function values
Definition: OSResult.h:1544
~ObjectiveSolution()
Class destructor.
BasisStatus * basisStatus
a pointer to a BasisStatus object
Definition: OSResult.h:1550
The ObjectiveValues Class.
Definition: OSResult.h:1333
~ObjectiveValues()
Class destructor.
int numberOfObj
record the number of objective rows for which values are given
Definition: OSResult.h:1338
bool IsEqual(ObjectiveValues *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
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
ObjectiveValues()
Default constructor.
The OptimizationResult Class.
Definition: OSResult.h:2474
OptimizationSolution ** solution
solution is an array of pointers to OptimizationSolution objects
Definition: OSResult.h:2500
int numberOfSolutions
numberOfSolutions is the number of objective functions reported.
Definition: OSResult.h:2480
OtherSolverOutput * otherSolverOutput
otherSolverOutput is a pointer to an OtherSolverOutput object
Definition: OSResult.h:2505
OptimizationResult()
Default constructor.
bool IsEqual(OptimizationResult *that)
A function to check for the equality of two objects.
int numberOfObjectives
numberOfObjectives is the number of objective functions reported in the solution.
Definition: OSResult.h:2490
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfVariables
numberOfVariables is the number of variables reported in the solution.
Definition: OSResult.h:2485
~OptimizationResult()
Class destructor.
int numberOfConstraints
numberOfConstrants is the number of constraint functions reported in the solution.
Definition: OSResult.h:2495
The OptimizationSolutionStatus Class.
Definition: OSResult.h:793
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfSubstatuses
the number of substatus objects
Definition: OSResult.h:797
OptimizationSolutionSubstatus ** substatus
a pointer to an array of substatus objects
Definition: OSResult.h:806
bool IsEqual(OptimizationSolutionStatus *that)
A function to check for the equality of two objects.
std::string description
a description of the solution status type
Definition: OSResult.h:803
OptimizationSolutionStatus()
Default constructor.
std::string type
the type of solution status
Definition: OSResult.h:800
~OptimizationSolutionStatus()
Class destructor.
The OptimizationSolutionSubstatus Class.
Definition: OSResult.h:744
bool IsEqual(OptimizationSolutionSubstatus *that)
A function to check for the equality of two objects.
std::string description
a description of the solution substatus
Definition: OSResult.h:751
std::string type
the type of the solution substatus
Definition: OSResult.h:748
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~OptimizationSolutionSubstatus()
Class destructor.
OptimizationSolutionSubstatus()
Default constructor.
The OptimizationSolution Class.
Definition: OSResult.h:2264
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OptimizationSolution()
Default constructor.
VariableSolution * variables
variables holds the solution information for the variables
Definition: OSResult.h:2291
MatrixProgrammingSolution * matrixProgramming
matrixProgramming holds the solution information for the matrix programming components: matrix variab...
Definition: OSResult.h:2306
OptimizationSolutionStatus * status
status is a pointer to an OptimizationSolutionStatus object associated with this optimization solutio...
Definition: OSResult.h:2283
bool weightedObjectives
a marker to track whether the objectives are weighted
Definition: OSResult.h:2278
int targetObjectiveIdx
the index of the objective function for which we are reporting solution information
Definition: OSResult.h:2270
OtherSolutionResults * otherSolutionResults
otherSolutionResults is a pointer to an OtherSolutionResults object that is associated with this opti...
Definition: OSResult.h:2311
std::string targetObjectiveName
an optional name of the objective function for which we are reporting solution information
Definition: OSResult.h:2275
~OptimizationSolution()
Class destructor.
ConstraintSolution * constraints
constraints holds the solution information for the constraints
Definition: OSResult.h:2295
bool IsEqual(OptimizationSolution *that)
A function to check for the equality of two objects.
std::string message
a message associated with this solution
Definition: OSResult.h:2286
ObjectiveSolution * objectives
objectives holds the solution information for the objectives
Definition: OSResult.h:2300
The OtherConResult Class.
Definition: OSResult.h:1710
int idx
idx is the index on the constraint
Definition: OSResult.h:1714
std::string name
optional name
Definition: OSResult.h:1717
~OtherConResult()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(OtherConResult *that)
A function to check for the equality of two objects.
OtherConResult()
Default constructor.
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
The OtherConstraintResult Class.
Definition: OSResult.h:1768
OtherConResult ** con
Definition: OSResult.h:1805
std::string category
the category of the result value
Definition: OSResult.h:1799
std::string conType
type of the values in the con array
Definition: OSResult.h:1808
std::string solver
the solver of the result value
Definition: OSResult.h:1796
int numberOfEnumerations
the number of distinct values for this particular type of result
Definition: OSResult.h:1779
bool IsEqual(OtherConstraintResult *that)
A function to check for the equality of two objects.
std::string description
a brief description of the type of result
Definition: OSResult.h:1793
std::string enumType
type of the values in the enumeration array
Definition: OSResult.h:1817
OtherConstraintResult()
Default constructor.
int numberOfCon
the number of constraints which have values for this particular type of result
Definition: OSResult.h:1774
~OtherConstraintResult()
Class destructor.
std::string name
the name of the result the user is defining
Definition: OSResult.h:1782
OtherOptionOrResultEnumeration ** enumeration
Definition: OSResult.h:1814
std::string type
type of the result value (integer, double, boolean, string)
Definition: OSResult.h:1790
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.
The in-memory representation of the <matrixVariables> <other> element.
Definition: OSResult.h:1940
bool IsEqual(OtherMatrixVariableResult *that)
A function to check for the equality of two objects.
std::string matrixType
the type of matrixVar
Definition: OSResult.h:1956
OtherOptionOrResultEnumeration ** enumeration
the enumeration.
Definition: OSResult.h:1970
int numberOfEnumerations
number of levels in an enumeration associated with this result
Definition: OSResult.h:1962
std::string enumType
the type of the enumeration
Definition: OSResult.h:1965
std::string name
Gives a name to this result.
Definition: OSResult.h:1943
OtherMatrixVariableResult(std::string name_)
Altername MatrixVariableValues class constructor.
OSMatrixWithMatrixVarIdx ** matrixVar
the list of matrices and their values
Definition: OSResult.h:1959
int numberOfMatrixVar
number of matrix variables affected by or associated with this result
Definition: OSResult.h:1953
std::string description
other data elements are optional
Definition: OSResult.h:1946
~OtherMatrixVariableResult()
The MatrixVariableValues class destructor.
OtherMatrixVariableResult()
The standard MatrixVariableValues class constructor.
The OtherObjResult Class.
Definition: OSResult.h:1388
~OtherObjResult()
Class destructor.
bool IsEqual(OtherObjResult *that)
A function to check for the equality of two objects.
OtherObjResult()
Default constructor.
std::string value
value is a value associated with an objective function indexed by idx
Definition: OSResult.h:1400
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int idx
idx is the index on a objective function
Definition: OSResult.h:1392
std::string name
optional name
Definition: OSResult.h:1395
The OtherObjectiveResult Class.
Definition: OSResult.h:1444
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string value
this element allows a specific value associated with this particular type of result
Definition: OSResult.h:1463
bool IsEqual(OtherObjectiveResult *that)
A function to check for the equality of two objects.
std::string category
the category of the result value
Definition: OSResult.h:1475
std::string objType
type of the values in the obj array
Definition: OSResult.h:1484
std::string solver
the solver of the result value
Definition: OSResult.h:1472
OtherObjectiveResult()
Default constructor.
int numberOfEnumerations
the number of distinct values for this particular type of result
Definition: OSResult.h:1455
std::string description
a brief description of the type of result
Definition: OSResult.h:1469
std::string enumType
type of the values in the enumeration array
Definition: OSResult.h:1493
OtherOptionOrResultEnumeration ** enumeration
Definition: OSResult.h:1490
int numberOfObj
the number of objectives which have values for this particular type of result
Definition: OSResult.h:1450
OtherObjResult ** obj
Definition: OSResult.h:1481
std::string type
type of the result value (integer, double, boolean, string)
Definition: OSResult.h:1466
~OtherObjectiveResult()
Class destructor.
std::string name
the name of the result the user is defining
Definition: OSResult.h:1458
brief an integer vector data structure used in OSOption and OSResult
Definition: OSGeneral.h:550
The OtherResult Class.
Definition: OSResult.h:163
std::string name
the name of the other result
Definition: OSResult.h:168
OtherResult()
Default constructor.
~OtherResult()
Class destructor.
std::string description
the description of the other result
Definition: OSResult.h:174
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(OtherResult *that)
A function to check for the equality of two objects.
std::string value
the value of the other result
Definition: OSResult.h:171
The OtherResults Class.
Definition: OSResult.h:217
int numberOfOtherResults
the number of other results
Definition: OSResult.h:222
OtherResults()
Default constructor.
bool IsEqual(OtherResults *that)
A function to check for the equality of two objects.
OtherResult ** other
the array of other results
Definition: OSResult.h:225
~OtherResults()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
The OtherSolutionResult Class.
Definition: OSResult.h:2137
std::string name
the name of the result the user is defining
Definition: OSResult.h:2141
std::string * item
an array of items (string-valued)
Definition: OSResult.h:2160
std::string description
a brief description of the type of result
Definition: OSResult.h:2152
std::string value
the value associated with the result the user is defining
Definition: OSResult.h:2144
bool IsEqual(OtherSolutionResult *that)
A function to check for the equality of two objects.
std::string category
this element allows a specific category to be associated with this particular type of result
Definition: OSResult.h:2149
~OtherSolutionResult()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfItems
the number of items contained in this otherSolutionResult
Definition: OSResult.h:2156
OtherSolutionResult()
Default constructor.
The OtherSolutionResults Class.
Definition: OSResult.h:2206
int numberOfOtherSolutionResults
the number of elements in the pointer of OtherSolutionResult objects
Definition: OSResult.h:2210
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherSolutionResults()
Default constructor.
OtherSolutionResult ** otherSolutionResult
otherSolutionResult is a pointer to an array of OtherSolutionResult objects
Definition: OSResult.h:2215
bool IsEqual(OtherSolutionResults *that)
A function to check for the equality of two objects.
~OtherSolutionResults()
Class destructor.
The OtherSolverOutput Class.
Definition: OSResult.h:2420
OtherSolverOutput()
Default constructor.
SolverOutput ** solverOutput
solverOutput is a pointer to an array of SolverOutput objects
Definition: OSResult.h:2429
bool IsEqual(OtherSolverOutput *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~OtherSolverOutput()
Class destructor.
int numberOfSolverOutputs
the number of elements in the pointer of SolverOutput objects
Definition: OSResult.h:2425
OtherVarResult Class.
Definition: OSResult.h:1066
OtherVarResult()
Default constructor.
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
~OtherVarResult()
Class destructor.
int idx
the index of a variable in the solution
Definition: OSResult.h:1070
bool IsEqual(OtherVarResult *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string name
optional name
Definition: OSResult.h:1073
The OtherVariableResult Class.
Definition: OSResult.h:1125
OtherVariableResult()
Default constructor.
std::string category
the category of the result value
Definition: OSResult.h:1156
int numberOfEnumerations
the number of distinct values for this particular type of result
Definition: OSResult.h:1136
std::string value
this element allows a specific value associated with this particular type of result
Definition: OSResult.h:1144
std::string varType
type of the values in the var array
Definition: OSResult.h:1165
std::string enumType
type of the values in the enumeration array
Definition: OSResult.h:1174
bool IsEqual(OtherVariableResult *that)
A function to check for the equality of two objects.
std::string solver
the solver of the result value
Definition: OSResult.h:1153
~OtherVariableResult()
Class destructor.
std::string type
type of the result value (integer, double, boolean, string)
Definition: OSResult.h:1147
std::string description
a brief description of the type of result
Definition: OSResult.h:1150
OtherOptionOrResultEnumeration ** enumeration
Definition: OSResult.h:1171
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string name
the name of the result the user is defining
Definition: OSResult.h:1139
OtherVarResult ** var
Definition: OSResult.h:1162
int numberOfVar
the number of variables which have values for this particular type of result
Definition: OSResult.h:1131
The ServiceResult Class.
Definition: OSResult.h:416
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
double serviceUtilization
service utilization
Definition: OSResult.h:432
int totalJobsSoFar
total jobs processed so far
Definition: OSResult.h:426
bool IsEqual(ServiceResult *that)
A function to check for the equality of two objects.
~ServiceResult()
Class destructor.
int currentJobCount
the number of jobs currently running
Definition: OSResult.h:423
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:436
ServiceResult()
Default constructor.
std::string currentState
a string describing the current state of the service
Definition: OSResult.h:420
std::string timeServiceStarted
the time when the service was started
Definition: OSResult.h:429
The SolverOutput Class.
Definition: OSResult.h:2355
~SolverOutput()
Class destructor.
int numberOfItems
the number of items contained in this otherSolutionResult
Definition: OSResult.h:2371
std::string category
this element allows a specific category to be associated with this particular type of result
Definition: OSResult.h:2364
std::string name
the name of the result the user is defining
Definition: OSResult.h:2359
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string * item
an array of items (string-valued)
Definition: OSResult.h:2375
std::string description
a brief description of the type of result
Definition: OSResult.h:2367
bool IsEqual(SolverOutput *that)
A function to check for the equality of two objects.
SolverOutput()
Default constructor.
the StorageCapacity class.
Definition: OSGeneral.h:755
The SystemResult Class.
Definition: OSResult.h:350
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:374
std::string systemInformation
a string containing some basic system information
Definition: OSResult.h:354
bool IsEqual(SystemResult *that)
A function to check for the equality of two objects.
StorageCapacity * availableMemory
a pointer to the MemorySize class
Definition: OSResult.h:362
CPUNumber * availableCPUNumber
a pointer to the CPUNumber class
Definition: OSResult.h:370
~SystemResult()
Class destructor.
StorageCapacity * availableDiskSpace
a pointer to the DiskSpace class
Definition: OSResult.h:358
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
SystemResult()
Default constructor.
CPUSpeed * availableCPUSpeed
a pointer to the CPUSpeed class
Definition: OSResult.h:366
The TimeMeasurement Class.
Definition: OSResult.h:547
std::string category
The category of time (total/input/preprocessing/optimization/postprocessing/output/other)
Definition: OSResult.h:558
bool IsEqual(TimeMeasurement *that)
A function to check for the equality of two objects.
TimeMeasurement()
Default constructor.
std::string description
Further description on the timer used.
Definition: OSResult.h:563
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string type
The type of timer used (cpuTime/elapsedTime/other)
Definition: OSResult.h:553
~TimeMeasurement()
Class destructor.
the TimeSpan class.
Definition: OSGeneral.h:925
The TimingInformation Class.
Definition: OSResult.h:605
~TimingInformation()
Class destructor.
TimeMeasurement ** time
An array of time measurements.
Definition: OSResult.h:618
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
TimingInformation()
Default constructor.
int numberOfTimes
The number of elements in the time array.
Definition: OSResult.h:612
bool IsEqual(TimingInformation *that)
A function to check for the equality of two objects.
VarValueString Class.
Definition: OSResult.h:957
std::string name
optional name
Definition: OSResult.h:964
std::string value
Definition: OSResult.h:969
int idx
idx is the index on variable in the solution
Definition: OSResult.h:961
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(VarValueString *that)
A function to check for the equality of two objects.
VarValueString()
Default constructor.
~VarValueString()
Class destructor.
VarValue Class.
Definition: OSResult.h:848
VarValue()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int idx
idx is the index on variable in the solution
Definition: OSResult.h:852
~VarValue()
Class destructor.
double value
Definition: OSResult.h:860
bool IsEqual(VarValue *that)
A function to check for the equality of two objects.
std::string name
optional name
Definition: OSResult.h:855
The VariableSolution Class.
Definition: OSResult.h:1218
VariableSolution()
Default constructor.
BasisStatus * basisStatus
a pointer to a BasisStatus object
Definition: OSResult.h:1233
bool IsEqual(VariableSolution *that)
A function to check for the equality of two objects.
int numberOfOtherVariableResults
the number of types of variable results other than the value of the variable
Definition: OSResult.h:1224
VariableValues * values
a pointer to a VariableValues object
Definition: OSResult.h:1227
~VariableSolution()
Class destructor.
VariableValuesString * valuesString
a pointer to a VariableValuesString object
Definition: OSResult.h:1230
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.
The VariableValuesString Class.
Definition: OSResult.h:1012
VariableValuesString()
Default constructor.
bool IsEqual(VariableValuesString *that)
A function to check for the equality of two objects.
VarValueString ** var
a vector of VarValueString objects, there will be one for each variable in the solution
Definition: OSResult.h:1022
int numberOfVar
the number of string-valued variable values that are in the solution
Definition: OSResult.h:1017
~VariableValuesString()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
The VariableValues Class.
Definition: OSResult.h:902
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
VariableValues()
Default constructor.
VarValue ** var
a vector of VarValue objects, there will be one for each variable in the solution
Definition: OSResult.h:912
int numberOfVar
the number of variable values that are in the solution
Definition: OSResult.h:907
~VariableValues()
Class destructor.
bool IsEqual(VariableValues *that)
A function to check for the equality of two objects.
A commonly used structure holding an index-string pair This definition is based on the definition of ...
Definition: OSResult.h:30
int idx
idx holds the index of a string-valued entity (such as a variable, constraint, objective) that is par...
Definition: OSResult.h:34
std::string value
value is a string that holds the value of the entity
Definition: OSResult.h:38