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

Mosel files for the Mosel-Python comparison blog

Description

Mosel files for the blog post comparing Mosel and Python.

Instructions for running these files:
  1. Extract the data files into the same directory as the Mosel files
  2. To run a single file via the command line, call Mosel and pass the filename followed by "DATA_FILE_PREFIX=" and the first 2 digits of the data file. For example: mosel SparseGrouping_std.mos DATA_FILE_PREFIX=00
Further explanation of this example: See the blog 4 Main Takeaways from Comparing Xpress Mosel and Python for Optimization Models


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