FICO
FICO Xpress Optimization Examples Repository
FICO Optimization Community FICO Xpress Optimization Home
Back to examples browser

Python files for the Mosel-Python comparison blog

Description

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:
  1. Extract the data files into the same directory as the Python files.
  2. 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

pythonblog.zip[download all files]

Source Files

Data Files





00_H_TSP_cities.csv

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

Back to examples browser