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

i,j,k,l,C
93,69,1,91,7
1,41,86,49,1
1,53,4,87,9
93,20,42,68,-2
1,88,88,33,-10
53,34,36,29,-4
93,69,41,49,-7
38,47,84,79,4
93,20,29,0,-10
53,24,21,41,-3
53,34,98,83,7
93,43,62,21,1
38,78,62,11,3
53,24,64,24,8
53,72,63,32,2
38,78,62,4,5
53,72,63,55,-1
53,72,15,85,-5
93,69,6,27,-5
38,78,30,72,-10
38,38,84,66,5
38,38,52,75,-2
1,65,8,17,2
1,53,35,78,1
38,78,12,68,3
38,9,20,40,-2
53,24,26,84,1
38,38,67,20,3
93,49,64,96,-6
1,65,8,73,9
93,20,26,84,-10
38,47,69,38,-4
1,88,88,5,-2
38,38,67,56,-10
38,47,69,16,-7
93,69,1,22,-10
93,49,51,42,-5
93,49,8,52,-5
53,47,47,94,4
1,41,0,44,9
93,20,20,12,-8
53,72,27,5,8
53,24,64,92,0
53,34,22,48,-8
1,53,56,57,7
53,47,47,93,-1
1,88,98,73,-10
1,65,58,37,-10
1,53,56,3,2
1,53,56,33,-7
1,41,17,24,2
93,49,51,50,-8
38,47,69,72,-8
53,24,18,95,-7
1,53,95,6,-3
1,88,85,80,3
53,47,15,52,1
1,41,0,26,3
53,24,64,9,7
1,53,4,51,9
38,9,20,43,-10
1,53,95,61,-10
53,47,15,74,3
1,41,86,38,-3
38,47,45,76,1
53,72,15,71,1
53,24,64,43,-4
38,78,62,12,5
93,20,29,11,8
93,69,41,10,-10
38,78,19,70,4
38,9,5,18,-2
93,20,20,77,5
1,65,15,80,-1
1,88,98,46,2
38,9,5,10,-8
93,43,1,25,-2
53,72,27,16,8
53,24,18,88,5
1,65,15,95,9
38,78,62,36,8
93,43,62,10,-9
38,47,86,5,-3
38,9,24,4,7
1,41,17,77,6
38,78,19,67,7
1,41,44,10,0
1,88,98,68,-9
1,65,82,72,-2
38,9,53,54,-4
93,69,1,98,-8
1,53,4,47,7
93,43,62,19,-4
38,9,24,65,-9
93,43,80,89,-5
53,72,63,66,8
38,38,67,53,-2
1,41,0,34,6
93,43,62,63,4
93,20,26,18,2
53,34,22,67,-5
53,72,94,19,-10
1,88,88,99,3
93,69,7,61,-5
53,24,18,3,-6
53,72,15,23,0
38,47,45,60,5
53,34,98,13,-5
38,78,19,64,2
53,72,15,96,-10
1,41,86,40,-5
38,9,53,42,-6
53,47,55,71,-9
1,53,95,94,4
53,34,36,90,2
53,24,18,65,-10
1,65,58,16,-9
93,43,1,70,8
53,47,15,94,-1
93,49,96,23,3
1,65,8,95,4
38,78,12,94,-8
38,47,84,72,3
1,41,44,80,2
53,34,74,94,-5
53,47,20,22,-1
1,53,56,28,4
53,24,26,53,-5
93,20,42,19,-2
93,69,7,79,-2
38,47,69,48,9
93,43,1,46,1
93,20,42,20,-10
1,88,7,47,0
1,53,35,39,2
93,43,80,15,-1
93,20,20,33,-3
1,65,82,67,1
53,47,47,45,7
38,38,67,58,4
1,41,44,14,-2
1,88,7,81,0
93,20,29,89,5
93,49,8,66,-1
38,9,53,1,-4
1,65,82,29,-6
1,53,4,39,5
38,38,1,84,8
53,72,94,1,7
38,9,20,50,3
1,88,85,13,2
93,49,96,31,-10
1,41,17,50,4
53,34,36,42,4
93,69,1,1,-4
1,88,7,19,-10
93,49,51,22,7
38,38,1,3,6
38,78,19,26,-6
93,69,41,56,-7
53,24,21,3,1
38,38,84,99,8
38,38,84,75,-8
53,34,74,73,9
38,78,12,20,3
53,47,20,70,-8
53,47,55,80,-6
53,34,98,12,9
1,88,7,90,-8
1,88,85,97,-5
38,9,5,39,-5
53,47,55,55,-8
93,49,51,73,9
53,72,94,44,4
38,9,20,5,7
38,38,52,68,-7
1,88,98,66,8
38,47,84,14,7
53,72,27,21,4
53,34,36,5,6
93,43,7,78,-5
1,41,44,3,-8
1,88,88,54,-5
53,34,22,29,2
53,72,94,29,2
38,9,5,29,6
53,24,21,58,-3
93,69,7,97,-9
93,69,6,86,-2
38,9,53,25,-2
93,43,80,84,-5
53,34,74,23,-2
1,88,85,8,6
93,43,7,41,8
38,78,30,26,0
53,47,15,67,8
93,43,7,53,3
38,47,45,40,7
38,9,24,19,1
93,20,20,23,9
53,47,20,78,-5
93,69,6,47,2
38,38,1,47,-4
53,72,63,75,2
38,47,86,49,1
38,78,12,45,7
93,20,26,63,-5
38,38,52,97,3
93,49,64,23,-7
38,47,45,2,-8
93,69,6,65,1
93,49,96,47,2
1,65,58,65,8
1,65,8,25,0
93,49,8,87,6
1,65,15,79,4
93,69,41,91,1
53,34,74,87,-8
93,43,1,98,8
38,38,1,49,-3
93,20,42,36,3
1,41,86,92,3
53,24,26,20,4
1,41,17,62,-1
1,41,0,23,-10
38,47,86,40,0
53,24,21,43,-9
53,34,22,76,9
53,47,20,23,-9
1,53,35,33,7
38,78,30,33,6
93,43,7,98,-3
1,65,82,42,2
93,69,7,15,-10
53,47,47,11,6
38,9,24,14,-9
93,49,64,53,8
38,78,30,74,8
38,47,86,56,2
93,43,80,71,2
93,20,26,0,8
1,65,58,68,-4
53,72,27,38,-3
93,49,64,58,-3
93,49,96,3,-9
53,47,55,33,-5
38,47,84,7,3
53,34,98,53,1
93,20,29,66,5
93,49,8,31,-7
1,53,95,63,3
1,53,35,57,-8
1,65,15,24,3
53,24,26,0,5
38,38,52,41,7
38,38,84,19,2

Back to examples browser