Crudely Optimising an Oil Refinery
By Daniel Nunns · Feb 28, 2026 · 13 min read
This article scratches the surface of how oil is used and traded within the world’s energy complex. We introduce linear optimisation utilising AMPL to understand the optimal outputs from a fictitious refinery.