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
CITY,X,Y
1,92.96161,74.77148
2,31.63756,96.13067
3,18.39188,0.83883
4,20.45603,10.64444
5,56.7725,29.87037
6,59.55447,65.64112
7,96.45145,80.98126
8,65.31771,87.21759
9,74.89066,96.46476
10,65.35699,72.36853