exvis visualizes MIP instances in .mps & .lp format based on their expressions (variables and constraints) as a graph.
pip install exvis
exvis --input data/example/enlight_hard.mps.gz
For further options, see exvis --help
.
Shown here are visualizations of instances from the MIPLIB 2017 set.
enlight_hard | eva1aprime5x5opt |
neos-1171737 | neos-1324574 |
mine-90-10 | peg-solitaire-a3 |
Many more images of files from the MIPLIB 2017 set can be found here.
- The applied networkx functionality may eat up a lot of memory for large instances or run indefinitely.