Posts

May 22, 2017
When hospitals interact and act rationally inefficiencies can occur
This is a blog post describing a paper Izabela Spernaes, Jeff Griffiths and I had published last year. I am going to start using this blog to write about papers I publish and I’m starting with a paper called Measuring the price of anarchy in critical care unit interactions. In this paper, we used game theory and Markov models to model interactions between two critical care units.
... 
May 6, 2017
(Re)scheduling a conference with linear programming and Python
Scheduling conferences can be a time consuming tricky affair with a lot of moving parts. This is often done in practice with committee members staring at the various events that need to be scheduled and forcing them in to the various rooms and times available until everything fits. In this blog post I’ll describe and illustrate a Python library that Owen Campbell, Alex Chan and I have written over the past week that uses Integer Linear Programming to automatically schedule a conference:
...conference_scheduler
. As an example to illustrate this I am going to (re) schedule last year’s PyCon UK: 2016.pyconuk.org/programme/. 
Mar 19, 2017
A video about Python in Namibia
Here is a nice video put together by Cardiff University and the Phoenix project:
... 
Mar 8, 2017
A simple evolutionary process in 40 lines of Python
At PyCon Namibia I gave a talk entitled Rock, Paper, Scissors, Lizard, Spock with Python. I spoke about how it’s easy to compute equilibria of 2 player games with Nashpy but also spoke a bit about evolutionary stability. In this blog post I’ll go over how you can model a simple evolutionary process using about 40 lines of Python + Numpy.
... 
Mar 1, 2017
Scheduling class presentations using linear programming with Python
My first year programming class culminates in a final week of group presentations. This is always a highlight of the teaching period as I get to see the awesome things my students have come up with. However, scheduling 3040 group presentations every year could be a real nightmare. This is where mathematics comes to the rescue. I’ll describe in this post how I use linear programming implemented in the Python library Pulp to get the schedule easily.
...