4 ms·
Looks cool! The problem of enumerating the best routes between two given airports is indeed an interesting problem. My favorite discussion of the problem is fro
by jd20 8y ago
Looks cool! The problem of enumerating the best routes between two given airports is indeed an interesting problem. My favorite discussion of the problem is from Carl de Marcken: http://www.ai.mit.edu/courses/6.034f/psets/ps1/airtravel.pdf http://www.ai.mit.edu/courses/6.034f/psets/ps1/airtravel.pdf
I've been involved in solving a similar problem, on the award flight search side. There are about 12,000 direct commercial routes offering award redemption, and the airline websites have different limitations: some only let you search one-way or only round-trip, or only one cabin at a time, or only give hints about available quantities. So you have to formulate the minimal set of queries that will give you complete information. And then given an origin and destination, figure out the valid routings, like you've discovered.
The other really interesting challenge with many of the airline websites are the extreme measures they go to, to block you from crawling their data. My favorite is British Airways, which runs 800 different tests to fingerprint your browser, from generating audio files to drawing to an off-screen canvas, all inside a custom VM with encrypted byte code. (Similar to how I've seen Google obfuscate the ReCaptcha code base.) Surprising to hear that Ryanair makes it so easy to access prices in comparison!
- toast0 8y agoMany moons ago, I worked in the travel industry. Most airlines aren't running their own technology stack -- they are paying someone else $/search to drive their webpage. In a market of razor thin margins, paying per search for you to crawl their flight catalog is a big problem -- thus the arms race. The only way to win at this is to own the catalog, this is why Google bought ITA. Ryanair is the kind of airline that I would suspect might run their own stack, and therefore not have the same cost structure.
- namdnay 8y agoThe only airlines I know of running their own PSS are Emirates and Turkish. Ryanair are using Navitaire (Amadeus' low-cost subsidiary). To be honest, the cost structure is the same whether you're running it yourself or outsourcing - you don't want an absurdly high look to book ratio, or else you're just wasting server costs
- m00dy 8y agoI tried once Turkish Airlines. It was amazing.
- namdnay 8y agoI've flown with them a couple of times for leisure and once for work. Honestly find their economy food is better than most airlines' business food. The business seats weren't very good though, they're a few years behind the others
- bogomipz 8y agoWhat is PSS here? I'm not familiar with this acronym.
- namdnay 8y agoPassenger service system, basically it's the core IT system of any travel company (airlines mainly, but also trains and hotels)
- kevin_b_er 8y agoA market of razor thin margins? I think not. US airlines are swimming in cash 2017: * American Airlines profit: 7.6 Billion USD * United profit: 7.1 Billion USD * Delta Airlines profit: 4.7 Billion USD * Southwest: 2.2 Billion USD
- Robelius 8y agoLooking at AA 2017 earnings Total operating revenues: 42.2B Net income: 1.90B For a profit of 4.5%. Where are you getting your numbers from? https://americanairlines.gcs-web.com/static-files/17cae9f4-55b0-4a05-a2dc-33fcc0a01985 https://americanairlines.gcs-web.com/static-files/17cae9f4-5...
- kevin_b_er 8y agohttps://en.wikipedia.org/wiki/World%27s_largest_airlines#By_airline_companies_revenue https://en.wikipedia.org/wiki/World%27s_largest_airlines#By_...
- toast0 8y agoIn my defense, I left the industry in 2011, back when American lost $2B, and half of the major airlines were in bankruptcy proceedings. It looks like they found some margin in the past few years.
- bogomipz 8y ago>"In a market of razor thin margins, paying per search for you to crawl their flight catalog is a big problem ..." Can you say how access to an airline's flight catalog works and what that business model looks like? Is it pay per search for these third party search engines?
- namdnay 8y agoThere are two different ways to connect to an airline inventory system (what you call the catalog). Either direct, by signing a contract with the airline, and building the necessary "pipe" (IATA are pushing for a standardisation of this, called NDC). Or through a global distribution system (GDS) - which is a fancy name for what used to be called computer reservation systems. There are three major systems, by decreasing importance: Amadeus, Sabre and Travleport. They will cache and distribute the inventory and fares for all client airlines, and also allow you to perform bookings. Every travel agency in the world (including online travel agencies like expedia) is connected to one or more of these GDS. Now the pricing can be complex, a good first order approximation is that you pay a fee for access to the GDS, that varies depending on how many queries you are doing. For a traditional travel agency this fee will be very low, obviously for a major OLTA it will be big. However, for every booking that you perform, the GDS will give back a sizable amount of the distribution fee that it took (we are talking several euros per flight here). So as long as your "look to book" ratio is reasonable, the access costs will be small compared to the incentives you make. Edit: Why are airlines pushing for the "direct" channels? Because it means they can cut out the middleman of course, the GDS. The problem is that this makes it hard for a travel agency to connect to every airline - the fixed costs of setting up pipes to every airline would be astronomical. And there will be an incentive for agencies to negotiate preferential deals with certain airlines. Both of these factors are obviously negative for the end user, travelers. It's a similar question to the whole net neutrality thing
- bogomipz 8y agoThank you for the wonderfully detailed response I really appreciate it. I have one follow up question to your reply which is who maintains Amadeus, Sabre and Travleport? Are these consortiums similar to MasterCard and Visa then? I'm guessing these are all big mainframe operations?
- dmbaggett 8y agoFun fact: Carl actually implemented the Turing machine construction on slide 28 as a proof of concept and used it to do simple arithmetic (very very slowly) -- you can read the details towards the end of the talk, with screenshots.