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_tours.csv

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

Back to examples browser