In this post, I try to replicate a code to optimise the no of tickets an airline should oversell to maximise their profits