ILP Code Fragments
Python/Gurobi code fragments for the ILP exercise sheet. See README.daniel.md for copy-paste commands.
- README.daniel.md - command-line usage for all exercises
- knapsack.py - small introductory ILP example
- min-max-gen.py - Exercise 1, generic min-max
- max-min-gen.py - Exercise 2, generic max-min
- min-max-spe.py - Exercise 3, fixed-number min-max
- max-min-spe.py - Exercise 4, fixed-number max-min
- enumerate-ppp.py - Exercise 5, PPP enumeration
- min-max-ppp.py - Exercise 6, PPP min-max energy barriers
Locally, activate the course environment with
source "$HOME/src/mod-env/bin/activate" before running the scripts.