My Project
OSResult.h
Go to the documentation of this file.
1/* $Id$ */
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
57public:
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
108public:
109
112
114 std::string type;
115
117 std::string description;
118
121
132
137 bool IsEqual(GeneralStatus *that);
138
146 bool setRandom(double density, bool conformant);
147
148};//GeneralStatus
149
150
163{
164
165public:
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
219public:
220
223
226
231 OtherResults();
237
242 bool IsEqual(OtherResults *that);
243
251 bool setRandom(double density, bool conformant);
252
253};//OtherResults
254
267{
268public:
269
273
276 std::string message;
277
281 std::string serviceURI;
282
286 std::string serviceName;
287
290 std::string instanceName;
291
295 std::string jobID;
296
299 std::string solverInvoked;
300
303 std::string timeStamp;
304
308
309
320
325 bool IsEqual(GeneralResult *that);
326
334 bool setRandom(double density, bool conformant);
335};//class GeneralResult
336
337
350{
351public:
352
354 std::string systemInformation;
355
359
363
367
371
375
380 SystemResult();
386
391 bool IsEqual(SystemResult *that);
392
400 bool setRandom(double density, bool conformant);
401};//class SystemResult
402
403
416{
417public:
418
420 std::string currentState;
421
424
427
430
433
437
448
453 bool IsEqual(ServiceResult *that);
454
462 bool setRandom(double density, bool conformant);
463};//class ServiceResult
464
465#if 0
478class Time
479{
480public:
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
547{
548public:
549
553 std::string type;
554
558 std::string category;
559
563 std::string description;
564
575
580 bool IsEqual(TimeMeasurement *that);
581
589 bool setRandom(double density, bool conformant);
590};//class TimeMeasurement
591
592
605{
606public:
607
613
619
630
635 bool IsEqual(TimingInformation *that);
636
644 bool setRandom(double density, bool conformant);
645};//class TimingInformation
646
647
660{
661public:
662
664 std::string status;
665
667 std::string submitTime;
668
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{
745public:
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{
794public:
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
848{
849public:
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{
903public:
904
908
913
914
920
926
931 bool IsEqual(VariableValues *that);
932
940 bool setRandom(double density, bool conformant);
941
942};// class VariableValues
943
944
957{
958public:
959
961 int idx;
962
964 std::string name;
965
966 /* value is the value of the variable indexed by idx
967 * in the solution
968 */
969 std::string value;
970
976
982
987 bool IsEqual(VarValueString *that);
988
996 bool setRandom(double density, bool conformant);
997
998};// class VarValueString
999
1000
1012{
1013public:
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{
1067public:
1068
1070 int idx;
1071
1073 std::string name;
1074
1081 std::string value;
1082
1093
1098 bool IsEqual(OtherVarResult *that);
1099
1107 bool setRandom(double density, bool conformant);
1108
1109};//OtherVarResult
1110
1111
1112
1125{
1126public:
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{
1219public:
1220
1225
1228
1231
1234
1239
1245
1251
1256 bool IsEqual(VariableSolution *that);
1257
1265 bool setRandom(double density, bool conformant);
1266
1267};// class VariableSolution
1268
1269
1282{
1283public:
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{
1334public:
1335
1339
1345
1351
1357
1362 bool IsEqual(ObjectiveValues *that);
1363
1371 bool setRandom(double density, bool conformant);
1372
1373};//ObjectiveValues
1374
1375
1388{
1389public:
1390
1392 int idx;
1393
1395 std::string name;
1396
1400 std::string value;
1401
1407
1413
1418 bool IsEqual(OtherObjResult *that);
1419
1427 bool setRandom(double density, bool conformant);
1428
1429};//OtherObjResult
1430
1431
1444{
1445public:
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{
1539public:
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{
1600public:
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{
1656public:
1657
1661
1667
1673
1679
1684 bool IsEqual(DualVariableValues *that);
1685
1693 bool setRandom(double density, bool conformant);
1694
1695};//DualVariableValues
1696
1697
1710{
1711public:
1712
1714 int idx;
1715
1717 std::string name;
1718
1724 std::string value;
1725
1731
1737
1742 bool IsEqual(OtherConResult *that);
1743
1751 bool setRandom(double density, bool conformant);
1752
1753};//OtherConResult
1754
1755
1768{
1769public:
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
1863public:
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{
1916public:
1919
1922
1925
1928
1933}; // MatrixVariableValues
1934
1940{
1941public:
1943 std::string name;
1944
1946 std::string description;
1947 std::string value;
1948 std::string type;
1949 std::string solver;
1950 std::string category;
1951
1954
1956 std::string matrixType;
1957
1960
1963
1965 std::string enumType;
1966
1971
1974
1976 OtherMatrixVariableResult(std::string name_);
1977
1980
1985}; // OtherMatrixVariableResult
1986
1987
1993{
1994public:
1997
2000
2003
2006
2009
2014}; // MatrixVariableSolution
2015
2016
2022{
2023public:
2026
2029
2032
2035
2040}; // MatrixObjectiveSolution
2041
2042
2048{
2049public:
2052
2055
2058
2061
2066}; // MatrixConstraintSolution
2067
2068
2069class OtherSolutionResult; //forward declaration
2070
2076{
2077public:
2080
2083
2086
2089
2092
2093
2096
2099
2104
2114 bool setRandom(double density, bool conformant, int iMin, int iMax);
2115
2122}; // MatrixProgrammingSolution
2123
2124
2137{
2138public:
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{
2207public:
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{
2265public:
2266
2271
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{
2356public:
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{
2421public:
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{
2475public:
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
2551public:
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
2609public:
2610
2615
2620
2625
2630
2635
2640
2641
2642 std::vector<IndexValuePair*> primalVals;
2643
2644 std::vector<IndexValuePair*> dualVals;
2645
2646
2647public:
2652 bool IsEqual(OSResult *that);
2653
2654
2662 bool setRandom(double density, bool conformant);
2663
2664
2665
2666public:
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 /* */
2787 /* */
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 /* */
2801 /* */
2803 /* */
2805 /* */
2807 /* */
2808 std::string getOtherSystemResultName(int idx);
2809 /* */
2810 std::string getOtherSystemResultValue(int idx);
2811 /* */
2812 std::string getOtherSystemResultDescription(int idx);
2813 /* */
2814 std::string getCurrentState();
2815 /* */
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 /* */
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
a data structure to represent an LP basis on both input and output
Definition: OSGeneral.h:646
the CPUNumber class.
Definition: OSGeneral.h:872
the CPUSpeed class.
Definition: OSGeneral.h:813
The ConstraintSolution Class.
Definition: OSResult.h:1861
OtherConstraintResult ** other
a pointer to an array of other pointer objects for constraint functions
Definition: OSResult.h:1879
ConstraintSolution()
Default constructor.
Definition: OSResult.cpp:889
BasisStatus * basisStatus
a pointer to a BasisStatus object
Definition: OSResult.h:1874
bool IsEqual(ConstraintSolution *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9119
DualVariableValues * dualValues
a pointer to an array of DualVariableValues objects
Definition: OSResult.h:1871
~ConstraintSolution()
Class destructor.
Definition: OSResult.cpp:901
int numberOfOtherConstraintResults
the number of types of constraint function results other than the basic constraint function values
Definition: OSResult.h:1868
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10554
The DualVarValue Class.
Definition: OSResult.h:1599
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10616
std::string name
optional name
Definition: OSResult.h:1606
DualVarValue()
Default constructor.
Definition: OSResult.cpp:772
~DualVarValue()
Class destructor.
Definition: OSResult.cpp:785
double value
value of dual variable on the constraint indexed by idx
Definition: OSResult.h:1611
bool IsEqual(DualVarValue *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9233
int idx
idx is the index on a constraint
Definition: OSResult.h:1603
The DualVariableValues Class.
Definition: OSResult.h:1655
~DualVariableValues()
Class destructor.
Definition: OSResult.cpp:804
DualVarValue ** con
con is a vector of DualVarValue objects that give an index and dual variable value for each constrain...
Definition: OSResult.h:1666
bool IsEqual(DualVariableValues *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9179
DualVariableValues()
Default constructor.
Definition: OSResult.cpp:793
int numberOfCon
record the number of constraints for which values are given
Definition: OSResult.h:1660
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10593
a data structure that holds general information about files that conform to one of the OSxL schemas
Definition: OSGeneral.h:33
The GeneralResult Class.
Definition: OSResult.h:267
~GeneralResult()
Class destructor.
Definition: OSResult.cpp:142
std::string solverInvoked
the name of the solver used
Definition: OSResult.h:299
GeneralResult()
Default constructor.
Definition: OSResult.cpp:125
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9737
std::string serviceURI
the serviceURI is the URI of the solver service that did the optimization
Definition: OSResult.h:281
std::string serviceName
the serviceName is the name of the solver service that did the optimization
Definition: OSResult.h:286
bool IsEqual(GeneralResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7531
std::string timeStamp
a time stamp associated with the process
Definition: OSResult.h:303
std::string jobID
the jobID is the ID associated with the solution of this instance
Definition: OSResult.h:295
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:307
GeneralStatus * generalStatus
a pointer to the GeneralStatus class
Definition: OSResult.h:272
std::string instanceName
the name of the instance that was solved
Definition: OSResult.h:290
std::string message
any general message associated with the optimization
Definition: OSResult.h:276
The GeneralStatus Class.
Definition: OSResult.h:106
bool IsEqual(GeneralStatus *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7597
int numberOfSubstatuses
the number of substatuses
Definition: OSResult.h:111
std::string type
the type of status
Definition: OSResult.h:114
GeneralSubstatus ** substatus
the array of substatuses
Definition: OSResult.h:120
~GeneralStatus()
Class destructor.
Definition: OSResult.cpp:62
std::string description
the description of the status
Definition: OSResult.h:117
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9766
GeneralStatus()
Default constructor.
Definition: OSResult.cpp:51
The GeneralSubstatus Class.
Definition: OSResult.h:55
bool IsEqual(GeneralSubstatus *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7654
~GeneralSubstatus()
Class destructor.
Definition: OSResult.cpp:43
std::string description
the description of the substatus
Definition: OSResult.h:63
GeneralSubstatus()
Default constructor.
Definition: OSResult.cpp:34
std::string name
the name of the substatus
Definition: OSResult.h:60
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9792
The JobResult Class.
Definition: OSResult.h:660
std::string status
job status
Definition: OSResult.h:664
std::string scheduledStartTime
the time when the job was supposed to start
Definition: OSResult.h:670
JobResult()
Default constructor.
Definition: OSResult.cpp:302
TimingInformation * timingInformation
a pointer to the TimingInformation class
Definition: OSResult.h:679
CPUSpeed * usedCPUSpeed
a pointer to the CPUSpeed class
Definition: OSResult.h:692
CPUNumber * usedCPUNumber
a pointer to the CPUNumber class
Definition: OSResult.h:696
StorageCapacity * usedMemory
a pointer to the MemorySize class
Definition: OSResult.h:688
std::string submitTime
time the job was submitted
Definition: OSResult.h:667
~JobResult()
Class destructor.
Definition: OSResult.cpp:322
std::string actualStartTime
the time when the job actually started
Definition: OSResult.h:673
bool IsEqual(JobResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7934
StorageCapacity * usedDiskSpace
a pointer to the DiskSpace class
Definition: OSResult.h:683
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9916
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:700
std::string endTime
the time when the job finished
Definition: OSResult.h:676
The in-memory representation of the <MatrixConstraintSolution> element.
Definition: OSResult.h:2048
OSMatrixWithMatrixConIdx ** matrixCon
matrixCon is an array of pointers to the <matrixCon> children
Definition: OSResult.h:2054
MatrixConstraintSolution()
The MatrixConstraintSolution class constructor.
Definition: OSResult.cpp:1091
bool IsEqual(MatrixConstraintSolution *that)
A function to check for the equality of two objects.
int numberOfOtherMatrixConstraintResults
numberOfOtherMatrixConstraintResults gives the number of <other> children
Definition: OSResult.h:2051
~MatrixConstraintSolution()
The MatrixConstraintSolution class destructor.
Definition: OSResult.cpp:1101
an abstract class to help represent the elements in a MatrixType object From this we derive concrete ...
Definition: OSMatrix.h:322
The in-memory representation of the <MatrixVariableSolution> element.
Definition: OSResult.h:2022
int numberOfOtherMatrixObjectiveResults
numberOfOtherMatrixObjectiveResults gives the number of <other> children
Definition: OSResult.h:2025
MatrixObjectiveSolution()
The MatrixVariableSolution class constructor.
Definition: OSResult.cpp:1058
OSMatrixWithMatrixObjIdx ** matrixObj
matrixObj is an array of pointers to the <matrixObj> children
Definition: OSResult.h:2028
~MatrixObjectiveSolution()
The MatrixVariableSolution class destructor.
Definition: OSResult.cpp:1068
bool IsEqual(MatrixObjectiveSolution *that)
A function to check for the equality of two objects.
The in-memory representation of the <MatrixProgrammingSolution> element.
Definition: OSResult.h:2076
bool setRandom(double density, bool conformant, int iMin, int iMax)
A function to make a random instance of this class.
bool deepCopyFrom(MatrixProgrammingSolution *that)
A function to make a deep copy of an instance of this class.
~MatrixProgrammingSolution()
The MatrixProgramming class destructor.
Definition: OSResult.cpp:1136
MatrixVariableSolution * matrixVariables
a pointer to the matrixVariables object
Definition: OSResult.h:2085
MatrixProgrammingSolution()
The MatrixProgramming class constructor.
Definition: OSResult.cpp:1123
bool IsEqual(MatrixProgrammingSolution *that)
A function to check for the equality of two objects.
OtherSolutionResult ** other
a pointer to the array of <other> children
Definition: OSResult.h:2082
int numberOfOtherMatrixProgrammingResults
the number of <other> child elements>
Definition: OSResult.h:2079
MatrixConstraintSolution * matrixConstraints
a pointer to the matrixConstraints object
Definition: OSResult.h:2091
MatrixObjectiveSolution * matrixObjectives
a pointer to the matrixObjectives object
Definition: OSResult.h:2088
The in-memory representation of the <MatrixVariableSolution> element.
Definition: OSResult.h:1993
MatrixVariableValues * values
values is pointer to the <values> child
Definition: OSResult.h:1999
bool IsEqual(MatrixVariableSolution *that)
A function to check for the equality of two objects.
MatrixVariableSolution()
The MatrixVariableSolution class constructor.
Definition: OSResult.cpp:958
int numberOfOtherMatrixVariableResults
numberOfOtherMatrixVariableResults gives the number of <other> children
Definition: OSResult.h:1996
OtherMatrixVariableResult ** other
other is a pointer to an array of <other> children
Definition: OSResult.h:2002
~MatrixVariableSolution()
The MatrixVariableSolution class destructor.
Definition: OSResult.cpp:969
The in-memory representation of the <matrixVariables> element.
Definition: OSResult.h:1915
MatrixVariableValues()
The MatrixVariableValues class constructor.
Definition: OSResult.cpp:930
bool IsEqual(MatrixVariableValues *that)
A function to check for the equality of two objects.
~MatrixVariableValues()
The MatrixVariableValues class destructor.
Definition: OSResult.cpp:940
OSMatrixWithMatrixVarIdx ** matrixVar
matrixVar is an array of pointers to the <matrixVar> children
Definition: OSResult.h:1921
int numberOfMatrixVar
numberOfMatrixVar gives the number of <matrixVar> children
Definition: OSResult.h:1918
this class extends OSMatrix for use, e.g., in the matrixCon section of OSoL and OSrL
Definition: OSMatrix.h:2446
this class extends OSMatrix for use, e.g., in the matrixObj section of OSoL and OSrL
Definition: OSMatrix.h:2392
this class extends OSMatrix for use, e.g., in the matrixVar section of OSoL and OSrL
Definition: OSMatrix.h:2337
The Result Class.
Definition: OSResult.h:2549
bool setAvailableDiskSpaceDescription(std::string description)
Set the description of available disk space.
Definition: OSResult.cpp:4232
double getUsedCPUSpeedValue()
Definition: OSResult.cpp:1929
bool setNumberOfOtherServiceResults(int num)
Set number of other service results.
Definition: OSResult.cpp:4398
int getOtherObjectiveResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:3325
bool setVarValue(int solIdx, int number, int idx, std::string name, double val)
Set a primal variable value.
Definition: OSResult.cpp:5068
bool setOtherVariableResultVarType(int solIdx, int otherIdx, std::string varType)
Set the varType of another (non-standard/solver specific) variable-related result,...
Definition: OSResult.cpp:5471
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.
Definition: OSResult.cpp:6248
std::string getOtherConstraintResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:3738
std::string getServiceName()
Get service name.
Definition: OSResult.cpp:1526
bool setNumberOfDualVariableValues(int solIdx, int n)
Set the [i]th optimization solution's number of dual variable values, where i equals the given soluti...
Definition: OSResult.cpp:6219
int getNumberOfVarValuesString(int solIdx)
Definition: OSResult.cpp:2247
bool setOtherConstraintResultType(int solIdx, int otherIdx, std::string type)
Set the type of another (non-standard/solver specific) constraint-related result, for the [i]th solut...
Definition: OSResult.cpp:6487
int getNumberOfDualValues(int solIdx)
Definition: OSResult.cpp:3446
bool setGeneralMessage(std::string message)
Set the general message.
std::string getSolverOutputItem(int otherIdx, int itemIdx)
Definition: OSResult.cpp:4037
int getSolverOutputNumberOfItems(int otherIdx)
Definition: OSResult.cpp:4027
bool setTimeStamp(std::string timeStamp)
Set time stamp.
Definition: OSResult.cpp:4162
bool setVarValueString(int solIdx, int number, int idx, std::string name, std::string str)
Set a string-valued primal variable value.
Definition: OSResult.cpp:5147
int getOtherVariableResultNumberOfVar(int solIdx, int otherIdx)
Definition: OSResult.cpp:2552
bool setOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx, int idx)
Set the index of another (non-standard/solver specific) objective-related result, for the [i]th solut...
Definition: OSResult.cpp:6110
bool setOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx, std::string value)
Set the value of another (non-standard/solver specific) objective-related result, for the [i]th solut...
Definition: OSResult.cpp:6141
bool setOtherVariableResultNumberOfVar(int solIdx, int otherIdx, int numberOfVar)
Set the number of children of another (non-standard/solver specific) variable-related result,...
Definition: OSResult.cpp:5390
bool setJobID(std::string jobID)
Set job id.
bool setNumberOfOtherJobResults(int num)
Set number of other job results.
Definition: OSResult.cpp:4664
bool setJobStatus(std::string status)
Set the job status.
Definition: OSResult.cpp:4445
bool setOtherVariableResultType(int solIdx, int otherIdx, std::string type)
Set the type of another (non-standard/solver specific) variable-related result, for the [i]th solutio...
Definition: OSResult.cpp:5452
std::string getGeneralSubstatusName(int i)
Get the i_th general substatus name.
Definition: OSResult.cpp:1500
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...
Definition: OSResult.cpp:4962
std::string getTimingInfoDescription(int idx)
Definition: OSResult.cpp:1853
std::string getVarValueString(int solIdx, int varIdx)
Definition: OSResult.cpp:2287
std::string getSolverInvoked()
Get the solver invoked.
Definition: OSResult.cpp:1550
std::string getGeneralStatusDescription()
Get the general status description.
Definition: OSResult.cpp:1486
std::string getOtherVariableResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:2673
std::string getOtherConstraintResultValue(int solIdx, int otherIdx)
Definition: OSResult.cpp:3583
bool setUsedDiskSpaceValue(double value)
Set the amount of used disk space.
Definition: OSResult.cpp:4588
std::string getOtherObjectiveResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:3269
bool setOtherConstraintResultConType(int solIdx, int otherIdx, std::string conType)
Set the conType of another (non-standard/solver specific) constraint-related result,...
Definition: OSResult.cpp:6506
std::string getSolutionStatusType(int solIdx)
Get the [i]th optimization solution status type, where i equals the given solution index.
Definition: OSResult.cpp:2051
std::string getOtherSolutionResultName(int solIdx, int otherIdx)
Definition: OSResult.cpp:3898
bool setAvailableCPUNumberDescription(std::string description)
Set the description of available number of CPUs.
Definition: OSResult.cpp:4298
std::string getOtherVariableResultValue(int solIdx, int otherIdx)
Definition: OSResult.cpp:2520
std::string getGeneralSubstatusDescription(int i)
Get the i_th general substatus description.
Definition: OSResult.cpp:1510
bool setUsedCPUNumberDescription(std::string description)
Set the description of used number of CPUs.
Definition: OSResult.cpp:4648
OSResult()
Default constructor.
Definition: OSResult.cpp:1382
int m_iNumberOfOtherVariableResults
m_iNumberOfOtherVariableResults holds the number of OtherVariableResult objects.
Definition: OSResult.h:2629
std::string getOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx)
Definition: OSResult.cpp:3973
std::string getOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx)
Definition: OSResult.cpp:3208
std::string getTimeServiceStarted()
Definition: OSResult.cpp:1737
int getUsedCPUNumberValue()
Definition: OSResult.cpp:1943
int getNumberOfObjValues(int solIdx)
Definition: OSResult.cpp:3007
bool setOtherVariableResultValue(int solIdx, int otherIdx, std::string value)
Set the value of another (non-standard/solver specific) variable-related result, for the [i]th soluti...
Definition: OSResult.cpp:5509
std::string getInstanceName()
Get instance name.
Definition: OSResult.cpp:1538
bool setOtherVariableResultVar(int solIdx, int otherIdx, int varIdx, std::string value)
Set the value of another (non-standard/solver specific) variable-related result, for the [i]th soluti...
Definition: OSResult.cpp:5616
bool setGeneralStatusDescription(std::string description)
Set the general status description.
bool setSolutionNumber(int number)
set the number of solutions.
Definition: OSResult.cpp:4740
int getNumberOfOtherJobResults()
Definition: OSResult.cpp:1950
std::string getOtherVariableResultType(int solIdx, int otherIdx)
Definition: OSResult.cpp:2504
std::string getJobStatus()
Definition: OSResult.cpp:1786
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...
Definition: OSResult.cpp:7077
std::string getOtherConstraintResultDescription(int solIdx, int otherIdx)
Definition: OSResult.cpp:3599
bool setOtherSystemResultValue(int idx, std::string value)
Set the system otherResult value.
Definition: OSResult.cpp:4341
bool setOtherGeneralResultName(int idx, std::string name)
Set the general otherResult name.
Definition: OSResult.cpp:4186
bool setAvailableCPUSpeedValue(double value)
Set the available CPU speed.
Definition: OSResult.cpp:4290
std::string getOtherObjectiveResultName(int solIdx, int otherIdx)
Definition: OSResult.cpp:3109
int getOtherConstraintResultNumberOfCon(int solIdx, int otherIdx)
Definition: OSResult.cpp:3615
std::string getSolutionSubstatusDescription(int solIdx, int substatusIdx)
Definition: OSResult.cpp:2097
bool setOtherVariableResultVarName(int solIdx, int otherIdx, int varIdx, std::string name)
Set the name of another (non-standard/solver specific) variable-related result, for the [i]th solutio...
Definition: OSResult.cpp:5601
bool setSolverOutputItem(int otherIdx, int itemIdx, std::string item)
Set one item associated with the [j]th solver output.
Definition: OSResult.cpp:7468
std::string getOtherGeneralResultValue(int idx)
Definition: OSResult.cpp:1579
int getBasisStatusNumberOfEl(int solIdx, int object, int status)
Get the number of indices that belong to a particular basis status.
Definition: OSResult.cpp:2301
bool setInstanceName(std::string instanceName)
Set instance name.
GeneralResult * general
general holds the first child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2561
bool setOtherJobResultName(int idx, std::string name)
Set the job otherResult name.
Definition: OSResult.cpp:4681
bool setOtherConstraintResultConName(int solIdx, int otherIdx, int conIdx, std::string name)
Set the name of another (non-standard/solver specific) constraint-related result, for the [i]th solut...
Definition: OSResult.cpp:6636
bool setSolutionSubstatusDescription(int solIdx, int substatusIdx, std::string description)
Set the solution substatus description.
Definition: OSResult.cpp:4856
double getAvailableCPUSpeedValue()
Definition: OSResult.cpp:1661
std::string getUsedDiskSpaceDescription()
Definition: OSResult.cpp:1880
bool setSolverOutputNumberOfItems(int otherIdx, int numberOfItems)
Set the number of items associated with the [j]th solver output.
Definition: OSResult.cpp:7454
bool setMatrixVariableSolution(int solIdx, int numberOfMatrixVar_, int numberOfOtherMatrixVariableResults_)
Set the [i]th optimization solution's MatrixVariableSolution, where i equals the given solution index...
Definition: OSResult.cpp:6666
bool setObjectiveValuesDense(int solIdx, double *objectiveValues)
Set the [i]th optimization solution's objective values, where i equals the given solution index.
Definition: OSResult.cpp:5824
std::string getOtherGeneralResultName(int idx)
Get the name of the i-th other result in the <general> element.
Definition: OSResult.cpp:1569
bool setJobSubmitTime(std::string submitTime)
Set the time when the job was submitted.
Definition: OSResult.cpp:4454
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,...
Definition: OSResult.cpp:6703
std::string getOtherVariableResultDescription(int solIdx, int otherIdx)
Definition: OSResult.cpp:2536
bool setOtherOptionOrResultEnumeration(int solIdx, int otherIdx, int object, int enumIdx, std::string value, std::string description, int *i, int ni)
Set the value and corresponding indices of another (non-standard/solver specific) variable-related re...
Definition: OSResult.cpp:5631
std::string getActualStartTime()
Definition: OSResult.cpp:1804
bool setNumberOfDualValues(int solIdx, int numberOfCon)
Set the number of constraints to be given a value.
Definition: OSResult.cpp:6185
bool setMatrixVariablesOtherResultGeneralAttributes(int solIdx, int idx, std::string name, std::string description, std::string value, std::string type, std::string solver, std::string category, int numberOfMatrixVar=0, std::string matrixType="", int numberOfEnumerations=0, std::string enumType="")
A method to set general attributes for another (non-standard/solver specific) result associated with ...
Definition: OSResult.cpp:6922
bool setNumberOfSolutionSubstatuses(int solIdx, int num)
Set the [i]th optimization solution's number of substatus elements.
Definition: OSResult.cpp:4810
double getAvailableMemoryValue()
Definition: OSResult.cpp:1640
bool setOtherServiceResultDescription(int idx, std::string description)
Set the service otherResult description.
Definition: OSResult.cpp:4435
int m_iObjectiveNumber
m_iObjectiveNumber holds the objective number.
Definition: OSResult.h:2619
int getOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx)
Definition: OSResult.cpp:3693
int getOtherVariableResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:2727
bool setOtherSolutionResultName(int solIdx, int otherIdx, std::string name)
Set the name associated with the [j]th other solution result of solution [i].
Definition: OSResult.cpp:7249
int getNumberOfOtherConstraintResults(int solIdx)
Definition: OSResult.cpp:3536
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.
Definition: OSResult.cpp:2755
bool setUsedCPUSpeedUnit(std::string unit)
Set the unit in which used CPU speed is measured.
Definition: OSResult.cpp:4622
bool setTimeServiceStarted(std::string startTime)
Set the time the service was started.
Definition: OSResult.cpp:4384
std::string getAvailableCPUNumberDescription()
Definition: OSResult.cpp:1668
std::string getOtherJobResultDescription(int idx)
Definition: OSResult.cpp:1977
int getOtherVariableResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:2700
std::string getSolutionStatusDescription(int solIdx)
Get the [i]th optimization solution status description, where i equals the given solution index.
Definition: OSResult.cpp:2062
bool setNumberOfOtherVariableResults(int solIdx, int numberOfOtherVariableResults)
Set the [i]th optimization solution's other (non-standard/solver specific) variable-related results,...
Definition: OSResult.cpp:5236
double * m_mdPrimalValues
m_mdPrimalValues a vector of primal variables.
Definition: OSResult.h:2634
std::string getJobSubmitTime()
Definition: OSResult.cpp:1792
bool setOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfObj)
Set the number of <enumeration> children of another (non-standard/solver specific) objective-related ...
Definition: OSResult.cpp:5937
bool setObjectiveValuesSparse(int solIdx, std::vector< IndexValuePair * > x)
Set the [i]th optimization solution's objective values, where i equals the given solution index.
Definition: OSResult.cpp:5784
std::string getTimingInfoType(int idx)
Definition: OSResult.cpp:1833
bool setGeneralStatusType(std::string type)
Set the general status type, which can be: success, error, warning.
std::string getOtherObjectiveResultValue(int solIdx, int otherIdx)
Definition: OSResult.cpp:3141
ServiceResult * service
service holds the third child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2571
bool setNumberOfTimes(int numberOfTimes)
Set the number of time measurements and initial the time array.
Definition: OSResult.cpp:4542
bool setObjectiveNumber(int objectiveNumber)
Set the objective number.
Definition: OSResult.cpp:4721
std::string getSolverOutputDescription(int otherIdx)
Definition: OSResult.cpp:4017
bool setOtherServiceResultValue(int idx, std::string value)
Set the service otherResult value.
Definition: OSResult.cpp:4425
bool setSolutionTargetObjectiveName(int solIdx, std::string objectiveName)
Set the [i]th optimization solution's objective name, where i equals the given solution index.
Definition: OSResult.cpp:4887
bool setCurrentJobCount(int jobCount)
Set the current job count.
Definition: OSResult.cpp:4370
int getNumberOfSolverOutputs()
Definition: OSResult.cpp:3991
bool getSolutionWeightedObjectives(int solIdx)
Get the [i]th optimization solution form of the objective.
Definition: OSResult.cpp:2130
bool setOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx, std::string value)
Set the value of another (non-standard/solver specific) constraint-related result,...
Definition: OSResult.cpp:6651
std::string getAvailableCPUSpeedDescription()
Definition: OSResult.cpp:1654
int getObjValueIdx(int solIdx, int objIdx)
Definition: OSResult.cpp:3020
std::string getVarValueName(int solIdx, int varIdx)
Definition: OSResult.cpp:2187
bool setNumberOfOtherSolutionResults(int solIdx, int numberOfOtherSolutionResults)
Set the [i]th optimization solution's other (non-standard/solver specific) solution-related results,...
Definition: OSResult.cpp:7220
bool setOtherVariableResultSolver(int solIdx, int otherIdx, std::string solver)
Set the solver of another (non-standard/solver specific) variable-related result, for the [i]th solut...
Definition: OSResult.cpp:5547
bool setTotalJobsSoFar(int number)
Set the total number of jobs so far.
Definition: OSResult.cpp:4377
int getOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx)
Definition: OSResult.cpp:3229
int m_iVariableNumber
m_iVariableNumber holds the variable number.
Definition: OSResult.h:2614
bool setOtherObjectiveResultCategory(int solIdx, int otherIdx, std::string category)
Set the category of another (non-standard/solver specific) objective-related result,...
Definition: OSResult.cpp:6091
std::string getJobEndTime()
Definition: OSResult.cpp:1810
std::string getScheduledStartTime()
Definition: OSResult.cpp:1798
bool setSolverOutputName(int otherIdx, std::string name)
Set the name associated with the [j]th solver output.
Definition: OSResult.cpp:7427
std::string getOtherServiceResultValue(int idx)
Definition: OSResult.cpp:1766
bool setAvailableMemoryUnit(std::string unit)
Set the unit in which available memory is measured.
Definition: OSResult.cpp:4248
bool setActualStartTime(std::string actualStartTime)
Set the job's actual start time.
Definition: OSResult.cpp:4468
int getObjectiveNumber()
Get objective number.
Definition: OSResult.cpp:2013
bool setNumberOfOtherGeneralResults(int num)
Set number of other general results.
Definition: OSResult.cpp:4169
bool setNumberOfObjectiveValues(int solIdx, int n)
Set the [i]th optimization solution's number of objective values, where i equals the given solution i...
Definition: OSResult.cpp:5754
int getNumberOfOtherGeneralResults()
Get the number of other results in the <general> element.
Definition: OSResult.cpp:1562
bool setOtherJobResultValue(int idx, std::string value)
Set the job otherResult value.
Definition: OSResult.cpp:4691
bool setPrimalVariableValuesDense(int solIdx, double *x)
Set the [i]th optimization solution's primal variable values, where i equals the given solution index...
Definition: OSResult.cpp:5001
bool setAvailableCPUNumberValue(int value)
Set the available number of CPUs.
Definition: OSResult.cpp:4306
int getOtherConstraintResultEnumerationNumberOfEl(int solIdx, int otherIdx, int enumIdx)
Get the size of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:3765
std::string getOtherSystemResultValue(int idx)
Definition: OSResult.cpp:1699
std::string getSolutionTargetObjectiveName(int solIdx)
Definition: OSResult.cpp:2120
bool setMatrixVariablesOtherResultMatrixAttributes(int solIdx, int otherIdx, int matrixVarIdx, int numberOfRows, int numberOfColumns, ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none, ENUM_MATRIX_TYPE type=ENUM_MATRIX_TYPE_unknown, std::string name="")
A method to set attributes for a matrixVar in the [j]th other result associated with matrix variables...
Definition: OSResult.cpp:6979
bool setOtherConstraintResultName(int solIdx, int otherIdx, std::string name)
Set the name of another (non-standard/solver specific) constraint-related result, for the [i]th solut...
Definition: OSResult.cpp:6468
int getOtherConstraintResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:3792
bool setUsedCPUNumberValue(int value)
Set the used number of CPUs.
Definition: OSResult.cpp:4656
int getNumberOfSolutionSubstatuses(int solIdx)
Definition: OSResult.cpp:2073
std::vector< IndexValuePair * > primalVals
Definition: OSResult.h:2642
int getNumberOfGeneralSubstatuses()
Get the number of substatuses.
Definition: OSResult.cpp:1493
std::string getUsedDiskSpaceUnit()
Definition: OSResult.cpp:1873
OptimizationResult * optimization
optimization holds the fifth child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2581
bool setOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfCon)
Set the number of <enumeration> children of another (non-standard/solver specific) constraint-related...
Definition: OSResult.cpp:6447
bool setUsedMemoryValue(double value)
Set the amount of used memory.
Definition: OSResult.cpp:4614
bool setOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx, int idx)
Set the index of another (non-standard/solver specific) variable-related result, for the [i]th soluti...
Definition: OSResult.cpp:5585
double getOptimalObjValue(int objIdx, int solIdx)
Get one solution's optimal objective value.
Definition: OSResult.cpp:3065
std::string getTimingInfoUnit(int idx)
Definition: OSResult.cpp:1823
bool setOtherObjectiveResultObjName(int solIdx, int otherIdx, int objIdx, std::string name)
Set the name of another (non-standard/solver specific) objective-related result, for the [i]th soluti...
Definition: OSResult.cpp:6126
std::string getSolutionMessage(int solIdx)
Get the [i]th optimization solution message, where i equals the given solution index.
Definition: OSResult.cpp:2140
bool setOtherConstraintResultEnumType(int solIdx, int otherIdx, std::string enumType)
Set the enumType of another (non-standard/solver specific) constraint-related result,...
Definition: OSResult.cpp:6525
bool setGeneralStatus(GeneralStatus *status)
Set the general status.
Definition: OSResult.cpp:4060
int getVarValueStringIdx(int solIdx, int varIdx)
Definition: OSResult.cpp:2259
bool setMatrixVariablesOtherResultBlockStructure(int solIdx, int otherIdx, int matrixVarIdx, int *colOffset, int colOffsetSize, int *rowOffset, int rowOffsetSize, int numberOfBlocks, int blocksConstructorIdx=0)
A method to set the block structure for the values of a matrixVar associated with the [j]th "other" r...
Definition: OSResult.cpp:7021
double getVarValue(int solIdx, int varIdx)
Definition: OSResult.cpp:2201
int getNumberOfVarValues(int solIdx)
Definition: OSResult.cpp:2161
GeneralFileHeader * resultHeader
header information
Definition: OSResult.h:2556
double * m_mdDualValues
m_mdDualValues a vector of dual variables.
Definition: OSResult.h:2639
std::string getJobID()
Get the job id.
Definition: OSResult.cpp:1544
bool setOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx, int numberOfObj)
Set the number of <obj> children of another (non-standard/solver specific) objective-related result,...
Definition: OSResult.cpp:5912
std::vector< IndexValuePair * > getOptimalDualVariableValues(int solIdx)
Get one solution of optimal dual variable values.
Definition: OSResult.cpp:3504
std::string getOtherVariableResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:2646
bool setOtherObjectiveResultSolver(int solIdx, int otherIdx, std::string solver)
Set the solver of another (non-standard/solver specific) objective-related result,...
Definition: OSResult.cpp:6072
bool setServiceName(std::string serviceName)
Set service name.
double getTimingInfoValue(int idx)
Definition: OSResult.cpp:1863
bool setNumberOfPrimalVariableValues(int solIdx, int n)
Set the [i]th optimization solution's number of primal variable values, where i equals the given solu...
Definition: OSResult.cpp:4933
std::vector< IndexValuePair * > getOptimalPrimalVariableValues(int solIdx)
Get one solution of optimal primal variable values.
Definition: OSResult.cpp:2215
std::string getSolverOutputCategory(int otherIdx)
Definition: OSResult.cpp:4007
OptimizationSolutionStatus * getSolutionStatus(int solIdx)
Get the [i]th optimization solution status, where i equals the given solution index.
Definition: OSResult.cpp:2041
bool setUsedMemoryDescription(std::string description)
Set the description of used memory.
Definition: OSResult.cpp:4606
bool setAvailableDiskSpaceValue(double value)
Set the amount of available disk space.
Definition: OSResult.cpp:4240
int getTimeNumber()
Get the number of time measurements.
Definition: OSResult.cpp:1995
bool setSolverInvoked(std::string solverInvoked)
Set solver invoked.
Definition: OSResult.cpp:4155
std::string getAvailableCPUSpeedUnit()
Definition: OSResult.cpp:1647
bool setOtherObjectiveResultEnumType(int solIdx, int otherIdx, std::string enumType)
Set the enumType of another (non-standard/solver specific) objective-related result,...
Definition: OSResult.cpp:6015
std::string getOtherConstraintResultName(int solIdx, int otherIdx)
Definition: OSResult.cpp:3551
bool setNumberOfOtherObjectiveResults(int solIdx, int numberOfOtherObjectiveResults)
Set the [i]th optimization solution's other (non-standard/solver specific) objective-related results,...
Definition: OSResult.cpp:5690
int getBasisInformationDense(int solIdx, int object, int *resultArray, int dim)
Get the basis information associated with the variables, objectives or constraints for some solution.
Definition: OSResult.cpp:2374
double getAvailableDiskSpaceValue()
Definition: OSResult.cpp:1619
bool setOtherSolutionResultDescription(int solIdx, int otherIdx, std::string description)
Set the description associated with the [j]th other solution result of solution [i].
Definition: OSResult.cpp:7292
bool setVariableNumber(int variableNumber)
Set the variable number.
Definition: OSResult.cpp:4712
~OSResult()
Class destructor.
Definition: OSResult.cpp:1402
int getNumberOfOtherSystemResults()
Definition: OSResult.cpp:1682
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...
Definition: OSResult.cpp:3381
int getBasisStatusEl(int solIdx, int object, int status, int j)
Get an entry in the array of indices that belong to a particular basis status.
Definition: OSResult.cpp:2334
bool setAvailableCPUSpeedDescription(std::string description)
Set the description of available CPU speed.
Definition: OSResult.cpp:4282
bool setOtherObjectiveResultName(int solIdx, int otherIdx, std::string name)
Set the name of another (non-standard/solver specific) objective-related result, for the [i]th soluti...
Definition: OSResult.cpp:5958
std::string getOtherSolutionResultCategory(int solIdx, int otherIdx)
Definition: OSResult.cpp:3928
bool setTime(double time)
Set time.
Definition: OSResult.cpp:4482
int getNumberOfOtherServiceResults()
Definition: OSResult.cpp:1749
bool setOtherVariableResultDescription(int solIdx, int otherIdx, std::string description)
Set the description of another (non-standard/solver specific) variable-related result,...
Definition: OSResult.cpp:5528
std::string getGeneralMessage()
Get the general message.
Definition: OSResult.cpp:1520
std::string getTimingInfoCategory(int idx)
Definition: OSResult.cpp:1843
bool setNumberOfGeneralSubstatuses(int num)
Set the number of substatus elements.
Definition: OSResult.cpp:4085
std::string getOtherJobResultValue(int idx)
Definition: OSResult.cpp:1967
int getSolutionNumber()
get the number of solutions.
Definition: OSResult.cpp:2033
std::string getUsedMemoryUnit()
Definition: OSResult.cpp:1894
bool setDualVariableValuesDense(int solIdx, double *y)
Set the [i]th optimization solution's dual variable values, where i equals the given solution index.
Definition: OSResult.cpp:6291
int getOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx)
Definition: OSResult.cpp:2568
bool setSolutionSubstatusType(int solIdx, int substatusIdx, std::string type)
Set the solution substatus type.
Definition: OSResult.cpp:4839
bool setUsedCPUSpeedValue(double value)
Set the used CPU speed.
Definition: OSResult.cpp:4640
int getOtherObjectiveResultEnumerationEl(int solIdx, int otherIdx, int enumIdx, int j)
Get one index of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:3353
std::string getSolutionSubstatusType(int solIdx, int substatusIdx)
Definition: OSResult.cpp:2084
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,...
std::string getOtherSolutionResultValue(int solIdx, int otherIdx)
Definition: OSResult.cpp:3913
SystemResult * system
system holds the second child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2566
int getVarValueIdx(int solIdx, int varIdx)
Definition: OSResult.cpp:2173
bool setUsedDiskSpaceUnit(std::string unit)
Set the unit in which used disk space is measured.
Definition: OSResult.cpp:4570
int getSolutionTargetObjectiveIdx(int solIdx)
Definition: OSResult.cpp:2110
std::string getOtherObjectiveResultEnumerationDescription(int solIdx, int otherIdx, int enumIdx)
Get the description of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:3297
bool setOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx, std::string item)
Set one item associated with the [j]th other solution result of solution [i].
Definition: OSResult.cpp:7326
bool setOtherJobResultDescription(int idx, std::string description)
Set the job otherResult description.
Definition: OSResult.cpp:4701
bool setUsedDiskSpaceDescription(std::string description)
Set the description of used disk space.
Definition: OSResult.cpp:4580
int getTotalJobsSoFar()
Definition: OSResult.cpp:1731
bool setSolverOutputDescription(int otherIdx, std::string description)
Set the description associated with the [j]th solver output.
Definition: OSResult.cpp:7445
bool setGeneralSubstatusName(int idx, std::string name)
Set the general substatus name.
Definition: OSResult.cpp:4102
bool setSolutionMessage(int solIdx, std::string msg)
Set the [i]th optimization solution's message, where i equals the given solution index.
Definition: OSResult.cpp:4917
bool setOtherConstraintResultSolver(int solIdx, int otherIdx, std::string solver)
Set the solver of another (non-standard/solver specific) constraint-related result,...
Definition: OSResult.cpp:6582
std::string getSolverOutputName(int otherIdx)
Definition: OSResult.cpp:3997
bool setOtherVariableResultCategory(int solIdx, int otherIdx, std::string category)
Set the category of another (non-standard/solver specific) variable-related result,...
Definition: OSResult.cpp:5566
std::string getUsedCPUSpeedUnit()
Definition: OSResult.cpp:1915
bool setUsedMemoryUnit(std::string unit)
Set the unit in which used memory is measured.
Definition: OSResult.cpp:4596
bool setCurrentState(std::string currentState)
Set the current state of the service.
Definition: OSResult.cpp:4361
std::string getCurrentState()
Definition: OSResult.cpp:1719
std::string getOtherObjectiveResultDescription(int solIdx, int otherIdx)
Definition: OSResult.cpp:3157
int getNumberOfTimes()
Definition: OSResult.cpp:1816
bool setOtherObjectiveResultValue(int solIdx, int otherIdx, std::string value)
Set the value of another (non-standard/solver specific) objective-related result, for the [i]th solut...
Definition: OSResult.cpp:6034
bool setTimeNumber(int timeNumber)
Set the number of time measurements.
Definition: OSResult.cpp:4560
double getUsedDiskSpaceValue()
Definition: OSResult.cpp:1887
int getOtherSolutionResultNumberOfItems(int solIdx, int otherIdx)
Definition: OSResult.cpp:3958
bool setOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx, int idx)
Set the index of another (non-standard/solver specific) constraint-related result,...
Definition: OSResult.cpp:6620
bool setSolutionStatusDescription(int solIdx, std::string description)
Set the [i]th optimization solution status description.
Definition: OSResult.cpp:4791
int getNumberOfOtherSolutionResults(int solIdx)
Definition: OSResult.cpp:3886
double getUsedMemoryValue()
Definition: OSResult.cpp:1908
bool setOtherGeneralResultDescription(int idx, std::string description)
Set the general otherResult description.
Definition: OSResult.cpp:4206
bool setSolutionStatus(int solIdx, std::string type, std::string description)
Set the [i]th optimization solution status, where i equals the given solution index.
double getTimeValue()
Get the time measurement.
Definition: OSResult.cpp:1987
std::string getAvailableDiskSpaceDescription()
Definition: OSResult.cpp:1612
bool setObjValue(int solIdx, int number, int idx, std::string name, double val)
Set an objective value.
Definition: OSResult.cpp:5867
bool setOtherSolutionResultNumberOfItems(int solIdx, int otherIdx, int numberOfItems)
Set the number of items associated with the [j]th other solution result of solution [i].
Definition: OSResult.cpp:7307
std::string getAvailableMemoryUnit()
Definition: OSResult.cpp:1626
bool setUsedCPUSpeedDescription(std::string description)
Set the description of used CPU speed.
Definition: OSResult.cpp:4632
GeneralStatus * getGeneralStatus()
Get the general status.
Definition: OSResult.cpp:1473
bool addTimingInformation(std::string type, std::string category, std::string unit, std::string description, double value)
Add timing information.
Definition: OSResult.cpp:4487
std::string getOtherSystemResultDescription(int idx)
Definition: OSResult.cpp:1709
int getNumberOfPrimalVariableValues(int solIdx)
Definition: OSResult.cpp:2149
std::string getVarValueStringName(int solIdx, int varIdx)
Definition: OSResult.cpp:2273
bool setOtherObjectiveResultDescription(int solIdx, int otherIdx, std::string description)
Set the description of another (non-standard/solver specific) objective-related result,...
Definition: OSResult.cpp:6053
int getConstraintNumber()
Get constraint number.
Definition: OSResult.cpp:2023
std::string getAvailableDiskSpaceUnit()
Definition: OSResult.cpp:1605
bool setTimingInformation(int idx, std::string type, std::string category, std::string unit, std::string description, double value)
Set timing information.
Definition: OSResult.cpp:4520
std::string getOtherVariableResultVar(int solIdx, int otherIdx, int varIdx)
Definition: OSResult.cpp:2587
std::string getSystemInformation()
Definition: OSResult.cpp:1599
std::vector< IndexValuePair * > dualVals
Definition: OSResult.h:2644
bool setSolutionWeightedObjectives(int solIdx, bool weightedObjectives)
Record whether the [i]th optimization solution uses weighted objectives, where i equals the given sol...
Definition: OSResult.cpp:4903
std::string getOtherSolutionResultDescription(int solIdx, int otherIdx)
Definition: OSResult.cpp:3943
std::string getOtherVariableResultName(int solIdx, int otherIdx)
Definition: OSResult.cpp:2488
std::string getOtherConstraintResultType(int solIdx, int otherIdx)
Definition: OSResult.cpp:3567
std::string getOtherObjectiveResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the <obj> or <enumeration> array associated with an <other> resul...
Definition: OSResult.cpp:3246
int getAvailableCPUNumberValue()
Definition: OSResult.cpp:1675
std::string getObjValueName(int solIdx, int objIdx)
Definition: OSResult.cpp:3035
bool setOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfEnumerations)
Set the number of <enumeration> children of another (non-standard/solver specific) variable-related r...
Definition: OSResult.cpp:5412
bool setAnOtherVariableResultSparse(int solIdx, int otherIdx, std::string name, std::string value, std::string description, int *idx, std::string *s, int n)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
bool setSolverOutputCategory(int otherIdx, std::string category)
Set the category associated with the [j]th solver output.
Definition: OSResult.cpp:7436
bool setConstraintNumber(int constraintNumber)
Set the constraint number.
Definition: OSResult.cpp:4731
double getObjValue(int solIdx, int objIdx)
Definition: OSResult.cpp:3050
std::string getOtherGeneralResultDescription(int idx)
Definition: OSResult.cpp:1589
bool IsEqual(OSResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7485
bool setMatrixVarValuesBlockStructure(int solIdx, int idx, int *colOffset, int colOffsetSize, int *rowOffset, int rowOffsetSize, int numberOfBlocks, int blocksConstructorIdx=0)
A method to set the block structure for the values of a matrixVar in the [i]th optimization solution,...
Definition: OSResult.cpp:6737
double getServiceUtilization()
Definition: OSResult.cpp:1743
bool setNumberOfOtherSystemResults(int num)
Set number of other system results.
Definition: OSResult.cpp:4314
bool setBasisStatus(int solIdx, int object, int status, int *i, int ni)
Set the basis status of a number of variables/constraints/objectives.
Definition: OSResult.cpp:5192
std::string getOtherConstraintResultEnumerationValue(int solIdx, int otherIdx, int enumIdx)
Get the value of an enum associated with an <other> result for some solution.
Definition: OSResult.cpp:3710
bool setAvailableMemoryValue(double value)
Set the amount of available memory.
Definition: OSResult.cpp:4265
bool setJobEndTime(std::string endTime)
Set the time when the job finished.
Definition: OSResult.cpp:4475
bool setServiceUtilization(double value)
Set the service utilitzation.
Definition: OSResult.cpp:4391
std::string getAvailableMemoryDescription()
Definition: OSResult.cpp:1633
int getCurrentJobCount()
Definition: OSResult.cpp:1725
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9698
bool setNumberOfOtherConstraintResults(int solIdx, int numberOfOtherConstraintResults)
Set the [i]th optimization solution's other (non-standard/solver specific) constraint-related results...
Definition: OSResult.cpp:6156
bool setOtherObjectiveResultObjType(int solIdx, int otherIdx, std::string objType)
Set the objType of another (non-standard/solver specific) objective-related result,...
Definition: OSResult.cpp:5996
bool setNumberOfObjValues(int solIdx, int numberOfObj)
Set the number of objectives to be given a value.
Definition: OSResult.cpp:5719
std::string getOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx)
Definition: OSResult.cpp:3650
int getOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx)
Definition: OSResult.cpp:2607
bool setOtherObjectiveResultType(int solIdx, int otherIdx, std::string type)
Set the type of another (non-standard/solver specific) objective-related result, for the [i]th soluti...
Definition: OSResult.cpp:5977
bool setAvailableCPUSpeedUnit(std::string unit)
Set the unit in which available CPU speed is measured.
Definition: OSResult.cpp:4273
bool setOtherVariableResultEnumType(int solIdx, int otherIdx, std::string enumType)
Set the enumType of another (non-standard/solver specific) variable-related result,...
Definition: OSResult.cpp:5490
std::string getOtherServiceResultDescription(int idx)
Definition: OSResult.cpp:1776
bool setNumberOfVarValuesString(int solIdx, int numberOfVar)
Set the number of string-valued primal variables to be given a value.
Definition: OSResult.cpp:5114
bool setAnOtherVariableResultDense(int solIdx, int otherIdx, std::string name, std::string value, std::string description, std::string *s, std::string type, std::string varType, std::string enumType)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
std::string getOtherServiceResultName(int idx)
Definition: OSResult.cpp:1756
int getOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx)
Definition: OSResult.cpp:3631
std::string getUsedMemoryDescription()
Definition: OSResult.cpp:1901
bool setOtherConstraintResultCategory(int solIdx, int otherIdx, std::string category)
Set the category of another (non-standard/solver specific) constraint-related result,...
Definition: OSResult.cpp:6601
bool setScheduledStartTime(std::string scheduledStartTime)
Set the job's scheduled start time.
Definition: OSResult.cpp:4461
bool setServiceURI(std::string serviceURI)
Set service uri.
std::string getDualValueName(int solIdx, int objIdx)
Definition: OSResult.cpp:3474
int getDualValueIdx(int solIdx, int conIdx)
Definition: OSResult.cpp:3459
double getDualValue(int solIdx, int conIdx)
Definition: OSResult.cpp:3489
bool setDualValue(int solIdx, int number, int idx, std::string name, double val)
Set a dual value.
Definition: OSResult.cpp:6379
int getNumberOfOtherVariableResults(int solIdx)
Get numberOfOtherVariableResult.
Definition: OSResult.cpp:2456
bool setOtherServiceResultName(int idx, std::string name)
Set the service otherResult name.
Definition: OSResult.cpp:4415
bool setOtherSolutionResultValue(int solIdx, int otherIdx, std::string value)
Set the value associated with the [j]th other solution result of solution [i].
Definition: OSResult.cpp:7263
std::string getTimeStamp()
Get the time stamp.
Definition: OSResult.cpp:1556
bool setAnOtherSolutionResult(int solIdx, std::string name, std::string value, std::string category, std::string description, int numberOfItems, std::string *item)
Set another solution result of solution [i].
Definition: OSResult.cpp:7344
std::string getOtherObjectiveResultType(int solIdx, int otherIdx)
Definition: OSResult.cpp:3125
bool setOtherConstraintResultValue(int solIdx, int otherIdx, std::string value)
Set the value of another (non-standard/solver specific) constraint-related result,...
Definition: OSResult.cpp:6544
std::string getUsedCPUNumberDescription()
Definition: OSResult.cpp:1936
int getVariableNumber()
Get variable number.
Definition: OSResult.cpp:2003
bool setGeneralSubstatusDescription(int idx, std::string description)
Set the general substatus description.
Definition: OSResult.cpp:4111
bool setMatrixVarValuesBlockElements(int solIdx, int idx, int blkno, int blkRowIdx, int blkColIdx, int nz, int *start, int *index, MatrixElementValues *value, ENUM_MATRIX_TYPE valueType, ENUM_MATRIX_SYMMETRY symmetry=ENUM_MATRIX_SYMMETRY_none, bool rowMajor=false)
A method to set the elements within a block of a matrixVar in the [i]th optimization solution,...
Definition: OSResult.cpp:6789
bool setOtherVariableResultName(int solIdx, int otherIdx, std::string name)
Set the name of another (non-standard/solver specific) variable-related result, for the [i]th solutio...
Definition: OSResult.cpp:5433
bool setSolutionTargetObjectiveIdx(int solIdx, int objectiveIdx)
Set the [i]th optimization solution's objective index, where i equals the given solution index.
Definition: OSResult.cpp:4870
JobResult * job
job holds the fourth child of the OSResult specified by the OSrL Schema.
Definition: OSResult.h:2576
bool setAvailableDiskSpaceUnit(std::string unit)
Set the unit in which available disk space is measured.
Definition: OSResult.cpp:4223
bool setOtherSystemResultDescription(int idx, std::string description)
Set the system otherResult description.
Definition: OSResult.cpp:4351
bool setSystemInformation(std::string systemInformation)
Set the system information.
Definition: OSResult.cpp:4216
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...
Definition: OSResult.cpp:3819
std::string getOtherJobResultName(int idx)
Definition: OSResult.cpp:1957
bool setAvailableMemoryDescription(std::string description)
Set the description of available memory.
Definition: OSResult.cpp:4257
int getAnOtherVariableResultNumberOfVar(int solIdx, int iOther)
Get getAnOtherVariableResultNumberOfVar.
Definition: OSResult.cpp:2473
bool setAnOtherVariableResultSparse(int solIdx, int otherIdx, std::string name, std::string value, std::string description, int *idx, std::string *s, int n, std::string type, std::string varType, std::string enumType)
Set the [i]th optimization solution's other (non-standard/solver specific)variable-related results,...
std::string getOtherConstraintResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the <con> or <enumeration> array associated with an <other> resul...
Definition: OSResult.cpp:3670
bool setSolutionStatusType(int solIdx, std::string type)
Set the [i]th optimization solution status type.
Definition: OSResult.cpp:4773
bool setOtherGeneralResultValue(int idx, std::string value)
Set the general otherResult value.
Definition: OSResult.cpp:4196
std::string getOtherSystemResultName(int idx)
Definition: OSResult.cpp:1689
int getNumberOfOtherObjectiveResults(int solIdx)
Definition: OSResult.cpp:3094
bool setNumberOfSolverOutputs(int numberOfSolverOutputs)
Set the number of other solver outputs.
Definition: OSResult.cpp:7406
std::string getServiceURI()
Get service uri.
Definition: OSResult.cpp:1532
std::string getGeneralStatusType()
Get the general status type, which can be: success, error, warning.
Definition: OSResult.cpp:1479
bool setHeader(std::string name, std::string source, std::string fileCreator, std::string description, std::string licence)
A function to populate an instance of the result header element.
Definition: OSResult.cpp:4052
bool setOtherConstraintResultNumberOfCon(int solIdx, int otherIdx, int numberOfCon)
Set the number of <con> children of another (non-standard/solver specific) constraint-related result,...
Definition: OSResult.cpp:6424
std::string getOtherVariableResultArrayType(int solIdx, int otherIdx)
Get the type of values contained in the or <enumeration> array associated with an <other> result for...
Definition: OSResult.cpp:2623
int m_iConstraintNumber
m_iConstraintNumber holds the constraint number.
Definition: OSResult.h:2624
std::string getUsedCPUSpeedDescription()
Definition: OSResult.cpp:1922
bool setOtherSystemResultName(int idx, std::string name)
Set the system otherResult name.
Definition: OSResult.cpp:4331
bool setOtherSolutionResultCategory(int solIdx, int otherIdx, std::string category)
Set the category associated with the [j]th other solution result of solution [i].
Definition: OSResult.cpp:7277
int getOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx)
Definition: OSResult.cpp:3173
bool setOtherConstraintResultDescription(int solIdx, int otherIdx, std::string description)
Set the description of another (non-standard/solver specific) constraint-related result,...
Definition: OSResult.cpp:6563
bool setConstraintValuesDense(int solIdx, double *constraintValues)
Set the [i]th optimization solution's constraint values, where i equals the given solution index.
Definition: OSResult.cpp:6335
bool setNumberOfVarValues(int solIdx, int numberOfVar)
Set the number of primal variables to be given a value.
Definition: OSResult.cpp:5040
int getOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx)
Definition: OSResult.cpp:3189
The ObjValue Class.
Definition: OSResult.h:1282
bool IsEqual(ObjValue *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8925
ObjValue()
Default constructor.
Definition: OSResult.cpp:618
~ObjValue()
Class destructor.
Definition: OSResult.cpp:629
double value
the value of the objective indexed by idx
Definition: OSResult.h:1292
int idx
idx is the index on an objective function
Definition: OSResult.h:1286
std::string name
optional name
Definition: OSResult.h:1289
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10469
The ObjectiveSolution Class.
Definition: OSResult.h:1538
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10404
bool IsEqual(ObjectiveSolution *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8810
OtherObjectiveResult ** other
a pointer to an array of other pointer objects for objective functions
Definition: OSResult.h:1555
ObjectiveSolution()
Default constructor.
Definition: OSResult.cpp:732
int numberOfOtherObjectiveResults
the number of types of objective function results other than the basic objective function values
Definition: OSResult.h:1544
~ObjectiveSolution()
Class destructor.
Definition: OSResult.cpp:744
BasisStatus * basisStatus
a pointer to a BasisStatus object
Definition: OSResult.h:1550
ObjectiveValues * values
a pointer to an array of ObjectiveValues objects
Definition: OSResult.h:1547
The ObjectiveValues Class.
Definition: OSResult.h:1333
~ObjectiveValues()
Class destructor.
Definition: OSResult.cpp:649
int numberOfObj
record the number of objective rows for which values are given
Definition: OSResult.h:1338
bool IsEqual(ObjectiveValues *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8870
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10445
ObjValue ** obj
obj is a pointer to an array of ObjValue objects that give an index and objective function value for ...
Definition: OSResult.h:1344
ObjectiveValues()
Default constructor.
Definition: OSResult.cpp:638
The OptimizationResult Class.
Definition: OSResult.h:2474
int numberOfSolutions
numberOfSolutions is the number of objective functions reported.
Definition: OSResult.h:2480
OtherSolverOutput * otherSolverOutput
otherSolverOutput is a pointer to an OtherSolverOutput object
Definition: OSResult.h:2505
OptimizationResult()
Default constructor.
Definition: OSResult.cpp:1337
bool IsEqual(OptimizationResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8112
int numberOfObjectives
numberOfObjectives is the number of objective functions reported in the solution.
Definition: OSResult.h:2490
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10086
int numberOfVariables
numberOfVariables is the number of variables reported in the solution.
Definition: OSResult.h:2485
OptimizationSolution ** solution
solution is an array of pointers to OptimizationSolution objects
Definition: OSResult.h:2500
~OptimizationResult()
Class destructor.
Definition: OSResult.cpp:1351
int numberOfConstraints
numberOfConstrants is the number of constraint functions reported in the solution.
Definition: OSResult.h:2495
The OptimizationSolution Class.
Definition: OSResult.h:2264
VariableSolution * variables
variables holds the solution information for the variables
Definition: OSResult.h:2291
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10113
OptimizationSolution()
Default constructor.
Definition: OSResult.cpp:1219
ObjectiveSolution * objectives
objectives holds the solution information for the objectives
Definition: OSResult.h:2300
MatrixProgrammingSolution * matrixProgramming
matrixProgramming holds the solution information for the matrix programming components: matrix variab...
Definition: OSResult.h:2306
bool weightedObjectives
a marker to track whether the objectives are weighted
Definition: OSResult.h:2278
int targetObjectiveIdx
the index of the objective function for which we are reporting solution information
Definition: OSResult.h:2270
OtherSolutionResults * otherSolutionResults
otherSolutionResults is a pointer to an OtherSolutionResults object that is associated with this opti...
Definition: OSResult.h:2311
std::string targetObjectiveName
an optional name of the objective function for which we are reporting solution information
Definition: OSResult.h:2275
~OptimizationSolution()
Class destructor.
Definition: OSResult.cpp:1238
bool IsEqual(OptimizationSolution *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8175
ConstraintSolution * constraints
constraints holds the solution information for the constraints
Definition: OSResult.h:2295
OptimizationSolutionStatus * status
status is a pointer to an OptimizationSolutionStatus object associated with this optimization solutio...
Definition: OSResult.h:2283
std::string message
a message associated with this solution
Definition: OSResult.h:2286
The OptimizationSolutionStatus Class.
Definition: OSResult.h:793
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10160
int numberOfSubstatuses
the number of substatus objects
Definition: OSResult.h:797
OptimizationSolutionSubstatus ** substatus
a pointer to an array of substatus objects
Definition: OSResult.h:806
bool IsEqual(OptimizationSolutionStatus *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8272
std::string description
a description of the solution status type
Definition: OSResult.h:803
OptimizationSolutionStatus()
Default constructor.
Definition: OSResult.cpp:378
std::string type
the type of solution status
Definition: OSResult.h:800
~OptimizationSolutionStatus()
Class destructor.
Definition: OSResult.cpp:390
The OptimizationSolutionSubstatus Class.
Definition: OSResult.h:744
bool IsEqual(OptimizationSolutionSubstatus *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8341
std::string description
a description of the solution substatus
Definition: OSResult.h:751
std::string type
the type of the solution substatus
Definition: OSResult.h:748
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10197
~OptimizationSolutionSubstatus()
Class destructor.
Definition: OSResult.cpp:370
OptimizationSolutionSubstatus()
Default constructor.
Definition: OSResult.cpp:360
The OtherConResult Class.
Definition: OSResult.h:1710
int idx
idx is the index on the constraint
Definition: OSResult.h:1714
std::string name
optional name
Definition: OSResult.h:1717
~OtherConResult()
Class destructor.
Definition: OSResult.cpp:833
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10682
bool IsEqual(OtherConResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9373
OtherConResult()
Default constructor.
Definition: OSResult.cpp:822
std::string value
value is a value associated with the constraint indexed by idx, for example value might be the value ...
Definition: OSResult.h:1724
The OtherConstraintResult Class.
Definition: OSResult.h:1768
OtherConResult ** con
Definition: OSResult.h:1805
std::string category
the category of the result value
Definition: OSResult.h:1799
std::string conType
type of the values in the con array
Definition: OSResult.h:1808
std::string solver
the solver of the result value
Definition: OSResult.h:1796
int numberOfEnumerations
the number of distinct values for this particular type of result
Definition: OSResult.h:1779
bool IsEqual(OtherConstraintResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9285
std::string description
a brief description of the type of result
Definition: OSResult.h:1793
std::string enumType
type of the values in the enumeration array
Definition: OSResult.h:1817
OtherConstraintResult()
Default constructor.
Definition: OSResult.cpp:842
int numberOfCon
the number of constraints which have values for this particular type of result
Definition: OSResult.h:1774
~OtherConstraintResult()
Class destructor.
Definition: OSResult.cpp:860
std::string name
the name of the result the user is defining
Definition: OSResult.h:1782
OtherOptionOrResultEnumeration ** enumeration
Definition: OSResult.h:1814
std::string type
type of the result value (integer, double, boolean, string)
Definition: OSResult.h:1790
std::string value
this element allows a specific value associated with this particular type of result
Definition: OSResult.h:1787
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10630
The in-memory representation of the <matrixVariables> <other> element.
Definition: OSResult.h:1940
bool IsEqual(OtherMatrixVariableResult *that)
A function to check for the equality of two objects.
std::string matrixType
the type of matrixVar
Definition: OSResult.h:1956
OtherOptionOrResultEnumeration ** enumeration
the enumeration.
Definition: OSResult.h:1970
int numberOfEnumerations
number of levels in an enumeration associated with this result
Definition: OSResult.h:1962
std::string enumType
the type of the enumeration
Definition: OSResult.h:1965
std::string name
Gives a name to this result.
Definition: OSResult.h:1943
OSMatrixWithMatrixVarIdx ** matrixVar
the list of matrices and their values
Definition: OSResult.h:1959
int numberOfMatrixVar
number of matrix variables affected by or associated with this result
Definition: OSResult.h:1953
std::string description
other data elements are optional
Definition: OSResult.h:1946
~OtherMatrixVariableResult()
The MatrixVariableValues class destructor.
Definition: OSResult.cpp:1029
OtherMatrixVariableResult()
The standard MatrixVariableValues class constructor.
Definition: OSResult.cpp:992
The OtherObjResult Class.
Definition: OSResult.h:1388
~OtherObjResult()
Class destructor.
Definition: OSResult.cpp:678
bool IsEqual(OtherObjResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9066
OtherObjResult()
Default constructor.
Definition: OSResult.cpp:667
std::string value
value is a value associated with an objective function indexed by idx
Definition: OSResult.h:1400
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10537
int idx
idx is the index on a objective function
Definition: OSResult.h:1392
std::string name
optional name
Definition: OSResult.h:1395
The OtherObjectiveResult Class.
Definition: OSResult.h:1444
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10486
std::string value
this element allows a specific value associated with this particular type of result
Definition: OSResult.h:1463
bool IsEqual(OtherObjectiveResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8978
std::string category
the category of the result value
Definition: OSResult.h:1475
std::string objType
type of the values in the obj array
Definition: OSResult.h:1484
std::string solver
the solver of the result value
Definition: OSResult.h:1472
OtherObjectiveResult()
Default constructor.
Definition: OSResult.cpp:686
int numberOfEnumerations
the number of distinct values for this particular type of result
Definition: OSResult.h:1455
std::string description
a brief description of the type of result
Definition: OSResult.h:1469
std::string enumType
type of the values in the enumeration array
Definition: OSResult.h:1493
OtherOptionOrResultEnumeration ** enumeration
Definition: OSResult.h:1490
int numberOfObj
the number of objectives which have values for this particular type of result
Definition: OSResult.h:1450
OtherObjResult ** obj
Definition: OSResult.h:1481
std::string type
type of the result value (integer, double, boolean, string)
Definition: OSResult.h:1466
~OtherObjectiveResult()
Class destructor.
Definition: OSResult.cpp:704
std::string name
the name of the result the user is defining
Definition: OSResult.h:1458
The OtherResult Class.
Definition: OSResult.h:163
std::string name
the name of the other result
Definition: OSResult.h:168
OtherResult()
Default constructor.
Definition: OSResult.cpp:80
~OtherResult()
Class destructor.
Definition: OSResult.cpp:90
std::string description
the description of the other result
Definition: OSResult.h:174
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9827
bool IsEqual(OtherResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7759
std::string value
the value of the other result
Definition: OSResult.h:171
The OtherResults Class.
Definition: OSResult.h:217
int numberOfOtherResults
the number of other results
Definition: OSResult.h:222
OtherResults()
Default constructor.
Definition: OSResult.cpp:98
bool IsEqual(OtherResults *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7705
OtherResult ** other
the array of other results
Definition: OSResult.h:225
~OtherResults()
Class destructor.
Definition: OSResult.cpp:107
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9803
The OtherSolutionResult Class.
Definition: OSResult.h:2137
std::string name
the name of the result the user is defining
Definition: OSResult.h:2141
std::string * item
an array of items (string-valued)
Definition: OSResult.h:2160
std::string description
a brief description of the type of result
Definition: OSResult.h:2152
std::string value
the value associated with the result the user is defining
Definition: OSResult.h:2144
bool IsEqual(OtherSolutionResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9480
std::string category
this element allows a specific category to be associated with this particular type of result
Definition: OSResult.h:2149
~OtherSolutionResult()
Class destructor.
Definition: OSResult.cpp:1178
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10720
int numberOfItems
the number of items contained in this otherSolutionResult
Definition: OSResult.h:2156
OtherSolutionResult()
Default constructor.
Definition: OSResult.cpp:1164
The OtherSolutionResults Class.
Definition: OSResult.h:2206
int numberOfOtherSolutionResults
the number of elements in the pointer of OtherSolutionResult objects
Definition: OSResult.h:2210
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10697
OtherSolutionResults()
Default constructor.
Definition: OSResult.cpp:1190
OtherSolutionResult ** otherSolutionResult
otherSolutionResult is a pointer to an array of OtherSolutionResult objects
Definition: OSResult.h:2215
bool IsEqual(OtherSolutionResults *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9426
~OtherSolutionResults()
Class destructor.
Definition: OSResult.cpp:1200
The OtherSolverOutput Class.
Definition: OSResult.h:2420
OtherSolverOutput()
Default constructor.
Definition: OSResult.cpp:1307
SolverOutput ** solverOutput
solverOutput is a pointer to an array of SolverOutput objects
Definition: OSResult.h:2429
bool IsEqual(OtherSolverOutput *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9561
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10748
~OtherSolverOutput()
Class destructor.
Definition: OSResult.cpp:1318
int numberOfSolverOutputs
the number of elements in the pointer of SolverOutput objects
Definition: OSResult.h:2425
OtherVarResult Class.
Definition: OSResult.h:1066
OtherVarResult()
Default constructor.
Definition: OSResult.cpp:504
std::string value
value holds a general value associated with a variable, for example, rather than the value of a varia...
Definition: OSResult.h:1081
~OtherVarResult()
Class destructor.
Definition: OSResult.cpp:515
int idx
the index of a variable in the solution
Definition: OSResult.h:1070
bool IsEqual(OtherVarResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8757
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10389
std::string name
optional name
Definition: OSResult.h:1073
The OtherVariableResult Class.
Definition: OSResult.h:1125
OtherVariableResult()
Default constructor.
Definition: OSResult.cpp:524
std::string category
the category of the result value
Definition: OSResult.h:1156
int numberOfEnumerations
the number of distinct values for this particular type of result
Definition: OSResult.h:1136
std::string value
this element allows a specific value associated with this particular type of result
Definition: OSResult.h:1144
std::string varType
type of the values in the var array
Definition: OSResult.h:1165
std::string enumType
type of the values in the enumeration array
Definition: OSResult.h:1174
bool IsEqual(OtherVariableResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8670
std::string solver
the solver of the result value
Definition: OSResult.h:1153
~OtherVariableResult()
Class destructor.
Definition: OSResult.cpp:543
std::string type
type of the result value (integer, double, boolean, string)
Definition: OSResult.h:1147
std::string description
a brief description of the type of result
Definition: OSResult.h:1150
OtherOptionOrResultEnumeration ** enumeration
Definition: OSResult.h:1171
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10338
std::string name
the name of the result the user is defining
Definition: OSResult.h:1139
OtherVarResult ** var
Definition: OSResult.h:1162
int numberOfVar
the number of variables which have values for this particular type of result
Definition: OSResult.h:1131
The ServiceResult Class.
Definition: OSResult.h:416
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9877
double serviceUtilization
service utilization
Definition: OSResult.h:432
int totalJobsSoFar
total jobs processed so far
Definition: OSResult.h:426
bool IsEqual(ServiceResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7874
~ServiceResult()
Class destructor.
Definition: OSResult.cpp:220
int currentJobCount
the number of jobs currently running
Definition: OSResult.h:423
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:436
ServiceResult()
Default constructor.
Definition: OSResult.cpp:206
std::string currentState
a string describing the current state of the service
Definition: OSResult.h:420
std::string timeServiceStarted
the time when the service was started
Definition: OSResult.h:429
The SolverOutput Class.
Definition: OSResult.h:2355
~SolverOutput()
Class destructor.
Definition: OSResult.cpp:1289
int numberOfItems
the number of items contained in this otherSolutionResult
Definition: OSResult.h:2371
std::string category
this element allows a specific category to be associated with this particular type of result
Definition: OSResult.h:2364
std::string name
the name of the result the user is defining
Definition: OSResult.h:2359
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10772
std::string * item
an array of items (string-valued)
Definition: OSResult.h:2375
std::string description
a brief description of the type of result
Definition: OSResult.h:2367
bool IsEqual(SolverOutput *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:9616
SolverOutput()
Default constructor.
Definition: OSResult.cpp:1276
the StorageCapacity class.
Definition: OSGeneral.h:755
The SystemResult Class.
Definition: OSResult.h:350
OtherResults * otherResults
a pointer to the OtherResults class
Definition: OSResult.h:374
std::string systemInformation
a string containing some basic system information
Definition: OSResult.h:354
bool IsEqual(SystemResult *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:7812
StorageCapacity * availableMemory
a pointer to the MemorySize class
Definition: OSResult.h:362
CPUNumber * availableCPUNumber
a pointer to the CPUNumber class
Definition: OSResult.h:370
~SystemResult()
Class destructor.
Definition: OSResult.cpp:173
StorageCapacity * availableDiskSpace
a pointer to the DiskSpace class
Definition: OSResult.h:358
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9839
SystemResult()
Default constructor.
Definition: OSResult.cpp:159
CPUSpeed * availableCPUSpeed
a pointer to the CPUSpeed class
Definition: OSResult.h:366
The Time Class.
Definition: OSResult.h:221
~Time()
Class destructor.
Definition: OSResult.cpp:163
std::string type
The type of timer used (cpuTime/elapsedTime/other)
Definition: OSResult.h:228
std::string unit
The unit of time (tick/millisecond/second/minute/hour/day/week/month/year)
Definition: OSResult.h:240
std::string description
Further description on the timer used.
Definition: OSResult.h:246
double value
The time measurement.
Definition: OSResult.h:252
Time()
Default constructor.
Definition: OSResult.cpp:150
std::string category
The category of time (total/input/preprocessing/optimization/postprocessing/output/other)
Definition: OSResult.h:234
The TimeMeasurement Class.
Definition: OSResult.h:547
std::string category
The category of time (total/input/preprocessing/optimization/postprocessing/output/other)
Definition: OSResult.h:558
bool IsEqual(TimeMeasurement *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8059
TimeMeasurement()
Default constructor.
Definition: OSResult.cpp:255
std::string description
Further description on the timer used.
Definition: OSResult.h:563
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10051
std::string type
The type of timer used (cpuTime/elapsedTime/other)
Definition: OSResult.h:553
~TimeMeasurement()
Class destructor.
Definition: OSResult.cpp:267
the TimeSpan class.
Definition: OSGeneral.h:925
The TimingInformation Class.
Definition: OSResult.h:605
~TimingInformation()
Class destructor.
Definition: OSResult.cpp:285
TimeMeasurement ** time
An array of time measurements.
Definition: OSResult.h:618
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:9976
TimingInformation()
Default constructor.
Definition: OSResult.cpp:275
int numberOfTimes
The number of elements in the time array.
Definition: OSResult.h:612
bool IsEqual(TimingInformation *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8005
VarValue Class.
Definition: OSResult.h:848
VarValue()
Default constructor.
Definition: OSResult.cpp:408
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10284
int idx
idx is the index on variable in the solution
Definition: OSResult.h:852
~VarValue()
Class destructor.
Definition: OSResult.cpp:419
double value
Definition: OSResult.h:860
bool IsEqual(VarValue *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8509
std::string name
optional name
Definition: OSResult.h:855
VarValueString Class.
Definition: OSResult.h:957
std::string name
optional name
Definition: OSResult.h:964
std::string value
Definition: OSResult.h:969
int idx
idx is the index on variable in the solution
Definition: OSResult.h:961
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10323
bool IsEqual(VarValueString *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8617
VarValueString()
Default constructor.
Definition: OSResult.cpp:456
~VarValueString()
Class destructor.
Definition: OSResult.cpp:467
The VariableSolution Class.
Definition: OSResult.h:1218
VariableSolution()
Default constructor.
Definition: OSResult.cpp:571
OtherVariableResult ** other
a pointer to an array of other pointer objects for variables
Definition: OSResult.h:1238
BasisStatus * basisStatus
a pointer to a BasisStatus object
Definition: OSResult.h:1233
bool IsEqual(VariableSolution *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8393
int numberOfOtherVariableResults
the number of types of variable results other than the value of the variable
Definition: OSResult.h:1224
~VariableSolution()
Class destructor.
Definition: OSResult.cpp:584
VariableValues * values
a pointer to a VariableValues object
Definition: OSResult.h:1227
VariableValuesString * valuesString
a pointer to a VariableValuesString object
Definition: OSResult.h:1230
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10216
The VariableValues Class.
Definition: OSResult.h:902
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10260
VariableValues()
Default constructor.
Definition: OSResult.cpp:428
VarValue ** var
a vector of VarValue objects, there will be one for each variable in the solution
Definition: OSResult.h:912
int numberOfVar
the number of variable values that are in the solution
Definition: OSResult.h:907
~VariableValues()
Class destructor.
Definition: OSResult.cpp:438
bool IsEqual(VariableValues *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8454
The VariableValuesString Class.
Definition: OSResult.h:1012
VariableValuesString()
Default constructor.
Definition: OSResult.cpp:476
bool IsEqual(VariableValuesString *that)
A function to check for the equality of two objects.
Definition: OSResult.cpp:8562
VarValueString ** var
a vector of VarValueString objects, there will be one for each variable in the solution
Definition: OSResult.h:1022
int numberOfVar
the number of string-valued variable values that are in the solution
Definition: OSResult.h:1017
~VariableValuesString()
Class destructor.
Definition: OSResult.cpp:486
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSResult.cpp:10299
ENUM_MATRIX_TYPE
An enum to track the many different types of values that a matrix can contain Note that these types a...
Definition: OSParameters.h:600
@ ENUM_MATRIX_TYPE_unknown
Definition: OSParameters.h:615
ENUM_MATRIX_SYMMETRY
Definition: OSParameters.h:736
@ ENUM_MATRIX_SYMMETRY_none
Definition: OSParameters.h:737
A commonly used structure holding an index-string pair This definition is based on the definition of ...
Definition: OSResult.h:30
int idx
idx holds the index of a string-valued entity (such as a variable, constraint, objective) that is par...
Definition: OSResult.h:34
std::string value
value is a string that holds the value of the entity
Definition: OSResult.h:38