Source: https://catsr.vse.gmu.edu/SYST660/Chap6_AirlinePlanning_Workbook.pdf