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
9,8,4,6,2,3,10,5,1,7,9
9,1,5,8,10,4,7,2,6,3,9
4,3,1,10,9,8,5,7,2,6,4
8,2,5,7,3,10,1,9,6,4,8
4,6,9,8,2,5,7,3,10,1,4
8,4,1,9,6,5,10,7,3,2,8
1,7,9,3,10,5,6,4,8,2,1
6,4,5,7,8,10,2,1,3,9,6
10,2,7,5,1,8,4,3,6,9,10
4,6,5,10,8,1,9,3,7,2,4