frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Computational Complexity of Air Travel Planning [pdf] (2003)

http://www.demarcken.org/carl/papers/ITA-software-travel-complexity/ITA-software-travel-complexity.pdf
76•rochoa•1y ago

Comments

buildsjets•1y ago
This is well over 20 years old and is based on pre 9/11 flight data. I would suspect that a lot has changed since then. So proceed with no caution at all.
gwern•1y ago
Since these sorts of things usually only get more and more complex over time, I would guess that it's all still true, but much more so.
throw0101b•1y ago
(2003)
throw0101b•1y ago
The PDF was produced by ITA, which famously used Common Lisp:

* https://en.wikipedia.org/wiki/ITA_Software

From 2001, a message from the same author as the linked paper:

> (Here's an email Carl de Marcken of ITA Software sent to a friend, describing their experiences using Lisp in one of the software industry's most demanding applications.)

* https://www.paulgraham.com/carl.html

Qem•1y ago
Are there any public, open, comprehensive datasets on flights?
dieselerator•1y ago
> Are there any public, open, comprehensive datasets on flights?

Airlines and commercial aviation operators schedule their own flights. That is a dynamic schedulle. So, perhaps there is no "comprehensive data set".

However, FlightAware makes publicly available scheduled and completed flight data over many routes in the USA. You can search by route and get a list of flights.

Flight information includes filed departure time, route of flight, and speed. For completed flights actual time, altitude, and route is shown. For example, a search on the route Dallas/Fort Worth to Austin lists 45 flights.

I hope that helps.

foundart•1y ago
A very interesting dive into, as the title says, the computational complexity of air travel planning. Graph algorithms with lots of complexity added due to the wide variety of fare conditions that airlines have dreamt up over the years.

The article may be from 2003 but I would call it an evergreen. While I imagine some of the details have changed since then, I suspect that the complexity has only grown since then.

foundart•1y ago
It makes me wonder: Would an airline that drastically simplified its fares be more likely to appear in flight search results?

Simplifying the fares would make it less computationally expensive and, in theory, could take fewer steps to answer a flight planning query.

Imagine a flight search planner that, say, fanned out N airline-specific workers when handling a planning query and then displayed to the user whatever results it got back within some time limit. If FooAir had simple fares, the FooAir searcher would likely run faster than searchers for other airlines. Thus it would be more likely to return results for more queries, assuming the deadline is fairly tight because of usability metrics. (People don't tend to stick around waiting for slow results.)

sjburt•1y ago
At least a few years ago (~2014), the fare search was actually nearly instant, but all major airfare search sites added a delay because customers had the impression they were getting a better deal when they had to wait. It seems like the delay has been dialed back lately.
teleforce•1y ago
This is a very popular article that get submitted every now and then (nearly every year) [1].

I think this kind of problem would be a very nice for logic, optimization and constraint programming that probably can be solved with modern tools like Google OR-Tool or Monash University MiniZinc [1],[2],[3].

[1] Past:

https://hn.algolia.com/?query=Computational%20Complexity%20o...

[2] Logic, Optimization, and Constraint Programming: A Fruitful Collaboration - John Hooker - CMU (2023) [video]:

https://www.youtube.com/live/TknN8fCQvRk

[3] Google OR-Tools:

https://developers.google.com/optimization

[4] MiniZinc:

https://www.minizinc.org/

A backdoor in a LinkedIn job offer

https://roman.pt/posts/linkedin-backdoor/
242•lwhsiao•1h ago•48 comments

Iroh 1.0

https://www.iroh.computer/blog/v1
790•chadfowler•6h ago•256 comments

US battery manufacturing output continues to break records

https://fred.stlouisfed.org/series/IPG33591S
48•epistasis•1h ago•15 comments

I Love the Computer

https://michaelenger.com/blog/i-love-the-computer/
47•speckx•1h ago•9 comments

TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)

https://tinywind.io
469•tinywind•5h ago•91 comments

Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?

482•cloudking•6h ago•246 comments

Game Engine White Papers Commander Keen

https://forgottenbytes.net/commander_keen.html
102•mfiguiere•3h ago•30 comments

My Homelab AI Dev Platform

https://rsgm.dev/post/ai-dev-platform/
179•rsgm•6h ago•36 comments

Factoring "short-sleeve" RSA keys with polynomials

https://blog.trailofbits.com/2026/06/12/factoring-short-sleeve-rsa-keys-with-polynomials/
51•ledoge•3d ago•1 comments

Hetzner Price Adjustment

https://docs.hetzner.com/general/infrastructure-and-availability/price-adjustment/#cloud-servers
240•tuhtah•8h ago•359 comments

How TimescaleDB compresses time-series data

https://roszigit.com/en/blog/timescaledb-compression-hypercore
82•lkanwoqwp•4h ago•11 comments

Show HN: Fata – Spaced repetition to fight skill rot from AI coding

https://fata.dev
58•djoume•4d ago•34 comments

A calculator that doesn't round

https://constructive-calculator.dimview.org/writeup.html
9•dimview•3d ago•3 comments

Making glass-to-metal seals for home­made vacuum tubes

https://maurycyz.com/projects/glass/1/
109•zdw•1d ago•33 comments

Fox to buy Roku

https://www.wsj.com/business/deals/fox-roku-deal-f6e564f9
224•thm•8h ago•314 comments

What every coder should know about Gamma Correction

https://blog.johnnovak.net/2016/09/21/what-every-coder-should-know-about-gamma/
12•sph•1d ago•8 comments

How memory safety CVEs differ between Rust and C/C++

https://kobzol.github.io/rust/2026/06/15/how-memory-safety-cves-differ-between-rust-and-c-cpp.html
82•nicoburns•5h ago•79 comments

Launch HN: Drafted (YC P26) – Models for residential architecture

30•PrimalNick•4h ago•36 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
202•bookofjoe•6h ago•73 comments

Boot Naked Linux

https://nick.zoic.org/art/boot-naked-linux/
67•abnercoimbre•5h ago•32 comments

Typst 0.15.0

https://typst.app/docs/changelog/0.15.0/
217•schu•4h ago•52 comments

US Air Force B-52 bomber crashes after takeoff, Edwards Air Force Base says

https://www.reuters.com/business/aerospace-defense/us-air-force-b-52-bomber-crashes-after-takeoff...
58•tartoran•1h ago•39 comments

Show HN: Vet turned founder, AI lawn diagnosis

https://grassdx.com/
6•andrewbr•3h ago•0 comments

Apple Foundation Models

https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models
452•MehrdadKhnzd•16h ago•207 comments

Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

https://machine0.io
60•bwm•5h ago•28 comments

The Alaska Server

https://serialport.org/blog/the-alaska-server/
17•speckx•2h ago•3 comments

CrankGPT

https://crankgpt.com
517•rishikeshs•8h ago•207 comments

US Government Reportedly Allowing Federal Data Center Rules to Expire

https://gizmodo.com/us-government-reportedly-allowing-federal-data-center-rules-to-expire-2000772083
25•01-_-•1h ago•1 comments

Teenagers Stayed Overnight at Their School and Found Hidden Ancient Roman Ruins

https://www.smithsonianmag.com/smart-news/these-italian-teenagers-stayed-overnight-at-their-schoo...
165•thunderbong•4d ago•81 comments

Openrouter Fusion API

https://openrouter.ai/openrouter/fusion
189•tdchaitanya•14h ago•71 comments