OS  2.10.2
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:
3625  double* m_mdInitVarValuesDense;
3626 
3630  std::string* m_mdInitVarValuesStringDense;
3631 
3635  int* m_mdInitBasisStatusDense;
3636 
3640  double* m_mdIntegerVariableBranchingWeightsDense;
3641 
3645  double* m_mdInitObjValuesDense;
3646 
3650  double* m_mdInitObjLowerBoundsDense;
3651 
3655  double* m_mdInitObjUpperBoundsDense;
3656 
3660  double* m_mdInitConValuesDense;
3661 
3666  double* m_mdInitDualVarLowerBoundsDense;
3667 
3672  double* m_mdInitDualVarUpperBoundsDense;
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
OtherVariableOption::name
std::string name
name of the option
Definition: OSOption.h:2000
GeneralOption::serviceURI
std::string serviceURI
the service URI
Definition: OSOption.h:290
CPUNumber
the CPUNumber class.
Definition: OSGeneral.h:871
JobDependencies::JobDependencies
JobDependencies()
Default constructor.
InitVariableValuesString
the InitVariableValuesString class.
Definition: OSOption.h:1379
InitDualVariableValues::deepCopyFrom
bool deepCopyFrom(InitDualVariableValues *that)
A function to make a deep copy of an instance of this class.
GeneralOption::GeneralOption
GeneralOption()
Default constructor.
OSOption::getNumberOfOtherVariableOptions
int getNumberOfOtherVariableOptions()
Get the number of other variable options.
ServiceOption::~ServiceOption
~ServiceOption()
Class destructor.
BranchingWeight::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::setInitBasisStatus
bool setInitBasisStatus(int object, int status, int *i, int ni)
OSOption::setServiceURI
bool setServiceURI(std::string serviceURI)
Set the serviceURI.
OSOption::setDirectoriesToDelete
bool setDirectoriesToDelete(int numberOfPaths, std::string *paths)
OtherVarOption::idx
int idx
variable index
Definition: OSOption.h:1932
Processes::addProcess
bool addProcess(std::string process)
A function to add a <process> element.
OSOption::setAnOtherConstraintOption
bool setAnOtherConstraintOption(OtherConstraintOption *optionValue)
OSOption::getNumberOfInputFilesToMove
int getNumberOfInputFilesToMove()
Get the number of input files to move.
OSOption::setOutputFilesToMove
bool setOutputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
IntegerVariableBranchingWeights::~IntegerVariableBranchingWeights
~IntegerVariableBranchingWeights()
Class destructor.
OSOption::getNumberOfInitDualVarValues
int getNumberOfInitDualVarValues()
Get the number of initial dual variable values.
SystemOption::deepCopyFrom
bool deepCopyFrom(SystemOption *that)
A function to make a deep copy of an instance of this class.
OSOption::setInitObjBoundsSparse
bool setInitObjBoundsSparse(int numberOfObj, InitObjBound **obj)
OtherOptions::~OtherOptions
~OtherOptions()
Class destructor.
SOSVariableBranchingWeights::numberOfSOS
int numberOfSOS
number of <sos> children
Definition: OSOption.h:1858
OSOption::getOptionDbl
double getOptionDbl(std::string optionName)
Get any of the double-valued options.
SolverOption
the SolverOption class.
Definition: OSOption.h:3344
Processes::~Processes
~Processes()
Class destructor.
SolverOption::name
std::string name
the name of the option
Definition: OSOption.h:3349
OtherVarOption::lbValue
std::string lbValue
lower bound on the value
Definition: OSOption.h:1941
JobOption::requiredDirectories
DirectoriesAndFiles * requiredDirectories
directories required to run the job
Definition: OSOption.h:1078
InitialBasisStatus::setVar
bool setVar(int numberOfVar, InitBasStatus **var)
A function to set an array of elements.
OSOption::setInitDualVarValuesSparse
bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue **con)
InitVarValue::~InitVarValue
~InitVarValue()
Class destructor.
InitVarValueString
the InitVarValueString class.
Definition: OSOption.h:1320
OtherConOption::~OtherConOption
~OtherConOption()
Class destructor.
OtherConstraintOption::type
std::string type
type of the option value (integer, double, boolean, string)
Definition: OSOption.h:3179
OtherObjectiveOption::objType
std::string objType
type of the values in the obj array
Definition: OSOption.h:2606
SolverOptions::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
IntegerVariableBranchingWeights::var
BranchingWeight ** var
branching weight for each variable
Definition: OSOption.h:1679
JobDependencies::~JobDependencies
~JobDependencies()
Class destructor.
OSOption::getNumberOfSolverOptions
int getNumberOfSolverOptions()
Get the number of solver options.
GeneralOption::userName
std::string userName
the username
Definition: OSOption.h:311
OptimizationOption::numberOfVariables
int numberOfVariables
the number of variables
Definition: OSOption.h:3500
OSOption::setProcessesToKill
bool setProcessesToKill(int numberOfProcesses, std::string *processes)
ObjectiveOption::other
OtherObjectiveOption ** other
other information about the objectives
Definition: OSOption.h:2698
OSOption::getNumberOfOtherConstraintOptions
int getNumberOfOtherConstraintOptions()
Get the number of other constraint options.
OtherOptions::setOther
bool setOther(int numberOfOptions, OtherOption **other)
A function to set an array of <other> elements.
InitVariableValues::numberOfVar
int numberOfVar
number of children
Definition: OSOption.h:1223
OSOption::getInitBasisStatusSparse
InitBasStatus ** getInitBasisStatusSparse()
Get the initial basis status in sparse form.
OSOption::setInitDualValues
bool setInitDualValues(int numberOfCon, int *idx, double *lbValue, double *ubValue, std::string *name)
InitDualVarValue::ubDualValue
double ubDualValue
initial upper bound
Definition: OSOption.h:2938
OtherVariableOption::type
std::string type
type of the option value (integer, double, boolean, string)
Definition: OSOption.h:2012
PathPairs
the PathPairs class.
Definition: OSOption.h:910
OptimizationOption::~OptimizationOption
~OptimizationOption()
Class destructor.
InitObjectiveBounds
the InitObjectiveBounds class.
Definition: OSOption.h:2405
InitObjectiveValues::deepCopyFrom
bool deepCopyFrom(InitObjectiveValues *that)
A function to make a deep copy of an instance of this class.
OSOption::getMinMemoryDescription
std::string getMinMemoryDescription()
get the memory description
InitObjectiveBounds::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitObjectiveValues::numberOfObj
int numberOfObj
number of <obj> children
Definition: OSOption.h:2246
OSOption::setNumberOfObjectives
bool setNumberOfObjectives(int numberOfObjectives)
InitConstraintValues::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
SOSWeights::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
VariableOption::initialBasisStatus
BasisStatus * initialBasisStatus
initial basis information
Definition: OSOption.h:2110
ObjectiveOption::~ObjectiveOption
~ObjectiveOption()
Class destructor.
GeneralOption::serviceName
std::string serviceName
the name of the service
Definition: OSOption.h:293
InitVariableValuesString::InitVariableValuesString
InitVariableValuesString()
Default constructor.
OSOption::getRequestedStartTime
std::string getRequestedStartTime()
Get the requested starting time.
OSOption::getNumberOfJobDependencies
int getNumberOfJobDependencies()
Get the number of job dependencies.
OSOption::getServiceType
std::string getServiceType()
Get the service type.
InitObjBound::lbValue
double lbValue
initial lower bound
Definition: OSOption.h:2354
JobDependencies
the JobDependencies class.
Definition: OSOption.h:709
GeneralOption::otherOptions
OtherOptions * otherOptions
the list of other general options
Definition: OSOption.h:320
InitialBasisStatus::deepCopyFrom
bool deepCopyFrom(InitialBasisStatus *that)
A function to make a deep copy of an instance of this class.
GeneralFileHeader
a data structure that holds general information about files that conform to one of the OSxL schemas
Definition: OSGeneral.h:32
InitVariableValues::IsEqual
bool IsEqual(InitVariableValues *that)
A function to check for the equality of two objects.
OSOption::setOtherVariableOptionVar
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 <other> option in the <variables> element.
ObjectiveOption::ObjectiveOption
ObjectiveOption()
Default constructor.
OSOption::setAnotherDirectoryToDelete
bool setAnotherDirectoryToDelete(std::string path)
JobOption::processesToKill
Processes * processesToKill
processes to kill upon completion
Definition: OSOption.h:1108
InitObjectiveValues::addObj
bool addObj(int idx, double value)
A function to add a <obj> element.
JobDependencies::addJobID
bool addJobID(std::string jobID)
A function to add an <jobID> element.
SystemOption::~SystemOption
~SystemOption()
Class destructor.
OSOption::setAnotherSOSVariableBranchingWeight
bool setAnotherSOSVariableBranchingWeight(int sosIdx, int nvar, double weight, int *idx, double *value, std::string *name)
Processes::numberOfProcesses
int numberOfProcesses
the number of <process> children
Definition: OSOption.h:998
OtherConOption::deepCopyFrom
bool deepCopyFrom(OtherConOption *that)
A function to make a deep copy of an instance of this class.
OSOption::setMaxTimeUnit
bool setMaxTimeUnit(std::string unit)
OtherObjOption::OtherObjOption
OtherObjOption()
Default constructor.
ObjectiveOption::addOther
bool addOther(OtherObjectiveOption *other)
A function to add an <other> element.
GeneralOption::solverToInvoke
std::string solverToInvoke
the solver to invoke
Definition: OSOption.h:305
OSOption::setAnotherFileToDelete
bool setAnotherFileToDelete(std::string path)
OSOption::OSOption
OSOption()
Default constructor.
InitVariableValuesString::setVar
bool setVar(int numberOfVar, InitVarValueString **var)
A function to set an array of elements.
BranchingWeight::BranchingWeight
BranchingWeight()
Default constructor.
OSOption::getNumberOfOutputDirectoriesToMove
int getNumberOfOutputDirectoriesToMove()
Get the number of output directories to move.
SOSWeights::numberOfVar
int numberOfVar
number of children
Definition: OSOption.h:1786
SolverOption::numberOfItems
int numberOfItems
the number of items (additional pieces of data) of the option
Definition: OSOption.h:3367
ContactOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::setInitObjBoundsDense
bool setInitObjBoundsDense(int numberOfObj, double *lb, double *ub)
SolverOptions::addSolverOption
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.
VariableOption
the VariableOption class.
Definition: OSOption.h:2096
ObjectiveOption
the ObjectiveOption class.
Definition: OSOption.h:2681
InitBasStatus::IsEqual
bool IsEqual(InitBasStatus *that)
A function to check for the equality of two objects.
OtherOption
the OtherOption class.
Definition: OSOption.h:152
OSOption::getJobID
std::string getJobID()
Get the job ID.
GeneralOption
The GeneralOption Class.
Definition: OSOption.h:284
MinCPUSpeed::~MinCPUSpeed
~MinCPUSpeed()
Class destructor.
PathPair::PathPair
PathPair()
Default constructor.
OSOption::getInitDualVarUpperBoundsDense
double * getInitDualVarUpperBoundsDense()
Get the initial dual variables associated with the upper bounds in dense form.
OSOption::getInitBasisStatusDense
std::string * getInitBasisStatusDense()
Get the initial basis information in dense form.
OSOption::getInitVarValuesStringSparse
InitVarValueString ** getInitVarValuesStringSparse()
Get the initial value strings associated with the variables in sparse form.
OtherObjectiveOption::enumeration
OtherOptionOrResultEnumeration ** enumeration
Definition: OSOption.h:2612
OtherOption::description
std::string description
the description of the option
Definition: OSOption.h:163
OtherObjOption::deepCopyFrom
bool deepCopyFrom(OtherObjOption *that)
A function to make a deep copy of an instance of this class.
OSOption::setJobID
bool setJobID(std::string jobID)
Set the job ID.
OtherOption::IsEqual
bool IsEqual(OtherOption *that)
A function to check for the equality of two objects.
OSOption::setAnotherInitVarValueString
bool setAnotherInitVarValueString(int idx, std::string value)
OSOption::getNumberOfOutputFilesToMove
int getNumberOfOutputFilesToMove()
Get the number of output files to move.
MinMemorySize::unit
std::string unit
the unit in which memory size is measured
Definition: OSOption.h:419
OSOption::general
GeneralOption * general
generalOption holds the first child of the OSOption specified by the OSoL Schema.
Definition: OSOption.h:3580
OSOption::setOutputDirectoriesToMove
bool setOutputDirectoriesToMove(int numberOfPathPairs, PathPair **pathPair)
OSMathUtil.h
OSOption::getInitConValuesSparse
InitConValue ** getInitConValuesSparse()
Get the initial values associated with the constraints in sparse form.
OSOption::setAnotherProcessToKill
bool setAnotherProcessToKill(std::string process)
OSOption::getInitialBasisElements
bool getInitialBasisElements(int type, int status, int *elem)
Get the initial basis elements for a particular variable type and basis status.
OSOption::getNumberOfOtherGeneralOptions
int getNumberOfOtherGeneralOptions()
Get the number of <other> options in the <general> element.
OtherVariableOption::category
std::string category
name of the category into which this option falls
Definition: OSOption.h:2009
OptimizationOption::numberOfConstraints
int numberOfConstraints
the number of constraints
Definition: OSOption.h:3506
OSOption::setOtherConstraintOptionAttributes
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 <other> <constraint> option.
ContactOption
the ContactOption class.
Definition: OSOption.h:96
OSOption::getNumberOfInitVarValuesString
int getNumberOfInitVarValuesString()
Get the number of initial variable strings.
InitVariableValuesString::numberOfVar
int numberOfVar
number of children
Definition: OSOption.h:1384
MinDiskSpace::~MinDiskSpace
~MinDiskSpace()
Class destructor.
OSOption::getInitObjValuesDense
double * getInitObjValuesDense()
Get the initial values associated with the objectives in dense form.
MinMemorySize::description
std::string description
additional description about the memory
Definition: OSOption.h:422
OSOption::setFilesToMake
bool setFilesToMake(int numberOfPaths, std::string *paths)
ServiceOption
the ServiceOption class.
Definition: OSOption.h:610
OSOption::setInputDirectoriesToMove
bool setInputDirectoriesToMove(int numberOfPathPairs, PathPair **pathPair)
OtherConstraintOption::con
OtherConOption ** con
array of option values
Definition: OSOption.h:3185
InitObjBound
the InitObjBound class.
Definition: OSOption.h:2343
OtherObjOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherObjOption::name
std::string name
optional variable name
Definition: OSOption.h:2517
OSOption::setAnotherInitDualVarValue
bool setAnotherInitDualVarValue(int idx, double lbValue, double ubValue)
MinDiskSpace::unit
std::string unit
the unit in which disk space is measured
Definition: OSOption.h:374
SystemOption::minMemorySize
StorageCapacity * minMemorySize
the minimum memory required
Definition: OSOption.h:553
DirectoriesAndFiles::~DirectoriesAndFiles
~DirectoriesAndFiles()
Class destructor.
SystemOption
the SystemOption class.
Definition: OSOption.h:545
MaxTime::unit
std::string unit
the unit in which time is measured
Definition: OSOption.h:673
OSOption::getMaxTime
double getMaxTime()
Get the maximum allowed time.
OSOption::getNumberOfDirectoriesToMake
int getNumberOfDirectoriesToMake()
Get the number of directories to make.
PathPairs::pathPair
PathPair ** pathPair
the list of directory and file paths
Definition: OSOption.h:918
OSOption::getNumberOfInputDirectoriesToMove
int getNumberOfInputDirectoriesToMove()
Get the number of input directories to move.
InitBasStatus::idx
int idx
variable index
Definition: OSOption.h:1486
OtherVarOption::deepCopyFrom
bool deepCopyFrom(OtherVarOption *that)
A function to make a deep copy of an instance of this class.
InitObjValue::deepCopyFrom
bool deepCopyFrom(InitObjValue *that)
A function to make a deep copy of an instance of this class.
ServiceOption::ServiceOption
ServiceOption()
Default constructor.
InitObjValue::IsEqual
bool IsEqual(InitObjValue *that)
A function to check for the equality of two objects.
OSOption::setAnotherInputDirectoryToMove
bool setAnotherInputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy)
OSOption::getInstanceLocation
std::string getInstanceLocation()
Get the instance location.
JobOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OptimizationOption::deepCopyFrom
bool deepCopyFrom(OptimizationOption *that)
A function to make a deep copy of an instance of this class.
InitConstraintValues::IsEqual
bool IsEqual(InitConstraintValues *that)
A function to check for the equality of two objects.
GeneralOption::instanceName
std::string instanceName
the name of the instance
Definition: OSOption.h:296
InitConValue::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
ConstraintOption::initialConstraintValues
InitConstraintValues * initialConstraintValues
initial values for the constraints
Definition: OSOption.h:3271
OSOption::getNumberOfInitVarValues
int getNumberOfInitVarValues()
Get the number of initial variable values.
OSOption::getMinCPUSpeedUnit
std::string getMinCPUSpeedUnit()
Get the CPU speed unit.
OSOption::setInitVarValuesStringDense
bool setInitVarValuesStringDense(int numberOfVar, std::string *value)
InitDualVariableValues::con
InitDualVarValue ** con
initial dual values for each constraint
Definition: OSOption.h:2995
ConstraintOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::getFileName
std::string getFileName()
Get the name of the file.
InitConValue::IsEqual
bool IsEqual(InitConValue *that)
A function to check for the equality of two objects.
InitialBasisStatus::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::setSolverOptionContent
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.
OSOption::setContact
bool setContact(std::string contact)
Set the contact information.
JobDependencies::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitObjValue
the InitObjValue class.
Definition: OSOption.h:2182
OSOption::setAnOtherGeneralOption
bool setAnOtherGeneralOption(std::string name, std::string value, std::string description)
Add another general option to the <other> option array.
OSOption::getSolverToInvoke
std::string getSolverToInvoke()
Get the solver name.
ConstraintOption::setOther
bool setOther(int numberOfOptions, OtherConstraintOption **other)
A function to set an array of <other> elements.
OSOption::getSlackVariableInitialBasisStatusDense
int * getSlackVariableInitialBasisStatusDense(int numberOfConstraints)
Get the initial basis status for all slack variables in dense form.
InitVarValue::value
double value
initial value
Definition: OSOption.h:1170
OSOption::getMinDiskSpaceUnit
std::string getMinDiskSpaceUnit()
Get the disk space unit.
IntegerVariableBranchingWeights::addVar
bool addVar(int idx, double value)
A function to add a element.
InitVariableValuesString::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherConstraintOption::conType
std::string conType
type of the values in the con array
Definition: OSOption.h:3188
InitialBasisStatus::InitialBasisStatus
InitialBasisStatus()
Default constructor.
OSOption::setNumberOfOtherVariableOptions
bool setNumberOfOtherVariableOptions(int numberOfOther)
OSOption::deepCopyFrom
bool deepCopyFrom(OSOption *that)
A function to make a deep copy of an OSOption object.
InitVarValue::deepCopyFrom
bool deepCopyFrom(InitVarValue *that)
A function to make a deep copy of an instance of this class.
VariableOption::setOther
bool setOther(int numberOfOptions, OtherVariableOption **other)
A function to set an array of <other> elements.
OSOption::getNumberOfOtherSystemOptions
int getNumberOfOtherSystemOptions()
Get the number of <other> options in the <system> element.
MinDiskSpace::description
std::string description
additional description about the disk space
Definition: OSOption.h:377
OSOption::getFilesToMake
std::string * getFilesToMake()
Get the array of files to make.
InitConValue::deepCopyFrom
bool deepCopyFrom(InitConValue *that)
A function to make a deep copy of an instance of this class.
ConstraintOption::initialDualValues
InitDualVariableValues * initialDualValues
initial dual values for the constraints
Definition: OSOption.h:3274
OtherVariableOption::value
std::string value
value of the option
Definition: OSOption.h:2003
OSOption::setOtherServiceOptions
bool setOtherServiceOptions(int numberOfOptions, OtherOption **other)
OtherOptions::addOther
bool addOther(std::string name, std::string value, std::string description)
A function to add an <other> element.
InitDualVariableValues::IsEqual
bool IsEqual(InitDualVariableValues *that)
A function to check for the equality of two objects.
OSOption::setNumberOfConstraints
bool setNumberOfConstraints(int numberOfConstraints)
JobOption::maxTime
TimeSpan * maxTime
the maximum time allowed
Definition: OSOption.h:1069
OtherObjectiveOption::deepCopyFrom
bool deepCopyFrom(OtherObjectiveOption *that)
A function to make a deep copy of an instance of this class.
OSOption::setInitBasisStatusSparse
bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus **var)
MinDiskSpace
the MinDiskSpace class.
Definition: OSOption.h:369
InitBasStatus::~InitBasStatus
~InitBasStatus()
Class destructor.
OSOption::setAnotherSolverOption
bool setAnotherSolverOption(std::string name, std::string value, std::string solver, std::string category, std::string type, std::string description)
OSOption::setMinDiskSpace
bool setMinDiskSpace(std::string unit, std::string description, double value)
Set the minimum disk space required for the current job.
InstanceLocationOption
the InstanceLocationOption class.
Definition: OSOption.h:39
OtherObjectiveOption::enumType
std::string enumType
type of the values in the enumeration array
Definition: OSOption.h:2615
InitialBasisStatus::~InitialBasisStatus
~InitialBasisStatus()
Class destructor.
OSOption::getOtherVariableOption
OtherVariableOption * getOtherVariableOption(int optionNumber)
Get one particular <other> variable option from the array of options.
InitVariableValues::~InitVariableValues
~InitVariableValues()
Class destructor.
OSOption::getDirectoriesToDelete
std::string * getDirectoriesToDelete()
Get the array of directories to delete.
PathPairs::IsEqual
bool IsEqual(PathPairs *that)
A function to check for the equality of two objects.
Processes
the Processes class.
Definition: OSOption.h:993
SolverOption::value
std::string value
the value of the option
Definition: OSOption.h:3352
InitVariableValuesString::addVar
bool addVar(int idx, std::string value)
A function to add a element.
InitObjValue::name
std::string name
optional objective name
Definition: OSOption.h:2190
OSOption::setNumberOfOtherObjectiveOptions
bool setNumberOfOtherObjectiveOptions(int numberOfOther)
OSOption::setOtherObjectiveOptionObj
bool setOtherObjectiveOptionObj(int otherOptionNumber, int objNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one <obj> element associated with an <other> option in the <objectives> element.
OSOption::getNumberOfFilesToMake
int getNumberOfFilesToMake()
Get the number of files to make.
OSOption::getServiceURI
std::string getServiceURI()
Get the service URI.
OptimizationOption::objectives
ObjectiveOption * objectives
the options for the objectives
Definition: OSOption.h:3512
InitVarValue::InitVarValue
InitVarValue()
Default constructor.
Processes::setProcess
bool setProcess(int numberOfProcesses, std::string *process)
A function to set an array of <process> elements.
PathPairs::numberOfPathPairs
int numberOfPathPairs
the number of <path> children
Definition: OSOption.h:915
OSOption::setMinCPUNumber
bool setMinCPUNumber(int number, std::string description)
Set the minimum number of CPU cores required for the current job.
InitConValue::name
std::string name
optional variable name
Definition: OSOption.h:2771
ConstraintOption::deepCopyFrom
bool deepCopyFrom(ConstraintOption *that)
A function to make a deep copy of an instance of this class.
OSOption::getUserName
std::string getUserName()
Get the user name.
InitObjectiveBounds::~InitObjectiveBounds
~InitObjectiveBounds()
Class destructor.
OtherObjectiveOption::description
std::string description
description of the option
Definition: OSOption.h:2600
OSOption::setPathPairs
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
SystemOption::minCPUSpeed
CPUSpeed * minCPUSpeed
the minimum CPU speed required
Definition: OSOption.h:556
OtherConstraintOption::~OtherConstraintOption
~OtherConstraintOption()
Class destructor.
OSOption::getPassword
std::string getPassword()
Get the password.
OtherConstraintOption
the OtherConstraintOption class.
Definition: OSOption.h:3156
SolverOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherConstraintOption::enumeration
OtherOptionOrResultEnumeration ** enumeration
Definition: OSOption.h:3194
InitDualVariableValues::numberOfCon
int numberOfCon
number of <con> children
Definition: OSOption.h:2992
DirectoriesAndFiles::DirectoriesAndFiles
DirectoriesAndFiles()
Default constructor.
InitVariableValues::InitVariableValues
InitVariableValues()
Default constructor.
OSOption::setInitObjValuesDense
bool setInitObjValuesDense(int numberOfObj, double *value)
InitDualVarValue::~InitDualVarValue
~InitDualVarValue()
Class destructor.
OSOption::setAnotherFileToMake
bool setAnotherFileToMake(std::string path)
PathPair::from
std::string from
the file or directory to move/copy from
Definition: OSOption.h:856
JobOption::dependencies
JobDependencies * dependencies
the dependency set
Definition: OSOption.h:1075
OtherConstraintOption::category
std::string category
name of the category into which this option falls
Definition: OSOption.h:3176
SolverOption::description
std::string description
the description of the option
Definition: OSOption.h:3364
OSOption::setOtherVariableOptionAttributes
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 <other> <variable> option.
OSOption::setMinDiskSpaceUnit
bool setMinDiskSpaceUnit(std::string unit)
Processes::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
MinMemorySize::IsEqual
bool IsEqual(MinMemorySize *that)
A function to check for the equality of two objects.
ObjectiveOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherOption::~OtherOption
~OtherOption()
Class destructor.
OtherConstraintOption::description
std::string description
description of the option
Definition: OSOption.h:3182
OSOption::getOtherConstraintOptions
std::vector< OtherConstraintOption * > getOtherConstraintOptions(std::string solver_name)
Get the array of other constraint options.
OptimizationOption::numberOfObjectives
int numberOfObjectives
the number of objectives
Definition: OSOption.h:3503
InitObjectiveValues::IsEqual
bool IsEqual(InitObjectiveValues *that)
A function to check for the equality of two objects.
Processes::process
std::string * process
the list of processes
Definition: OSOption.h:1001
InitObjectiveBounds::setObj
bool setObj(int numberOfObj, InitObjBound **obj)
A function to set an array of <obj> elements.
CPUSpeed
the CPUSpeed class.
Definition: OSGeneral.h:812
GeneralOption::instanceLocation
InstanceLocationOption * instanceLocation
the location of the instance
Definition: OSOption.h:299
ConstraintOption::other
OtherConstraintOption ** other
other information about the constraints
Definition: OSOption.h:3280
OSOption::getLicense
std::string getLicense()
Get the license string.
InitVarValue::name
std::string name
optional variable name
Definition: OSOption.h:1167
SolverOptions::solverOption
SolverOption ** solverOption
the list of solver options
Definition: OSOption.h:3426
OSOption::getNumberOfFilesToDelete
int getNumberOfFilesToDelete()
Get the number of files to delete.
InitVariableValues::setVar
bool setVar(int numberOfVar, InitVarValue **var)
A function to set an array of elements.
OSOption::getProcessesToKill
std::string * getProcessesToKill()
Get the array of processes to kill.
ContactOption::transportType
std::string transportType
the contact mechanism
Definition: OSOption.h:101
PathPair::makeCopy
bool makeCopy
record whether a copy is to be made
Definition: OSOption.h:862
OSOption::setInitVarValuesSparse
bool setInitVarValuesSparse(int numberOfVar, InitVarValue **var)
SolverOption::category
std::string category
the category to which the option belongs
Definition: OSOption.h:3358
IntegerVariableBranchingWeights::deepCopyFrom
bool deepCopyFrom(IntegerVariableBranchingWeights *that)
A function to make a deep copy of an instance of this class.
OtherVariableOption::addVar
bool addVar(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a element.
OSOption::getNumberOfOtherObjectiveOptions
int getNumberOfOtherObjectiveOptions()
Get the number of other objective options.
ContactOption::IsEqual
bool IsEqual(ContactOption *that)
A function to check for the equality of two objects.
OSOption::setInitObjBounds
bool setInitObjBounds(int numberOfObj, int *idx, double *lbValue, double *ubValue, std::string *name)
OSOption::getNumberOfInitConValues
int getNumberOfInitConValues()
Get the number of initial constraint values.
OSOption::setAnotherDirectoryToMake
bool setAnotherDirectoryToMake(std::string path)
MinCPUSpeed::value
double value
the minimum CPU speed required
Definition: OSOption.h:470
MinCPUSpeed
the MinCPUSpeed class.
Definition: OSOption.h:459
OptimizationOption
the OptimizationOption class.
Definition: OSOption.h:3495
OSOption::getMinCPUSpeedDescription
std::string getMinCPUSpeedDescription()
Get the CPU speed description.
VariableOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
ServiceOption::IsEqual
bool IsEqual(ServiceOption *that)
A function to check for the equality of two objects.
OtherObjectiveOption::value
std::string value
value of the option
Definition: OSOption.h:2588
OSOption::service
ServiceOption * service
serviceOption holds the third child of the OSOption specified by the OSoL Schema.
Definition: OSOption.h:3588
VariableOption::other
OtherVariableOption ** other
other variable options
Definition: OSOption.h:2119
OSOption::getNumberOfInitialBasisElements
int getNumberOfInitialBasisElements(int type, int status)
Get the number of initial basis elements for a particular variable type and basis status.
InitObjectiveValues::InitObjectiveValues
InitObjectiveValues()
Default constructor.
OSOption::getInitObjUpperBoundsDense
double * getInitObjUpperBoundsDense()
Get the initial upper bounds associated with the objectives in dense form.
InitialBasisStatus::var
InitBasStatus ** var
initial value for each variable
Definition: OSOption.h:1548
SolverOption::solver
std::string solver
the solver to which the option applies
Definition: OSOption.h:3355
OSOption::setInitDualVarValuesDense
bool setInitDualVarValuesDense(int numberOfCon, double *lb, double *ub)
PathPairs::deepCopyFrom
bool deepCopyFrom(PathPairs *that)
A function to make a deep copy of an instance of this class.
OSOption::setOtherObjectiveOptions
bool setOtherObjectiveOptions(int numberOfObj, OtherObjectiveOption **obj)
InitObjBound::~InitObjBound
~InitObjBound()
Class destructor.
OtherVarOption::OtherVarOption
OtherVarOption()
Default constructor.
InitVariableValues
the InitVariableValues class.
Definition: OSOption.h:1218
OtherVariableOption::enumeration
OtherOptionOrResultEnumeration ** enumeration
Definition: OSOption.h:2027
SolverOption::SolverOption
SolverOption()
Default constructor.
OSOption::setSolverToInvoke
bool setSolverToInvoke(std::string solverToInvoke)
Set the solver to be invoked.
MaxTime
the MaxTime class.
Definition: OSOption.h:668
OSOption::getIntegerVariableBranchingWeightsDense
double * getIntegerVariableBranchingWeightsDense()
Get the integer branching weights in dense form.
JobOption::directoriesToDelete
DirectoriesAndFiles * directoriesToDelete
directories to delete upon completion
Definition: OSOption.h:1105
SolverOptions::numberOfSolverOptions
int numberOfSolverOptions
the number of solver options
Definition: OSOption.h:3423
MinCPUSpeed::unit
std::string unit
the unit in which CPU speed is measured
Definition: OSOption.h:464
InitObjValue::InitObjValue
InitObjValue()
Default constructor.
GeneralOption::IsEqual
bool IsEqual(GeneralOption *that)
A function to check for the equality of two objects.
InitVarValue::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherVariableOption::var
OtherVarOption ** var
array of option values
Definition: OSOption.h:2018
OSOption::setJobDependencies
bool setJobDependencies(int numberOfDependencies, std::string *jobDependencies)
BranchingWeight::value
double value
branching weight
Definition: OSOption.h:1622
OSOption::setUserName
bool setUserName(std::string userName)
Set the username.
OSOption::getInitObjValuesSparse
InitObjValue ** getInitObjValuesSparse()
Get the initial values associated with the objectives in sparse form.
OSOption::getSolverOptions
std::vector< SolverOption * > getSolverOptions(std::string solver_name)
Get the options associated with a given solver.
OtherObjOption::ubValue
std::string ubValue
lower bound on the value
Definition: OSOption.h:2527
OSOption::setInitObjValuesSparse
bool setInitObjValuesSparse(int numberOfObj, InitObjValue **obj)
JobOption::deepCopyFrom
bool deepCopyFrom(JobOption *that)
A function to make a deep copy of an instance of this class.
VariableOption::deepCopyFrom
bool deepCopyFrom(VariableOption *that)
A function to make a deep copy of an instance of this class.
OSOption::setAnotherInitVarValue
bool setAnotherInitVarValue(int idx, double value)
OSOption::setInitVarValues
bool setInitVarValues(int numberOfVar, int *idx, double *value, std::string *name)
OtherConstraintOption::setCon
bool setCon(int numberOfCon, OtherConOption **con)
A function to set an array of <con> elements.
OSOption::setAnOtherJobOption
bool setAnOtherJobOption(std::string name, std::string value, std::string description)
OSOption::setHeader
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.
BranchingWeight
the BranchingWeight class.
Definition: OSOption.h:1611
OSOption::getRequiredDirectories
std::string * getRequiredDirectories()
Get the array of required directories.
OSOption::setServiceName
bool setServiceName(std::string serviceName)
Set the service name.
IntegerVariableBranchingWeights::IsEqual
bool IsEqual(IntegerVariableBranchingWeights *that)
A function to check for the equality of two objects.
DirectoriesAndFiles::setPath
bool setPath(int numberOfPaths, std::string *path)
A function to set an array of <path> elements.
OtherObjOption::IsEqual
bool IsEqual(OtherObjOption *that)
A function to check for the equality of two objects.
OSOption::getMinCPUNumberDescription
std::string getMinCPUNumberDescription()
Get the CPU description.
SOSWeights::deepCopyFrom
bool deepCopyFrom(SOSWeights *that)
A function to make a deep copy of an instance of this class.
OSOption::setMaxTime
bool setMaxTime(double value, std::string unit)
InitVarValue::idx
int idx
variable index
Definition: OSOption.h:1164
OtherOptions::deepCopyFrom
bool deepCopyFrom(OtherOptions *that)
A function to make a deep copy of an instance of this class.
JobOption::outputFilesToMove
PathPairs * outputFilesToMove
output files to move or copy
Definition: OSOption.h:1096
InitObjectiveBounds::IsEqual
bool IsEqual(InitObjectiveBounds *that)
A function to check for the equality of two objects.
ContactOption::value
std::string value
the value of the <contact> element
Definition: OSOption.h:104
OSOption::setFilesToDelete
bool setFilesToDelete(int numberOfPaths, std::string *paths)
OSOption::getNumberOfRequiredFiles
int getNumberOfRequiredFiles()
Get the number of required files.
SystemOption::minDiskSpace
StorageCapacity * minDiskSpace
the minimum disk space required
Definition: OSOption.h:550
OtherObjOption::idx
int idx
variable index
Definition: OSOption.h:2514
MaxTime::IsEqual
bool IsEqual(MaxTime *that)
A function to check for the equality of two objects.
OSOption::getMaxTimeUnit
std::string getMaxTimeUnit()
Get the time unit.
OSOption::setAnOtherVariableOption
bool setAnOtherVariableOption(OtherVariableOption *varOption)
OtherOptions::other
OtherOption ** other
the list of other options
Definition: OSOption.h:219
OSOption::setOptionInt
bool setOptionInt(std::string optionName, int optionValue)
OtherVariableOption::varType
std::string varType
type of the values in the var array
Definition: OSOption.h:2021
InitialBasisStatus::numberOfVar
int numberOfVar
number of children
Definition: OSOption.h:1545
OptimizationOption::variables
VariableOption * variables
the options for the variables
Definition: OSOption.h:3509
OSOption::getOtherConstraintOption
OtherConstraintOption * getOtherConstraintOption(int optionNumber)
Get one particular <other> constraint option from the array of options.
JobOption
the JobOption class.
Definition: OSOption.h:1064
DirectoriesAndFiles::addPath
bool addPath(std::string path)
A function to add a <path> element.
InitialBasisStatus::addVar
bool addVar(int idx, std::string value)
A function to add a element.
ConstraintOption::IsEqual
bool IsEqual(ConstraintOption *that)
A function to check for the equality of two objects.
OSOption::setInitObjValues
bool setInitObjValues(int numberOfObj, int *idx, double *value, std::string *name)
JobOption::filesToMake
DirectoriesAndFiles * filesToMake
files to make during the job
Definition: OSOption.h:1087
PathPair::IsEqual
bool IsEqual(PathPair *that)
A function to check for the equality of two objects.
OSOption::setPassword
bool setPassword(std::string password)
Set the password.
ObjectiveOption::initialObjectiveBounds
InitObjectiveBounds * initialObjectiveBounds
initial bounds for the objectives
Definition: OSOption.h:2692
PathPairs::setPathPair
bool setPathPair(int numberOfPathPairs, PathPair **pathPair)
A function to set an array of <pathPair> elements.
OSOption::optionHeader
GeneralFileHeader * optionHeader
OSOption has a header and five other children: general, system, service, job, and optimization.
Definition: OSOption.h:3576
OtherObjectiveOption::setObj
bool setObj(int numberOfObj, OtherObjOption **obj)
A function to set an array of <obj> elements.
OSOption::setAnOtherObjectiveOption
bool setAnOtherObjectiveOption(OtherObjectiveOption *objOption)
MinMemorySize::~MinMemorySize
~MinMemorySize()
Class destructor.
OtherVarOption::IsEqual
bool IsEqual(OtherVarOption *that)
A function to check for the equality of two objects.
OtherConstraintOption::numberOfCon
int numberOfCon
number of <con> children
Definition: OSOption.h:3161
OSOption::getFilesToDelete
std::string * getFilesToDelete()
Get the array of files to delete.
OSOption::setRequiredFiles
bool setRequiredFiles(int numberOfPaths, std::string *paths)
InitConValue
the InitConValue class.
Definition: OSOption.h:2763
OSOption::setSOSVariableBranchingWeights
bool setSOSVariableBranchingWeights(int numberOfSOS, SOSWeights **sos)
OtherVariableOption
the OtherVariableOption class.
Definition: OSOption.h:1989
IntegerVariableBranchingWeights::IntegerVariableBranchingWeights
IntegerVariableBranchingWeights()
Default constructor.
SOSVariableBranchingWeights::IsEqual
bool IsEqual(SOSVariableBranchingWeights *that)
A function to check for the equality of two objects.
InitVariableValuesString::var
InitVarValueString ** var
initial value for each variable
Definition: OSOption.h:1387
OSOption::getNumberOfRequiredDirectories
int getNumberOfRequiredDirectories()
Get the number of required directories.
IntegerVariableBranchingWeights::numberOfVar
int numberOfVar
number of children
Definition: OSOption.h:1676
OSOption::getOtherServiceOptions
OtherOption ** getOtherServiceOptions()
Get the array of other options associated with the <service> element.
SolverOptions::SolverOptions
SolverOptions()
Default constructor.
InitVarValueString::deepCopyFrom
bool deepCopyFrom(InitVarValueString *that)
A function to make a deep copy of an instance of this class.
OtherOptions::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitObjectiveValues::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::setServiceType
bool setServiceType(std::string serviceType)
SOSWeights::SOSWeights
SOSWeights()
Default constructor.
SolverOptions::~SolverOptions
~SolverOptions()
Class destructor.
OtherObjOption::lbValue
std::string lbValue
lower bound on the value
Definition: OSOption.h:2524
OtherVariableOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
JobOption::requestedStartTime
std::string requestedStartTime
the requested time to start the job
Definition: OSOption.h:1072
ObjectiveOption::IsEqual
bool IsEqual(ObjectiveOption *that)
A function to check for the equality of two objects.
JobDependencies::deepCopyFrom
bool deepCopyFrom(JobDependencies *that)
A function to make a deep copy of an instance of this class.
OtherVarOption::name
std::string name
optional variable name
Definition: OSOption.h:1935
OSOption::setMinMemorySize
bool setMinMemorySize(std::string unit, std::string description, double value)
Set the minimum memory size required for the current job.
OSOption::getNumberOfOtherJobOptions
int getNumberOfOtherJobOptions()
Get the number of <other> options in the <job> element.
InitDualVarValue::IsEqual
bool IsEqual(InitDualVarValue *that)
A function to check for the equality of two objects.
OtherConOption::value
std::string value
value of the option
Definition: OSOption.h:3102
InitConstraintValues::deepCopyFrom
bool deepCopyFrom(InitConstraintValues *that)
A function to make a deep copy of an instance of this class.
SOSWeights::~SOSWeights
~SOSWeights()
Class destructor.
OSOption::getAllOtherConstraintOptions
OtherConstraintOption ** getAllOtherConstraintOptions()
Get all <other> constraint options.
SOSVariableBranchingWeights
the SOSVariableBranchingWeights class.
Definition: OSOption.h:1853
InitBasStatus
the InitBasStatus class.
Definition: OSOption.h:1481
MinCPUSpeed::description
std::string description
additional description about the CPU speed
Definition: OSOption.h:467
OtherConOption::lbValue
std::string lbValue
lower bound of the option
Definition: OSOption.h:3105
ConstraintOption::numberOfOtherConstraintOptions
int numberOfOtherConstraintOptions
number of <other> child elements
Definition: OSOption.h:3268
OSOption::setInitVarValuesString
bool setInitVarValuesString(int numberOfVar, int *idx, std::string *value, std::string *name)
OSOption::setDirectoriesToMake
bool setDirectoriesToMake(int numberOfPaths, std::string *paths)
InitVarValue
the InitVarValue class.
Definition: OSOption.h:1159
PathPair::~PathPair
~PathPair()
Class destructor.
InitDualVarValue
the InitDualVarValue class.
Definition: OSOption.h:2924
TimeSpan
the TimeSpan class.
Definition: OSGeneral.h:924
OSOption::setNumberOfOtherConstraintOptions
bool setNumberOfOtherConstraintOptions(int numberOfOther)
SolverOptions::deepCopyFrom
bool deepCopyFrom(SolverOptions *that)
A function to make a deep copy of an instance of this class.
OtherVarOption
the OtherVarOption class.
Definition: OSOption.h:1927
InitConstraintValues::con
InitConValue ** con
initial value for each constraint
Definition: OSOption.h:2830
InitBasStatus::deepCopyFrom
bool deepCopyFrom(InitBasStatus *that)
A function to make a deep copy of an instance of this class.
InitVariableValuesString::deepCopyFrom
bool deepCopyFrom(InitVariableValuesString *that)
A function to make a deep copy of an instance of this class.
OSOption::getMinMemoryUnit
std::string getMinMemoryUnit()
Get the memory unit.
InitialBasisStatus
the InitialBasisStatus class.
Definition: OSOption.h:1540
InitObjectiveBounds::obj
InitObjBound ** obj
initial bounds for each objective
Definition: OSOption.h:2413
OSOption::getContact
std::string getContact()
Get the contact information.
InitObjValue::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::getOtherObjectiveOption
OtherObjectiveOption * getOtherObjectiveOption(int optionNumber)
Get one particular <other> objective option from the array of options.
OSOption::IsEqual
bool IsEqual(OSOption *that)
A function to check for the equality of two objects.
OSOption::getAllOtherObjectiveOptions
OtherObjectiveOption ** getAllOtherObjectiveOptions()
Get all <other> objective options.
InitVariableValues::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::getOtherOptions
OtherOption ** getOtherOptions(std::string elementName)
Get the array of other options associated with any element.
InitVarValueString::name
std::string name
optional variable name
Definition: OSOption.h:1328
OSOption::setInitConValuesDense
bool setInitConValuesDense(int numberOfCon, double *value)
InitVarValueString::value
std::string value
initial value
Definition: OSOption.h:1331
JobDependencies::numberOfJobIDs
int numberOfJobIDs
the number of entries in the list of job dependencies
Definition: OSOption.h:714
OSOption::setIntegerVariableBranchingWeightsDense
bool setIntegerVariableBranchingWeightsDense(int numberOfVar, double *value)
InitConstraintValues::setCon
bool setCon(int numberOfCon, InitConValue **con)
A function to set an array of <con> elements.
SOSWeights::setVar
bool setVar(int numberOfVar, BranchingWeight **var)
A function to set an array of elements.
VariableOption::sosVariableBranchingWeights
SOSVariableBranchingWeights * sosVariableBranchingWeights
branching weights for SOS variables and groups
Definition: OSOption.h:2116
OSOption::getFileCreator
std::string getFileCreator()
Get the name of the person who created the file.
SOSWeights::addVar
bool addVar(int idx, double value)
A function to add a element.
GeneralOption::~GeneralOption
~GeneralOption()
Class destructor.
InitDualVariableValues::InitDualVariableValues
InitDualVariableValues()
Default constructor.
SolverOptions::IsEqual
bool IsEqual(SolverOptions *that)
A function to check for the equality of two objects.
VariableOption::initialVariableValues
InitVariableValues * initialVariableValues
initial values for the variables
Definition: OSOption.h:2104
OtherVariableOption::~OtherVariableOption
~OtherVariableOption()
Class destructor.
GeneralOption::contact
ContactOption * contact
the contact method
Definition: OSOption.h:317
InitVarValueString::~InitVarValueString
~InitVarValueString()
Class destructor.
SolverOption::deepCopyFrom
bool deepCopyFrom(SolverOption *that)
A function to make a deep copy of an instance of this class.
ServiceOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::setMinMemoryUnit
bool setMinMemoryUnit(std::string unit)
OSOption::getOptionInt
int getOptionInt(std::string optionName)
Get any of the integer-valued options.
JobOption::filesToDelete
DirectoriesAndFiles * filesToDelete
files to delete upon completion
Definition: OSOption.h:1102
MinDiskSpace::IsEqual
bool IsEqual(MinDiskSpace *that)
A function to check for the equality of two objects.
InitDualVariableValues
the InitDualVariableValues class.
Definition: OSOption.h:2987
InstanceLocationOption::IsEqual
bool IsEqual(InstanceLocationOption *that)
A function to check for the equality of two objects.
OtherOptions::OtherOptions
OtherOptions()
Default constructor.
OptimizationOption::constraints
ConstraintOption * constraints
the options for the constraints
Definition: OSOption.h:3515
OSOption::getOtherJobOptions
OtherOption ** getOtherJobOptions()
Get the array of other options associated with the <job> element.
MaxTime::value
double value
the maximum time allowed
Definition: OSOption.h:676
OSOption::getNumberOfVariables
int getNumberOfVariables()
Get the number of variables in the instance.
PathPairs::~PathPairs
~PathPairs()
Class destructor.
ConstraintOption
the ConstraintOption class.
Definition: OSOption.h:3263
InitObjValue::value
double value
initial value
Definition: OSOption.h:2193
OSOption::setOtherConstraintOptions
bool setOtherConstraintOptions(int numberOfOptions, OtherConstraintOption **other)
OtherOption::deepCopyFrom
bool deepCopyFrom(OtherOption *that)
A function to make a deep copy of an instance of this class.
OSOption::setAnotherRequiredFile
bool setAnotherRequiredFile(std::string path)
OtherVariableOption::setVar
bool setVar(int numberOfVar, OtherVarOption **var)
A function to set an array of elements.
BasisStatus
a data structure to represent an LP basis on both input and output
Definition: OSGeneral.h:645
InitConValue::InitConValue
InitConValue()
Default constructor.
OSOption::getNumberOfInitObjBounds
int getNumberOfInitObjBounds()
Get the number of initial objective bounds.
OSOption::setInitVarValuesStringSparse
bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString **var)
SystemOption::SystemOption
SystemOption()
Default constructor.
SOSWeights
the SOSWeights class.
Definition: OSOption.h:1775
InitialBasisStatus::IsEqual
bool IsEqual(InitialBasisStatus *that)
A function to check for the equality of two objects.
InitDualVariableValues::setCon
bool setCon(int numberOfCon, InitDualVarValue **con)
A function to set an array of <con> elements.
OSOption::setSolverOptions
bool setSolverOptions(int numberOfSolverOptions, SolverOption **solverOption)
ObjectiveOption::deepCopyFrom
bool deepCopyFrom(ObjectiveOption *that)
A function to make a deep copy of an instance of this class.
OtherConstraintOption::deepCopyFrom
bool deepCopyFrom(OtherConstraintOption *that)
A function to make a deep copy of an instance of this class.
InitObjectiveValues::~InitObjectiveValues
~InitObjectiveValues()
Class destructor.
OtherVariableOption::numberOfEnumerations
int numberOfEnumerations
number of <enumeration> child elements
Definition: OSOption.h:1997
OSOption::setInitBasisStatusDense
bool setInitBasisStatusDense(int numberOfVar, std::string *var)
ConstraintOption::addOther
bool addOther(OtherConstraintOption *other)
A function to add an <other> element.
OSOption::getInitConValuesDense
double * getInitConValuesDense()
Get the initial values associated with the constraints in dense form.
PathPair::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::setAnOtherServiceOption
bool setAnOtherServiceOption(std::string name, std::string value, std::string description)
OSOption::setAnotherInitConValue
bool setAnotherInitConValue(int idx, double value)
InitObjectiveValues::obj
InitObjValue ** obj
initial value for each objective
Definition: OSOption.h:2249
Processes::deepCopyFrom
bool deepCopyFrom(Processes *that)
A function to make a deep copy of an instance of this class.
OtherConOption::name
std::string name
optional variable name
Definition: OSOption.h:3099
OtherOptions
the OtherOptions class.
Definition: OSOption.h:211
OSOption::getNumberOfSOSVarBranchingWeights
int getNumberOfSOSVarBranchingWeights(int iSOS)
Get the number of variables for which branching weights are provided in a particular SOS.
MaxTime::MaxTime
MaxTime()
Default constructor.
InitObjBound::InitObjBound
InitObjBound()
Default constructor.
VariableOption::VariableOption
VariableOption()
Default constructor.
GeneralOption::license
std::string license
the license information
Definition: OSOption.h:308
OSOption
The Option Class.
Definition: OSOption.h:3564
InitConstraintValues::numberOfCon
int numberOfCon
number of <con> children
Definition: OSOption.h:2827
OtherVarOption::~OtherVarOption
~OtherVarOption()
Class destructor.
OSOption::getInputDirectoriesToMove
PathPair ** getInputDirectoriesToMove()
Get the array of input directories to move.
OtherVarOption::value
std::string value
value of the option
Definition: OSOption.h:1938
IntegerVariableBranchingWeights::setVar
bool setVar(int numberOfVar, BranchingWeight **var)
A function to set an array of elements.
OtherVariableOption::numberOfVar
int numberOfVar
number of child elements
Definition: OSOption.h:1994
InitObjectiveValues::setObj
bool setObj(int numberOfObj, InitObjValue **obj)
A function to set an array of <obj> elements.
OSOption::setMinCPUSpeedUnit
bool setMinCPUSpeedUnit(std::string unit)
PathPair
the PathPair class.
Definition: OSOption.h:851
InitVariableValues::deepCopyFrom
bool deepCopyFrom(InitVariableValues *that)
A function to make a deep copy of an instance of this class.
OSOption::getOutputDirectoriesToMove
PathPair ** getOutputDirectoriesToMove()
Get the array of output directories to move.
PathPair::deepCopyFrom
bool deepCopyFrom(PathPair *that)
A function to make a deep copy of an instance of this class.
OtherConstraintOption::addCon
bool addCon(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a <con> element.
OSOption::getSOSVariableBranchingWeightsSparse
SOSWeights ** getSOSVariableBranchingWeightsSparse()
Get the SOS branching weights in sparse form.
OSOption::getInitVarValuesSparse
InitVarValue ** getInitVarValuesSparse()
Get the initial values associated with the variables in sparse form.
OSOption::setAnotherOutputFileToMove
bool setAnotherOutputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
OtherOptionOrResultEnumeration
Definition: OSGeneral.h:549
OSOption::setAnotherInitBasisStatus
bool setAnotherInitBasisStatus(int type, int idx, int status)
Set the basis status for another variable, objective or constraint/slack.
JobOption::outputDirectoriesToMove
PathPairs * outputDirectoriesToMove
output directories to move or copy
Definition: OSOption.h:1099
ConstraintOption::initialBasisStatus
BasisStatus * initialBasisStatus
initial basis status for the slack variables
Definition: OSOption.h:3277
SolverOption::IsEqual
bool IsEqual(SolverOption *that)
A function to check for the equality of two objects.
ServiceOption::type
std::string type
the service type
Definition: OSOption.h:615
OSOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::setInputFilesToMove
bool setInputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
VariableOption::initialVariableValuesString
InitVariableValuesString * initialVariableValuesString
initial values for string-valued variables
Definition: OSOption.h:2107
OtherConstraintOption::numberOfEnumerations
int numberOfEnumerations
number of <enumeration> child elements
Definition: OSOption.h:3164
OSOption::setAnotherInitObjValue
bool setAnotherInitObjValue(int idx, double value)
SystemOption::IsEqual
bool IsEqual(SystemOption *that)
A function to check for the equality of two objects.
OSOption::setOtherGeneralOptions
bool setOtherGeneralOptions(int numberOfOptions, OtherOption **other)
Set the other general options as an entire array.
OSOption::getOtherGeneralOptions
OtherOption ** getOtherGeneralOptions()
Get the array of other options associated with the <general> element.
InitConstraintValues::~InitConstraintValues
~InitConstraintValues()
Class destructor.
PathPair::to
std::string to
the file or directory to move/copy to
Definition: OSOption.h:859
SOSWeights::sosIdx
int sosIdx
index of the SOS (to match the OSiL file)
Definition: OSOption.h:1780
OSOption::setNumberOfVariables
bool setNumberOfVariables(int numberOfVariables)
JobOption::otherOptions
OtherOptions * otherOptions
list of other job options
Definition: OSOption.h:1111
SolverOption::type
std::string type
the type of the option value (integer, double, boolean, string)
Definition: OSOption.h:3361
InitVarValueString::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitConValue::value
double value
initial value
Definition: OSOption.h:2774
OSOption::getObjectiveInitialBasisStatusDense
int * getObjectiveInitialBasisStatusDense(int numberOfObjectives)
Get the initial basis status for all objectives in dense form.
SOSWeights::groupWeight
double groupWeight
branching weight for the entire SOS
Definition: OSOption.h:1783
OSOption::getJobDependencies
std::string * getJobDependencies()
Get the array of job dependencies.
OtherObjectiveOption::category
std::string category
name of the category into which this option falls
Definition: OSOption.h:2594
OtherObjectiveOption::IsEqual
bool IsEqual(OtherObjectiveOption *that)
A function to check for the equality of two objects.
OtherVarOption::ubValue
std::string ubValue
lower bound on the value
Definition: OSOption.h:1944
OSOption::getOutputFilesToMove
PathPair ** getOutputFilesToMove()
Get the array of output files to move.
OtherVarOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::~OSOption
~OSOption()
Class destructor.
OtherVariableOption::description
std::string description
description of the option
Definition: OSOption.h:2015
InstanceLocationOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitVarValueString::IsEqual
bool IsEqual(InitVarValueString *that)
A function to check for the equality of two objects.
SolverOption::~SolverOption
~SolverOption()
Class destructor.
SolverOption::item
std::string * item
the list of items of the option
Definition: OSOption.h:3370
InitVariableValuesString::IsEqual
bool IsEqual(InitVariableValuesString *that)
A function to check for the equality of two objects.
SystemOption::minCPUNumber
CPUNumber * minCPUNumber
the minimum number of processors required
Definition: OSOption.h:559
InitVariableValuesString::~InitVariableValuesString
~InitVariableValuesString()
Class destructor.
InitConstraintValues
the InitConstraintValues class.
Definition: OSOption.h:2822
MinCPUNumber::value
int value
the minimum number of CPUs required
Definition: OSOption.h:512
InitConstraintValues::addCon
bool addCon(int idx, double value)
A function to add a <con> element.
OSOption::setOptionStr
bool setOptionStr(std::string optionName, std::string optionValue)
OtherConOption::OtherConOption
OtherConOption()
Default constructor.
ObjectiveOption::setOther
bool setOther(int numberOfOptions, OtherObjectiveOption **other)
A function to set an array of <other> elements.
MinDiskSpace::MinDiskSpace
MinDiskSpace()
Default constructor.
InitVariableValues::var
InitVarValue ** var
initial value for each variable
Definition: OSOption.h:1226
OtherConOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
DirectoriesAndFiles::numberOfPaths
int numberOfPaths
the number of <path> children
Definition: OSOption.h:785
OSOption::getDirectoriesToMake
std::string * getDirectoriesToMake()
Get the array of directories to make.
MinMemorySize::value
double value
the minimum memory size required
Definition: OSOption.h:425
OSOption::getMinCPUSpeed
double getMinCPUSpeed()
Get the minimum required CPU speed.
OSGeneral.h
OSOption::getNumberOfSOS
int getNumberOfSOS()
Get the number of special ordered sets for which branching weights are provided.
OtherConstraintOption::name
std::string name
name of the option
Definition: OSOption.h:3167
OtherObjectiveOption::~OtherObjectiveOption
~OtherObjectiveOption()
Class destructor.
StorageCapacity
the StorageCapacity class.
Definition: OSGeneral.h:754
OtherConOption::ubValue
std::string ubValue
upper bound of the option
Definition: OSOption.h:3108
OSOption::getInstanceName
std::string getInstanceName()
Get the instance name.
OSOption::getContactTransportType
std::string getContactTransportType()
Get the transport type.
OtherObjectiveOption::numberOfEnumerations
int numberOfEnumerations
number of <enumeration> child elements
Definition: OSOption.h:2582
OSOption::setOtherOptionOrResultEnumeration
bool setOtherOptionOrResultEnumeration(int object, int otherOptionNumber, int enumerationNumber, int numberOfEl, std::string value, std::string description, int *idxArray)
Set one enumeration associated with an <other> option in the <variables>, <objectives> or <constraint...
SolverOptions::setSolverOptions
bool setSolverOptions(int numberOfOptions, SolverOption **solverOption)
A function to set an array of solver options.
BranchingWeight::~BranchingWeight
~BranchingWeight()
Class destructor.
OSOption::getOtherSystemOptions
OtherOption ** getOtherSystemOptions()
Get the array of other options associated with the <system> element.
ServiceOption::otherOptions
OtherOptions * otherOptions
the list of other service options
Definition: OSOption.h:618
PathPairs::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherConstraintOption::value
std::string value
value of the option
Definition: OSOption.h:3170
MinMemorySize::MinMemorySize
MinMemorySize()
Default constructor.
ContactOption::~ContactOption
~ContactOption()
Class destructor.
InitDualVarValue::name
std::string name
optional variable name
Definition: OSOption.h:2932
ConstraintOption::~ConstraintOption
~ConstraintOption()
Class destructor.
OtherVariableOption::OtherVariableOption
OtherVariableOption()
Default constructor.
OtherOptions::numberOfOtherOptions
int numberOfOtherOptions
the number of other options
Definition: OSOption.h:216
InstanceLocationOption::~InstanceLocationOption
~InstanceLocationOption()
Class destructor.
OtherVariableOption::IsEqual
bool IsEqual(OtherVariableOption *that)
A function to check for the equality of two objects.
InitObjectiveBounds::numberOfObj
int numberOfObj
number of <obj> children
Definition: OSOption.h:2410
GeneralOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
BranchingWeight::deepCopyFrom
bool deepCopyFrom(BranchingWeight *that)
A function to make a deep copy of an instance of this class.
InitObjectiveValues
the InitObjectiveValues class.
Definition: OSOption.h:2241
OSOption::setOtherSystemOptions
bool setOtherSystemOptions(int numberOfOptions, OtherOption **other)
OSOption::setLicense
bool setLicense(std::string license)
Set the license information.
InitObjBound::deepCopyFrom
bool deepCopyFrom(InitObjBound *that)
A function to make a deep copy of an instance of this class.
MaxTime::~MaxTime
~MaxTime()
Class destructor.
OptimizationOption::IsEqual
bool IsEqual(OptimizationOption *that)
A function to check for the equality of two objects.
OtherConstraintOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitConstraintValues::InitConstraintValues
InitConstraintValues()
Default constructor.
VariableOption::addOther
bool addOther(OtherVariableOption *other)
A function to add an <other> element.
ServiceOption::deepCopyFrom
bool deepCopyFrom(ServiceOption *that)
A function to make a deep copy of an instance of this class.
MinDiskSpace::value
double value
the minimum disk space required
Definition: OSOption.h:380
MinCPUNumber::description
std::string description
additional description about the CPU
Definition: OSOption.h:509
ENUM_COMBINE_ARRAYS
ENUM_COMBINE_ARRAYS
An enum to streamline set() methods of vectors.
Definition: OSParameters.h:820
JobOption::inputDirectoriesToMove
PathPairs * inputDirectoriesToMove
input directories to move or copy
Definition: OSOption.h:1090
SOSVariableBranchingWeights::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::getInitObjLowerBoundsDense
double * getInitObjLowerBoundsDense()
Get the initial lower bounds associated with the objectives in dense form.
ObjectiveOption::numberOfOtherObjectiveOptions
int numberOfOtherObjectiveOptions
number of <other> child elements
Definition: OSOption.h:2686
InitObjValue::~InitObjValue
~InitObjValue()
Class destructor.
InitBasStatus::InitBasStatus
InitBasStatus()
Default constructor.
OSOption::setAnotherInputFileToMove
bool setAnotherInputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
OtherObjectiveOption::addObj
bool addObj(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a <obj> element.
OtherConstraintOption::OtherConstraintOption
OtherConstraintOption()
Default constructor.
OtherObjectiveOption::solver
std::string solver
name of the solver to which this option applies
Definition: OSOption.h:2591
OtherObjectiveOption::numberOfObj
int numberOfObj
number of <obj> children
Definition: OSOption.h:2579
OtherVariableOption::solver
std::string solver
name of the solver to which this option applies
Definition: OSOption.h:2006
OtherObjOption::~OtherObjOption
~OtherObjOption()
Class destructor.
OSOption::getOtherObjectiveOptions
std::vector< OtherObjectiveOption * > getOtherObjectiveOptions(std::string solver_name)
Get the array of other objective options.
InitConValue::idx
int idx
constraint index
Definition: OSOption.h:2768
OtherConOption
the OtherConOption class.
Definition: OSOption.h:3091
OSOption::getFileDescription
std::string getFileDescription()
Get a description for the file or problem.
OSOption::setAnotherInitObjBound
bool setAnotherInitObjBound(int idx, double lbValue, double ubValue)
JobOption::requiredFiles
DirectoriesAndFiles * requiredFiles
files required to run the job
Definition: OSOption.h:1081
OSOption::getNumberOfProcessesToKill
int getNumberOfProcessesToKill()
Get the number of processes to kill.
DirectoriesAndFiles::IsEqual
bool IsEqual(DirectoriesAndFiles *that)
A function to check for the equality of two objects.
OSOption::setIntegerVariableBranchingWeightsSparse
bool setIntegerVariableBranchingWeightsSparse(int numberOfVar, BranchingWeight **var)
OSOption::setContactTransportType
bool setContactTransportType(std::string transportType)
Set the transport type for contact.
OSOption::setInstanceLocation
bool setInstanceLocation(std::string instanceLocation)
Set the instance location.
OptimizationOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherObjOption::value
std::string value
value of the option
Definition: OSOption.h:2520
OtherConstraintOption::solver
std::string solver
name of the solver to which this option applies
Definition: OSOption.h:3173
OtherObjectiveOption::name
std::string name
name of the option
Definition: OSOption.h:2585
InstanceLocationOption::InstanceLocationOption
InstanceLocationOption()
Default constructor.
OSOption::getNumberOfObjectives
int getNumberOfObjectives()
Get the number of objectives in the instance.
SOSVariableBranchingWeights::deepCopyFrom
bool deepCopyFrom(SOSVariableBranchingWeights *that)
A function to make a deep copy of an instance of this class.
OSOption::getFileSource
std::string getFileSource()
Get the source of the file or problem.
OSOption::setAnotherIntegerVariableBranchingWeight
bool setAnotherIntegerVariableBranchingWeight(int idx, double value)
InitVarValueString::idx
int idx
variable index
Definition: OSOption.h:1325
InitObjBound::idx
int idx
objective index
Definition: OSOption.h:2348
OtherObjOption
the OtherObjOption class.
Definition: OSOption.h:2509
OSOption::setNumberOfSolverOptions
bool setNumberOfSolverOptions(int numberOfOptions)
JobOption::~JobOption
~JobOption()
Class destructor.
ObjectiveOption::initialObjectiveValues
InitObjectiveValues * initialObjectiveValues
initial values for the objectives
Definition: OSOption.h:2689
JobOption::directoriesToMake
DirectoriesAndFiles * directoriesToMake
directories to make during the job
Definition: OSOption.h:1084
OSOption::getIntegerVariableBranchingWeightsSparse
BranchingWeight ** getIntegerVariableBranchingWeightsSparse()
Get the integer branching weights in sparse form.
OSOption::getInitObjBoundsSparse
InitObjBound ** getInitObjBoundsSparse()
Get the initial bounds associated with the objectives in sparse form.
GeneralOption::deepCopyFrom
bool deepCopyFrom(GeneralOption *that)
A function to make a deep copy of an instance of this class.
SystemOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
SOSVariableBranchingWeights::sos
SOSWeights ** sos
branching weights for the SOS
Definition: OSOption.h:1861
OSOption::setInstanceName
bool setInstanceName(std::string instanceName)
Set the instance name.
OtherConstraintOption::IsEqual
bool IsEqual(OtherConstraintOption *that)
A function to check for the equality of two objects.
IntegerVariableBranchingWeights
the IntegerVariableBranchingWeights class.
Definition: OSOption.h:1671
OtherVariableOption::enumType
std::string enumType
type of the values in the enumeration array
Definition: OSOption.h:2030
MinCPUNumber::MinCPUNumber
MinCPUNumber()
Default constructor.
BranchingWeight::IsEqual
bool IsEqual(BranchingWeight *that)
A function to check for the equality of two objects.
SOSWeights::IsEqual
bool IsEqual(SOSWeights *that)
A function to check for the equality of two objects.
InitBasStatus::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::getInitDualVarLowerBoundsDense
double * getInitDualVarLowerBoundsDense()
Get the initial dual variables associated with the lower bounds in dense form.
OSOption::getOptionStr
std::string getOptionStr(std::string optionName)
Get any of the string-valued options.
JobOption::inputFilesToMove
PathPairs * inputFilesToMove
input files to move or copy
Definition: OSOption.h:1093
OtherObjectiveOption::type
std::string type
type of the option value (integer, double, boolean, string)
Definition: OSOption.h:2597
GeneralOption::password
std::string password
the password
Definition: OSOption.h:314
OSOption::getServiceName
std::string getServiceName()
Get the service name.
InstanceLocationOption::value
std::string value
the value of the <instanceLocation> element
Definition: OSOption.h:47
BranchingWeight::idx
int idx
index of the variable
Definition: OSOption.h:1616
OSOption::setAnotherOutputDirectoryToMove
bool setAnotherOutputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy)
OSOption::getOtherVariableOptions
std::vector< OtherVariableOption * > getOtherVariableOptions(std::string solver_name)
Get the <other> variable options associated with a particular solver.
ConstraintOption::ConstraintOption
ConstraintOption()
Default constructor.
OSOption::getNumberOfInitObjValues
int getNumberOfInitObjValues()
Get the number of initial objective values.
JobDependencies::IsEqual
bool IsEqual(JobDependencies *that)
A function to check for the equality of two objects.
JobOption::JobOption
JobOption()
Default constructor.
JobOption::IsEqual
bool IsEqual(JobOption *that)
A function to check for the equality of two objects.
OSOption::getNumberOfOtherServiceOptions
int getNumberOfOtherServiceOptions()
Get the number of <other> options in the <service> element.
MinCPUSpeed::IsEqual
bool IsEqual(MinCPUSpeed *that)
A function to check for the equality of two objects.
ContactOption::ContactOption
ContactOption()
Default constructor.
OSOption::setAnOtherSystemOption
bool setAnOtherSystemOption(std::string name, std::string value, std::string description)
OSOption::getMinDiskSpace
double getMinDiskSpace()
Get the minimum required disk space.
InstanceLocationOption::locationType
std::string locationType
the type of the location
Definition: OSOption.h:44
OSOption::getInstanceLocationType
std::string getInstanceLocationType()
Get the location type.
InitDualVarValue::deepCopyFrom
bool deepCopyFrom(InitDualVarValue *that)
A function to make a deep copy of an instance of this class.
VariableOption::~VariableOption
~VariableOption()
Class destructor.
InitObjectiveBounds::InitObjectiveBounds
InitObjectiveBounds()
Default constructor.
OSOption::setInitConValuesSparse
bool setInitConValuesSparse(int numberOfCon, InitConValue **con)
OSOption::setOtherVariableOptions
bool setOtherVariableOptions(int numberOfVar, OtherVariableOption **var)
InitObjBound::name
std::string name
optional variable name
Definition: OSOption.h:2351
SOSVariableBranchingWeights::addSOS
bool addSOS(int sosIdx, int nvar, double weight, int *idx, double *value, std::string *name)
A function to add an <sos> element.
InitConValue::~InitConValue
~InitConValue()
Class destructor.
OSOption::getAllOtherOptions
OtherOption ** getAllOtherOptions()
Get the array of all other options associated with the <general>, <system>, <service> and <job> eleme...
SOSVariableBranchingWeights::SOSVariableBranchingWeights
SOSVariableBranchingWeights()
Default constructor.
MinMemorySize
the MinMemorySize class.
Definition: OSOption.h:414
MinCPUNumber::IsEqual
bool IsEqual(MinCPUNumber *that)
A function to check for the equality of two objects.
SOSVariableBranchingWeights::setSOS
bool setSOS(int numberOfSOS, SOSWeights **sos)
A function to set an array of <sos> elements.
VariableOption::IsEqual
bool IsEqual(VariableOption *that)
A function to check for the equality of two objects.
OSOption::setOtherObjectiveOptionAttributes
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 <other> <objective> option.
OSOption::setInitConValues
bool setInitConValues(int numberOfCon, int *idx, double *value, std::string *name)
SolverOptions
the SolverOptions class.
Definition: OSOption.h:3418
InitObjBound::IsEqual
bool IsEqual(InitObjBound *that)
A function to check for the equality of two objects.
InitDualVarValue::idx
int idx
constraint index
Definition: OSOption.h:2929
SOSVariableBranchingWeights::~SOSVariableBranchingWeights
~SOSVariableBranchingWeights()
Class destructor.
InitDualVariableValues::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OptimizationOption::solverOptions
SolverOptions * solverOptions
other solver options
Definition: OSOption.h:3518
OtherObjectiveOption::obj
OtherObjOption ** obj
array of option values
Definition: OSOption.h:2603
OSOption::getAllOtherVariableOptions
OtherVariableOption ** getAllOtherVariableOptions()
Get all <other> variable options.
PathPairs::addPathPair
bool addPathPair(std::string fromPath, std::string toPath, bool makeCopy)
A function to add a <pathPair> element.
JobDependencies::setJobID
bool setJobID(int numberOfJobIDs, std::string *jobID)
A function to set an array of <jobID> elements.
InitDualVariableValues::addCon
bool addCon(int idx, double lbDualValue, double ubDualValue)
A function to add a <con> element.
Processes::Processes
Processes()
Default constructor.
MinCPUNumber::~MinCPUNumber
~MinCPUNumber()
Class destructor.
OSOption::setRequestedStartTime
bool setRequestedStartTime(std::string time)
OSOption::getRequiredFiles
std::string * getRequiredFiles()
Get the array of required files.
OSOption::setMinCPUSpeed
bool setMinCPUSpeed(std::string unit, std::string description, double value)
Set the minimum CPU speed required for the current job.
SOSWeights::var
BranchingWeight ** var
branching weights for individual variables
Definition: OSOption.h:1789
OSOption::setIntegerVariableBranchingWeights
bool setIntegerVariableBranchingWeights(int numberOfVar, int *idx, double *value, std::string *name)
DirectoriesAndFiles
the DirectoriesAndFiles class.
Definition: OSOption.h:780
OSOption::setInstanceLocationType
bool setInstanceLocationType(std::string locationType)
Set the instance location type.
OSOption::getMinDiskSpaceDescription
std::string getMinDiskSpaceDescription()
get the disk space description
OSOption::setAnotherJobDependency
bool setAnotherJobDependency(std::string jobID)
OtherObjectiveOption
the OtherObjectiveOption class.
Definition: OSOption.h:2574
JobDependencies::jobID
std::string * jobID
the list of job IDs
Definition: OSOption.h:717
MinCPUNumber
the MinCPUNumber class.
Definition: OSOption.h:504
OSOption::getNumberOfDirectoriesToDelete
int getNumberOfDirectoriesToDelete()
Get the number of directories to delete.
OSOption::setOtherJobOptions
bool setOtherJobOptions(int numberOfOptions, OtherOption **other)
OtherOption::name
std::string name
the name of the option
Definition: OSOption.h:157
InitBasStatus::value
std::string value
initial value
Definition: OSOption.h:1489
OtherObjectiveOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherConOption::idx
int idx
variable index
Definition: OSOption.h:3096
InitObjectiveBounds::deepCopyFrom
bool deepCopyFrom(InitObjectiveBounds *that)
A function to make a deep copy of an instance of this class.
InitVariableValues::addVar
bool addVar(int idx, double value)
A function to add a element.
InitObjBound::ubValue
double ubValue
initial upper bound
Definition: OSOption.h:2357
IntegerVariableBranchingWeights::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitObjectiveBounds::addObj
bool addObj(int idx, double lbValue, double ubValue)
A function to add a <obj> element.
PathPairs::PathPairs
PathPairs()
Default constructor.
OtherOption::OtherOption
OtherOption()
Default constructor.
InstanceLocationOption::deepCopyFrom
bool deepCopyFrom(InstanceLocationOption *that)
A function to make a deep copy of an instance of this class.
Processes::IsEqual
bool IsEqual(Processes *that)
A function to check for the equality of two objects.
OSOption::getVariableInitialBasisStatusDense
int * getVariableInitialBasisStatusDense(int numberOfVariables)
Get the initial basis status for all variables in dense form.
InitDualVarValue::InitDualVarValue
InitDualVarValue()
Default constructor.
ContactOption::deepCopyFrom
bool deepCopyFrom(ContactOption *that)
A function to make a deep copy of an instance of this class.
InitDualVarValue::lbDualValue
double lbDualValue
initial lower bound
Definition: OSOption.h:2935
OtherVariableOption::deepCopyFrom
bool deepCopyFrom(OtherVariableOption *that)
A function to make a deep copy of an instance of this class.
OSOption::setInitVarValuesDense
bool setInitVarValuesDense(int numberOfVar, double *value)
OtherOption::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::getNumberOfConstraints
int getNumberOfConstraints()
Get the number of constraints in the instance.
VariableOption::integerVariableBranchingWeights
IntegerVariableBranchingWeights * integerVariableBranchingWeights
branching weights for integer variables
Definition: OSOption.h:2113
OtherOptions::IsEqual
bool IsEqual(OtherOptions *that)
A function to check for the equality of two objects.
InitObjBound::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
SystemOption::otherOptions
OtherOptions * otherOptions
the list of other system options
Definition: OSOption.h:562
DirectoriesAndFiles::path
std::string * path
the list of directory and file paths
Definition: OSOption.h:788
InitVarValueString::InitVarValueString
InitVarValueString()
Default constructor.
OSOption::getInitDualVarValuesSparse
InitDualVarValue ** getInitDualVarValuesSparse()
Get the initial bounds associated with the dual variables in sparse form.
OSOption::setAnotherRequiredDirectory
bool setAnotherRequiredDirectory(std::string path)
OSOption::getMinCPUNumber
int getMinCPUNumber()
Get the minimum required number of CPUs.
BranchingWeight::name
std::string name
optional variable name
Definition: OSOption.h:1619
OSOption::job
JobOption * job
jobOption holds the fourth child of the OSOption specified by the OSoL Schema.
Definition: OSOption.h:3592
InitDualVariableValues::~InitDualVariableValues
~InitDualVariableValues()
Class destructor.
ObjectiveOption::initialBasisStatus
BasisStatus * initialBasisStatus
initial basis status for the objectives
Definition: OSOption.h:2695
OSOption::setOtherConstraintOptionCon
bool setOtherConstraintOptionCon(int otherOptionNumber, int conNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one <con> element associated with an <other> option in the <constraints> element.
OtherOption::value
std::string value
the value of the option
Definition: OSOption.h:160
InitObjValue::idx
int idx
objective index
Definition: OSOption.h:2187
OSOption::getAllSolverOptions
SolverOption ** getAllSolverOptions()
Get all solver options.
OSOption::getInputFilesToMove
PathPair ** getInputFilesToMove()
Get the array of input files to move.
OSOption::system
SystemOption * system
systemOption holds the second child of the OSOption specified by the OSoL Schema.
Definition: OSOption.h:3584
OSOption::optimization
OptimizationOption * optimization
optimizationOption holds the fifth child of the OSOption specified by the OSoL Schema.
Definition: OSOption.h:3596
OSOption::getFileLicence
std::string getFileLicence()
Get licence information associated with the file.
InitDualVarValue::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::getInitVarValuesDense
double * getInitVarValuesDense()
Get the initial values associated with the variables in dense form.
OtherConstraintOption::enumType
std::string enumType
type of the values in the enumeration array
Definition: OSOption.h:3197
VariableOption::numberOfOtherVariableOptions
int numberOfOtherVariableOptions
number of <other> child elements
Definition: OSOption.h:2101
OSOption::setRequiredDirectories
bool setRequiredDirectories(int numberOfPaths, std::string *paths)
OptimizationOption::OptimizationOption
OptimizationOption()
Default constructor.
OtherObjectiveOption::OtherObjectiveOption
OtherObjectiveOption()
Default constructor.
InitVarValue::IsEqual
bool IsEqual(InitVarValue *that)
A function to check for the equality of two objects.
OSOption::getNumberOfIntegerVariableBranchingWeights
int getNumberOfIntegerVariableBranchingWeights()
Get the number of variables for which integer branching weights are provided.
OtherConOption::IsEqual
bool IsEqual(OtherConOption *that)
A function to check for the equality of two objects.
OSOption::getInitVarValuesStringDense
std::string * getInitVarValuesStringDense()
Get the initial value strings associated with the variables in dense form.
DirectoriesAndFiles::setRandom
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OSOption::setOptionDbl
bool setOptionDbl(std::string optionName, double value)
MinCPUSpeed::MinCPUSpeed
MinCPUSpeed()
Default constructor.
DirectoriesAndFiles::deepCopyFrom
bool deepCopyFrom(DirectoriesAndFiles *that)
A function to make a deep copy of an instance of this class.
OSOption::getMinMemorySize
double getMinMemorySize()
Get the minimum required memory.
GeneralOption::jobID
std::string jobID
the job ID
Definition: OSOption.h:302