This is the code I wrote for my Blog Post and Tech Talk. Each iteration is one commit in the repository, and each is hosted live at http://optimisation.stevenwaterman.uk.