Airline Optimization

This project was carried out during my master's degree in Aerospace Engineering. The project explores different aspects of airline operations, including:

  • Fleet distribution
  • Revise schedule
  • Aircraft routing

The referent code can be found in the following repository.

Introduction

Based on forecasts, the airline’s load-factor policy, and marketing analysis, our airline has proposed providing three daily round-trip flights from OVB to BTK, GDX, NMA, NYM, PWQ, TOF, and UUS.

We have two types of aircraft in our fleet: Boeing 737-400 and Airbus A321. The seating capacities for these two fleet types are 189 and 228 seats, respectively. Furthermore, the following information is available for this airline:

  • Cost per available seat kilometer (CASK) for B737-400 and A321 are 0.037€ (3.7 cents) and 0.04€ (4 cents) respectively.
  • Revenue per available seat kilometer (RASK) for B737-400 and A321 are 0.124€ (12.4 cents) and 0.125€ (12.5 cents) respectively.

The fleet consists of 6 B737-400 aircraft and 10 A321 aircraft. Due to the small size of our airline, we cannot recapture passengers who are spilled. Additionally, turnaround times are 50 and 65 minutes for the B737-400 and A321, respectively. Crew sit-connection times range from 20 to 180 minutes for the B737-400 and from 10 to 185 minutes for the A321.

Flight schedule

We developed a preliminary schedule for the next quarter. The complete route, which includes 42 flights per day, is presented in the following table. All departure and arrival times are local.

Flight information

The following table presents the demand distribution for each flight and the distances between cities. Demand for each flight is assumed to be normally distributed, with the specified means and standard deviations.

Fleet assignment

The first step for assigning each flight to a specific fleet is to compute the cost for every possible assignment. Therefore, for every flight, the cost of performing it with each available fleet is computed.

The cost can be computed as the sum of the operating cost and the spill cost. The operating cost can be calculated as:

CASKdkmnseats.\text{CASK} \cdot d_{km} \cdot n_{seats}.

To compute the spill cost, the expected passenger spill is first needed:

nspill=c(xc)f(x)  dx,n_{spill} = \int_{c}^{\infty} (x - c) f(x) \; dx,

where f(x)f(x) is the probability density function (PDF) for the normal distribution, obtained using the mean (μ)(\mu) and the standard deviation (σ)(\sigma) of each flight:

f(x)=1σ2πexp((xμ)22σ2).f(x) = \frac{1}{\sigma \sqrt{2\pi}} \exp\left(-\frac{(x - \mu)^2}{2\sigma^2}\right).

The spilled cost can then be estimated as:

RASKdkmnspill.\text{RASK} \cdot d_{km} \cdot n_{spill}.

Finally, linear programming can be applied to determine the best fleet distribution with the aim of minimizing the total cost. For the presented case, the result is summarized in the following table.

This distribution ensures all flights are performed with the provided fleet.

Reduction of aircrafts needed

Using linear programming, we determined the minimum number of aircraft required to cover the schedule is 15. However, the current fleet of 16 aircraft will still be used.

Best combination of aircrafts

The optimal cost is achieved with 8 Boeing 737-400 and 8 Airbus A321 aircraft, resulting in a minimum cost of 742023€.

Aircraft routing

Currently, every flight is assigned to a fleet; however, routing cycles and maintenance opportunities at the airline's base airport have not yet been considered. To address this, it is necessary to evaluate whether the current schedule allows the airline's aircraft to be routed cyclically while ensuring adequate maintenance opportunities. This process involves the following steps:

  • Generate all valid one-day routings, taking into account turnaround times.
  • Combine each feasible one-day routing with other one-day routings to create multi-day route options.
  • For each three-day routing, ensure the following:
    • The route starts and ends in the same city.
    • Each day's route begins where the aircraft ended the previous day.
    • At least one overnight stay occurs at the base airport to facilitate maintenance.

Once all possible routes have been identified, an optimization process is applied to select which routes will be implemented. The optimization aims to maximize maintenance opportunities, ensure that each flight is operated daily, and guarantee that each aircraft has at least one maintenance opportunity within a three-day period.

With the current schedule, it has been determined that the airline requires 1 additional B737-400 aircraft and 3 additional A321 aircraft to meet the requirement of at least one maintenance opportunity every three days.

The solution for the B737-400 is presented in the following table:

On the other hand, the routings selected for the A321 are:

Stranded flights

The need for more aircrafts may be due to some stranded flights. Meaning that as a consequence of schedule, some flights can not be done during the same day and have to be carried out during the next day. Some changes in the schedule can be made manually to reduce the stranded flights.

Former schedule:

Modified schedule:

Routing for revised schedule

With the revised schedule it is only needed 1 extra B737-400 aircrafts.

Here are the new routings selected for the B737-400:

This table shows the maintenance opportunities during the three-day routings:

The solution for A321 is:

And, this fleet has 18 maintenance opportunities:

© 2025 Pau Tarrés. All rights reserved.