Of course I always show my Sudoku example:
A good MIP solver solves this in zero nodes: the presolver will take care of it completely. E.g. for the 81 x 81 problem below I see:
Starting Gurobi... Optimize a model with 26244 Rows, 531441 Columns and 2125764 NonZeros Presolve removed 26244 rows and 531441 columns Presolve time: 1.67s |
Model and data files:
- MIP Model
- sudoku25.gdx: 25 x 25 problem
- sudoku81.gdx: 81 x 81 problem
Now if these solvers would just be as fast on my real models….
It's 'Sudokus' (plural) not 'Sudoku's' (possessive.)
ReplyDeleteVery nice Erwin.
ReplyDeleteI'm fast at Sudoku solving and teach others to be fast, but that my friend is sweet!
~ Bill W.