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
P,V
1,140
2,120
3,40
4,30
5,80
6,100
7,20
8,140
9,60
10,30
11,140
12,110