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