OS  2.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OSOption.h
Go to the documentation of this file.
1 /* $Id: OSOption.h 4918 2015-01-24 03:36:38Z Gassmann $ */
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 OtherOptionEnumeration 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 OtherOptionEnumeration 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 OtherOptionEnumeration 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 
3985 
3991  int getNumberOfSOS();
3992 
3998  int getNumberOfSOSVarBranchingWeights(int iSOS);
3999 
4006 
4013 
4020 
4027 
4034 
4041 
4048 
4055 
4059  int getOptionInt(std::string optionName);
4060 
4061 
4070 
4079 
4088 
4097 
4105  OtherOption** getOtherOptions(std::string elementName);
4106 
4107 
4116 
4123  std::string* getJobDependencies();
4124 
4132  std::string* getRequiredDirectories();
4133 
4141  std::string* getRequiredFiles();
4142 
4150  std::string* getDirectoriesToMake();
4151 
4159  std::string* getFilesToMake();
4160 
4169 
4178 
4187 
4196 
4204  std::string* getDirectoriesToDelete();
4205 
4213  std::string* getFilesToDelete();
4214 
4222  std::string* getProcessesToKill();
4223 
4232 
4240  double* getInitVarValuesDense();
4241 
4250  double* getInitVarValuesDense(int numberOfVariables);
4251 
4260 
4268  std::string *getInitVarValuesStringDense();
4269 
4278  std::string *getInitVarValuesStringDense(int numberOfVariables);
4279 
4288 
4296  std::string *getInitBasisStatusDense();
4297 
4306  int* getVariableInitialBasisStatusDense(int numberOfVariables);
4307 
4318  int getNumberOfInitialBasisElements(int type, int status);
4319 
4331  bool getInitialBasisElements(int type, int status, int* elem);
4332 
4341 
4350 
4359  double* getIntegerVariableBranchingWeightsDense(int numberOfVariables);
4360 
4369 
4378  std::vector<OtherVariableOption*> getOtherVariableOptions(std::string solver_name);
4379 
4387  OtherVariableOption* getOtherVariableOption(int optionNumber);
4388 
4396 
4405 
4413  double *getInitObjValuesDense();
4414 
4423  double *getInitObjValuesDense(int numberOfObjectives);
4424 
4433 
4441  double *getInitObjLowerBoundsDense();
4442 
4451  double *getInitObjLowerBoundsDense(int numberOfObjectives);
4452 
4460  double *getInitObjUpperBoundsDense();
4461 
4470  double *getInitObjUpperBoundsDense(int numberOfObjectives);
4471 
4480  int* getObjectiveInitialBasisStatusDense(int numberOfObjectives);
4481 
4489  std::vector<OtherObjectiveOption*> getOtherObjectiveOptions(std::string solver_name);
4490 
4498  OtherObjectiveOption* getOtherObjectiveOption(int optionNumber);
4499 
4507 
4516 
4524  double *getInitConValuesDense();
4525 
4534  double *getInitConValuesDense(int numberOfConstraints);
4535 
4544 
4553 
4562  double *getInitDualVarLowerBoundsDense(int numberOfConstraints);
4563 
4564 
4573 
4582  double *getInitDualVarUpperBoundsDense(int numberOfConstraints);
4583 
4592  int* getSlackVariableInitialBasisStatusDense(int numberOfConstraints);
4593 
4601  std::vector<OtherConstraintOption*> getOtherConstraintOptions(std::string solver_name);
4602 
4611 
4619 
4628  std::vector<SolverOption*> getSolverOptions( std::string solver_name);
4629 
4630 
4642  std::vector<SolverOption*> getSolverOptions( std::string solver_name, bool getFreeOptions);
4643 
4651 
4652  /* --------------------------------------------------
4653  * set() methods
4654  * -------------------------------------------------- */
4655 
4659  bool setServiceURI( std::string serviceURI);
4660 
4664  bool setServiceName( std::string serviceName);
4665 
4669  bool setInstanceName( std::string instanceName);
4670 
4674  bool setInstanceLocation( std::string instanceLocation);
4675 
4680  bool setInstanceLocation( std::string instanceLocation, std::string locationType);
4681 
4685  bool setInstanceLocationType( std::string locationType);
4686 
4690  bool setJobID( std::string jobID);
4691 
4695  bool setSolverToInvoke( std::string solverToInvoke);
4696 
4700  bool setLicense( std::string license);
4701 
4705  bool setUserName( std::string userName);
4706 
4710  bool setPassword( std::string password);
4711 
4715  bool setContact( std::string contact);
4716 
4721  bool setContact( std::string contact, std::string transportType);
4722 
4726  bool setContactTransportType( std::string transportType);
4727 
4733  bool setOtherGeneralOptions(int numberOfOptions, OtherOption** other);
4734 
4741  bool setAnOtherGeneralOption(std::string name, std::string value, std::string description);
4742 
4749  bool setMinDiskSpace(std::string unit, std::string description, double value);
4750 
4754  bool setMinDiskSpace(double value);
4755 
4756  bool setMinDiskSpaceUnit(std::string unit);
4757 
4764  bool setMinMemorySize(std::string unit, std::string description, double value);
4765 
4769  bool setMinMemorySize(double value);
4770 
4771  bool setMinMemoryUnit(std::string unit);
4772 
4779  bool setMinCPUSpeed(std::string unit, std::string description, double value);
4780 
4784  bool setMinCPUSpeed(double value);
4785 
4786  bool setMinCPUSpeedUnit(std::string unit);
4787 
4793  bool setMinCPUNumber( int number, std::string description);
4794 
4798  bool setMinCPUNumber( int number);
4799 
4800  bool setOtherSystemOptions(int numberOfOptions, OtherOption** other);
4801 
4802  bool setAnOtherSystemOption(std::string name, std::string value, std::string description);
4803 
4804 
4805  bool setServiceType( std::string serviceType);
4806 
4807  bool setOtherServiceOptions(int numberOfOptions, OtherOption** other);
4808 
4809  bool setAnOtherServiceOption(std::string name, std::string value, std::string description);
4810 
4811 
4812  bool setMaxTime(double value, std::string unit);
4813 
4814  bool setMaxTime(double value);
4815 
4816  bool setMaxTimeUnit(std::string unit);
4817 
4818  bool setRequestedStartTime(std::string time);
4819 
4820  bool setJobDependencies(int numberOfDependencies, std::string* jobDependencies);
4821  bool setAnotherJobDependency(std::string jobID);
4822 
4823  bool setRequiredDirectories(int numberOfPaths, std::string* paths);
4824  bool setAnotherRequiredDirectory(std::string path);
4825 
4826  bool setRequiredFiles(int numberOfPaths, std::string* paths);
4827  bool setAnotherRequiredFile(std::string path);
4828 
4829  bool setDirectoriesToMake(int numberOfPaths, std::string* paths);
4830  bool setAnotherDirectoryToMake(std::string path);
4831 
4832  bool setFilesToMake(int numberOfPaths, std::string* paths);
4833  bool setAnotherFileToMake(std::string path);
4834 
4852  bool setPathPairs(int object, std::string *from, std::string *to, bool *makeCopy, int numberOfPathPairs);
4853 
4854  bool setInputDirectoriesToMove(int numberOfPathPairs, PathPair** pathPair);
4855  bool setAnotherInputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy);
4856 
4857  bool setInputFilesToMove(int numberOfPathPairs, PathPair** pathPair);
4858  bool setAnotherInputFileToMove(std::string fromPath, std::string toPath, bool makeCopy);
4859 
4860  bool setOutputFilesToMove(int numberOfPathPairs, PathPair** pathPair);
4861  bool setAnotherOutputFileToMove(std::string fromPath, std::string toPath, bool makeCopy);
4862 
4863  bool setOutputDirectoriesToMove(int numberOfPathPairs, PathPair** pathPair);
4864  bool setAnotherOutputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy);
4865 
4866  bool setFilesToDelete(int numberOfPaths, std::string* paths);
4867  bool setAnotherFileToDelete(std::string path);
4868 
4869  bool setDirectoriesToDelete(int numberOfPaths, std::string* paths);
4870  bool setAnotherDirectoryToDelete(std::string path);
4871 
4872  bool setProcessesToKill(int numberOfProcesses, std::string* processes);
4873  bool setAnotherProcessToKill(std::string process);
4874 
4875  bool setOtherJobOptions(int numberOfOptions, OtherOption** other);
4876  bool setAnOtherJobOption(std::string name, std::string value, std::string description);
4877 
4878 
4879  bool setNumberOfVariables(int numberOfVariables);
4880 
4881  bool setNumberOfObjectives(int numberOfObjectives);
4882 
4883  bool setNumberOfConstraints(int numberOfConstraints);
4884 
4885  bool setInitVarValues(int numberOfVar, int* idx, double* value, std::string* name);
4886  bool setInitVarValuesSparse(int numberOfVar, InitVarValue** var);
4887  bool setInitVarValuesSparse(int numberOfVar, InitVarValue** var, ENUM_COMBINE_ARRAYS disp);
4888  bool setInitVarValuesDense(int numberOfVar, double *value);
4889  bool setAnotherInitVarValue(int idx, double value);
4890 
4891  bool setInitVarValuesString(int numberOfVar, int* idx, std::string* value, std::string* name);
4892  bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString** var);
4893  bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString** var, ENUM_COMBINE_ARRAYS disp);
4894  bool setInitVarValuesStringDense(int numberOfVar, std::string *value);
4895  bool setAnotherInitVarValueString(int idx, std::string value);
4896 
4897  bool setInitBasisStatus(int object, int status, int *i, int ni);
4898  bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus** var);
4899  bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus** var, ENUM_COMBINE_ARRAYS disp);
4900  bool setInitBasisStatusDense(int numberOfVar, std::string *var);
4901 
4910  bool setAnotherInitBasisStatus(int type, int idx, int status);
4911 
4912  bool setIntegerVariableBranchingWeights(int numberOfVar, int* idx, double* value, std::string* name);
4913  bool setIntegerVariableBranchingWeightsSparse(int numberOfVar, BranchingWeight** var);
4915  bool setIntegerVariableBranchingWeightsDense(int numberOfVar, double *value);
4916  bool setAnotherIntegerVariableBranchingWeight(int idx, double value);
4917 
4918  bool setSOSVariableBranchingWeights(int numberOfSOS, SOSWeights** sos);
4919  bool setAnotherSOSVariableBranchingWeight(int sosIdx, int nvar, double weight, int* idx, double* value, std::string* name);
4920 
4921  bool setNumberOfOtherVariableOptions(int numberOfOther);
4922  bool setOtherVariableOptions(int numberOfVar, OtherVariableOption** var);
4924 
4940  bool setOtherVariableOptionAttributes(int iOther, int numberOfVar,
4941  int numberOfEnumerations, std::string name,
4942  std::string value, std::string solver,
4943  std::string category, std::string type,
4944  std::string varType, std::string enumType,
4945  std::string description);
4946 
4947 
4960  bool setOtherOptionEnumeration(int object, int otherOptionNumber, int enumerationNumber,
4961  int numberOfEl, std::string value, std::string description, int* idxArray);
4962 
4973  bool setOtherVariableOptionVar(int otherOptionNumber, int varNumber,
4974  int idx, std::string name, std::string value, std::string lbValue, std::string ubValue);
4975 
4976  bool setInitObjValues(int numberOfObj, int* idx, double* value, std::string* name);
4977  bool setInitObjValuesSparse(int numberOfObj, InitObjValue** obj);
4978  bool setInitObjValuesSparse(int numberOfObj, InitObjValue** obj, ENUM_COMBINE_ARRAYS disp);
4979  bool setInitObjValuesDense(int numberOfObj, double *value);
4980  bool setAnotherInitObjValue(int idx, double value);
4981 
4982  bool setInitObjBounds(int numberOfObj, int* idx, double* lbValue, double* ubValue, std::string* name);
4983  bool setInitObjBoundsSparse(int numberOfObj, InitObjBound** obj);
4984  bool setInitObjBoundsSparse(int numberOfObj, InitObjBound** obj, ENUM_COMBINE_ARRAYS disp);
4985  bool setInitObjBoundsDense(int numberOfObj, double *lb, double *ub);
4986  bool setAnotherInitObjBound(int idx, double lbValue, double ubValue);
4987 
4988  bool setNumberOfOtherObjectiveOptions(int numberOfOther);
4989  bool setOtherObjectiveOptions(int numberOfObj, OtherObjectiveOption** obj);
4990  //bool setOtherObjectiveOptions(int numberOfObj, OtherObjectiveOption** obj, ENUM_COMBINE_ARRAYS disp);
4992 
5008  bool setOtherObjectiveOptionAttributes(int iOther, int numberOfObj,
5009  int numberOfEnumerations, std::string name,
5010  std::string value, std::string solver,
5011  std::string category, std::string type,
5012  std::string objType, std::string enumType,
5013  std::string description);
5014 
5015 
5027  bool setOtherObjectiveOptionObj(int otherOptionNumber, int objNumber,
5028  int idx, std::string name, std::string value, std::string lbValue, std::string ubValue);
5029 
5030  bool setInitConValues(int numberOfCon, int* idx, double* value, std::string* name);
5031  bool setInitConValuesSparse(int numberOfCon, InitConValue** con);
5032  bool setInitConValuesSparse(int numberOfCon, InitConValue** con, ENUM_COMBINE_ARRAYS disp);
5033  bool setInitConValuesDense(int numberOfCon, double *value);
5034  bool setAnotherInitConValue(int idx, double value);
5035 
5036  bool setInitDualValues(int numberOfCon, int* idx, double* lbValue, double* ubValue, std::string* name);
5037  bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue** con);
5038  bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue** con, ENUM_COMBINE_ARRAYS disp);
5039  bool setInitDualVarValuesDense(int numberOfCon, double *lb, double *ub);
5040  bool setAnotherInitDualVarValue(int idx, double lbValue, double ubValue);
5041 
5042  bool setNumberOfOtherConstraintOptions(int numberOfOther);
5043  bool setOtherConstraintOptions(int numberOfOptions, OtherConstraintOption** other);
5044  //bool setOtherConstraintOptions(int numberOfOptions, OtherConstraintOption** other, ENUM_COMBINE_ARRAYS disp);
5046 
5062  bool setOtherConstraintOptionAttributes(int iOther, int numberOfCon,
5063  int numberOfEnumerations, std::string name,
5064  std::string value, std::string solver,
5065  std::string category, std::string type,
5066  std::string conType, std::string enumType,
5067  std::string description);
5068 
5069 
5081  bool setOtherConstraintOptionCon(int otherOptionNumber, int conNumber,
5082  int idx, std::string name, std::string value, std::string lbValue, std::string ubValue);
5083 
5084  bool setNumberOfSolverOptions(int numberOfOptions);
5085 
5099  bool setSolverOptionContent(int iOption, int numberOfItems,
5100  std::string name,
5101  std::string value, std::string solver,
5102  std::string category, std::string type,
5103  std::string description, std::string *itemList);
5104 
5105  bool setSolverOptions(int numberOfSolverOptions, SolverOption** solverOption);
5106  bool setAnotherSolverOption(std::string name, std::string value, std::string solver,
5107  std::string category, std::string type, std::string description);
5108 
5109 
5110  bool setOptionInt(std::string optionName, int optionValue);
5111 
5112  bool setOptionStr(std::string optionName, std::string optionValue);
5113 
5114  bool setOptionDbl(std::string optionName, double value);
5115 
5116 };//OSOption
5117 
5118 #endif
bool setObj(int numberOfObj, InitObjBound **obj)
A function to set an array of &lt;obj&gt; elements.
bool addOther(OtherObjectiveOption *other)
A function to add an &lt;other&gt; element.
int numberOfEnumerations
number of &lt;enumeration&gt; child elements
Definition: OSOption.h:3164
bool setContactTransportType(std::string transportType)
Set the transport type for contact.
bool setOtherVariableOptionAttributes(int iOther, int numberOfVar, int numberOfEnumerations, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string varType, std::string enumType, std::string description)
Set the attributes for one particular &lt;other&gt; &lt;variable&gt; option.
DirectoriesAndFiles * directoriesToMake
directories to make during the job
Definition: OSOption.h:1084
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfObj
number of &lt;obj&gt; children
Definition: OSOption.h:2246
double value
the maximum time allowed
Definition: OSOption.h:676
bool setAnotherRequiredFile(std::string path)
int idx
variable index
Definition: OSOption.h:1325
bool deepCopyFrom(GeneralOption *that)
A function to make a deep copy of an instance of this class.
double value
initial value
Definition: OSOption.h:1170
bool IsEqual(OtherOptions *that)
A function to check for the equality of two objects.
bool setAnotherInitVarValue(int idx, double value)
std::string userName
the username
Definition: OSOption.h:311
bool setInitVarValuesDense(int numberOfVar, double *value)
IntegerVariableBranchingWeights * integerVariableBranchingWeights
branching weights for integer variables
Definition: OSOption.h:2113
std::string name
optional variable name
Definition: OSOption.h:2932
int getNumberOfInitConValues()
Get the number of initial constraint values.
CPUSpeed * minCPUSpeed
the minimum CPU speed required
Definition: OSOption.h:556
std::string solverToInvoke
the solver to invoke
Definition: OSOption.h:305
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setVar(int numberOfVar, BranchingWeight **var)
A function to set an array of elements.
std::string objType
type of the values in the obj array
Definition: OSOption.h:2606
bool setIntegerVariableBranchingWeightsSparse(int numberOfVar, BranchingWeight **var)
int getNumberOfObjectives()
Get the number of objectives in the instance.
std::string * getInitBasisStatusDense()
Get the initial basis information in dense form.
std::string type
type of the option value (integer, double, boolean, string)
Definition: OSOption.h:2597
std::string ubValue
lower bound on the value
Definition: OSOption.h:2527
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(InitObjBound *that)
A function to check for the equality of two objects.
std::string enumType
type of the values in the enumeration array
Definition: OSOption.h:2615
OtherVariableOption()
Default constructor.
int idx
variable index
Definition: OSOption.h:1486
std::string transportType
the contact mechanism
Definition: OSOption.h:101
bool IsEqual(InitObjectiveValues *that)
A function to check for the equality of two objects.
bool setMinMemoryUnit(std::string unit)
OtherOptionEnumeration ** enumeration
Definition: OSOption.h:2612
bool setAnotherProcessToKill(std::string process)
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string name
optional variable name
Definition: OSOption.h:1167
std::string getUserName()
Get the user name.
bool IsEqual(VariableOption *that)
A function to check for the equality of two objects.
bool setLicense(std::string license)
Set the license information.
bool setVar(int numberOfVar, InitVarValue **var)
A function to set an array of elements.
bool setCon(int numberOfCon, InitDualVarValue **con)
A function to set an array of &lt;con&gt; elements.
int numberOfVar
number of children
Definition: OSOption.h:1545
bool IsEqual(InitObjValue *that)
A function to check for the equality of two objects.
int getNumberOfOtherServiceOptions()
Get the number of &lt;other&gt; options in the &lt;service&gt; element.
the ContactOption class.
Definition: OSOption.h:96
DirectoriesAndFiles * requiredFiles
files required to run the job
Definition: OSOption.h:1081
std::string name
the name of the option
Definition: OSOption.h:157
bool setAnotherInitObjValue(int idx, double value)
bool IsEqual(JobDependencies *that)
A function to check for the equality of two objects.
~InitConstraintValues()
Class destructor.
InitConstraintValues * initialConstraintValues
initial values for the constraints
Definition: OSOption.h:3271
std::string * getDirectoriesToDelete()
Get the array of directories to delete.
double * getIntegerVariableBranchingWeightsDense()
Get the integer branching weights in dense form.
bool setSolverOptions(int numberOfOptions, SolverOption **solverOption)
A function to set an array of solver options.
the TimeSpan class.
Definition: OSGeneral.h:924
std::string description
additional description about the memory
Definition: OSOption.h:422
bool setMinCPUSpeed(std::string unit, std::string description, double value)
Set the minimum CPU speed required for the current job.
std::string lbValue
lower bound on the value
Definition: OSOption.h:2524
~Processes()
Class destructor.
bool setAnotherInputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
std::string * getJobDependencies()
Get the array of job dependencies.
bool setIntegerVariableBranchingWeightsDense(int numberOfVar, double *value)
PathPair ** getOutputFilesToMove()
Get the array of output files to move.
bool IsEqual(ContactOption *that)
A function to check for the equality of two objects.
DirectoriesAndFiles()
Default constructor.
std::string type
the type of the option value (integer, double, boolean, string)
Definition: OSOption.h:3361
int numberOfOtherObjectiveOptions
number of &lt;other&gt; child elements
Definition: OSOption.h:2686
the OtherVarOption class.
Definition: OSOption.h:1927
int getNumberOfProcessesToKill()
Get the number of processes to kill.
bool setCon(int numberOfCon, OtherConOption **con)
A function to set an array of &lt;con&gt; elements.
std::string name
optional objective name
Definition: OSOption.h:2190
std::string getMinCPUNumberDescription()
Get the CPU description.
the Processes class.
Definition: OSOption.h:993
int * getVariableInitialBasisStatusDense(int numberOfVariables)
Get the initial basis status for all variables in dense form.
BranchingWeight()
Default constructor.
bool IsEqual(OtherConOption *that)
A function to check for the equality of two objects.
int getNumberOfSOSVarBranchingWeights(int iSOS)
Get the number of variables for which branching weights are provided in a particular SOS...
bool setInitVarValuesSparse(int numberOfVar, InitVarValue **var)
SOSVariableBranchingWeights * sosVariableBranchingWeights
branching weights for SOS variables and groups
Definition: OSOption.h:2116
int getOptionInt(std::string optionName)
Get any of the integer-valued options.
bool setAnotherFileToMake(std::string path)
bool setVar(int numberOfVar, InitVarValueString **var)
A function to set an array of elements.
bool setInitConValuesDense(int numberOfCon, double *value)
the InitObjValue class.
Definition: OSOption.h:2182
the OtherConstraintOption class.
Definition: OSOption.h:3156
the PathPair class.
Definition: OSOption.h:851
InitDualVariableValues()
Default constructor.
bool addVar(int idx, double value)
A function to add a element.
std::string type
type of the option value (integer, double, boolean, string)
Definition: OSOption.h:2012
PathPair ** getInputFilesToMove()
Get the array of input files to move.
StorageCapacity * minMemorySize
the minimum memory required
Definition: OSOption.h:553
int getNumberOfDirectoriesToDelete()
Get the number of directories to delete.
bool setOtherJobOptions(int numberOfOptions, OtherOption **other)
ServiceOption()
Default constructor.
the SOSWeights class.
Definition: OSOption.h:1775
std::string getFileCreator()
Get the name of the person who created the file.
double groupWeight
branching weight for the entire SOS
Definition: OSOption.h:1783
the CPUNumber class.
Definition: OSGeneral.h:871
int getNumberOfOtherSystemOptions()
Get the number of &lt;other&gt; options in the &lt;system&gt; element.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string * path
the list of directory and file paths
Definition: OSOption.h:788
the MinMemorySize class.
Definition: OSOption.h:414
std::string value
value of the option
Definition: OSOption.h:2003
int numberOfVar
number of children
Definition: OSOption.h:1223
bool addObj(int idx, double value)
A function to add a &lt;obj&gt; element.
int sosIdx
index of the SOS (to match the OSiL file)
Definition: OSOption.h:1780
ENUM_COMBINE_ARRAYS
An enum to streamline set() methods of vectors.
Definition: OSParameters.h:770
~PathPair()
Class destructor.
bool IsEqual(InstanceLocationOption *that)
A function to check for the equality of two objects.
bool setProcess(int numberOfProcesses, std::string *process)
A function to set an array of &lt;process&gt; elements.
~OtherObjOption()
Class destructor.
OtherObjectiveOption ** getAllOtherObjectiveOptions()
Get all &lt;other&gt; objective options.
DirectoriesAndFiles * directoriesToDelete
directories to delete upon completion
Definition: OSOption.h:1105
int idx
objective index
Definition: OSOption.h:2187
OtherOptions * otherOptions
the list of other service options
Definition: OSOption.h:618
~InitObjBound()
Class destructor.
JobOption * job
jobOption holds the fourth child of the OSOption specified by the OSoL Schema.
Definition: OSOption.h:3592
bool setInitConValuesSparse(int numberOfCon, InitConValue **con)
bool IsEqual(OptimizationOption *that)
A function to check for the equality of two objects.
OtherOptions()
Default constructor.
bool addCon(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a &lt;con&gt; element.
InitConstraintValues()
Default constructor.
OptimizationOption * optimization
optimizationOption holds the fifth child of the OSOption specified by the OSoL Schema.
Definition: OSOption.h:3596
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string lbValue
lower bound of the option
Definition: OSOption.h:3105
OtherOption ** getOtherSystemOptions()
Get the array of other options associated with the &lt;system&gt; element.
VariableOption()
Default constructor.
bool setUserName(std::string userName)
Set the username.
~BranchingWeight()
Class destructor.
OtherOption()
Default constructor.
the SolverOptions class.
Definition: OSOption.h:3418
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(InitVariableValues *that)
A function to check for the equality of two objects.
OtherObjOption ** obj
array of option values
Definition: OSOption.h:2603
std::string getServiceURI()
Get the service URI.
bool addCon(int idx, double value)
A function to add a &lt;con&gt; element.
bool deepCopyFrom(JobOption *that)
A function to make a deep copy of an instance of this class.
the OtherOption class.
Definition: OSOption.h:152
bool deepCopyFrom(ConstraintOption *that)
A function to make a deep copy of an instance of this class.
The Option Class.
Definition: OSOption.h:3564
bool setInitBasisStatusDense(int numberOfVar, std::string *var)
OtherOption ** getAllOtherOptions()
Get the array of all other options associated with the &lt;general&gt;, &lt;system&gt;, &lt;service&gt; and &lt;job&gt; eleme...
bool deepCopyFrom(ServiceOption *that)
A function to make a deep copy of an instance of this class.
std::string * getDirectoriesToMake()
Get the array of directories to make.
bool setOtherSystemOptions(int numberOfOptions, OtherOption **other)
int value
the minimum number of CPUs required
Definition: OSOption.h:512
std::string unit
the unit in which memory size is measured
Definition: OSOption.h:419
OtherConstraintOption ** other
other information about the constraints
Definition: OSOption.h:3280
int idx
objective index
Definition: OSOption.h:2348
bool setAnotherInitBasisStatus(int type, int idx, int status)
Set the basis status for another variable, objective or constraint/slack.
std::string value
the value of the option
Definition: OSOption.h:3352
ObjectiveOption()
Default constructor.
int idx
variable index
Definition: OSOption.h:2514
std::string value
the value of the option
Definition: OSOption.h:160
~InstanceLocationOption()
Class destructor.
brief an integer vector data structure used in OSOption and OSResult
Definition: OSGeneral.h:549
bool setOtherConstraintOptions(int numberOfOptions, OtherConstraintOption **other)
the SolverOption class.
Definition: OSOption.h:3344
the InitBasStatus class.
Definition: OSOption.h:1481
OptimizationOption()
Default constructor.
JobDependencies()
Default constructor.
bool addVar(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a element.
bool setFilesToDelete(int numberOfPaths, std::string *paths)
std::string category
name of the category into which this option falls
Definition: OSOption.h:2009
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
the JobDependencies class.
Definition: OSOption.h:709
std::string unit
the unit in which CPU speed is measured
Definition: OSOption.h:464
std::string description
the description of the option
Definition: OSOption.h:3364
bool setMinDiskSpaceUnit(std::string unit)
std::string getMaxTimeUnit()
Get the time unit.
PathPairs * outputFilesToMove
output files to move or copy
Definition: OSOption.h:1096
bool IsEqual(InitVarValue *that)
A function to check for the equality of two objects.
SOSWeights ** getSOSVariableBranchingWeightsSparse()
Get the SOS branching weights in sparse form.
~InitVariableValuesString()
Class destructor.
bool setDirectoriesToMake(int numberOfPaths, std::string *paths)
std::string description
description of the option
Definition: OSOption.h:2600
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherOption ** getOtherOptions(std::string elementName)
Get the array of other options associated with any element.
bool setInitObjValues(int numberOfObj, int *idx, double *value, std::string *name)
GeneralFileHeader * optionHeader
OSOption has a header and five other children: general, system, service, job, and optimization...
Definition: OSOption.h:3576
bool IsEqual(InitDualVarValue *that)
A function to check for the equality of two objects.
bool setAnOtherObjectiveOption(OtherObjectiveOption *objOption)
~SystemOption()
Class destructor.
std::string * getProcessesToKill()
Get the array of processes to kill.
int idx
constraint index
Definition: OSOption.h:2929
bool deepCopyFrom(InitObjectiveValues *that)
A function to make a deep copy of an instance of this class.
bool setProcessesToKill(int numberOfProcesses, std::string *processes)
bool deepCopyFrom(InitObjectiveBounds *that)
A function to make a deep copy of an instance of this class.
the OtherObjectiveOption class.
Definition: OSOption.h:2574
bool setNumberOfSolverOptions(int numberOfOptions)
InitDualVarValue ** getInitDualVarValuesSparse()
Get the initial bounds associated with the dual variables in sparse form.
the MinDiskSpace class.
Definition: OSOption.h:369
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setNumberOfVariables(int numberOfVariables)
BranchingWeight ** getIntegerVariableBranchingWeightsSparse()
Get the integer branching weights in sparse form.
double getMinCPUSpeed()
Get the minimum required CPU speed.
bool setAnotherDirectoryToMake(std::string path)
bool deepCopyFrom(PathPair *that)
A function to make a deep copy of an instance of this class.
int getNumberOfRequiredDirectories()
Get the number of required directories.
bool deepCopyFrom(OtherObjOption *that)
A function to make a deep copy of an instance of this class.
bool deepCopyFrom(SolverOptions *that)
A function to make a deep copy of an instance of this class.
int numberOfPathPairs
the number of &lt;path&gt; children
Definition: OSOption.h:915
int getNumberOfIntegerVariableBranchingWeights()
Get the number of variables for which integer branching weights are provided.
the InitConstraintValues class.
Definition: OSOption.h:2822
OtherConOption()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitVarValue ** getInitVarValuesSparse()
Get the initial values associated with the variables in sparse form.
bool setAnotherOutputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
std::string getMinMemoryDescription()
get the memory description
~InitConValue()
Class destructor.
std::string value
value of the option
Definition: OSOption.h:1938
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
the InitialBasisStatus class.
Definition: OSOption.h:1540
SystemOption()
Default constructor.
bool addVar(int idx, std::string value)
A function to add a element.
double lbValue
initial lower bound
Definition: OSOption.h:2354
int numberOfObj
number of &lt;obj&gt; children
Definition: OSOption.h:2579
bool IsEqual(PathPairs *that)
A function to check for the equality of two objects.
std::string getRequestedStartTime()
Get the requested starting time.
InitDualVarValue()
Default constructor.
the InitObjectiveBounds class.
Definition: OSOption.h:2405
bool setInitObjBoundsSparse(int numberOfObj, InitObjBound **obj)
bool IsEqual(SOSWeights *that)
A function to check for the equality of two objects.
std::string value
the value of the &lt;instanceLocation&gt; element
Definition: OSOption.h:47
std::string description
additional description about the CPU
Definition: OSOption.h:509
bool deepCopyFrom(PathPairs *that)
A function to make a deep copy of an instance of this class.
bool addObj(int idx, double lbValue, double ubValue)
A function to add a &lt;obj&gt; element.
bool setServiceURI(std::string serviceURI)
Set the serviceURI.
the InitObjBound class.
Definition: OSOption.h:2343
std::string name
optional variable name
Definition: OSOption.h:1619
~ConstraintOption()
Class destructor.
std::string getServiceName()
Get the service name.
PathPairs * outputDirectoriesToMove
output directories to move or copy
Definition: OSOption.h:1099
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
MinCPUNumber()
Default constructor.
int numberOfOtherVariableOptions
number of &lt;other&gt; child elements
Definition: OSOption.h:2101
bool deepCopyFrom(SOSVariableBranchingWeights *that)
A function to make a deep copy of an instance of this class.
std::vector< OtherVariableOption * > getOtherVariableOptions(std::string solver_name)
Get the &lt;other&gt; variable options associated with a particular solver.
bool setAnOtherServiceOption(std::string name, std::string value, std::string description)
SOSWeights ** sos
branching weights for the SOS
Definition: OSOption.h:1861
bool deepCopyFrom(InitConValue *that)
A function to make a deep copy of an instance of this class.
bool setAnotherRequiredDirectory(std::string path)
InitObjectiveBounds * initialObjectiveBounds
initial bounds for the objectives
Definition: OSOption.h:2692
int getMinCPUNumber()
Get the minimum required number of CPUs.
bool setOtherVariableOptions(int numberOfVar, OtherVariableOption **var)
bool setMinCPUSpeedUnit(std::string unit)
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool addObj(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a &lt;obj&gt; element.
double value
initial value
Definition: OSOption.h:2193
int getNumberOfOutputFilesToMove()
Get the number of output files to move.
bool IsEqual(JobOption *that)
A function to check for the equality of two objects.
std::string value
value of the option
Definition: OSOption.h:3102
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
the OtherObjOption class.
Definition: OSOption.h:2509
bool setOther(int numberOfOptions, OtherVariableOption **other)
A function to set an array of &lt;other&gt; elements.
the SOSVariableBranchingWeights class.
Definition: OSOption.h:1853
bool setObj(int numberOfObj, OtherObjOption **obj)
A function to set an array of &lt;obj&gt; elements.
bool addJobID(std::string jobID)
A function to add an &lt;jobID&gt; element.
VariableOption * variables
the options for the variables
Definition: OSOption.h:3509
double * getInitDualVarLowerBoundsDense()
Get the initial dual variables associated with the lower bounds in dense form.
int getNumberOfJobDependencies()
Get the number of job dependencies.
bool setAnotherInitDualVarValue(int idx, double lbValue, double ubValue)
bool setOtherGeneralOptions(int numberOfOptions, OtherOption **other)
Set the other general options as an entire array.
ContactOption()
Default constructor.
~ObjectiveOption()
Class destructor.
int idx
variable index
Definition: OSOption.h:3096
std::string category
name of the category into which this option falls
Definition: OSOption.h:3176
InstanceLocationOption()
Default constructor.
std::string description
the description of the option
Definition: OSOption.h:163
bool setAnOtherGeneralOption(std::string name, std::string value, std::string description)
Add another general option to the &lt;other&gt; option array.
bool setAnotherDirectoryToDelete(std::string path)
~GeneralOption()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherOption ** getOtherJobOptions()
Get the array of other options associated with the &lt;job&gt; element.
bool setInstanceLocation(std::string instanceLocation)
Set the instance location.
int getNumberOfOtherVariableOptions()
Get the number of other variable options.
the OtherOptions class.
Definition: OSOption.h:211
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setInputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
bool IsEqual(MinMemorySize *that)
A function to check for the equality of two objects.
double getMinDiskSpace()
Get the minimum required disk space.
Processes * processesToKill
processes to kill upon completion
Definition: OSOption.h:1108
bool deepCopyFrom(InstanceLocationOption *that)
A function to make a deep copy of an instance of this class.
InstanceLocationOption * instanceLocation
the location of the instance
Definition: OSOption.h:299
double ubValue
initial upper bound
Definition: OSOption.h:2357
InitVariableValues()
Default constructor.
bool makeCopy
record whether a copy is to be made
Definition: OSOption.h:862
a data structure that holds general information about files that conform to one of the OSxL schemas ...
Definition: OSGeneral.h:32
double ubDualValue
initial upper bound
Definition: OSOption.h:2938
bool setRequiredDirectories(int numberOfPaths, std::string *paths)
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int idx
index of the variable
Definition: OSOption.h:1616
OtherOption ** getOtherServiceOptions()
Get the array of other options associated with the &lt;service&gt; element.
bool IsEqual(OtherObjOption *that)
A function to check for the equality of two objects.
the OtherVariableOption class.
Definition: OSOption.h:1989
bool IsEqual(BranchingWeight *that)
A function to check for the equality of two objects.
the InstanceLocationOption class.
Definition: OSOption.h:39
std::string locationType
the type of the location
Definition: OSOption.h:44
bool IsEqual(SOSVariableBranchingWeights *that)
A function to check for the equality of two objects.
bool deepCopyFrom(ContactOption *that)
A function to make a deep copy of an instance of this class.
ConstraintOption * constraints
the options for the constraints
Definition: OSOption.h:3515
std::string getJobID()
Get the job ID.
~InitDualVariableValues()
Class destructor.
~InitVariableValues()
Class destructor.
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.
~VariableOption()
Class destructor.
bool deepCopyFrom(SolverOption *that)
A function to make a deep copy of an instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~ContactOption()
Class destructor.
std::string getInstanceName()
Get the instance name.
OtherVariableOption ** getAllOtherVariableOptions()
Get all &lt;other&gt; variable options.
OtherOptionEnumeration ** enumeration
Definition: OSOption.h:2027
ServiceOption * service
serviceOption holds the third child of the OSOption specified by the OSoL Schema. ...
Definition: OSOption.h:3588
bool setAnOtherSystemOption(std::string name, std::string value, std::string description)
InitBasStatus ** var
initial value for each variable
Definition: OSOption.h:1548
int getNumberOfInputFilesToMove()
Get the number of input files to move.
bool setOutputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
std::string getInstanceLocationType()
Get the location type.
int getNumberOfInitDualVarValues()
Get the number of initial dual variable values.
InitVarValueString ** getInitVarValuesStringSparse()
Get the initial value strings associated with the variables in sparse form.
std::string * process
the list of processes
Definition: OSOption.h:1001
OtherVariableOption ** other
other variable options
Definition: OSOption.h:2119
InitObjBound ** getInitObjBoundsSparse()
Get the initial bounds associated with the objectives in sparse form.
~OtherOptions()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool deepCopyFrom(InitDualVariableValues *that)
A function to make a deep copy of an instance of this class.
bool setInstanceName(std::string instanceName)
Set the instance name.
int getNumberOfInitVarValuesString()
Get the number of initial variable strings.
bool setIntegerVariableBranchingWeights(int numberOfVar, int *idx, double *value, std::string *name)
int numberOfPaths
the number of &lt;path&gt; children
Definition: OSOption.h:785
std::string getContactTransportType()
Get the transport type.
bool addVar(int idx, double value)
A function to add a element.
~SolverOption()
Class destructor.
BranchingWeight ** var
branching weights for individual variables
Definition: OSOption.h:1789
bool setInitVarValuesString(int numberOfVar, int *idx, std::string *value, std::string *name)
the InitVarValue class.
Definition: OSOption.h:1159
bool deepCopyFrom(OtherOption *that)
A function to make a deep copy of an instance of this class.
bool deepCopyFrom(InitVariableValues *that)
A function to make a deep copy of an instance of this class.
bool addCon(int idx, double lbDualValue, double ubDualValue)
A function to add a &lt;con&gt; element.
the OtherConOption class.
Definition: OSOption.h:3091
bool setOtherObjectiveOptionAttributes(int iOther, int numberOfObj, int numberOfEnumerations, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string objType, std::string enumType, std::string description)
Set the attributes for one particular &lt;other&gt; &lt;objective&gt; option.
int numberOfSolverOptions
the number of solver options
Definition: OSOption.h:3423
int getNumberOfDirectoriesToMake()
Get the number of directories to make.
~OtherOption()
Class destructor.
bool setAnotherInitConValue(int idx, double value)
int getNumberOfInputDirectoriesToMove()
Get the number of input directories to move.
std::string type
the service type
Definition: OSOption.h:615
std::string name
optional variable name
Definition: OSOption.h:3099
~JobOption()
Class destructor.
bool IsEqual(PathPair *that)
A function to check for the equality of two objects.
std::string value
value of the option
Definition: OSOption.h:2520
OtherOptions * otherOptions
list of other job options
Definition: OSOption.h:1111
the BranchingWeight class.
Definition: OSOption.h:1611
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~MinCPUNumber()
Class destructor.
InitObjectiveBounds()
Default constructor.
bool setOther(int numberOfOptions, OtherOption **other)
A function to set an array of &lt;other&gt; elements.
bool setOtherVariableOptionVar(int otherOptionNumber, int varNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one element associated with an &lt;other&gt; option in the &lt;variables&gt; element.
bool deepCopyFrom(InitVarValue *that)
A function to make a deep copy of an instance of this class.
bool deepCopyFrom(IntegerVariableBranchingWeights *that)
A function to make a deep copy of an instance of this class.
std::string from
the file or directory to move/copy from
Definition: OSOption.h:856
PathPair ** getOutputDirectoriesToMove()
Get the array of output directories to move.
int getNumberOfInitVarValues()
Get the number of initial variable values.
OtherVarOption ** var
array of option values
Definition: OSOption.h:2018
std::string getMinCPUSpeedUnit()
Get the CPU speed unit.
bool IsEqual(SolverOption *that)
A function to check for the equality of two objects.
InitObjBound()
Default constructor.
double value
the minimum CPU speed required
Definition: OSOption.h:470
std::string getFileName()
Get the name of the file.
bool setAnotherInputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy)
double * getInitObjLowerBoundsDense()
Get the initial lower bounds associated with the objectives in dense form.
bool IsEqual(InitConstraintValues *that)
A function to check for the equality of two objects.
bool setInitConValues(int numberOfCon, int *idx, double *value, std::string *name)
SolverOptions()
Default constructor.
int getNumberOfOutputDirectoriesToMove()
Get the number of output directories to move.
InitVariableValues * initialVariableValues
initial values for the variables
Definition: OSOption.h:2104
bool setMaxTime(double value, std::string unit)
int numberOfSOS
number of &lt;sos&gt; children
Definition: OSOption.h:1858
bool setOptionDbl(std::string optionName, double value)
bool deepCopyFrom(InitObjBound *that)
A function to make a deep copy of an instance of this class.
bool setContact(std::string contact)
Set the contact information.
int numberOfVar
number of children
Definition: OSOption.h:1676
std::string value
the value of the &lt;contact&gt; element
Definition: OSOption.h:104
bool setInstanceLocationType(std::string locationType)
Set the instance location type.
std::string getMinDiskSpaceDescription()
get the disk space description
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
IntegerVariableBranchingWeights()
Default constructor.
bool setMaxTimeUnit(std::string unit)
std::string varType
type of the values in the var array
Definition: OSOption.h:2021
bool setOutputDirectoriesToMove(int numberOfPathPairs, PathPair **pathPair)
bool setAnotherIntegerVariableBranchingWeight(int idx, double value)
InitConValue ** getInitConValuesSparse()
Get the initial values associated with the constraints in sparse form.
PathPair ** pathPair
the list of directory and file paths
Definition: OSOption.h:918
InitVarValue()
Default constructor.
int numberOfObj
number of &lt;obj&gt; children
Definition: OSOption.h:2410
std::string type
type of the option value (integer, double, boolean, string)
Definition: OSOption.h:3179
bool getInitialBasisElements(int type, int status, int *elem)
Get the initial basis elements for a particular variable type and basis status.
bool IsEqual(MaxTime *that)
A function to check for the equality of two objects.
OtherConstraintOption()
Default constructor.
int idx
variable index
Definition: OSOption.h:1164
bool setNumberOfObjectives(int numberOfObjectives)
int getNumberOfInitObjBounds()
Get the number of initial objective bounds.
std::string * item
the list of items of the option
Definition: OSOption.h:3370
bool setPassword(std::string password)
Set the password.
InitObjValue()
Default constructor.
std::string enumType
type of the values in the enumeration array
Definition: OSOption.h:2030
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setFilesToMake(int numberOfPaths, std::string *paths)
int numberOfEnumerations
number of &lt;enumeration&gt; child elements
Definition: OSOption.h:1997
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool deepCopyFrom(OtherConstraintOption *that)
A function to make a deep copy of an instance of this class.
bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue **con)
bool deepCopyFrom(OtherObjectiveOption *that)
A function to make a deep copy of an instance of this class.
bool deepCopyFrom(InitialBasisStatus *that)
A function to make a deep copy of an instance of this class.
the DirectoriesAndFiles class.
Definition: OSOption.h:780
bool setAnotherOutputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy)
double * getInitConValuesDense()
Get the initial values associated with the constraints in dense form.
CPUNumber * minCPUNumber
the minimum number of processors required
Definition: OSOption.h:559
ContactOption * contact
the contact method
Definition: OSOption.h:317
OtherOption ** other
the list of other options
Definition: OSOption.h:219
OtherObjOption()
Default constructor.
BasisStatus * initialBasisStatus
initial basis status for the slack variables
Definition: OSOption.h:3277
bool IsEqual(OtherConstraintOption *that)
A function to check for the equality of two objects.
std::vector< SolverOption * > getSolverOptions(std::string solver_name)
Get the options associated with a given solver.
bool setOtherOptionEnumeration(int object, int otherOptionNumber, int enumerationNumber, int numberOfEl, std::string value, std::string description, int *idxArray)
Set one enumeration associated with an &lt;other&gt; option in the &lt;variables&gt;, &lt;objectives&gt; or &lt;constraint...
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool deepCopyFrom(OtherVarOption *that)
A function to make a deep copy of an instance of this class.
std::string * getInitVarValuesStringDense()
Get the initial value strings associated with the variables in dense form.
~OtherConstraintOption()
Class destructor.
int numberOfEnumerations
number of &lt;enumeration&gt; child elements
Definition: OSOption.h:2582
int numberOfConstraints
the number of constraints
Definition: OSOption.h:3506
the InitVariableValues class.
Definition: OSOption.h:1218
double getMinMemorySize()
Get the minimum required memory.
JobOption()
Default constructor.
bool setMinCPUNumber(int number, std::string description)
Set the minimum number of CPU cores required for the current job.
bool IsEqual(ConstraintOption *that)
A function to check for the equality of two objects.
~InitObjectiveValues()
Class destructor.
InitVarValueString ** var
initial value for each variable
Definition: OSOption.h:1387
InitialBasisStatus()
Default constructor.
bool deepCopyFrom(InitDualVarValue *that)
A function to make a deep copy of an instance of this class.
BasisStatus * initialBasisStatus
initial basis information
Definition: OSOption.h:2110
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setJobID(std::string jobID)
Set the job ID.
InitObjBound ** obj
initial bounds for each objective
Definition: OSOption.h:2413
int numberOfProcesses
the number of &lt;process&gt; children
Definition: OSOption.h:998
int idx
constraint index
Definition: OSOption.h:2768
bool setOther(int numberOfOptions, OtherObjectiveOption **other)
A function to set an array of &lt;other&gt; elements.
bool setInitObjValuesDense(int numberOfObj, double *value)
bool setJobDependencies(int numberOfDependencies, std::string *jobDependencies)
bool deepCopyFrom(InitVariableValuesString *that)
A function to make a deep copy of an instance of this class.
the JobOption class.
Definition: OSOption.h:1064
JobDependencies * dependencies
the dependency set
Definition: OSOption.h:1075
InitVariableValuesString()
Default constructor.
std::string getServiceType()
Get the service type.
std::string getFileSource()
Get the source of the file or problem.
std::string * getRequiredFiles()
Get the array of required files.
std::string value
initial value
Definition: OSOption.h:1489
OtherOption ** getOtherGeneralOptions()
Get the array of other options associated with the &lt;general&gt; element.
BranchingWeight ** var
branching weight for each variable
Definition: OSOption.h:1679
int getNumberOfOtherConstraintOptions()
Get the number of other constraint options.
int numberOfOtherConstraintOptions
number of &lt;other&gt; child elements
Definition: OSOption.h:3268
std::string description
description of the option
Definition: OSOption.h:3182
~MaxTime()
Class destructor.
bool addOther(OtherConstraintOption *other)
A function to add an &lt;other&gt; element.
bool setJobID(int numberOfJobIDs, std::string *jobID)
A function to set an array of &lt;jobID&gt; elements.
std::string getContact()
Get the contact information.
bool setAnotherSOSVariableBranchingWeight(int sosIdx, int nvar, double weight, int *idx, double *value, std::string *name)
std::string description
description of the option
Definition: OSOption.h:2015
bool setPath(int numberOfPaths, std::string *path)
A function to set an array of &lt;path&gt; elements.
std::string license
the license information
Definition: OSOption.h:308
~InitObjectiveBounds()
Class destructor.
std::string serviceURI
the service URI
Definition: OSOption.h:290
bool IsEqual(InitVarValueString *that)
A function to check for the equality of two objects.
bool setServiceName(std::string serviceName)
Set the service name.
std::string getFileDescription()
Get a description for the file or problem.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setAnotherInitObjBound(int idx, double lbValue, double ubValue)
int getNumberOfInitObjValues()
Get the number of initial objective values.
TimeSpan * maxTime
the maximum time allowed
Definition: OSOption.h:1069
bool IsEqual(SystemOption *that)
A function to check for the equality of two objects.
the MinCPUSpeed class.
Definition: OSOption.h:459
bool IsEqual(IntegerVariableBranchingWeights *that)
A function to check for the equality of two objects.
std::string getMinCPUSpeedDescription()
Get the CPU speed description.
~DirectoriesAndFiles()
Class destructor.
the MaxTime class.
Definition: OSOption.h:668
bool deepCopyFrom(OtherConOption *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(OtherVariableOption *that)
A function to check for the equality of two objects.
bool IsEqual(InitVariableValuesString *that)
A function to check for the equality of two objects.
InitObjectiveValues()
Default constructor.
OtherVariableOption * getOtherVariableOption(int optionNumber)
Get one particular &lt;other&gt; variable option from the array of options.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string description
additional description about the disk space
Definition: OSOption.h:377
bool setOtherConstraintOptionCon(int otherOptionNumber, int conNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one &lt;con&gt; element associated with an &lt;other&gt; option in the &lt;constraints&gt; element.
InitDualVarValue ** con
initial dual values for each constraint
Definition: OSOption.h:2995
bool setNumberOfOtherObjectiveOptions(int numberOfOther)
~OptimizationOption()
Class destructor.
the VariableOption class.
Definition: OSOption.h:2096
bool setOtherServiceOptions(int numberOfOptions, OtherOption **other)
bool setOptionInt(std::string optionName, int optionValue)
ObjectiveOption * objectives
the options for the objectives
Definition: OSOption.h:3512
~OtherVariableOption()
Class destructor.
bool IsEqual(InitObjectiveBounds *that)
A function to check for the equality of two objects.
GeneralOption * general
generalOption holds the first child of the OSOption specified by the OSoL Schema. ...
Definition: OSOption.h:3580
double value
the minimum disk space required
Definition: OSOption.h:380
std::string name
optional variable name
Definition: OSOption.h:2351
int numberOfVar
number of children
Definition: OSOption.h:1786
bool setNumberOfConstraints(int numberOfConstraints)
bool addVar(int idx, double value)
A function to add a element.
std::string password
the password
Definition: OSOption.h:314
~PathPairs()
Class destructor.
~OtherConOption()
Class destructor.
~IntegerVariableBranchingWeights()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitBasStatus()
Default constructor.
std::string description
additional description about the CPU speed
Definition: OSOption.h:467
bool setInitDualVarValuesDense(int numberOfCon, double *lb, double *ub)
bool setOtherObjectiveOptions(int numberOfObj, OtherObjectiveOption **obj)
std::string lbValue
lower bound on the value
Definition: OSOption.h:1941
BasisStatus * initialBasisStatus
initial basis status for the objectives
Definition: OSOption.h:2695
double lbDualValue
initial lower bound
Definition: OSOption.h:2935
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.
std::string name
name of the option
Definition: OSOption.h:2000
std::string value
initial value
Definition: OSOption.h:1331
bool setAnOtherConstraintOption(OtherConstraintOption *optionValue)
PathPair()
Default constructor.
bool setInitObjValuesSparse(int numberOfObj, InitObjValue **obj)
bool addVar(int idx, std::string value)
A function to add a element.
The GeneralOption Class.
Definition: OSOption.h:284
std::string enumType
type of the values in the enumeration array
Definition: OSOption.h:3197
std::string name
optional variable name
Definition: OSOption.h:2771
bool setInitBasisStatus(int object, int status, int *i, int ni)
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setDirectoriesToDelete(int numberOfPaths, std::string *paths)
~SolverOptions()
Class destructor.
bool setServiceType(std::string serviceType)
bool IsEqual(MinCPUSpeed *that)
A function to check for the equality of two objects.
std::string conType
type of the values in the con array
Definition: OSOption.h:3188
InitConValue ** con
initial value for each constraint
Definition: OSOption.h:2830
the IntegerVariableBranchingWeights class.
Definition: OSOption.h:1671
OtherObjectiveOption()
Default constructor.
MinCPUSpeed()
Default constructor.
~InitialBasisStatus()
Class destructor.
DirectoriesAndFiles * filesToMake
files to make during the job
Definition: OSOption.h:1087
std::string requestedStartTime
the requested time to start the job
Definition: OSOption.h:1072
std::vector< OtherObjectiveOption * > getOtherObjectiveOptions(std::string solver_name)
Get the array of other objective options.
bool setVar(int numberOfVar, OtherVarOption **var)
A function to set an array of elements.
double * getInitDualVarUpperBoundsDense()
Get the initial dual variables associated with the upper bounds in dense form.
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.
a data structure to represent an LP basis on both input and output
Definition: OSGeneral.h:645
std::string unit
the unit in which disk space is measured
Definition: OSOption.h:374
~OtherObjectiveOption()
Class destructor.
InitBasStatus ** getInitBasisStatusSparse()
Get the initial basis status in sparse form.
the InitVariableValuesString class.
Definition: OSOption.h:1379
bool addPath(std::string path)
A function to add a &lt;path&gt; element.
bool setAnotherJobDependency(std::string jobID)
int getNumberOfFilesToMake()
Get the number of files to make.
SystemOption * system
systemOption holds the second child of the OSOption specified by the OSoL Schema. ...
Definition: OSOption.h:3584
OtherOptionEnumeration ** enumeration
Definition: OSOption.h:3194
int numberOfVariables
the number of variables
Definition: OSOption.h:3500
ConstraintOption()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfCon
number of &lt;con&gt; children
Definition: OSOption.h:2992
bool deepCopyFrom(SystemOption *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(MinDiskSpace *that)
A function to check for the equality of two objects.
double * getInitObjUpperBoundsDense()
Get the initial upper bounds associated with the objectives in dense form.
the InitDualVariableValues class.
Definition: OSOption.h:2987
bool setInitDualValues(int numberOfCon, int *idx, double *lbValue, double *ubValue, std::string *name)
~JobDependencies()
Class destructor.
int numberOfObjectives
the number of objectives
Definition: OSOption.h:3503
std::string solver
name of the solver to which this option applies
Definition: OSOption.h:2591
the ServiceOption class.
Definition: OSOption.h:610
DirectoriesAndFiles * filesToDelete
files to delete upon completion
Definition: OSOption.h:1102
std::string category
name of the category into which this option falls
Definition: OSOption.h:2594
double value
branching weight
Definition: OSOption.h:1622
bool setInputDirectoriesToMove(int numberOfPathPairs, PathPair **pathPair)
the MinCPUNumber class.
Definition: OSOption.h:504
~ServiceOption()
Class destructor.
InitVarValueString()
Default constructor.
std::string getOptionStr(std::string optionName)
Get any of the string-valued options.
double value
initial value
Definition: OSOption.h:2774
bool deepCopyFrom(InitVarValueString *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(MinCPUNumber *that)
A function to check for the equality of two objects.
bool IsEqual(SolverOptions *that)
A function to check for the equality of two objects.
~InitVarValue()
Class destructor.
std::string name
optional variable name
Definition: OSOption.h:1328
int numberOfVar
number of children
Definition: OSOption.h:1384
bool setInitObjBounds(int numberOfObj, int *idx, double *lbValue, double *ubValue, std::string *name)
int numberOfVar
number of child elements
Definition: OSOption.h:1994
int * getObjectiveInitialBasisStatusDense(int numberOfObjectives)
Get the initial basis status for all objectives in dense form.
bool IsEqual(InitConValue *that)
A function to check for the equality of two objects.
SolverOptions * solverOptions
other solver options
Definition: OSOption.h:3518
PathPairs * inputDirectoriesToMove
input directories to move or copy
Definition: OSOption.h:1090
PathPairs * inputFilesToMove
input files to move or copy
Definition: OSOption.h:1093
std::string getMinDiskSpaceUnit()
Get the disk space unit.
std::string name
the name of the option
Definition: OSOption.h:3349
bool deepCopyFrom(BranchingWeight *that)
A function to make a deep copy of an instance of this class.
double * getInitVarValuesDense()
Get the initial values associated with the variables in dense form.
bool setRequiredFiles(int numberOfPaths, std::string *paths)
bool setSOSVariableBranchingWeights(int numberOfSOS, SOSWeights **sos)
bool setNumberOfOtherVariableOptions(int numberOfOther)
std::string getInstanceLocation()
Get the instance location.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int getNumberOfInitialBasisElements(int type, int status)
Get the number of initial basis elements for a particular variable type and basis status...
bool IsEqual(InitialBasisStatus *that)
A function to check for the equality of two objects.
bool deepCopyFrom(DirectoriesAndFiles *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(InitDualVariableValues *that)
A function to check for the equality of two objects.
int getNumberOfFilesToDelete()
Get the number of files to delete.
bool setVar(int numberOfVar, BranchingWeight **var)
A function to set an array of elements.
bool setOptionStr(std::string optionName, std::string optionValue)
bool addOther(std::string name, std::string value, std::string description)
A function to add an &lt;other&gt; element.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string name
name of the option
Definition: OSOption.h:3167
bool setSolverToInvoke(std::string solverToInvoke)
Set the solver to be invoked.
bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus **var)
bool addSOS(int sosIdx, int nvar, double weight, int *idx, double *value, std::string *name)
A function to add an &lt;sos&gt; element.
OtherOptions * otherOptions
the list of other general options
Definition: OSOption.h:320
the InitObjectiveValues class.
Definition: OSOption.h:2241
bool setAnotherFileToDelete(std::string path)
int getNumberOfSOS()
Get the number of special ordered sets for which branching weights are provided.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setSOS(int numberOfSOS, SOSWeights **sos)
A function to set an array of &lt;sos&gt; elements.
bool IsEqual(ObjectiveOption *that)
A function to check for the equality of two objects.
std::string serviceName
the name of the service
Definition: OSOption.h:293
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(InitBasStatus *that)
A function to check for the equality of two objects.
int getNumberOfVariables()
Get the number of variables in the instance.
int * getSlackVariableInitialBasisStatusDense(int numberOfConstraints)
Get the initial basis status for all slack variables in dense form.
bool setMinMemorySize(std::string unit, std::string description, double value)
Set the minimum memory size required for the current job.
MinMemorySize()
Default constructor.
InitVariableValuesString * initialVariableValuesString
initial values for string-valued variables
Definition: OSOption.h:2107
std::string value
value of the option
Definition: OSOption.h:3170
bool setRequestedStartTime(std::string time)
bool IsEqual(OtherVarOption *that)
A function to check for the equality of two objects.
OtherOptions * otherOptions
the list of other system options
Definition: OSOption.h:562
int numberOfOtherOptions
the number of other options
Definition: OSOption.h:216
std::string instanceName
the name of the instance
Definition: OSOption.h:296
double value
the minimum memory size required
Definition: OSOption.h:425
Processes()
Default constructor.
std::string getMinMemoryUnit()
Get the memory unit.
bool deepCopyFrom(InitBasStatus *that)
A function to make a deep copy of an instance of this class.
bool deepCopyFrom(VariableOption *that)
A function to make a deep copy of an instance of this class.
std::string * getFilesToMake()
Get the array of files to make.
bool deepCopyFrom(OtherVariableOption *that)
A function to make a deep copy of an instance of this class.
double * getInitObjValuesDense()
Get the initial values associated with the objectives in dense form.
bool setInitVarValues(int numberOfVar, int *idx, double *value, std::string *name)
bool setSolverOptions(int numberOfSolverOptions, SolverOption **solverOption)
int numberOfJobIDs
the number of entries in the list of job dependencies
Definition: OSOption.h:714
bool setAnotherInitVarValueString(int idx, std::string value)
bool IsEqual(DirectoriesAndFiles *that)
A function to check for the equality of two objects.
MinDiskSpace()
Default constructor.
std::string ubValue
lower bound on the value
Definition: OSOption.h:1944
OtherConstraintOption * getOtherConstraintOption(int optionNumber)
Get one particular &lt;other&gt; constraint option from the array of options.
std::string * getRequiredDirectories()
Get the array of required directories.
std::string getLicense()
Get the license string.
int getNumberOfOtherGeneralOptions()
Get the number of &lt;other&gt; options in the &lt;general&gt; element.
bool setNumberOfOtherConstraintOptions(int numberOfOther)
bool deepCopyFrom(JobDependencies *that)
A function to make a deep copy of an instance of this class.
bool setAnotherSolverOption(std::string name, std::string value, std::string solver, std::string category, std::string type, std::string description)
bool setOtherConstraintOptionAttributes(int iOther, int numberOfCon, int numberOfEnumerations, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string conType, std::string enumType, std::string description)
Set the attributes for one particular &lt;other&gt; &lt;constraint&gt; option.
~MinDiskSpace()
Class destructor.
std::string solver
the solver to which the option applies
Definition: OSOption.h:3355
bool IsEqual(GeneralOption *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int getNumberOfConstraints()
Get the number of constraints in the instance.
std::string name
name of the option
Definition: OSOption.h:2585
bool deepCopyFrom(OtherOptions *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(Processes *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~MinCPUSpeed()
Class destructor.
bool setPathPair(int numberOfPathPairs, PathPair **pathPair)
A function to set an array of &lt;pathPair&gt; elements.
std::string * getFilesToDelete()
Get the array of files to delete.
InitObjValue ** getInitObjValuesSparse()
Get the initial values associated with the objectives in sparse form.
int numberOfCon
number of &lt;con&gt; children
Definition: OSOption.h:2827
PathPair ** getInputDirectoriesToMove()
Get the array of input directories to move.
the InitVarValueString class.
Definition: OSOption.h:1320
~InitVarValueString()
Class destructor.
the OptimizationOption class.
Definition: OSOption.h:3495
std::string category
the category to which the option belongs
Definition: OSOption.h:3358
the CPUSpeed class.
Definition: OSGeneral.h:812
SolverOption ** getAllSolverOptions()
Get all solver options.
std::string ubValue
upper bound of the option
Definition: OSOption.h:3108
std::string unit
the unit in which time is measured
Definition: OSOption.h:673
the InitConValue class.
Definition: OSOption.h:2763
std::string getFileLicence()
Get licence information associated with the file.
bool setCon(int numberOfCon, InitConValue **con)
A function to set an array of &lt;con&gt; elements.
bool addProcess(std::string process)
A function to add a &lt;process&gt; element.
bool setInitVarValuesStringDense(int numberOfVar, std::string *value)
bool setAnOtherJobOption(std::string name, std::string value, std::string description)
int numberOfItems
the number of items (additional pieces of data) of the option
Definition: OSOption.h:3367
InitDualVariableValues * initialDualValues
initial dual values for the constraints
Definition: OSOption.h:3274
bool deepCopyFrom(ObjectiveOption *that)
A function to make a deep copy of an instance of this class.
the StorageCapacity class.
Definition: OSGeneral.h:754
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherConOption ** con
array of option values
Definition: OSOption.h:3185
std::string getPassword()
Get the password.
StorageCapacity * minDiskSpace
the minimum disk space required
Definition: OSOption.h:550
std::string to
the file or directory to move/copy to
Definition: OSOption.h:859
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InitConValue()
Default constructor.
std::string solver
name of the solver to which this option applies
Definition: OSOption.h:3173
bool setInitObjBoundsDense(int numberOfObj, double *lb, double *ub)
InitObjectiveValues * initialObjectiveValues
initial values for the objectives
Definition: OSOption.h:2689
~InitObjValue()
Class destructor.
PathPairs()
Default constructor.
std::string * jobID
the list of job IDs
Definition: OSOption.h:717
the PathPairs class.
Definition: OSOption.h:910
OtherVarOption()
Default constructor.
bool deepCopyFrom(InitConstraintValues *that)
A function to make a deep copy of an instance of this class.
~OtherVarOption()
Class destructor.
int getNumberOfOtherObjectiveOptions()
Get the number of other objective options.
OtherConstraintOption ** getAllOtherConstraintOptions()
Get all &lt;other&gt; constraint options.
int getNumberOfRequiredFiles()
Get the number of required files.
bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString **var)
bool addPathPair(std::string fromPath, std::string toPath, bool makeCopy)
A function to add a &lt;pathPair&gt; element.
the InitDualVarValue class.
Definition: OSOption.h:2924
std::string getSolverToInvoke()
Get the solver name.
bool addOther(OtherVariableOption *other)
A function to add an &lt;other&gt; element.
std::string solver
name of the solver to which this option applies
Definition: OSOption.h:2006
std::string name
optional variable name
Definition: OSOption.h:1935
bool setAnOtherVariableOption(OtherVariableOption *varOption)
std::vector< OtherConstraintOption * > getOtherConstraintOptions(std::string solver_name)
Get the array of other constraint options.
~OSOption()
Class destructor.
std::string name
optional variable name
Definition: OSOption.h:2517
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool deepCopyFrom(OSOption *that)
A function to make a deep copy of an OSOption object.
OSOption()
Default constructor.
OtherObjectiveOption ** other
other information about the objectives
Definition: OSOption.h:2698
InitVarValue ** var
initial value for each variable
Definition: OSOption.h:1226
the ConstraintOption class.
Definition: OSOption.h:3263
~InitBasStatus()
Class destructor.
double getOptionDbl(std::string optionName)
Get any of the double-valued options.
bool setOther(int numberOfOptions, OtherConstraintOption **other)
A function to set an array of &lt;other&gt; elements.
OtherObjectiveOption * getOtherObjectiveOption(int optionNumber)
Get one particular &lt;other&gt; objective option from the array of options.
bool IsEqual(OSOption *that)
A function to check for the equality of two objects.
std::string value
value of the option
Definition: OSOption.h:2588
~InitDualVarValue()
Class destructor.
int idx
variable index
Definition: OSOption.h:1932
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~MinMemorySize()
Class destructor.
MaxTime()
Default constructor.
SOSWeights()
Default constructor.
bool setMinDiskSpace(std::string unit, std::string description, double value)
Set the minimum disk space required for the current job.
bool setVar(int numberOfVar, InitBasStatus **var)
A function to set an array of elements.
bool deepCopyFrom(Processes *that)
A function to make a deep copy of an instance of this class.
double getMaxTime()
Get the maximum allowed time.
int getNumberOfSolverOptions()
Get the number of solver options.
DirectoriesAndFiles * requiredDirectories
directories required to run the job
Definition: OSOption.h:1078
SOSVariableBranchingWeights()
Default constructor.
bool IsEqual(OtherObjectiveOption *that)
A function to check for the equality of two objects.
the ObjectiveOption class.
Definition: OSOption.h:2681
std::string jobID
the job ID
Definition: OSOption.h:302
bool IsEqual(ServiceOption *that)
A function to check for the equality of two objects.
SolverOption()
Default constructor.
bool deepCopyFrom(InitObjValue *that)
A function to make a deep copy of an instance of this class.
~SOSVariableBranchingWeights()
Class destructor.
the SystemOption class.
Definition: OSOption.h:545
bool deepCopyFrom(OptimizationOption *that)
A function to make a deep copy of an instance of this class.
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
bool setObj(int numberOfObj, InitObjValue **obj)
A function to set an array of &lt;obj&gt; elements.
GeneralOption()
Default constructor.
SolverOption ** solverOption
the list of solver options
Definition: OSOption.h:3426
bool setOtherObjectiveOptionObj(int otherOptionNumber, int objNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one &lt;obj&gt; element associated with an &lt;other&gt; option in the &lt;objectives&gt; element.
bool deepCopyFrom(SOSWeights *that)
A function to make a deep copy of an instance of this class.
~SOSWeights()
Class destructor.
int numberOfCon
number of &lt;con&gt; children
Definition: OSOption.h:3161
InitObjValue ** obj
initial value for each objective
Definition: OSOption.h:2249
bool IsEqual(OtherOption *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int getNumberOfOtherJobOptions()
Get the number of &lt;other&gt; options in the &lt;job&gt; element.