OSOption.h
Go to the documentation of this file.
1 /* $Id: OSOption.h 5284 2017-12-08 13:52:50Z stefan $ */
15 #ifndef OSOPTION_H
16 #define OSOPTION_H
17 
18 #include <string>
19 #include <vector>
20 #include "OSGeneral.h"
21 #include "OSMathUtil.h"
22 
23 
24 
25 //#define DEBUG
26 
27 
40 {
41 
42 public:
44  std::string locationType;
45 
47  std::string value;
48 
54 
60 
65  bool IsEqual(InstanceLocationOption *that);
66 
74  bool setRandom(double density, bool conformant);
75 
82 }; //InstanceLocationOption
83 
84 
97 {
98 
99 public:
101  std::string transportType;
102 
104  std::string value;
105 
110  ContactOption();
115  ~ContactOption();
116 
121  bool IsEqual(ContactOption *that);
122 
130  bool setRandom(double density, bool conformant);
131 
137  bool deepCopyFrom(ContactOption *that);
138 }; //ContactOption
139 
140 
153 {
154 
155 public:
157  std::string name;
158 
160  std::string value;
161 
163  std::string description;
164 
169  OtherOption();
174  ~OtherOption();
175 
180  bool IsEqual(OtherOption *that);
181 
189  bool setRandom(double density, bool conformant);
190 
196  bool deepCopyFrom(OtherOption *that);
197 }; //OtherOption
198 
199 
212 {
213 
214 public:
217 
220 
225  OtherOptions();
230  ~OtherOptions();
231 
236  bool IsEqual(OtherOptions *that);
237 
245  bool setRandom(double density, bool conformant);
246 
252  bool deepCopyFrom(OtherOptions *that);
253 
260  bool setOther(int numberOfOptions, OtherOption** other);
261 
269  bool addOther(std::string name, std::string value, std::string description);
270 }; //OtherOptions
271 
272 
285 {
286 
287 public:
288 
290  std::string serviceURI;
291 
293  std::string serviceName;
294 
296  std::string instanceName;
297 
300 
302  std::string jobID;
303 
305  std::string solverToInvoke;
306 
308  std::string license;
309 
311  std::string userName;
312 
314  std::string password;
315 
318 
321 
326  GeneralOption();
331  ~GeneralOption();
332 
337  bool IsEqual(GeneralOption *that);
338 
346  bool setRandom(double density, bool conformant);
347 
353  bool deepCopyFrom(GeneralOption *that);
354 };//GeneralOption
355 
370 {
371 
372 public:
374  std::string unit;
375 
377  std::string description;
378 
380  double value;
381 
382 
387  MinDiskSpace();
392  ~MinDiskSpace();
393 
398  bool IsEqual(MinDiskSpace *that);
399 }; //MinDiskSpace
400 
415 {
416 
417 public:
419  std::string unit;
420 
422  std::string description;
423 
425  double value;
426 
427 
432  MinMemorySize();
437  ~MinMemorySize();
438 
443  bool IsEqual(MinMemorySize *that);
444 }; //MinMemorySize
445 
460 {
461 
462 public:
464  std::string unit;
465 
467  std::string description;
468 
470  double value;
471 
472 
477  MinCPUSpeed();
482  ~MinCPUSpeed();
483 
488  bool IsEqual(MinCPUSpeed *that);
489 }; //MinCPUSpeed
490 
505 {
506 
507 public:
509  std::string description;
510 
512  int value;
513 
514 
519  MinCPUNumber();
524  ~MinCPUNumber();
525 
530  bool IsEqual(MinCPUNumber *that);
531 }; //MinCPUNumber
532 
533 
546 {
547 
548 public:
551 
554 
557 
560 
563 
568  SystemOption();
573  ~SystemOption();
574 
579  bool IsEqual(SystemOption *that);
580 
588  bool setRandom(double density, bool conformant);
589 
595  bool deepCopyFrom(SystemOption *that);
596 }; //SystemOption
597 
598 
611 {
612 
613 public:
615  std::string type;
616 
619 
624  ServiceOption();
629  ~ServiceOption();
630 
635  bool IsEqual(ServiceOption *that);
636 
644  bool setRandom(double density, bool conformant);
645 
651  bool deepCopyFrom(ServiceOption *that);
652 }; //ServiceOption
653 
654 
668 class MaxTime
669 {
670 
671 public:
673  std::string unit;
674 
676  double value;
677 
678 
683  MaxTime();
688  ~MaxTime();
689 
694  bool IsEqual(MaxTime *that);
695 }; //MaxTime
696 
697 
710 {
711 
712 public:
715 
717  std::string *jobID;
718 
723  JobDependencies();
729 
734  bool IsEqual(JobDependencies *that);
735 
743  bool setRandom(double density, bool conformant);
744 
750  bool deepCopyFrom(JobDependencies *that);
751 
758  bool setJobID(int numberOfJobIDs, std::string *jobID);
759 
765  bool addJobID(std::string jobID);
766 }; //JobDependencies
767 
768 
781 {
782 
783 public:
786 
788  std::string *path;
789 
800 
805  bool IsEqual(DirectoriesAndFiles *that);
806 
814  bool setRandom(double density, bool conformant);
815 
821  bool deepCopyFrom(DirectoriesAndFiles *that);
822 
829  bool setPath(int numberOfPaths, std::string *path);
835  bool addPath(std::string path);
836 }; //DirectoriesAndFiles
837 
838 
839 
851 class PathPair
852 {
853 
854 public:
856  std::string from;
857 
859  std::string to;
860 
862  bool makeCopy;
863 
868  PathPair();
873  ~PathPair();
874 
879  bool IsEqual(PathPair *that);
880 
888  bool setRandom(double density, bool conformant);
889 
895  bool deepCopyFrom(PathPair *that);
896 }; //PathPair
897 
898 
911 {
912 
913 public:
916 
919 
924  PathPairs();
929  ~PathPairs();
930 
935  bool IsEqual(PathPairs *that);
936 
944  bool setRandom(double density, bool conformant);
945 
951  bool deepCopyFrom(PathPairs *that);
952 
960 
969  bool setPathPair(std::string *from, std::string *to, bool *makeCopy, int numberOfPathPairs);
970 
978  bool addPathPair(std::string fromPath, std::string toPath, bool makeCopy);
979 }; //PathPairs
980 
981 
994 {
995 
996 public:
999 
1001  std::string *process;
1002 
1007  Processes();
1012  ~Processes();
1013 
1018  bool IsEqual(Processes *that);
1019 
1027  bool setRandom(double density, bool conformant);
1028 
1034  bool deepCopyFrom(Processes *that);
1035 
1042  bool setProcess(int numberOfProcesses, std::string *process);
1043 
1049  bool addProcess(std::string process);
1050 }; //Processes
1051 
1052 
1065 {
1066 
1067 public:
1070 
1072  std::string requestedStartTime;
1073 
1076 
1079 
1082 
1085 
1088 
1091 
1094 
1097 
1100 
1103 
1106 
1109 
1112 
1117  JobOption();
1122  ~JobOption();
1123 
1128  bool IsEqual(JobOption *that);
1129 
1137  bool setRandom(double density, bool conformant);
1138 
1144  bool deepCopyFrom(JobOption *that);
1145 }; //JobOption
1146 
1147 
1160 {
1161 
1162 public:
1164  int idx;
1165 
1167  std::string name;
1168 
1170  double value;
1171 
1176  InitVarValue();
1181  ~InitVarValue();
1182 
1187  bool IsEqual(InitVarValue *that);
1188 
1196  bool setRandom(double density, bool conformant);
1197 
1203  bool deepCopyFrom(InitVarValue *that);
1204 }; //InitVarValue
1205 
1206 
1219 {
1220 
1221 public:
1224 
1227 
1238 
1243  bool IsEqual(InitVariableValues *that);
1244 
1252  bool setRandom(double density, bool conformant);
1253 
1259  bool deepCopyFrom(InitVariableValues *that);
1260 
1267  bool setVar(int numberOfVar, InitVarValue **var);
1268 
1277 
1278 
1287  bool setVar(int numberOfVar, int *idx, double *value, std::string *name);
1288 
1295  bool addVar(int idx, double value);
1296 
1305  bool addVar(int numberOfVar, InitVarValue **var);
1306 }; //InitVariableValues
1307 
1308 
1321 {
1322 
1323 public:
1325  int idx;
1326 
1328  std::string name;
1329 
1331  std::string value;
1332 
1343 
1348  bool IsEqual(InitVarValueString *that);
1349 
1357  bool setRandom(double density, bool conformant);
1358 
1364  bool deepCopyFrom(InitVarValueString *that);
1365 }; //InitVarValueString
1366 
1367 
1380 {
1381 
1382 public:
1385 
1388 
1399 
1404  bool IsEqual(InitVariableValuesString *that);
1405 
1413  bool setRandom(double density, bool conformant);
1414 
1421 
1429 
1438 
1439 
1448  bool setVar(int numberOfVar, int *idx, std::string *value, std::string* name);
1449 
1456  bool addVar(int idx, std::string value);
1457 
1467 }; //InitVariableValuesString
1468 
1482 {
1483 
1484 public:
1486  int idx;
1487 
1489  std::string value;
1490 
1496  InitBasStatus();
1501  ~InitBasStatus();
1502 
1507  bool IsEqual(InitBasStatus *that);
1508 
1516  bool setRandom(double density, bool conformant);
1517 
1523  bool deepCopyFrom(InitBasStatus *that);
1524 }; //InitBasStatus
1525 
1526 
1541 {
1542 
1543 public:
1546 
1549 
1560 
1565  bool IsEqual(InitialBasisStatus *that);
1566 
1574  bool setRandom(double density, bool conformant);
1575 
1581  bool deepCopyFrom(InitialBasisStatus *that);
1582 
1589  bool setVar(int numberOfVar, InitBasStatus **var);
1590 
1597  bool addVar(int idx, std::string value);
1598 }; //InitialBasisStatus
1599 
1612 {
1613 
1614 public:
1616  int idx;
1617 
1619  std::string name;
1620 
1622  double value;
1623 
1628  BranchingWeight();
1633  ~BranchingWeight();
1634 
1639  bool IsEqual(BranchingWeight *that);
1640 
1648  bool setRandom(double density, bool conformant);
1649 
1655  bool deepCopyFrom(BranchingWeight *that);
1656 }; //BranchingWeight
1657 
1658 
1659 
1672 {
1673 
1674 public:
1677 
1680 
1691 
1697 
1705  bool setRandom(double density, bool conformant);
1706 
1713 
1720  bool setVar(int numberOfVar, BranchingWeight **var);
1721 
1730 
1739  bool setVar(int numberOfVar, int *idx, double *value, std::string* name);
1740 
1747  bool addVar(int idx, double value);
1748 
1757  bool addVar(int numberOfVar, BranchingWeight **var);
1758 }; //IntegerVariableBranchingWeights
1759 
1776 {
1777 
1778 public:
1780  int sosIdx;
1781 
1783  double groupWeight;
1784 
1787 
1790 
1795  SOSWeights();
1800  ~SOSWeights();
1801 
1806  bool IsEqual(SOSWeights *that);
1807 
1815  bool setRandom(double density, bool conformant);
1816 
1822  bool deepCopyFrom(SOSWeights *that);
1823 
1830  bool setVar(int numberOfVar, BranchingWeight **var);
1831 
1838  bool addVar(int idx, double value);
1839 }; //SOSWeights
1840 
1841 
1854 {
1855 
1856 public:
1859 
1862 
1873 
1879 
1887  bool setRandom(double density, bool conformant);
1888 
1895 
1903  bool setSOS(int numberOfSOS, SOSWeights **sos);
1913  bool addSOS(int sosIdx, int nvar, double weight, int* idx, double* value, std::string* name);
1914 }; //SOSVariableBranchingWeights
1915 
1928 {
1929 
1930 public:
1932  int idx;
1933 
1935  std::string name;
1936 
1938  std::string value;
1939 
1941  std::string lbValue;
1942 
1944  std::string ubValue;
1945 
1950  OtherVarOption();
1955  ~OtherVarOption();
1956 
1961  bool IsEqual(OtherVarOption *that);
1962 
1970  bool setRandom(double density, bool conformant);
1971 
1977  bool deepCopyFrom(OtherVarOption *that);
1978 }; //OtherVarOption
1979 
1980 
1990 {
1991 
1992 public:
1995 
1998 
2000  std::string name;
2001 
2003  std::string value;
2004 
2006  std::string solver;
2007 
2009  std::string category;
2010 
2012  std::string type;
2013 
2015  std::string description;
2016 
2019 
2021  std::string varType;
2022 
2023  /* a pointer to OtherOptionOrResultEnumeration objects that will
2024  * give for each distinct value the set of indices for
2025  * this user defined variable result
2026  */
2028 
2030  std::string enumType;
2031 
2042 
2047  bool IsEqual(OtherVariableOption *that);
2048 
2056  bool setRandom(double density, bool conformant);
2057 
2063  bool deepCopyFrom(OtherVariableOption *that);
2064 
2071  bool setVar(int numberOfVar, OtherVarOption **var);
2072 
2081  bool addVar(int idx, std::string value, std::string lbValue, std::string ubValue);
2082 }; //OtherVariableOption
2083 
2084 
2097 {
2098 
2099 public:
2102 
2105 
2108 
2111 
2114 
2117 
2120 
2125  VariableOption();
2130  ~VariableOption();
2131 
2136  bool IsEqual(VariableOption *that);
2137 
2145  bool setRandom(double density, bool conformant);
2146 
2152  bool deepCopyFrom(VariableOption *that);
2153 
2160  bool setOther(int numberOfOptions, OtherVariableOption **other);
2161 
2168 }; //VariableOption
2169 
2170 
2183 {
2184 
2185 public:
2187  int idx;
2188 
2190  std::string name;
2191 
2193  double value;
2194 
2199  InitObjValue();
2204  ~InitObjValue();
2205 
2210  bool IsEqual(InitObjValue *that);
2211 
2219  bool setRandom(double density, bool conformant);
2220 
2226  bool deepCopyFrom(InitObjValue *that);
2227 }; //InitObjValue
2228 
2229 
2242 {
2243 
2244 public:
2247 
2250 
2261 
2266  bool IsEqual(InitObjectiveValues *that);
2267 
2275  bool setRandom(double density, bool conformant);
2276 
2282  bool deepCopyFrom(InitObjectiveValues *that);
2283 
2290  bool setObj(int numberOfObj, InitObjValue **obj);
2291 
2300 
2301 
2310  bool setObj(int numberOfObj, int *idx, double *value, std::string *name);
2311 
2318  bool addObj(int idx, double value);
2319 
2328  bool addObj(int numberOfObj, InitObjValue **obj);
2329 }; //InitObjectiveValues
2330 
2331 
2344 {
2345 
2346 public:
2348  int idx;
2349 
2351  std::string name;
2352 
2354  double lbValue;
2355 
2357  double ubValue;
2358 
2363  InitObjBound();
2368  ~InitObjBound();
2369 
2374  bool IsEqual(InitObjBound *that);
2375 
2383  bool setRandom(double density, bool conformant);
2384 
2390  bool deepCopyFrom(InitObjBound *that);
2391 }; //InitObjBound
2392 
2393 
2406 {
2407 
2408 public:
2411 
2414 
2425 
2430  bool IsEqual(InitObjectiveBounds *that);
2431 
2439  bool setRandom(double density, bool conformant);
2440 
2446  bool deepCopyFrom(InitObjectiveBounds *that);
2447 
2454  bool setObj(int numberOfObj, InitObjBound **obj);
2455 
2464 
2465 
2475  bool setObj(int numberOfObj, int *idx, double *lbValue, double *ubValue, std::string *name);
2476 
2484  bool addObj(int idx, double lbValue, double ubValue);
2485 
2494  bool addObj(int numberOfObj, InitObjBound **obj);
2495 }; //InitObjectiveBounds
2496 
2497 
2510 {
2511 
2512 public:
2514  int idx;
2515 
2517  std::string name;
2518 
2520  std::string value;
2521 
2522 
2524  std::string lbValue;
2525 
2527  std::string ubValue;
2532  OtherObjOption();
2537  ~OtherObjOption();
2538 
2543  bool IsEqual(OtherObjOption *that);
2544 
2552  bool setRandom(double density, bool conformant);
2553 
2559  bool deepCopyFrom(OtherObjOption *that);
2560 }; //OtherObjOption
2561 
2562 
2575 {
2576 
2577 public:
2580 
2583 
2585  std::string name;
2586 
2588  std::string value;
2589 
2591  std::string solver;
2592 
2594  std::string category;
2595 
2597  std::string type;
2598 
2600  std::string description;
2601 
2604 
2606  std::string objType;
2607 
2608  /* a pointer to OtherOptionOrResultEnumeration objects that will
2609  * give for each distinct value the set of indices for
2610  * this user defined variable result
2611  */
2613 
2615  std::string enumType;
2616 
2627 
2632  bool IsEqual(OtherObjectiveOption *that);
2633 
2641  bool setRandom(double density, bool conformant);
2642 
2648  bool deepCopyFrom(OtherObjectiveOption *that);
2649 
2656  bool setObj(int numberOfObj, OtherObjOption **obj);
2657 
2666  bool addObj(int idx, std::string value, std::string lbValue, std::string ubValue);
2667 }; //OtherObjectiveOption
2668 
2669 
2682 {
2683 
2684 public:
2687 
2690 
2693 
2696 
2699 
2704  ObjectiveOption();
2709  ~ObjectiveOption();
2710 
2715  bool IsEqual(ObjectiveOption *that);
2716 
2724  bool setRandom(double density, bool conformant);
2725 
2731  bool deepCopyFrom(ObjectiveOption *that);
2732 
2739  bool setOther(int numberOfOptions, OtherObjectiveOption **other);
2740 
2741 
2742 
2749 }; //ObjectiveOption
2750 
2751 
2764 {
2765 
2766 public:
2768  int idx;
2769 
2771  std::string name;
2772 
2774  double value;
2775 
2780  InitConValue();
2785  ~InitConValue();
2786 
2791  bool IsEqual(InitConValue *that);
2792 
2800  bool setRandom(double density, bool conformant);
2801 
2807  bool deepCopyFrom(InitConValue *that);
2808 }; //InitConValue
2809 
2810 
2823 {
2824 
2825 public:
2828 
2831 
2842 
2847  bool IsEqual(InitConstraintValues *that);
2848 
2856  bool setRandom(double density, bool conformant);
2857 
2863  bool deepCopyFrom(InitConstraintValues *that);
2864 
2871  bool setCon(int numberOfCon, InitConValue **con);
2872 
2881 
2882 
2891  bool setCon(int numberOfCon, int *idx, double *value, std::string *name);
2892 
2899  bool addCon(int idx, double value);
2900 
2909  bool addCon(int numberOfCon, InitConValue **con);
2910 }; //InitConstraintValues
2911 
2912 
2925 {
2926 
2927 public:
2929  int idx;
2930 
2932  std::string name;
2933 
2935  double lbDualValue;
2936 
2938  double ubDualValue;
2939 
2944  InitDualVarValue();
2945 
2951 
2956  bool IsEqual(InitDualVarValue *that);
2957 
2965  bool setRandom(double density, bool conformant);
2966 
2972  bool deepCopyFrom(InitDualVarValue *that);
2973 }; //InitDualVarValue
2974 
2975 
2988 {
2989 
2990 public:
2993 
2996 
3007 
3012  bool IsEqual(InitDualVariableValues *that);
3013 
3021  bool setRandom(double density, bool conformant);
3022 
3029 
3036  bool setCon(int numberOfCon, InitDualVarValue **con);
3037 
3046 
3047 
3057  bool setCon(int numberOfCon, int *idx, double *lbValue, double *ubValue, std::string *name);
3058 
3066  bool addCon(int idx, double lbDualValue, double ubDualValue);
3067 
3076  bool addCon(int numberOfCon, InitDualVarValue **con);
3077 }; //InitDualVariableValues
3078 
3079 
3092 {
3093 
3094 public:
3096  int idx;
3097 
3099  std::string name;
3100 
3102  std::string value;
3103 
3105  std::string lbValue;
3106 
3108  std::string ubValue;
3109 
3114  OtherConOption();
3119  ~OtherConOption();
3120 
3125  bool IsEqual(OtherConOption *that);
3126 
3134  bool setRandom(double density, bool conformant);
3135 
3141  bool deepCopyFrom(OtherConOption *that);
3142 }; //OtherConOption
3143 
3144 
3157 {
3158 
3159 public:
3162 
3165 
3167  std::string name;
3168 
3170  std::string value;
3171 
3173  std::string solver;
3174 
3176  std::string category;
3177 
3179  std::string type;
3180 
3182  std::string description;
3183 
3186 
3188  std::string conType;
3189 
3190  /* a pointer to OtherOptionOrResultEnumeration objects that will
3191  * give for each distinct value the set of indices for
3192  * this user defined variable result
3193  */
3195 
3197  std::string enumType;
3198 
3209 
3214  bool IsEqual(OtherConstraintOption *that);
3215 
3223  bool setRandom(double density, bool conformant);
3224 
3230  bool deepCopyFrom(OtherConstraintOption *that);
3231 
3238  bool setCon(int numberOfCon, OtherConOption **con);
3239 
3248  bool addCon(int idx, std::string value, std::string lbValue, std::string ubValue);
3249 }; //OtherConstraintOption
3250 
3251 
3264 {
3265 
3266 public:
3269 
3272 
3275 
3278 
3281 
3286  ConstraintOption();
3292 
3297  bool IsEqual(ConstraintOption *that);
3298 
3306  bool setRandom(double density, bool conformant);
3307 
3313  bool deepCopyFrom(ConstraintOption *that);
3314 
3321  bool setOther(int numberOfOptions, OtherConstraintOption **other);
3322 
3323 
3330 }; //ConstraintOption
3331 
3332 
3345 {
3346 
3347 public:
3349  std::string name;
3350 
3352  std::string value;
3353 
3355  std::string solver;
3356 
3358  std::string category;
3359 
3361  std::string type;
3362 
3364  std::string description;
3365 
3368 
3370  std::string* item;
3371 
3376  SolverOption();
3381  ~SolverOption();
3382 
3387  bool IsEqual(SolverOption *that);
3388 
3396  bool setRandom(double density, bool conformant);
3397 
3403  bool deepCopyFrom(SolverOption *that);
3404 }; //SolverOption
3405 
3406 
3419 {
3420 
3421 public:
3424 
3427 
3432  SolverOptions();
3437  ~SolverOptions();
3438 
3443  bool IsEqual(SolverOptions *that);
3444 
3452  bool setRandom(double density, bool conformant);
3453 
3459  bool deepCopyFrom(SolverOptions *that);
3460 
3467  bool setSolverOptions(int numberOfOptions, SolverOption **solverOption);
3468 
3479  bool addSolverOption(std::string name, std::string value, std::string solver,
3480  std::string category, std::string type, std::string description);
3481 }; //SolverOptions
3482 
3483 
3496 {
3497 
3498 public:
3501 
3504 
3507 
3510 
3513 
3516 
3529 
3534  bool IsEqual(OptimizationOption *that);
3535 
3543  bool setRandom(double density, bool conformant);
3544 
3550  bool deepCopyFrom(OptimizationOption *that);
3551 }; //OptimizationOption
3552 
3553 
3565 {
3566 
3567 public:
3568 
3597 
3602  OSOption();
3607  ~OSOption();
3608 
3618  bool setHeader(std::string name, std::string source,
3619  std::string description, std::string fileCreator, std::string licence);
3620 
3621 private:
3626 
3631 
3636 
3641 
3646 
3651 
3656 
3661 
3667 
3673 
3674 public:
3678  bool IsEqual(OSOption *that);
3679 
3686  bool setRandom(double density, bool conformant);
3687 
3693  bool deepCopyFrom(OSOption *that);
3694 
3695 public:
3696 
3697  // get() methods...
3698 
3702  std::string getFileName();
3703 
3707  std::string getFileSource();
3708 
3712  std::string getFileDescription();
3713 
3717  std::string getFileCreator();
3718 
3722  std::string getFileLicence();
3723 
3727  std::string getServiceURI();
3728 
3732  std::string getServiceName();
3733 
3737  std::string getInstanceName();
3738 
3742  std::string getInstanceLocation();
3743 
3747  std::string getInstanceLocationType();
3748 
3753  std::string getJobID();
3754 
3758  std::string getSolverToInvoke();
3759 
3763  std::string getLicense();
3764 
3768  std::string getUserName();
3769 
3773  std::string getPassword();
3774 
3778  std::string getContact();
3779 
3783  std::string getContactTransportType();
3784 
3788  std::string getMinDiskSpaceUnit();
3789 
3793  std::string getMinDiskSpaceDescription();
3794 
3798  std::string getMinMemoryUnit();
3799 
3803  std::string getMinMemoryDescription();
3804 
3808  std::string getMinCPUSpeedUnit();
3809 
3813  std::string getMinCPUSpeedDescription();
3814 
3818  std::string getMinCPUNumberDescription();
3819 
3823  std::string getServiceType();
3824 
3828  std::string getMaxTimeUnit();
3829 
3833  std::string getRequestedStartTime();
3834 
3838  std::string getOptionStr(std::string optionName);
3839 
3843  double getMinDiskSpace();
3844 
3848  double getMinMemorySize();
3849 
3853  double getMinCPUSpeed();
3854 
3858  double getMaxTime();
3859 
3863  double getOptionDbl(std::string optionName);
3864 
3868  int getMinCPUNumber();
3869 
3874 
3879 
3884 
3889 
3894 
3899 
3904 
3909 
3913  int getNumberOfFilesToMake();
3914 
3919 
3924 
3929 
3934 
3939 
3944 
3949 
3953  int getNumberOfVariables();
3954 
3958  int getNumberOfObjectives();
3959 
3963  int getNumberOfConstraints();
3964 
3971 
3978 
3986 
3992  int getNumberOfSOS();
3993 
3999  int getNumberOfSOSVarBranchingWeights(int iSOS);
4000 
4007 
4014 
4021 
4028 
4035 
4042 
4049 
4056 
4060  int getOptionInt(std::string optionName);
4061 
4062 
4071 
4080 
4089 
4098 
4106  OtherOption** getOtherOptions(std::string elementName);
4107 
4108 
4117 
4124  std::string* getJobDependencies();
4125 
4133  std::string* getRequiredDirectories();
4134 
4142  std::string* getRequiredFiles();
4143 
4151  std::string* getDirectoriesToMake();
4152 
4160  std::string* getFilesToMake();
4161 
4170 
4179 
4188 
4197 
4205  std::string* getDirectoriesToDelete();
4206 
4214  std::string* getFilesToDelete();
4215 
4223  std::string* getProcessesToKill();
4224 
4233 
4241  double* getInitVarValuesDense();
4242 
4251  double* getInitVarValuesDense(int numberOfVariables);
4252 
4261 
4269  std::string *getInitVarValuesStringDense();
4270 
4279  std::string *getInitVarValuesStringDense(int numberOfVariables);
4280 
4289 
4297  std::string *getInitBasisStatusDense();
4298 
4307  int* getVariableInitialBasisStatusDense(int numberOfVariables);
4308 
4319  int getNumberOfInitialBasisElements(int type, int status);
4320 
4332  bool getInitialBasisElements(int type, int status, int* elem);
4333 
4342 
4351 
4360  double* getIntegerVariableBranchingWeightsDense(int numberOfVariables);
4361 
4370 
4379  std::vector<OtherVariableOption*> getOtherVariableOptions(std::string solver_name);
4380 
4388  OtherVariableOption* getOtherVariableOption(int optionNumber);
4389 
4397 
4406 
4414  double *getInitObjValuesDense();
4415 
4424  double *getInitObjValuesDense(int numberOfObjectives);
4425 
4434 
4442  double *getInitObjLowerBoundsDense();
4443 
4452  double *getInitObjLowerBoundsDense(int numberOfObjectives);
4453 
4461  double *getInitObjUpperBoundsDense();
4462 
4471  double *getInitObjUpperBoundsDense(int numberOfObjectives);
4472 
4481  int* getObjectiveInitialBasisStatusDense(int numberOfObjectives);
4482 
4490  std::vector<OtherObjectiveOption*> getOtherObjectiveOptions(std::string solver_name);
4491 
4499  OtherObjectiveOption* getOtherObjectiveOption(int optionNumber);
4500 
4508 
4517 
4525  double *getInitConValuesDense();
4526 
4535  double *getInitConValuesDense(int numberOfConstraints);
4536 
4545 
4554 
4563  double *getInitDualVarLowerBoundsDense(int numberOfConstraints);
4564 
4565 
4574 
4583  double *getInitDualVarUpperBoundsDense(int numberOfConstraints);
4584 
4593  int* getSlackVariableInitialBasisStatusDense(int numberOfConstraints);
4594 
4602  std::vector<OtherConstraintOption*> getOtherConstraintOptions(std::string solver_name);
4603 
4612 
4620 
4629  std::vector<SolverOption*> getSolverOptions( std::string solver_name);
4630 
4631 
4643  std::vector<SolverOption*> getSolverOptions( std::string solver_name, bool getFreeOptions);
4644 
4652 
4653  /* --------------------------------------------------
4654  * set() methods
4655  * -------------------------------------------------- */
4656 
4660  bool setServiceURI( std::string serviceURI);
4661 
4665  bool setServiceName( std::string serviceName);
4666 
4670  bool setInstanceName( std::string instanceName);
4671 
4675  bool setInstanceLocation( std::string instanceLocation);
4676 
4681  bool setInstanceLocation( std::string instanceLocation, std::string locationType);
4682 
4686  bool setInstanceLocationType( std::string locationType);
4687 
4691  bool setJobID( std::string jobID);
4692 
4696  bool setSolverToInvoke( std::string solverToInvoke);
4697 
4701  bool setLicense( std::string license);
4702 
4706  bool setUserName( std::string userName);
4707 
4711  bool setPassword( std::string password);
4712 
4716  bool setContact( std::string contact);
4717 
4722  bool setContact( std::string contact, std::string transportType);
4723 
4727  bool setContactTransportType( std::string transportType);
4728 
4734  bool setOtherGeneralOptions(int numberOfOptions, OtherOption** other);
4735 
4742  bool setAnOtherGeneralOption(std::string name, std::string value, std::string description);
4743 
4750  bool setMinDiskSpace(std::string unit, std::string description, double value);
4751 
4755  bool setMinDiskSpace(double value);
4756 
4757  bool setMinDiskSpaceUnit(std::string unit);
4758 
4765  bool setMinMemorySize(std::string unit, std::string description, double value);
4766 
4770  bool setMinMemorySize(double value);
4771 
4772  bool setMinMemoryUnit(std::string unit);
4773 
4780  bool setMinCPUSpeed(std::string unit, std::string description, double value);
4781 
4785  bool setMinCPUSpeed(double value);
4786 
4787  bool setMinCPUSpeedUnit(std::string unit);
4788 
4794  bool setMinCPUNumber( int number, std::string description);
4795 
4799  bool setMinCPUNumber( int number);
4800 
4801  bool setOtherSystemOptions(int numberOfOptions, OtherOption** other);
4802 
4803  bool setAnOtherSystemOption(std::string name, std::string value, std::string description);
4804 
4805 
4806  bool setServiceType( std::string serviceType);
4807 
4808  bool setOtherServiceOptions(int numberOfOptions, OtherOption** other);
4809 
4810  bool setAnOtherServiceOption(std::string name, std::string value, std::string description);
4811 
4812 
4813  bool setMaxTime(double value, std::string unit);
4814 
4815  bool setMaxTime(double value);
4816 
4817  bool setMaxTimeUnit(std::string unit);
4818 
4819  bool setRequestedStartTime(std::string time);
4820 
4821  bool setJobDependencies(int numberOfDependencies, std::string* jobDependencies);
4822  bool setAnotherJobDependency(std::string jobID);
4823 
4824  bool setRequiredDirectories(int numberOfPaths, std::string* paths);
4825  bool setAnotherRequiredDirectory(std::string path);
4826 
4827  bool setRequiredFiles(int numberOfPaths, std::string* paths);
4828  bool setAnotherRequiredFile(std::string path);
4829 
4830  bool setDirectoriesToMake(int numberOfPaths, std::string* paths);
4831  bool setAnotherDirectoryToMake(std::string path);
4832 
4833  bool setFilesToMake(int numberOfPaths, std::string* paths);
4834  bool setAnotherFileToMake(std::string path);
4835 
4853  bool setPathPairs(int object, std::string *from, std::string *to, bool *makeCopy, int numberOfPathPairs);
4854 
4855  bool setInputDirectoriesToMove(int numberOfPathPairs, PathPair** pathPair);
4856  bool setAnotherInputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy);
4857 
4858  bool setInputFilesToMove(int numberOfPathPairs, PathPair** pathPair);
4859  bool setAnotherInputFileToMove(std::string fromPath, std::string toPath, bool makeCopy);
4860 
4861  bool setOutputFilesToMove(int numberOfPathPairs, PathPair** pathPair);
4862  bool setAnotherOutputFileToMove(std::string fromPath, std::string toPath, bool makeCopy);
4863 
4864  bool setOutputDirectoriesToMove(int numberOfPathPairs, PathPair** pathPair);
4865  bool setAnotherOutputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy);
4866 
4867  bool setFilesToDelete(int numberOfPaths, std::string* paths);
4868  bool setAnotherFileToDelete(std::string path);
4869 
4870  bool setDirectoriesToDelete(int numberOfPaths, std::string* paths);
4871  bool setAnotherDirectoryToDelete(std::string path);
4872 
4873  bool setProcessesToKill(int numberOfProcesses, std::string* processes);
4874  bool setAnotherProcessToKill(std::string process);
4875 
4876  bool setOtherJobOptions(int numberOfOptions, OtherOption** other);
4877  bool setAnOtherJobOption(std::string name, std::string value, std::string description);
4878 
4879 
4880  bool setNumberOfVariables(int numberOfVariables);
4881 
4882  bool setNumberOfObjectives(int numberOfObjectives);
4883 
4884  bool setNumberOfConstraints(int numberOfConstraints);
4885 
4886  bool setInitVarValues(int numberOfVar, int* idx, double* value, std::string* name);
4887  bool setInitVarValuesSparse(int numberOfVar, InitVarValue** var);
4888  bool setInitVarValuesSparse(int numberOfVar, InitVarValue** var, ENUM_COMBINE_ARRAYS disp);
4889  bool setInitVarValuesDense(int numberOfVar, double *value);
4890  bool setAnotherInitVarValue(int idx, double value);
4891 
4892  bool setInitVarValuesString(int numberOfVar, int* idx, std::string* value, std::string* name);
4893  bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString** var);
4894  bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString** var, ENUM_COMBINE_ARRAYS disp);
4895  bool setInitVarValuesStringDense(int numberOfVar, std::string *value);
4896  bool setAnotherInitVarValueString(int idx, std::string value);
4897 
4898  bool setInitBasisStatus(int object, int status, int *i, int ni);
4899  bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus** var);
4900  bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus** var, ENUM_COMBINE_ARRAYS disp);
4901  bool setInitBasisStatusDense(int numberOfVar, std::string *var);
4902 
4911  bool setAnotherInitBasisStatus(int type, int idx, int status);
4912 
4913  bool setIntegerVariableBranchingWeights(int numberOfVar, int* idx, double* value, std::string* name);
4914  bool setIntegerVariableBranchingWeightsSparse(int numberOfVar, BranchingWeight** var);
4916  bool setIntegerVariableBranchingWeightsDense(int numberOfVar, double *value);
4917  bool setAnotherIntegerVariableBranchingWeight(int idx, double value);
4918 
4919  bool setSOSVariableBranchingWeights(int numberOfSOS, SOSWeights** sos);
4920  bool setAnotherSOSVariableBranchingWeight(int sosIdx, int nvar, double weight, int* idx, double* value, std::string* name);
4921 
4922  bool setNumberOfOtherVariableOptions(int numberOfOther);
4923  bool setOtherVariableOptions(int numberOfVar, OtherVariableOption** var);
4925 
4941  bool setOtherVariableOptionAttributes(int iOther, int numberOfVar,
4942  int numberOfEnumerations, std::string name,
4943  std::string value, std::string solver,
4944  std::string category, std::string type,
4945  std::string varType, std::string enumType,
4946  std::string description);
4947 
4948 
4961  bool setOtherOptionOrResultEnumeration(int object, int otherOptionNumber, int enumerationNumber,
4962  int numberOfEl, std::string value, std::string description, int* idxArray);
4963 
4974  bool setOtherVariableOptionVar(int otherOptionNumber, int varNumber,
4975  int idx, std::string name, std::string value, std::string lbValue, std::string ubValue);
4976 
4977  bool setInitObjValues(int numberOfObj, int* idx, double* value, std::string* name);
4978  bool setInitObjValuesSparse(int numberOfObj, InitObjValue** obj);
4979  bool setInitObjValuesSparse(int numberOfObj, InitObjValue** obj, ENUM_COMBINE_ARRAYS disp);
4980  bool setInitObjValuesDense(int numberOfObj, double *value);
4981  bool setAnotherInitObjValue(int idx, double value);
4982 
4983  bool setInitObjBounds(int numberOfObj, int* idx, double* lbValue, double* ubValue, std::string* name);
4984  bool setInitObjBoundsSparse(int numberOfObj, InitObjBound** obj);
4985  bool setInitObjBoundsSparse(int numberOfObj, InitObjBound** obj, ENUM_COMBINE_ARRAYS disp);
4986  bool setInitObjBoundsDense(int numberOfObj, double *lb, double *ub);
4987  bool setAnotherInitObjBound(int idx, double lbValue, double ubValue);
4988 
4989  bool setNumberOfOtherObjectiveOptions(int numberOfOther);
4990  bool setOtherObjectiveOptions(int numberOfObj, OtherObjectiveOption** obj);
4991  //bool setOtherObjectiveOptions(int numberOfObj, OtherObjectiveOption** obj, ENUM_COMBINE_ARRAYS disp);
4993 
5009  bool setOtherObjectiveOptionAttributes(int iOther, int numberOfObj,
5010  int numberOfEnumerations, std::string name,
5011  std::string value, std::string solver,
5012  std::string category, std::string type,
5013  std::string objType, std::string enumType,
5014  std::string description);
5015 
5016 
5028  bool setOtherObjectiveOptionObj(int otherOptionNumber, int objNumber,
5029  int idx, std::string name, std::string value, std::string lbValue, std::string ubValue);
5030 
5031  bool setInitConValues(int numberOfCon, int* idx, double* value, std::string* name);
5032  bool setInitConValuesSparse(int numberOfCon, InitConValue** con);
5033  bool setInitConValuesSparse(int numberOfCon, InitConValue** con, ENUM_COMBINE_ARRAYS disp);
5034  bool setInitConValuesDense(int numberOfCon, double *value);
5035  bool setAnotherInitConValue(int idx, double value);
5036 
5037  bool setInitDualValues(int numberOfCon, int* idx, double* lbValue, double* ubValue, std::string* name);
5038  bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue** con);
5039  bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue** con, ENUM_COMBINE_ARRAYS disp);
5040  bool setInitDualVarValuesDense(int numberOfCon, double *lb, double *ub);
5041  bool setAnotherInitDualVarValue(int idx, double lbValue, double ubValue);
5042 
5043  bool setNumberOfOtherConstraintOptions(int numberOfOther);
5044  bool setOtherConstraintOptions(int numberOfOptions, OtherConstraintOption** other);
5045  //bool setOtherConstraintOptions(int numberOfOptions, OtherConstraintOption** other, ENUM_COMBINE_ARRAYS disp);
5047 
5063  bool setOtherConstraintOptionAttributes(int iOther, int numberOfCon,
5064  int numberOfEnumerations, std::string name,
5065  std::string value, std::string solver,
5066  std::string category, std::string type,
5067  std::string conType, std::string enumType,
5068  std::string description);
5069 
5070 
5082  bool setOtherConstraintOptionCon(int otherOptionNumber, int conNumber,
5083  int idx, std::string name, std::string value, std::string lbValue, std::string ubValue);
5084 
5085  bool setNumberOfSolverOptions(int numberOfOptions);
5086 
5100  bool setSolverOptionContent(int iOption, int numberOfItems,
5101  std::string name,
5102  std::string value, std::string solver,
5103  std::string category, std::string type,
5104  std::string description, std::string *itemList);
5105 
5106  bool setSolverOptions(int numberOfSolverOptions, SolverOption** solverOption);
5107  bool setAnotherSolverOption(std::string name, std::string value, std::string solver,
5108  std::string category, std::string type, std::string description);
5109 
5110 
5111  bool setOptionInt(std::string optionName, int optionValue);
5112 
5113  bool setOptionStr(std::string optionName, std::string optionValue);
5114 
5115  bool setOptionDbl(std::string optionName, double value);
5116 
5117 };//OSOption
5118 
5119 #endif
~SolverOption()
Class destructor.
Definition: OSOption.cpp:1194
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12920
int getNumberOfOutputFilesToMove()
Get the number of output files to move.
Definition: OSOption.cpp:1969
bool IsEqual(InitConstraintValues *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11766
bool setAnotherSOSVariableBranchingWeight(int sosIdx, int nvar, double weight, int *idx, double *value, std::string *name)
Definition: OSOption.cpp:8731
~GeneralOption()
Class destructor.
Definition: OSOption.cpp:131
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12537
std::string value
value of the option
Definition: OSOption.h:2003
std::string getJobID()
Get the job ID.
Definition: OSOption.cpp:1473
bool IsEqual(InitObjValue *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11445
PathPairs()
Default constructor.
Definition: OSOption.cpp:327
InitConstraintValues * initialConstraintValues
initial values for the constraints
Definition: OSOption.h:3271
the IntegerVariableBranchingWeights class.
Definition: OSOption.h:1671
InitDualVariableValues()
Default constructor.
Definition: OSOption.cpp:1047
~ConstraintOption()
Class destructor.
Definition: OSOption.cpp:1154
the SystemOption class.
Definition: OSOption.h:545
bool setOtherJobOptions(int numberOfOptions, OtherOption **other)
Definition: OSOption.cpp:8332
bool setAnotherFileToDelete(std::string path)
Definition: OSOption.cpp:8278
int idx
variable index
Definition: OSOption.h:3096
bool deepCopyFrom(OptimizationOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13540
~OtherConOption()
Class destructor.
Definition: OSOption.cpp:1087
bool setIntegerVariableBranchingWeights(int numberOfVar, int *idx, double *value, std::string *name)
Definition: OSOption.cpp:8633
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12579
the OtherOption class.
Definition: OSOption.h:152
the OtherConstraintOption class.
Definition: OSOption.h:3156
bool IsEqual(BranchingWeight *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11159
bool setInitBasisStatus(int object, int status, int *i, int ni)
Definition: OSOption.cpp:8544
int getNumberOfInitVarValues()
Get the number of initial variable values.
Definition: OSOption.cpp:2051
SOSVariableBranchingWeights()
Default constructor.
Definition: OSOption.cpp:645
bool setCon(int numberOfCon, OtherConOption **con)
A function to set an array of &lt;con&gt; elements.
Definition: OSOption.cpp:7186
OtherOptionOrResultEnumeration ** enumeration
Definition: OSOption.h:2612
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12981
OtherObjectiveOption ** getAllOtherObjectiveOptions()
Get all &lt;other&gt; objective options.
Definition: OSOption.cpp:3957
bool IsEqual(MinMemorySize *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10218
InitObjectiveValues * initialObjectiveValues
initial values for the objectives
Definition: OSOption.h:2689
bool setInitBasisStatusDense(int numberOfVar, std::string *var)
bool addProcess(std::string process)
A function to add a &lt;process&gt; element.
Definition: OSOption.cpp:4974
std::string name
optional variable name
Definition: OSOption.h:1167
int value
the minimum number of CPUs required
Definition: OSOption.h:512
std::string * jobID
the list of job IDs
Definition: OSOption.h:717
int idx
variable index
Definition: OSOption.h:1486
MinCPUSpeed()
Default constructor.
Definition: OSOption.cpp:181
bool setVar(int numberOfVar, OtherVarOption **var)
A function to set an array of elements.
Definition: OSOption.cpp:5910
the InitBasStatus class.
Definition: OSOption.h:1481
double getMaxTime()
Get the maximum allowed time.
Definition: OSOption.cpp:1775
bool deepCopyFrom(Processes *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13709
std::vector< OtherConstraintOption * > getOtherConstraintOptions(std::string solver_name)
Get the array of other constraint options.
Definition: OSOption.cpp:4435
std::string name
optional variable name
Definition: OSOption.h:1935
bool deepCopyFrom(DirectoriesAndFiles *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13654
bool IsEqual(DirectoriesAndFiles *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10418
bool setOtherVariableOptionAttributes(int iOther, int numberOfVar, int numberOfEnumerations, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string varType, std::string enumType, std::string description)
Set the attributes for one particular &lt;other&gt; &lt;variable&gt; option.
Definition: OSOption.cpp:8763
bool addOther(OtherConstraintOption *other)
A function to add an &lt;other&gt; element.
Definition: OSOption.cpp:7346
InitBasStatus ** var
initial value for each variable
Definition: OSOption.h:1548
bool setAnotherInitObjValue(int idx, double value)
Definition: OSOption.cpp:8980
int getOptionInt(std::string optionName)
Get any of the integer-valued options.
Definition: OSOption.cpp:2222
double * m_mdInitObjLowerBoundsDense
m_mdInitObjLowerBoundsDense holds initial lower bounds for the objectives in dense form ...
Definition: OSOption.h:3650
bool setAnOtherGeneralOption(std::string name, std::string value, std::string description)
Add another general option to the &lt;other&gt; option array.
Definition: OSOption.cpp:7716
bool IsEqual(OtherOptions *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10070
bool deepCopyFrom(InstanceLocationOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13577
bool setAnotherInitVarValue(int idx, double value)
Definition: OSOption.cpp:8453
double ubDualValue
initial upper bound
Definition: OSOption.h:2938
bool IsEqual(IntegerVariableBranchingWeights *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10992
std::string solver
name of the solver to which this option applies
Definition: OSOption.h:3173
InitVarValue ** var
initial value for each variable
Definition: OSOption.h:1226
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13106
std::string getInstanceLocationType()
Get the location type.
Definition: OSOption.cpp:1461
bool setPathPair(int numberOfPathPairs, PathPair **pathPair)
A function to set an array of &lt;pathPair&gt; elements.
Definition: OSOption.cpp:4827
std::string description
additional description about the memory
Definition: OSOption.h:422
std::string name
optional variable name
Definition: OSOption.h:2932
std::string value
value of the option
Definition: OSOption.h:2520
int * getVariableInitialBasisStatusDense(int numberOfVariables)
Get the initial basis status for all variables in dense form.
Definition: OSOption.cpp:2968
DirectoriesAndFiles * requiredDirectories
directories required to run the job
Definition: OSOption.h:1078
int getNumberOfSOS()
Get the number of special ordered sets for which branching weights are provided.
Definition: OSOption.cpp:2094
~InstanceLocationOption()
Class destructor.
Definition: OSOption.cpp:41
int getNumberOfOtherConstraintOptions()
Get the number of other constraint options.
Definition: OSOption.cpp:2195
InitConValue ** getInitConValuesSparse()
Get the initial values associated with the constraints in sparse form.
Definition: OSOption.cpp:3977
bool IsEqual(PathPairs *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10475
int numberOfCon
number of &lt;con&gt; children
Definition: OSOption.h:3161
std::string category
name of the category into which this option falls
Definition: OSOption.h:2009
InitConstraintValues()
Default constructor.
Definition: OSOption.cpp:1000
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12590
bool deepCopyFrom(JobOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13446
std::string value
the value of the &lt;contact&gt; element
Definition: OSOption.h:104
the InitConValue class.
Definition: OSOption.h:2763
bool setInitObjBoundsSparse(int numberOfObj, InitObjBound **obj)
Definition: OSOption.cpp:9006
std::string getInstanceName()
Get the instance name.
Definition: OSOption.cpp:1438
bool IsEqual(VariableOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10632
bool IsEqual(JobOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:9822
std::string solver
name of the solver to which this option applies
Definition: OSOption.h:2591
bool setOther(int numberOfOptions, OtherObjectiveOption **other)
A function to set an array of &lt;other&gt; elements.
Definition: OSOption.cpp:6629
~SOSVariableBranchingWeights()
Class destructor.
Definition: OSOption.cpp:654
bool setSolverOptions(int numberOfSolverOptions, SolverOption **solverOption)
Definition: OSOption.cpp:9492
the InitConstraintValues class.
Definition: OSOption.h:2822
std::string solver
the solver to which the option applies
Definition: OSOption.h:3355
ServiceOption * service
serviceOption holds the third child of the OSOption specified by the OSoL Schema. ...
Definition: OSOption.h:3588
int * getSlackVariableInitialBasisStatusDense(int numberOfConstraints)
Get the initial basis status for all slack variables in dense form.
Definition: OSOption.cpp:4329
bool setInitObjValuesDense(int numberOfObj, double *value)
Definition: OSOption.cpp:8957
std::string serviceName
the name of the service
Definition: OSOption.h:293
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12866
std::string value
value of the option
Definition: OSOption.h:3102
InitObjectiveBounds()
Default constructor.
Definition: OSOption.cpp:850
std::string requestedStartTime
the requested time to start the job
Definition: OSOption.h:1072
bool setOther(int numberOfOptions, OtherVariableOption **other)
A function to set an array of &lt;other&gt; elements.
Definition: OSOption.cpp:5994
OptimizationOption()
Default constructor.
Definition: OSOption.cpp:1232
bool setAnotherJobDependency(std::string jobID)
Definition: OSOption.cpp:8043
bool setAnotherSolverOption(std::string name, std::string value, std::string solver, std::string category, std::string type, std::string description)
Definition: OSOption.cpp:9509
int getNumberOfRequiredFiles()
Get the number of required files.
Definition: OSOption.cpp:1897
double * m_mdInitVarValuesDense
m_mdInitVarValuesDense holds the initial variable values in dense form
Definition: OSOption.h:3625
OtherObjOption()
Default constructor.
Definition: OSOption.cpp:878
std::string name
optional objective name
Definition: OSOption.h:2190
OtherConOption()
Default constructor.
Definition: OSOption.cpp:1075
~MinCPUNumber()
Class destructor.
Definition: OSOption.cpp:207
bool setVar(int numberOfVar, InitVarValue **var)
A function to set an array of elements.
Definition: OSOption.cpp:5013
int numberOfCon
number of &lt;con&gt; children
Definition: OSOption.h:2827
bool setObj(int numberOfObj, InitObjBound **obj)
A function to set an array of &lt;obj&gt; elements.
Definition: OSOption.cpp:6338
bool setMinDiskSpace(std::string unit, std::string description, double value)
Set the minimum disk space required for the current job.
Definition: OSOption.cpp:7731
ENUM_COMBINE_ARRAYS
An enum to streamline set() methods of vectors.
Definition: OSParameters.h:820
bool deepCopyFrom(PathPairs *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13674
std::string type
the service type
Definition: OSOption.h:615
GeneralFileHeader * optionHeader
OSOption has a header and five other children: general, system, service, job, and optimization...
Definition: OSOption.h:3576
BranchingWeight()
Default constructor.
Definition: OSOption.cpp:571
bool setOptionDbl(std::string optionName, double value)
Definition: OSOption.cpp:9592
the InitObjectiveBounds class.
Definition: OSOption.h:2405
int numberOfVar
number of children
Definition: OSOption.h:1545
~InitObjectiveValues()
Class destructor.
Definition: OSOption.cpp:812
bool setInitConValues(int numberOfCon, int *idx, double *value, std::string *name)
Definition: OSOption.cpp:9179
bool addVar(int idx, double value)
A function to add a element.
Definition: OSOption.cpp:5136
int getNumberOfInitConValues()
Get the number of initial constraint values.
Definition: OSOption.cpp:2170
~SolverOptions()
Class destructor.
Definition: OSOption.cpp:1213
double value
the minimum disk space required
Definition: OSOption.h:380
bool setMinMemorySize(std::string unit, std::string description, double value)
Set the minimum memory size required for the current job.
Definition: OSOption.cpp:7778
bool setAnOtherVariableOption(OtherVariableOption *varOption)
Definition: OSOption.cpp:8904
SOSVariableBranchingWeights * sosVariableBranchingWeights
branching weights for SOS variables and groups
Definition: OSOption.h:2116
std::string getMinMemoryDescription()
get the memory description
Definition: OSOption.cpp:1588
bool setSOSVariableBranchingWeights(int numberOfSOS, SOSWeights **sos)
Definition: OSOption.cpp:8712
JobOption * job
jobOption holds the fourth child of the OSOption specified by the OSoL Schema.
Definition: OSOption.h:3592
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12411
OtherOption ** other
the list of other options
Definition: OSOption.h:219
bool IsEqual(InitConValue *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11815
bool setNumberOfConstraints(int numberOfConstraints)
Definition: OSOption.cpp:8376
std::string unit
the unit in which time is measured
Definition: OSOption.h:673
StorageCapacity * minDiskSpace
the minimum disk space required
Definition: OSOption.h:550
~InitDualVariableValues()
Class destructor.
Definition: OSOption.cpp:1056
bool setInitDualVarValuesDense(int numberOfCon, double *lb, double *ub)
Definition: OSOption.cpp:9302
double * getInitObjUpperBoundsDense()
Get the initial upper bounds associated with the objectives in dense form.
Definition: OSOption.cpp:3641
bool setUserName(std::string userName)
Set the username.
Definition: OSOption.cpp:7637
double * m_mdIntegerVariableBranchingWeightsDense
m_mdIntegerVariableBranchingWeightsDense holds the branching weights for integer variables ...
Definition: OSOption.h:3640
the PathPairs class.
Definition: OSOption.h:910
the InitVarValue class.
Definition: OSOption.h:1159
ConstraintOption()
Default constructor.
Definition: OSOption.cpp:1142
int sosIdx
index of the SOS (to match the OSiL file)
Definition: OSOption.h:1780
std::vector< SolverOption * > getSolverOptions(std::string solver_name)
Get the options associated with a given solver.
Definition: OSOption.cpp:4508
bool deepCopyFrom(InitObjValue *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14048
bool setInitVarValuesDense(int numberOfVar, double *value)
Definition: OSOption.cpp:8429
std::string * getInitVarValuesStringDense()
Get the initial value strings associated with the variables in dense form.
Definition: OSOption.cpp:2874
~InitVarValue()
Class destructor.
Definition: OSOption.cpp:446
int numberOfOtherObjectiveOptions
number of &lt;other&gt; child elements
Definition: OSOption.h:2686
JobOption()
Default constructor.
Definition: OSOption.cpp:378
bool setInitVarValuesString(int numberOfVar, int *idx, std::string *value, std::string *name)
Definition: OSOption.cpp:8464
bool setSolverOptionContent(int iOption, int numberOfItems, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string description, std::string *itemList)
Set the attributes for one particular solver option.
Definition: OSOption.cpp:9462
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12505
std::string * path
the list of directory and file paths
Definition: OSOption.h:788
bool IsEqual(InitObjBound *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11540
std::string getMinMemoryUnit()
Get the memory unit.
Definition: OSOption.cpp:1576
std::string description
additional description about the CPU
Definition: OSOption.h:509
std::string getSolverToInvoke()
Get the solver name.
Definition: OSOption.cpp:1484
~MinMemorySize()
Class destructor.
Definition: OSOption.cpp:173
bool deepCopyFrom(InitObjectiveValues *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14027
bool setVar(int numberOfVar, InitBasStatus **var)
A function to set an array of elements.
Definition: OSOption.cpp:5430
std::string getFileLicence()
Get licence information associated with the file.
Definition: OSOption.cpp:1404
~MaxTime()
Class destructor.
~ContactOption()
Class destructor.
Definition: OSOption.cpp:58
bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString **var)
Definition: OSOption.cpp:8478
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13235
std::string description
additional description about the disk space
Definition: OSOption.h:377
the DirectoriesAndFiles class.
Definition: OSOption.h:780
SystemOption * system
systemOption holds the second child of the OSOption specified by the OSoL Schema. ...
Definition: OSOption.h:3584
bool IsEqual(OptimizationOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:9898
double * m_mdInitConValuesDense
m_mdInitConValuesDense holds initial constraint values in dense form
Definition: OSOption.h:3660
bool IsEqual(InitialBasisStatus *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10894
~OSOption()
Class destructor.
Definition: OSOption.cpp:1287
bool setAnotherInputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
Definition: OSOption.cpp:8212
SolverOption()
Default constructor.
Definition: OSOption.cpp:1179
int numberOfEnumerations
number of &lt;enumeration&gt; child elements
Definition: OSOption.h:3164
PathPair ** getInputDirectoriesToMove()
Get the array of input directories to move.
Definition: OSOption.cpp:2590
std::string userName
the username
Definition: OSOption.h:311
int numberOfVariables
the number of variables
Definition: OSOption.h:3500
std::string category
the category to which the option belongs
Definition: OSOption.h:3358
~OtherConstraintOption()
Class destructor.
Definition: OSOption.cpp:1114
OtherVariableOption ** other
other variable options
Definition: OSOption.h:2119
bool setAnOtherJobOption(std::string name, std::string value, std::string description)
Definition: OSOption.cpp:8349
int idx
variable index
Definition: OSOption.h:1932
std::string type
type of the option value (integer, double, boolean, string)
Definition: OSOption.h:2012
double * m_mdInitObjUpperBoundsDense
m_mdInitObjUpperBoundsDense holds initial upper bounds for the objectives in dense form ...
Definition: OSOption.h:3655
double * m_mdInitObjValuesDense
m_mdInitObjValuesDense holds initial objective values in dense form
Definition: OSOption.h:3645
int getNumberOfJobDependencies()
Get the number of job dependencies.
Definition: OSOption.cpp:1873
OtherOptions * otherOptions
the list of other general options
Definition: OSOption.h:320
InitDualVariableValues * initialDualValues
initial dual values for the constraints
Definition: OSOption.h:3274
std::string solver
name of the solver to which this option applies
Definition: OSOption.h:2006
PathPair()
Default constructor.
Definition: OSOption.cpp:309
bool deepCopyFrom(IntegerVariableBranchingWeights *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13849
bool setRequiredDirectories(int numberOfPaths, std::string *paths)
Definition: OSOption.cpp:8053
std::string * m_mdInitVarValuesStringDense
m_mdInitVarValuesStringDense holds the initial values for string-valued variables ...
Definition: OSOption.h:3630
~OtherObjectiveOption()
Class destructor.
Definition: OSOption.cpp:917
the MinCPUSpeed class.
Definition: OSOption.h:459
std::string name
name of the option
Definition: OSOption.h:3167
bool deepCopyFrom(OtherObjOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14141
bool deepCopyFrom(JobDependencies *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13634
bool setOther(int numberOfOptions, OtherConstraintOption **other)
A function to set an array of &lt;other&gt; elements.
Definition: OSOption.cpp:7271
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13001
DirectoriesAndFiles * directoriesToDelete
directories to delete upon completion
Definition: OSOption.h:1105
ConstraintOption * constraints
the options for the constraints
Definition: OSOption.h:3515
bool setMinDiskSpaceUnit(std::string unit)
Definition: OSOption.cpp:7756
int getNumberOfRequiredDirectories()
Get the number of required directories.
Definition: OSOption.cpp:1885
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12444
bool setSolverToInvoke(std::string solverToInvoke)
Set the solver to be invoked.
Definition: OSOption.cpp:7621
~MinDiskSpace()
Class destructor.
Definition: OSOption.cpp:155
bool setOutputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
Definition: OSOption.cpp:8222
std::string category
name of the category into which this option falls
Definition: OSOption.h:2594
std::string name
name of the option
Definition: OSOption.h:2000
std::string * getRequiredFiles()
Get the array of required files.
Definition: OSOption.cpp:2536
StorageCapacity * minMemorySize
the minimum memory required
Definition: OSOption.h:553
std::string getContactTransportType()
Get the transport type.
Definition: OSOption.cpp:1540
std::string value
initial value
Definition: OSOption.h:1489
bool setOtherOptionOrResultEnumeration(int object, int otherOptionNumber, int enumerationNumber, int numberOfEl, std::string value, std::string description, int *idxArray)
Set one enumeration associated with an &lt;other&gt; option in the &lt;variables&gt;, &lt;objectives&gt; or &lt;constraint...
Definition: OSOption.cpp:8804
InitDualVarValue()
Default constructor.
Definition: OSOption.cpp:1028
bool deepCopyFrom(OtherVarOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13974
std::string lbValue
lower bound of the option
Definition: OSOption.h:3105
OtherOptionOrResultEnumeration ** enumeration
Definition: OSOption.h:3194
std::string category
name of the category into which this option falls
Definition: OSOption.h:3176
std::string getServiceURI()
Get the service URI.
Definition: OSOption.cpp:1416
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12331
~InitVariableValues()
Class destructor.
Definition: OSOption.cpp:463
std::string getServiceType()
Get the service type.
Definition: OSOption.cpp:1636
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13249
InitObjBound()
Default constructor.
Definition: OSOption.cpp:831
int getNumberOfObjectives()
Get the number of objectives in the instance.
Definition: OSOption.cpp:2028
ServiceOption()
Default constructor.
Definition: OSOption.cpp:245
int numberOfVar
number of children
Definition: OSOption.h:1786
std::string getFileDescription()
Get a description for the file or problem.
Definition: OSOption.cpp:1382
bool setAnOtherServiceOption(std::string name, std::string value, std::string description)
Definition: OSOption.cpp:7962
int getNumberOfDirectoriesToMake()
Get the number of directories to make.
Definition: OSOption.cpp:1909
std::string getMinDiskSpaceDescription()
get the disk space description
Definition: OSOption.cpp:1564
std::string unit
the unit in which CPU speed is measured
Definition: OSOption.h:464
bool getInitialBasisElements(int type, int status, int *elem)
Get the initial basis elements for a particular variable type and basis status.
Definition: OSOption.cpp:3115
bool makeCopy
record whether a copy is to be made
Definition: OSOption.h:862
std::string instanceName
the name of the instance
Definition: OSOption.h:296
bool IsEqual(SolverOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:12131
PathPairs * outputFilesToMove
output files to move or copy
Definition: OSOption.h:1096
the SOSVariableBranchingWeights class.
Definition: OSOption.h:1853
bool setInputDirectoriesToMove(int numberOfPathPairs, PathPair **pathPair)
Definition: OSOption.cpp:8178
double groupWeight
branching weight for the entire SOS
Definition: OSOption.h:1783
Processes()
Default constructor.
Definition: OSOption.cpp:356
int numberOfCon
number of &lt;con&gt; children
Definition: OSOption.h:2992
bool addSOS(int sosIdx, int nvar, double weight, int *idx, double *value, std::string *name)
A function to add an &lt;sos&gt; element.
Definition: OSOption.cpp:5855
bool setAnOtherObjectiveOption(OtherObjectiveOption *objOption)
Definition: OSOption.cpp:9169
std::string name
optional variable name
Definition: OSOption.h:1619
bool IsEqual(PathPair *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10525
OtherVariableOption ** getAllOtherVariableOptions()
Get all &lt;other&gt; variable options.
Definition: OSOption.cpp:3341
std::string * getRequiredDirectories()
Get the array of required directories.
Definition: OSOption.cpp:2518
std::string getMinCPUNumberDescription()
Get the CPU description.
Definition: OSOption.cpp:1624
bool setNumberOfVariables(int numberOfVariables)
Definition: OSOption.cpp:8360
std::string conType
type of the values in the con array
Definition: OSOption.h:3188
the InitVariableValues class.
Definition: OSOption.h:1218
a data structure that holds general information about files that conform to one of the OSxL schemas ...
Definition: OSGeneral.h:32
the OtherObjOption class.
Definition: OSOption.h:2509
int getNumberOfConstraints()
Get the number of constraints in the instance.
Definition: OSOption.cpp:2039
bool setRequestedStartTime(std::string time)
Definition: OSOption.cpp:8022
InitDualVarValue ** getInitDualVarValuesSparse()
Get the initial bounds associated with the dual variables in sparse form.
Definition: OSOption.cpp:4100
bool setOtherConstraintOptionCon(int otherOptionNumber, int conNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one &lt;con&gt; element associated with an &lt;other&gt; option in the &lt;constraints&gt; element.
Definition: OSOption.cpp:9396
bool IsEqual(ObjectiveOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11339
bool deepCopyFrom(InitBasStatus *that)
A function to make a deep copy of an instance of this class.
The Option Class.
Definition: OSOption.h:3564
std::string name
optional variable name
Definition: OSOption.h:1328
bool setFilesToMake(int numberOfPaths, std::string *paths)
Definition: OSOption.cpp:8119
int getNumberOfOutputDirectoriesToMove()
Get the number of output directories to move.
Definition: OSOption.cpp:1957
int numberOfPathPairs
the number of &lt;path&gt; children
Definition: OSOption.h:915
std::string name
name of the option
Definition: OSOption.h:2585
bool deepCopyFrom(SolverOptions *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14321
bool IsEqual(InitObjectiveBounds *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11491
std::string password
the password
Definition: OSOption.h:314
double * getInitDualVarLowerBoundsDense()
Get the initial dual variables associated with the lower bounds in dense form.
Definition: OSOption.cpp:4125
bool setAnotherDirectoryToDelete(std::string path)
Definition: OSOption.cpp:8300
bool setAnotherIntegerVariableBranchingWeight(int idx, double value)
Definition: OSOption.cpp:8700
std::string jobID
the job ID
Definition: OSOption.h:302
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12776
double lbValue
initial lower bound
Definition: OSOption.h:2354
std::string to
the file or directory to move/copy to
Definition: OSOption.h:859
std::string locationType
the type of the location
Definition: OSOption.h:44
int numberOfObj
number of &lt;obj&gt; children
Definition: OSOption.h:2410
IntegerVariableBranchingWeights()
Default constructor.
Definition: OSOption.cpp:589
SolverOptions()
Default constructor.
Definition: OSOption.cpp:1204
int numberOfSolverOptions
the number of solver options
Definition: OSOption.h:3423
bool deepCopyFrom(SOSVariableBranchingWeights *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13870
std::string name
optional variable name
Definition: OSOption.h:3099
bool deepCopyFrom(InitObjBound *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14080
int idx
variable index
Definition: OSOption.h:1164
bool deepCopyFrom(BranchingWeight *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13917
OtherOption ** getAllOtherOptions()
Get the array of all other options associated with the &lt;general&gt;, &lt;system&gt;, &lt;service&gt; and &lt;job&gt; eleme...
Definition: OSOption.cpp:2406
std::string * getProcessesToKill()
Get the array of processes to kill.
Definition: OSOption.cpp:2698
std::string varType
type of the values in the var array
Definition: OSOption.h:2021
~InitVarValueString()
Class destructor.
Definition: OSOption.cpp:492
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12959
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13127
double value
the maximum time allowed
Definition: OSOption.h:676
the OtherVarOption class.
Definition: OSOption.h:1927
DirectoriesAndFiles * filesToDelete
files to delete upon completion
Definition: OSOption.h:1102
GeneralOption()
Default constructor.
Definition: OSOption.cpp:113
bool setVar(int numberOfVar, BranchingWeight **var)
A function to set an array of elements.
Definition: OSOption.cpp:5723
bool IsEqual(ServiceOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:9773
bool deepCopyFrom(OtherVariableOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13928
bool setHeader(std::string name, std::string source, std::string description, std::string fileCreator, std::string licence)
A function to populate an instance of the option header element.
Definition: OSOption.cpp:7528
std::string getContact()
Get the contact information.
Definition: OSOption.cpp:1528
int getNumberOfOtherObjectiveOptions()
Get the number of other objective options.
Definition: OSOption.cpp:2159
int numberOfEnumerations
number of &lt;enumeration&gt; child elements
Definition: OSOption.h:1997
int numberOfObjectives
the number of objectives
Definition: OSOption.h:3503
bool addOther(OtherObjectiveOption *other)
A function to add an &lt;other&gt; element.
Definition: OSOption.cpp:6699
OtherVariableOption()
Default constructor.
Definition: OSOption.cpp:692
the MaxTime class.
Definition: OSOption.h:668
~DirectoriesAndFiles()
Class destructor.
Definition: OSOption.cpp:296
int numberOfVar
number of child elements
Definition: OSOption.h:1994
InstanceLocationOption * instanceLocation
the location of the instance
Definition: OSOption.h:299
std::string from
the file or directory to move/copy from
Definition: OSOption.h:856
double * m_mdInitDualVarLowerBoundsDense
m_mdInitDualVarLowerBoundsDense holds initial dual values for the lower bound of the constraints in d...
Definition: OSOption.h:3666
bool IsEqual(InitBasStatus *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10943
std::string serviceURI
the service URI
Definition: OSOption.h:290
VariableOption()
Default constructor.
Definition: OSOption.cpp:740
double value
the minimum memory size required
Definition: OSOption.h:425
~PathPair()
Class destructor.
Definition: OSOption.cpp:319
std::string * getDirectoriesToMake()
Get the array of directories to make.
Definition: OSOption.cpp:2554
bool setMaxTime(double value, std::string unit)
Definition: OSOption.cpp:7985
bool IsEqual(OtherOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10120
bool IsEqual(OtherVarOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11290
OtherObjectiveOption()
Default constructor.
Definition: OSOption.cpp:898
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12199
bool setMinMemoryUnit(std::string unit)
Definition: OSOption.cpp:7803
InstanceLocationOption()
Default constructor.
Definition: OSOption.cpp:32
PathPair ** getOutputFilesToMove()
Get the array of output files to move.
Definition: OSOption.cpp:2626
~OtherVariableOption()
Class destructor.
Definition: OSOption.cpp:712
std::string getMinCPUSpeedUnit()
Get the CPU speed unit.
Definition: OSOption.cpp:1600
bool setServiceName(std::string serviceName)
Set the service name.
Definition: OSOption.cpp:7548
int getNumberOfInitDualVarValues()
Get the number of initial dual variable values.
Definition: OSOption.cpp:2182
bool setLicense(std::string license)
Set the license information.
Definition: OSOption.cpp:7629
std::string description
additional description about the CPU speed
Definition: OSOption.h:467
OSOption()
Default constructor.
Definition: OSOption.cpp:1262
std::string * getJobDependencies()
Get the array of job dependencies.
Definition: OSOption.cpp:2499
std::string name
optional variable name
Definition: OSOption.h:2771
BasisStatus * initialBasisStatus
initial basis information
Definition: OSOption.h:2110
bool deepCopyFrom(InitialBasisStatus *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(SolverOptions *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:12080
bool addObj(int idx, double lbValue, double ubValue)
A function to add a &lt;obj&gt; element.
Definition: OSOption.cpp:6454
double getOptionDbl(std::string optionName)
Get any of the double-valued options.
Definition: OSOption.cpp:1790
bool IsEqual(Processes *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10574
bool addVar(int idx, double value)
A function to add a element.
Definition: OSOption.cpp:5637
the OptimizationOption class.
Definition: OSOption.h:3495
~Processes()
Class destructor.
Definition: OSOption.cpp:365
~ObjectiveOption()
Class destructor.
Definition: OSOption.cpp:957
~InitObjBound()
Class destructor.
Definition: OSOption.cpp:842
std::string * getFilesToMake()
Get the array of files to make.
Definition: OSOption.cpp:2572
bool deepCopyFrom(InitConValue *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14215
bool IsEqual(MinCPUNumber *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10314
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13051
InitialBasisStatus()
Default constructor.
Definition: OSOption.cpp:544
bool IsEqual(InitVariableValuesString *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10799
BranchingWeight ** var
branching weights for individual variables
Definition: OSOption.h:1789
bool deepCopyFrom(InitVariableValuesString *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13816
bool deepCopyFrom(OtherOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13622
DirectoriesAndFiles()
Default constructor.
Definition: OSOption.cpp:287
bool setOtherObjectiveOptions(int numberOfObj, OtherObjectiveOption **obj)
Definition: OSOption.cpp:9152
int numberOfOtherVariableOptions
number of &lt;other&gt; child elements
Definition: OSOption.h:2101
the VariableOption class.
Definition: OSOption.h:2096
bool setDirectoriesToDelete(int numberOfPaths, std::string *paths)
Definition: OSOption.cpp:8288
std::string getOptionStr(std::string optionName)
Get any of the string-valued options.
Definition: OSOption.cpp:1673
double * getInitVarValuesDense()
Get the initial values associated with the variables in dense form.
Definition: OSOption.cpp:2744
bool IsEqual(InitObjectiveValues *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11396
std::string enumType
type of the values in the enumeration array
Definition: OSOption.h:3197
double * getInitConValuesDense()
Get the initial values associated with the constraints in dense form.
Definition: OSOption.cpp:4002
bool addOther(OtherVariableOption *other)
A function to add an &lt;other&gt; element.
Definition: OSOption.cpp:6064
bool setOtherGeneralOptions(int numberOfOptions, OtherOption **other)
Set the other general options as an entire array.
Definition: OSOption.cpp:7699
bool IsEqual(SOSWeights *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11093
std::string description
the description of the option
Definition: OSOption.h:163
int numberOfVar
number of children
Definition: OSOption.h:1384
bool setProcess(int numberOfProcesses, std::string *process)
A function to set an array of &lt;process&gt; elements.
Definition: OSOption.cpp:4939
~VariableOption()
Class destructor.
Definition: OSOption.cpp:754
bool setAnotherInitDualVarValue(int idx, double lbValue, double ubValue)
Definition: OSOption.cpp:9325
InitObjValue ** obj
initial value for each objective
Definition: OSOption.h:2249
int getNumberOfOtherGeneralOptions()
Get the number of &lt;other&gt; options in the &lt;general&gt; element.
Definition: OSOption.cpp:1825
bool setAnotherInitConValue(int idx, double value)
Definition: OSOption.cpp:9247
double getMinDiskSpace()
Get the minimum required disk space.
Definition: OSOption.cpp:1739
CPUNumber * minCPUNumber
the minimum number of processors required
Definition: OSOption.h:559
bool IsEqual(OtherObjectiveOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11590
bool setInitObjBounds(int numberOfObj, int *idx, double *lbValue, double *ubValue, std::string *name)
Definition: OSOption.cpp:8991
int idx
objective index
Definition: OSOption.h:2348
OtherOption ** getOtherServiceOptions()
Get the array of other options associated with the &lt;service&gt; element.
Definition: OSOption.cpp:2357
bool setAnotherRequiredFile(std::string path)
Definition: OSOption.cpp:8087
the MinCPUNumber class.
Definition: OSOption.h:504
bool setJobDependencies(int numberOfDependencies, std::string *jobDependencies)
Definition: OSOption.cpp:8031
int idx
objective index
Definition: OSOption.h:2187
bool setAnotherOutputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy)
Definition: OSOption.cpp:8256
int numberOfPaths
the number of &lt;path&gt; children
Definition: OSOption.h:785
bool deepCopyFrom(InitDualVarValue *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14247
the MinMemorySize class.
Definition: OSOption.h:414
std::string name
the name of the option
Definition: OSOption.h:3349
double value
branching weight
Definition: OSOption.h:1622
bool addSolverOption(std::string name, std::string value, std::string solver, std::string category, std::string type, std::string description)
A function to add a solver option.
Definition: OSOption.cpp:7480
the CPUSpeed class.
Definition: OSGeneral.h:812
int getNumberOfVariables()
Get the number of variables in the instance.
Definition: OSOption.cpp:2017
InitObjValue()
Default constructor.
Definition: OSOption.cpp:785
the OtherObjectiveOption class.
Definition: OSOption.h:2574
bool setServiceURI(std::string serviceURI)
Set the serviceURI.
Definition: OSOption.cpp:7540
bool deepCopyFrom(SOSWeights *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13892
MinMemorySize()
Default constructor.
Definition: OSOption.cpp:163
SolverOption ** getAllSolverOptions()
Get all solver options.
Definition: OSOption.cpp:4567
int numberOfConstraints
the number of constraints
Definition: OSOption.h:3506
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13065
OtherOption ** getOtherOptions(std::string elementName)
Get the array of other options associated with any element.
Definition: OSOption.cpp:2386
double value
initial value
Definition: OSOption.h:1170
~OtherObjOption()
Class destructor.
Definition: OSOption.cpp:890
std::string value
initial value
Definition: OSOption.h:1331
std::string description
description of the option
Definition: OSOption.h:2015
DirectoriesAndFiles * directoriesToMake
directories to make during the job
Definition: OSOption.h:1084
ObjectiveOption()
Default constructor.
Definition: OSOption.cpp:945
bool IsEqual(InitDualVarValue *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11910
the InitObjBound class.
Definition: OSOption.h:2343
int idx
index of the variable
Definition: OSOption.h:1616
bool addPathPair(std::string fromPath, std::string toPath, bool makeCopy)
A function to add a &lt;pathPair&gt; element.
Definition: OSOption.cpp:4890
bool setInitObjValuesSparse(int numberOfObj, InitObjValue **obj)
Definition: OSOption.cpp:8927
double * getInitObjValuesDense()
Get the initial values associated with the objectives in dense form.
Definition: OSOption.cpp:3411
bool setAnotherInitBasisStatus(int type, int idx, int status)
Set the basis status for another variable, objective or constraint/slack.
Definition: OSOption.cpp:8595
PathPairs * inputDirectoriesToMove
input directories to move or copy
Definition: OSOption.h:1090
the ConstraintOption class.
Definition: OSOption.h:3263
bool IsEqual(OtherConOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:12029
bool setInitObjBoundsDense(int numberOfObj, double *lb, double *ub)
Definition: OSOption.cpp:9036
bool IsEqual(InitDualVariableValues *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11861
bool deepCopyFrom(ConstraintOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14154
bool setCon(int numberOfCon, InitConValue **con)
A function to set an array of &lt;con&gt; elements.
Definition: OSOption.cpp:6781
SystemOption()
Default constructor.
Definition: OSOption.cpp:215
~MinCPUSpeed()
Class destructor.
Definition: OSOption.cpp:191
the SOSWeights class.
Definition: OSOption.h:1775
std::string value
the value of the option
Definition: OSOption.h:3352
int numberOfVar
number of children
Definition: OSOption.h:1223
~JobOption()
Class destructor.
Definition: OSOption.cpp:400
bool setInstanceLocationType(std::string locationType)
Set the instance location type.
Definition: OSOption.cpp:7591
bool deepCopyFrom(InitObjectiveBounds *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14059
int * getObjectiveInitialBasisStatusDense(int numberOfObjectives)
Get the initial basis status for all objectives in dense form.
Definition: OSOption.cpp:3796
the InitialBasisStatus class.
Definition: OSOption.h:1540
double * getInitDualVarUpperBoundsDense()
Get the initial dual variables associated with the upper bounds in dense form.
Definition: OSOption.cpp:4226
the SolverOptions class.
Definition: OSOption.h:3418
bool deepCopyFrom(InitVariableValues *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13782
bool setPath(int numberOfPaths, std::string *path)
A function to set an array of &lt;path&gt; elements.
Definition: OSOption.cpp:4752
OtherOptions * otherOptions
the list of other service options
Definition: OSOption.h:618
the ServiceOption class.
Definition: OSOption.h:610
std::string getServiceName()
Get the service name.
Definition: OSOption.cpp:1427
the JobDependencies class.
Definition: OSOption.h:709
bool addOther(std::string name, std::string value, std::string description)
A function to add an &lt;other&gt; element.
Definition: OSOption.cpp:4633
InitVariableValuesString()
Default constructor.
Definition: OSOption.cpp:500
~OtherOption()
Class destructor.
Definition: OSOption.cpp:76
double value
initial value
Definition: OSOption.h:2193
PathPair ** getInputFilesToMove()
Get the array of input files to move.
Definition: OSOption.cpp:2608
bool setSOS(int numberOfSOS, SOSWeights **sos)
A function to set an array of &lt;sos&gt; elements.
Definition: OSOption.cpp:5804
PathPair ** getOutputDirectoriesToMove()
Get the array of output directories to move.
Definition: OSOption.cpp:2644
bool setInputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
Definition: OSOption.cpp:8200
bool setNumberOfOtherConstraintOptions(int numberOfOther)
Definition: OSOption.cpp:9336
bool setSolverOptions(int numberOfOptions, SolverOption **solverOption)
A function to set an array of solver options.
Definition: OSOption.cpp:7424
bool setNumberOfObjectives(int numberOfObjectives)
Definition: OSOption.cpp:8368
std::string enumType
type of the values in the enumeration array
Definition: OSOption.h:2615
OtherOption ** getOtherSystemOptions()
Get the array of other options associated with the &lt;system&gt; element.
Definition: OSOption.cpp:2344
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13145
int numberOfProcesses
the number of &lt;process&gt; children
Definition: OSOption.h:998
int getNumberOfInitObjBounds()
Get the number of initial objective bounds.
Definition: OSOption.cpp:2147
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12879
bool setAnotherInitVarValueString(int idx, std::string value)
Definition: OSOption.cpp:8533
double lbDualValue
initial lower bound
Definition: OSOption.h:2935
SolverOptions * solverOptions
other solver options
Definition: OSOption.h:3518
int getNumberOfSOSVarBranchingWeights(int iSOS)
Get the number of variables for which branching weights are provided in a particular SOS...
Definition: OSOption.cpp:2106
bool addPath(std::string path)
A function to add a &lt;path&gt; element.
Definition: OSOption.cpp:4787
the JobOption class.
Definition: OSOption.h:1064
bool setJobID(int numberOfJobIDs, std::string *jobID)
A function to set an array of &lt;jobID&gt; elements.
Definition: OSOption.cpp:4677
bool setOtherVariableOptions(int numberOfVar, OtherVariableOption **var)
Definition: OSOption.cpp:8887
std::string value
value of the option
Definition: OSOption.h:1938
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13185
bool IsEqual(MaxTime *that)
A function to check for the equality of two objects.
bool setInitDualValues(int numberOfCon, int *idx, double *lbValue, double *ubValue, std::string *name)
Definition: OSOption.cpp:9258
~OtherOptions()
Class destructor.
Definition: OSOption.cpp:93
OtherOption ** getOtherJobOptions()
Get the array of other options associated with the &lt;job&gt; element.
Definition: OSOption.cpp:2370
bool setNumberOfOtherVariableOptions(int numberOfOther)
Definition: OSOption.cpp:8742
the ObjectiveOption class.
Definition: OSOption.h:2681
std::string * item
the list of items of the option
Definition: OSOption.h:3370
bool deepCopyFrom(PathPair *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13698
OtherOptionOrResultEnumeration ** enumeration
Definition: OSOption.h:2027
double * getIntegerVariableBranchingWeightsDense()
Get the integer branching weights in dense form.
Definition: OSOption.cpp:3190
OtherObjectiveOption * getOtherObjectiveOption(int optionNumber)
Get one particular &lt;other&gt; objective option from the array of options.
Definition: OSOption.cpp:3934
InitVarValueString ** var
initial value for each variable
Definition: OSOption.h:1387
the InitVariableValuesString class.
Definition: OSOption.h:1379
the CPUNumber class.
Definition: OSGeneral.h:871
~SystemOption()
Class destructor.
Definition: OSOption.cpp:227
bool IsEqual(MinDiskSpace *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10169
bool IsEqual(SystemOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:9729
std::string getMaxTimeUnit()
Get the time unit.
Definition: OSOption.cpp:1647
InitConValue ** con
initial value for each constraint
Definition: OSOption.h:2830
bool setAnOtherSystemOption(std::string name, std::string value, std::string description)
Definition: OSOption.cpp:7911
bool setNumberOfSolverOptions(int numberOfOptions)
Definition: OSOption.cpp:9448
BranchingWeight ** getIntegerVariableBranchingWeightsSparse()
Get the integer branching weights in sparse form.
Definition: OSOption.cpp:3164
int getNumberOfInputFilesToMove()
Get the number of input files to move.
Definition: OSOption.cpp:1945
bool deepCopyFrom(GeneralOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13353
bool deepCopyFrom(OSOption *that)
A function to make a deep copy of an OSOption object.
Definition: OSOption.cpp:13308
DirectoriesAndFiles * filesToMake
files to make during the job
Definition: OSOption.h:1087
int idx
variable index
Definition: OSOption.h:1325
bool setAnotherFileToMake(std::string path)
Definition: OSOption.cpp:8131
bool setIntegerVariableBranchingWeightsSparse(int numberOfVar, BranchingWeight **var)
Definition: OSOption.cpp:8647
std::string lbValue
lower bound on the value
Definition: OSOption.h:2524
~SOSWeights()
Class destructor.
Definition: OSOption.cpp:627
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13166
bool IsEqual(OSOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:9614
the MinDiskSpace class.
Definition: OSOption.h:369
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:13270
OtherOption()
Default constructor.
Definition: OSOption.cpp:66
OtherOptions * otherOptions
the list of other system options
Definition: OSOption.h:562
PathPairs * outputDirectoriesToMove
output directories to move or copy
Definition: OSOption.h:1099
int numberOfObj
number of &lt;obj&gt; children
Definition: OSOption.h:2246
CPUSpeed * minCPUSpeed
the minimum CPU speed required
Definition: OSOption.h:556
std::string getFileCreator()
Get the name of the person who created the file.
Definition: OSOption.cpp:1393
~InitialBasisStatus()
Class destructor.
Definition: OSOption.cpp:553
bool setPathPairs(int object, std::string *from, std::string *to, bool *makeCopy, int numberOfPathPairs)
setPathPairs set a number of path pairs into the OSOption object
Definition: OSOption.cpp:8140
BasisStatus * initialBasisStatus
initial basis status for the objectives
Definition: OSOption.h:2695
std::string description
description of the option
Definition: OSOption.h:3182
std::string getUserName()
Get the user name.
Definition: OSOption.cpp:1506
VariableOption * variables
the options for the variables
Definition: OSOption.h:3509
bool deepCopyFrom(VariableOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13730
OtherVarOption ** var
array of option values
Definition: OSOption.h:2018
OtherVarOption()
Default constructor.
Definition: OSOption.cpp:672
Processes * processesToKill
processes to kill upon completion
Definition: OSOption.h:1108
OtherOptions()
Default constructor.
Definition: OSOption.cpp:84
std::string value
value of the option
Definition: OSOption.h:2588
std::string name
the name of the option
Definition: OSOption.h:157
InitVariableValuesString * initialVariableValuesString
initial values for string-valued variables
Definition: OSOption.h:2107
~OtherVarOption()
Class destructor.
Definition: OSOption.cpp:684
SOSWeights ** getSOSVariableBranchingWeightsSparse()
Get the SOS branching weights in sparse form.
Definition: OSOption.cpp:3289
bool addObj(int idx, double value)
A function to add a &lt;obj&gt; element.
Definition: OSOption.cpp:6252
std::string license
the license information
Definition: OSOption.h:308
bool setServiceType(std::string serviceType)
set() options in the &lt;service&gt; element
Definition: OSOption.cpp:7925
bool deepCopyFrom(OtherOptions *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13597
the PathPair class.
Definition: OSOption.h:851
bool addVar(int idx, std::string value)
A function to add a element.
Definition: OSOption.cpp:5467
OtherOption ** getOtherGeneralOptions()
Get the array of other options associated with the &lt;general&gt; element.
Definition: OSOption.cpp:2331
InitVarValueString()
Default constructor.
Definition: OSOption.cpp:482
bool setIntegerVariableBranchingWeightsDense(int numberOfVar, double *value)
Definition: OSOption.cpp:8677
ContactOption * contact
the contact method
Definition: OSOption.h:317
OtherConOption ** con
array of option values
Definition: OSOption.h:3185
bool setAnotherProcessToKill(std::string process)
Definition: OSOption.cpp:8322
PathPair ** pathPair
the list of directory and file paths
Definition: OSOption.h:918
int getNumberOfInitVarValuesString()
Get the number of initial variable strings.
Definition: OSOption.cpp:2069
TimeSpan * maxTime
the maximum time allowed
Definition: OSOption.h:1069
bool deepCopyFrom(ContactOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13587
SOSWeights ** sos
branching weights for the SOS
Definition: OSOption.h:1861
the SolverOption class.
Definition: OSOption.h:3344
bool addVar(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a element.
Definition: OSOption.cpp:5948
std::string type
the type of the option value (integer, double, boolean, string)
Definition: OSOption.h:3361
bool IsEqual(InitVarValueString *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10848
bool setOtherServiceOptions(int numberOfOptions, OtherOption **other)
Definition: OSOption.cpp:7945
int getNumberOfProcessesToKill()
Get the number of processes to kill.
Definition: OSOption.cpp:2005
~InitVariableValuesString()
Class destructor.
Definition: OSOption.cpp:509
int getNumberOfSolverOptions()
Get the number of solver options.
Definition: OSOption.cpp:2207
bool deepCopyFrom(InitVarValueString *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13837
the InitDualVarValue class.
Definition: OSOption.h:2924
InitObjectiveValues()
Default constructor.
Definition: OSOption.cpp:803
double ubValue
initial upper bound
Definition: OSOption.h:2357
int getNumberOfFilesToDelete()
Get the number of files to delete.
Definition: OSOption.cpp:1981
~InitDualVarValue()
Class destructor.
Definition: OSOption.cpp:1039
bool addJobID(std::string jobID)
A function to add an &lt;jobID&gt; element.
Definition: OSOption.cpp:4712
std::string value
value of the option
Definition: OSOption.h:3170
bool IsEqual(InitVarValue *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10751
int getMinCPUNumber()
Get the minimum required number of CPUs.
Definition: OSOption.cpp:1814
InitDualVarValue ** con
initial dual values for each constraint
Definition: OSOption.h:2995
JobDependencies()
Default constructor.
Definition: OSOption.cpp:264
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12271
OtherObjectiveOption ** other
other information about the objectives
Definition: OSOption.h:2698
bool setMinCPUSpeed(std::string unit, std::string description, double value)
Set the minimum CPU speed required for the current job.
Definition: OSOption.cpp:7835
bool setOptionStr(std::string optionName, std::string optionValue)
Definition: OSOption.cpp:9520
int getNumberOfOtherSystemOptions()
Get the number of &lt;other&gt; options in the &lt;system&gt; element.
Definition: OSOption.cpp:1837
std::string type
type of the option value (integer, double, boolean, string)
Definition: OSOption.h:2597
int numberOfSOS
number of &lt;sos&gt; children
Definition: OSOption.h:1858
bool IsEqual(OtherObjOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11660
OtherConstraintOption()
Default constructor.
Definition: OSOption.cpp:1095
bool IsEqual(OtherConstraintOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11959
std::string solverToInvoke
the solver to invoke
Definition: OSOption.h:305
PathPairs * inputFilesToMove
input files to move or copy
Definition: OSOption.h:1093
std::string objType
type of the values in the obj array
Definition: OSOption.h:2606
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12698
InitVarValue ** getInitVarValuesSparse()
Get the initial values associated with the variables in sparse form.
Definition: OSOption.cpp:2719
ContactOption()
Default constructor.
Definition: OSOption.cpp:49
std::string ubValue
lower bound on the value
Definition: OSOption.h:1944
SOSWeights()
Default constructor.
Definition: OSOption.cpp:616
InitVarValue()
Default constructor.
Definition: OSOption.cpp:436
int getNumberOfOtherJobOptions()
Get the number of &lt;other&gt; options in the &lt;job&gt; element.
Definition: OSOption.cpp:1861
~InitObjValue()
Class destructor.
Definition: OSOption.cpp:795
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12719
bool setInitObjValues(int numberOfObj, int *idx, double *value, std::string *name)
Definition: OSOption.cpp:8913
bool addVar(int idx, double value)
A function to add a element.
Definition: OSOption.cpp:5760
bool setAnotherInputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy)
Definition: OSOption.cpp:8190
bool deepCopyFrom(OtherObjectiveOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14092
the TimeSpan class.
Definition: OSGeneral.h:924
bool addCon(int idx, double lbDualValue, double ubDualValue)
A function to add a &lt;con&gt; element.
Definition: OSOption.cpp:7099
bool setOtherObjectiveOptionAttributes(int iOther, int numberOfObj, int numberOfEnumerations, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string objType, std::string enumType, std::string description)
Set the attributes for one particular &lt;other&gt; &lt;objective&gt; option.
Definition: OSOption.cpp:9112
int numberOfVar
number of children
Definition: OSOption.h:1676
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12238
InitVariableValues()
Default constructor.
Definition: OSOption.cpp:454
bool setCon(int numberOfCon, InitDualVarValue **con)
A function to set an array of &lt;con&gt; elements.
Definition: OSOption.cpp:6984
double * getInitObjLowerBoundsDense()
Get the initial lower bounds associated with the objectives in dense form.
Definition: OSOption.cpp:3538
int numberOfItems
the number of items (additional pieces of data) of the option
Definition: OSOption.h:3367
std::string getLicense()
Get the license string.
Definition: OSOption.cpp:1495
int numberOfObj
number of &lt;obj&gt; children
Definition: OSOption.h:2579
std::string getRequestedStartTime()
Get the requested starting time.
Definition: OSOption.cpp:1659
InitBasStatus ** getInitBasisStatusSparse()
Get the initial basis status in sparse form.
bool addObj(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a &lt;obj&gt; element.
Definition: OSOption.cpp:6583
int numberOfJobIDs
the number of entries in the list of job dependencies
Definition: OSOption.h:714
std::string type
type of the option value (integer, double, boolean, string)
Definition: OSOption.h:3179
bool IsEqual(OtherVariableOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11206
bool setJobID(std::string jobID)
Set the job ID.
Definition: OSOption.cpp:7613
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12679
bool setObj(int numberOfObj, InitObjValue **obj)
A function to set an array of &lt;obj&gt; elements.
Definition: OSOption.cpp:6141
InitVarValueString ** getInitVarValuesStringSparse()
Get the initial value strings associated with the variables in sparse form.
Definition: OSOption.cpp:2849
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12941
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12802
OptimizationOption * optimization
optimizationOption holds the fifth child of the OSOption specified by the OSoL Schema.
Definition: OSOption.h:3596
int numberOfOtherConstraintOptions
number of &lt;other&gt; child elements
Definition: OSOption.h:3268
std::string name
optional variable name
Definition: OSOption.h:2351
int numberOfEnumerations
number of &lt;enumeration&gt; child elements
Definition: OSOption.h:2582
std::string value
the value of the &lt;instanceLocation&gt; element
Definition: OSOption.h:47
GeneralOption * general
generalOption holds the first child of the OSOption specified by the OSoL Schema. ...
Definition: OSOption.h:3580
bool setProcessesToKill(int numberOfProcesses, std::string *processes)
Definition: OSOption.cpp:8310
~InitConstraintValues()
Class destructor.
Definition: OSOption.cpp:1009
IntegerVariableBranchingWeights * integerVariableBranchingWeights
branching weights for integer variables
Definition: OSOption.h:2113
the OtherVariableOption class.
Definition: OSOption.h:1989
std::string transportType
the contact mechanism
Definition: OSOption.h:101
bool setOtherObjectiveOptionObj(int otherOptionNumber, int objNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one &lt;obj&gt; element associated with an &lt;other&gt; option in the &lt;objectives&gt; element.
Definition: OSOption.cpp:9069
the InitDualVariableValues class.
Definition: OSOption.h:2987
std::string lbValue
lower bound on the value
Definition: OSOption.h:1941
InitConValue()
Default constructor.
Definition: OSOption.cpp:982
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12658
~PathPairs()
Class destructor.
Definition: OSOption.cpp:336
bool deepCopyFrom(ObjectiveOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13987
std::string value
the value of the option
Definition: OSOption.h:160
bool setDirectoriesToMake(int numberOfPaths, std::string *paths)
Definition: OSOption.cpp:8097
bool setInitVarValuesSparse(int numberOfVar, InitVarValue **var)
Definition: OSOption.cpp:8399
std::string description
description of the option
Definition: OSOption.h:2600
bool deepCopyFrom(SolverOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14342
bool setInitConValuesDense(int numberOfCon, double *value)
Definition: OSOption.cpp:9224
bool setAnotherDirectoryToMake(std::string path)
Definition: OSOption.cpp:8109
bool setInitConValuesSparse(int numberOfCon, InitConValue **con)
Definition: OSOption.cpp:9194
std::string ubValue
upper bound of the option
Definition: OSOption.h:3108
bool setVar(int numberOfVar, InitVarValueString **var)
A function to set an array of elements.
Definition: OSOption.cpp:5222
int getNumberOfOtherVariableOptions()
Get the number of other variable options.
Definition: OSOption.cpp:2122
bool setMinCPUNumber(int number, std::string description)
Set the minimum number of CPU cores required for the current job.
Definition: OSOption.cpp:7882
The GeneralOption Class.
Definition: OSOption.h:284
bool setOtherConstraintOptions(int numberOfOptions, OtherConstraintOption **other)
Definition: OSOption.cpp:9421
std::string name
optional variable name
Definition: OSOption.h:2517
~OptimizationOption()
Class destructor.
Definition: OSOption.cpp:1246
bool setInstanceLocation(std::string instanceLocation)
Set the instance location.
Definition: OSOption.cpp:7567
the InitObjValue class.
Definition: OSOption.h:2182
int * m_mdInitBasisStatusDense
m_mdInitBasisStatusDense holds the initial basis status in dense form
Definition: OSOption.h:3635
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12754
double getMinCPUSpeed()
Get the minimum required CPU speed.
Definition: OSOption.cpp:1763
MinDiskSpace()
Default constructor.
Definition: OSOption.cpp:145
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12482
int idx
constraint index
Definition: OSOption.h:2768
bool setContactTransportType(std::string transportType)
Set the transport type for contact.
Definition: OSOption.cpp:7677
std::string * getFilesToDelete()
Get the array of files to delete.
Definition: OSOption.cpp:2662
bool setAnOtherConstraintOption(OtherConstraintOption *optionValue)
Definition: OSOption.cpp:9438
bool IsEqual(JobDependencies *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10361
int getNumberOfInputDirectoriesToMove()
Get the number of input directories to move.
Definition: OSOption.cpp:1933
bool addCon(int idx, double value)
A function to add a &lt;con&gt; element.
Definition: OSOption.cpp:6897
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12816
bool IsEqual(SOSVariableBranchingWeights *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11041
double getMinMemorySize()
Get the minimum required memory.
Definition: OSOption.cpp:1751
std::string unit
the unit in which disk space is measured
Definition: OSOption.h:374
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12557
the InitVarValueString class.
Definition: OSOption.h:1320
ObjectiveOption * objectives
the options for the objectives
Definition: OSOption.h:3512
bool IsEqual(ConstraintOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:11709
int numberOfOtherOptions
the number of other options
Definition: OSOption.h:216
BasisStatus * initialBasisStatus
initial basis status for the slack variables
Definition: OSOption.h:3277
bool deepCopyFrom(InitVarValue *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13804
bool setOtherConstraintOptionAttributes(int iOther, int numberOfCon, int numberOfEnumerations, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string conType, std::string enumType, std::string description)
Set the attributes for one particular &lt;other&gt; &lt;constraint&gt; option.
Definition: OSOption.cpp:9356
~IntegerVariableBranchingWeights()
Class destructor.
Definition: OSOption.cpp:598
std::string getMinCPUSpeedDescription()
Get the CPU speed description.
Definition: OSOption.cpp:1612
std::vector< OtherObjectiveOption * > getOtherObjectiveOptions(std::string solver_name)
Get the array of other objective options.
Definition: OSOption.cpp:3905
SolverOption ** solverOption
the list of solver options
Definition: OSOption.h:3426
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12305
int getNumberOfIntegerVariableBranchingWeights()
Get the number of variables for which integer branching weights are provided.
Definition: OSOption.cpp:2082
bool deepCopyFrom(OtherConOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14307
double value
initial value
Definition: OSOption.h:2774
bool setAnotherOutputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
Definition: OSOption.cpp:8234
bool setObj(int numberOfObj, OtherObjOption **obj)
A function to set an array of &lt;obj&gt; elements.
Definition: OSOption.cpp:6544
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12463
InitObjectiveBounds * initialObjectiveBounds
initial bounds for the objectives
Definition: OSOption.h:2692
bool IsEqual(ContactOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10024
int idx
constraint index
Definition: OSOption.h:2929
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setVar(int numberOfVar, BranchingWeight **var)
A function to set an array of elements.
Definition: OSOption.cpp:5514
bool setRequiredFiles(int numberOfPaths, std::string *paths)
Definition: OSOption.cpp:8075
BranchingWeight ** var
branching weight for each variable
Definition: OSOption.h:1679
bool setNumberOfOtherObjectiveOptions(int numberOfOther)
Definition: OSOption.cpp:9092
OtherObjOption ** obj
array of option values
Definition: OSOption.h:2603
std::string * getDirectoriesToDelete()
Get the array of directories to delete.
Definition: OSOption.cpp:2680
int getNumberOfInitObjValues()
Get the number of initial objective values.
Definition: OSOption.cpp:2134
InitObjBound ** obj
initial bounds for each objective
Definition: OSOption.h:2413
InitBasStatus()
Default constructor.
Definition: OSOption.cpp:527
int getNumberOfFilesToMake()
Get the number of files to make.
Definition: OSOption.cpp:1921
bool IsEqual(InstanceLocationOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:9978
the InstanceLocationOption class.
Definition: OSOption.h:39
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12609
bool setMinCPUSpeedUnit(std::string unit)
Definition: OSOption.cpp:7850
MaxTime()
Default constructor.
std::string ubValue
lower bound on the value
Definition: OSOption.h:2527
MinCPUNumber()
Default constructor.
Definition: OSOption.cpp:198
the ContactOption class.
Definition: OSOption.h:96
std::string getFileSource()
Get the source of the file or problem.
Definition: OSOption.cpp:1371
bool addCon(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a &lt;con&gt; element.
Definition: OSOption.cpp:7225
std::string getFileName()
Get the name of the file.
Definition: OSOption.cpp:1360
int getNumberOfOtherServiceOptions()
Get the number of &lt;other&gt; options in the &lt;service&gt; element.
Definition: OSOption.cpp:1849
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12733
bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue **con)
Definition: OSOption.cpp:9272
std::string description
the description of the option
Definition: OSOption.h:3364
bool setFilesToDelete(int numberOfPaths, std::string *paths)
Definition: OSOption.cpp:8266
~JobDependencies()
Class destructor.
Definition: OSOption.cpp:273
bool setOptionInt(std::string optionName, int optionValue)
Definition: OSOption.cpp:9583
the OtherConOption class.
Definition: OSOption.h:3091
~BranchingWeight()
Class destructor.
Definition: OSOption.cpp:581
bool setInstanceName(std::string instanceName)
Set the instance name.
Definition: OSOption.cpp:7559
int getNumberOfDirectoriesToDelete()
Get the number of directories to delete.
Definition: OSOption.cpp:1993
bool deepCopyFrom(SystemOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13389
OtherConstraintOption ** getAllOtherConstraintOptions()
Get all &lt;other&gt; constraint options.
Definition: OSOption.cpp:4461
std::string getMinDiskSpaceUnit()
Get the disk space unit.
Definition: OSOption.cpp:1552
int idx
variable index
Definition: OSOption.h:2514
bool deepCopyFrom(OtherConstraintOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14259
bool setMaxTimeUnit(std::string unit)
Definition: OSOption.cpp:8000
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
Definition: OSOption.cpp:12518
bool IsEqual(MinCPUSpeed *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10266
OtherConstraintOption * getOtherConstraintOption(int optionNumber)
Get one particular &lt;other&gt; constraint option from the array of options.
Definition: OSOption.cpp:4483
double value
the minimum CPU speed required
Definition: OSOption.h:470
the InitObjectiveValues class.
Definition: OSOption.h:2241
bool setOther(int numberOfOptions, OtherOption **other)
A function to set an array of &lt;other&gt; elements.
Definition: OSOption.cpp:4599
InitObjValue ** getInitObjValuesSparse()
Get the initial values associated with the objectives in sparse form.
Definition: OSOption.cpp:3386
double * m_mdInitDualVarUpperBoundsDense
m_mdInitDualVarUpperBoundsDense holds initial dual values for the upper bound of the constraints in d...
Definition: OSOption.h:3672
OtherVariableOption * getOtherVariableOption(int optionNumber)
Get one particular &lt;other&gt; variable option from the array of options.
Definition: OSOption.cpp:3363
bool setInitVarValuesStringDense(int numberOfVar, std::string *value)
Definition: OSOption.cpp:8510
~InitConValue()
Class destructor.
Definition: OSOption.cpp:992
bool setAnotherInitObjBound(int idx, double lbValue, double ubValue)
Definition: OSOption.cpp:9058
~ServiceOption()
Class destructor.
Definition: OSOption.cpp:254
the OtherOptions class.
Definition: OSOption.h:211
bool IsEqual(GeneralOption *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:9661
std::string * process
the list of processes
Definition: OSOption.h:1001
OtherOptions * otherOptions
list of other job options
Definition: OSOption.h:1111
std::string getPassword()
Get the password.
Definition: OSOption.cpp:1517
bool deepCopyFrom(InitConstraintValues *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14194
bool setOtherVariableOptionVar(int otherOptionNumber, int varNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one element associated with an &lt;other&gt; option in the &lt;variables&gt; element.
Definition: OSOption.cpp:8863
a data structure to represent an LP basis on both input and output
Definition: OSGeneral.h:645
std::string unit
the unit in which memory size is measured
Definition: OSOption.h:419
bool addVar(int idx, std::string value)
A function to add a element.
Definition: OSOption.cpp:5343
the StorageCapacity class.
Definition: OSGeneral.h:754
bool deepCopyFrom(ServiceOption *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:13428
int getNumberOfInitialBasisElements(int type, int status)
Get the number of initial basis elements for a particular variable type and basis status...
Definition: OSOption.cpp:3073
~InitBasStatus()
Class destructor.
Definition: OSOption.cpp:536
the Processes class.
Definition: OSOption.h:993
bool setOtherSystemOptions(int numberOfOptions, OtherOption **other)
Definition: OSOption.cpp:7893
OtherConstraintOption ** other
other information about the constraints
Definition: OSOption.h:3280
the BranchingWeight class.
Definition: OSOption.h:1611
bool setOutputDirectoriesToMove(int numberOfPathPairs, PathPair **pathPair)
Definition: OSOption.cpp:8244
JobDependencies * dependencies
the dependency set
Definition: OSOption.h:1075
InitObjBound ** getInitObjBoundsSparse()
Get the initial bounds associated with the objectives in sparse form.
Definition: OSOption.cpp:3513
InitVariableValues * initialVariableValues
initial values for the variables
Definition: OSOption.h:2104
DirectoriesAndFiles * requiredFiles
files required to run the job
Definition: OSOption.h:1081
bool setContact(std::string contact)
Set the contact information.
Definition: OSOption.cpp:7653
~InitObjectiveBounds()
Class destructor.
Definition: OSOption.cpp:859
bool setAnotherRequiredDirectory(std::string path)
Definition: OSOption.cpp:8065
bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus **var)
bool IsEqual(InitVariableValues *that)
A function to check for the equality of two objects.
Definition: OSOption.cpp:10702
bool setInitVarValues(int numberOfVar, int *idx, double *value, std::string *name)
Definition: OSOption.cpp:8385
bool setPassword(std::string password)
Set the password.
Definition: OSOption.cpp:7645
std::string getInstanceLocation()
Get the instance location.
Definition: OSOption.cpp:1449
std::string enumType
type of the values in the enumeration array
Definition: OSOption.h:2030
bool deepCopyFrom(InitDualVariableValues *that)
A function to make a deep copy of an instance of this class.
Definition: OSOption.cpp:14226
std::string * getInitBasisStatusDense()
Get the initial basis information in dense form.
std::vector< OtherVariableOption * > getOtherVariableOptions(std::string solver_name)
Get the &lt;other&gt; variable options associated with a particular solver.
Definition: OSOption.cpp:3315