News General

HOW RYANAIR GAVE HAM AND CHEESE SANDWICH GOT ITS OWN ALGORITHM

Ryanair operates one of the world’s most-visited travel websites, it is the largest low-cost air carrier in Europe, and as reported by The Economist Ryanair’s finance director reckons it is the “largest seller of ham and cheese panini in Europe” (someone approves all those ham and cheese bills).

It is also an Amazon Web Services (AWS) customer, using the cloud across its operations to lower costs, reduce food waste, cut carbon emissions, and ultimately, deliver the best possible experience for its passengers.

“Your holiday starts on the aircraft,” said Aoife Greene, Ryanair’s deputy director ancillary and head of retail, who decides exactly what food, beverages, and other items, and in what quantities, each jet should load every morning. “People want their gin and tonic. They want their ham and cheese panini. They want to sit back and relax. They don’t want to hear, ‘no, that’s not available.’ It’s our job to make sure no one is disappointed.”

What few Ryanair passengers realise as they bite into their sandwiches is that the trollies rolling down the aisle are serving more than snacks. The trollies are a vital source of information about what’s being requested and sold, which is fed into a machine learning tool (nicknamed the “panini predictor”) built using AWS that’s helping the airline forecast precisely which products to put on which plane. But why?

As much-loved as Ryanair’s ham and cheese paninis are, calculating just how many people will opt for one on any given flight is a mightier challenge than first appears. The company has more than 500 aircraft and runs 2,900 flights a day, with a single plane traversing multiple routes across multiple countries. Each plane has limited space, exactly five trollies’ worth, and can only be stocked once every 24 hours.

Previously, Greene’s team relied on written logs and their own observations to forecast demand from very different sets of travelers going everywhere from Athens to Budapest, Lisbon, London, Marrakech, Rome, and Tel Aviv. Unsurprisingly, this was an enormous manual task that encompassed 80 loading bases across the Ryanair network and required employees to review records of what had (and hadn’t) been consumed on previous flights to determine what to load the following week.


“I often joke that my colleagues who manage fuel consumption have an easy life,” said Greene. “They know where a particular plane is going, and they know how long it will take to get there. I have no way of knowing whether we’re going to have 100 ballerinas or 100 rugby players on board.”

While the panini predictor isn’t yet at a stage where it can tell Greene if she’ll be dealing with a Swan Lake troupe or rugby scrum, the tool with its custom-designed algorithm does analyse data such as demand, consumption, flight duration, time of day, season, departure location, destination, passenger nationalities, and number of children on board. This data helps Greene be far more accurate about what’s likely to be popular on a flight.

Ryanair’s Chief Technology Officer John Hurley said the tool is proving particularly useful when deciding on product lines for a new route or adding a new loading base. He added, “Importantly, it has improved customer satisfaction, cut our waste in half, and boosted our sales.”


According to Hurley, ideas like the panini predictor have “been in the background” for a long time. In the last year or so, the technology and the company’s ability to employ it have come together in a way that Ryanair is now exploring other ways to use the cloud to innovate across its business. Other initiatives the company is working on with AWS include:

A new predictive maintenance tool

The tool being designed to forecast when different parts of a plane might be due for maintenance. The tool is a machine learning model, built using AWS and trained to recognise patterns in existing information that are precursors of an issue. This will generate reports for engineers, recommending areas for them to investigate. Thousands of sensors across the entire Ryanair fleet are gathering information on variables in the system, with each flight generating from 5 million to 60 million data points per hour. Fleetwide, that’s a whopping 3 billion data points every hour. So far, it’s been able to demonstrate potential to foresee problems up to four days in advance. The long-term goal is to develop the solution so it can predict issues across a number of the aircraft’s essential systems, preventing as many disruptions to the flight schedule as possible.

A project that allocates the most fuel-efficient aircraft for each route

Ryanair’s fleet are all Boeing 737s, sharing the same style of fuselage but with different engine configurations. When a pilot takes off in the morning, they must have enough fuel to fly the route, an amount that’s calculated based on factors such as distance, altitude, and headwinds. Feed those same calculations into a program that can crunch the data, and it’s possible to make recommendations on which of the company’s aircraft would be the most fuel efficient for a particular journey, optimising fuel consumption, cutting C02 emissions, and saving millions of euros in the process.

A customer service chat bot

The new chat bot built by Cation Consulting, an AWS Partner, that can converse in seven languages, English, French, German, Italian, Polish, Portuguese, and Spanish, handles more than half a million conversations in any given month.

A digitised document initiative

The initiative removes paper from several systems that traditionally used printed documents in the airline industry. For example, the development of Ryanair’s electronic flight plan has saved 20 million sheets, or 90 tons, of paper a year. A “paperless cockpit” plan that replaces hardcopy manuals with digital versions has reduced paper by 15 kg (33lbs) per cockpit, a total of 16 tons per year, which results in a fuel burn savings of more than 600 tons annually.

A COVID-19 wallet

The COVID-19 wallet helps customers upload necessary documents required for travel. At the height of the pandemic, Ryanair developed the solution using AWS and rolled it out in less than three days as part of its existing app.

For a home-grown Irish airline that developed into one of Europe’s busiest, Ryanair has always had big ambitions. Today is no different. Working to a 25-minute turnaround time, getting everybody off the aircraft to refuel and then reload in under half an hour, speed, flexibility, and passenger satisfaction are as crucial to its success today as they were when the airline relaunched as a low-cost carrier in 1990. The only difference now is in the possibilities that technologies such as cloud computing offer to help Ryanair improve its customers’ experience while lowering costs and reducing waste and carbon emissions.

“When AWS came on board, it sort of lit the torch paper to get us going,” said Hurley. “We’re testing these projects, analysing all this data, getting the results back, and, for the most part, just saying, ‘Wow.’ It’s a major opportunity to be even more future-focused and efficient.”

Related Feeds