Python files for the blog post comparing Mosel and Python: 4 Main Takeaways from Comparing Xpress Mosel and Python for Optimization Models.
Instructions for running these files:
- Extract the data files into the same directory as the Python files.
- To run a single file via the command line, call Python and pass the filename followed by the first 2 digits of the data file. For example: python SparseGrouping_std.py 00
MACH,T
0,2
1,13
2,3
3,11
4,13
5,15
6,18
7,5
8,10
9,10
10,8
11,7
12,16
13,14
14,13
15,17
16,2
17,4
18,18
19,5
20,19
21,2
22,12
23,2
24,2
25,19
26,8
27,5
28,7
29,8
30,11
31,19
32,15
33,4
34,17
35,4
36,7
37,9
38,12
39,17
40,17
41,5
42,19
43,12
44,11
45,12
46,4
47,3
48,15
49,3
50,17
51,3
52,12
53,14
54,3
55,18
56,2
57,17
58,16
59,12
60,13
61,3