Code for Coursera's UMelbourne Discrete Optimization class