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/

Park by Robot at London Gatwick Airport

https://aerospaceglobalnews.com/news/gatwick-airport-robotic-parking-stanley-robotics/
186•agotterer•3h ago•123 comments

Kill The Cookie Banner

https://killthecookiebanner.eu/
356•rapnie•6h ago•190 comments

Design Is Compromise

https://stephango.com/design-is-compromise
82•ankitg12•2h ago•29 comments

Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs

https://github.com/gmrandazzo/CheapSecurity
32•zeldone•2h ago•6 comments

An Inside Look at the Token Reseller Market

https://vectoral.com/blog/token-relay-market
78•mlenhard•3h ago•30 comments

Ruff v0.16.0 – Significant new updates – 413 default rules up from 59

https://astral.sh/blog/ruff-v0.16.0
298•vismit2000•9h ago•179 comments

Jimothy the raccoon has a rare spinal condition. Here's what that means

https://www.popsci.com/science/whats-jimothy-raccoon-condition/
43•speckx•4d ago•5 comments

Go Analysis Framework: modular static analysis by go team

https://pkg.go.dev/golang.org/x/tools/go/analysis
128•AbuAssar•5h ago•14 comments

How to Write English Prose

https://thelampmagazine.com/blog/how-to-write-english-prose
7•geneticdrifts•47m ago•0 comments

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

https://swag.htmx.org/en-cad/products/htmx-4-the-game
159•rcy•6h ago•48 comments

Show HN: Boffin – Staff-engineer layer for AI coding agents

https://github.com/MicSm/boffin
5•mic_sm•49m ago•1 comments

Using sed to make indexes for books (long)

https://www.pement.org/sed/make_indexes.txt
11•TMWNN•3d ago•0 comments

I learned PCB design, 3D printing and C just to listen to music

https://pentaton.app/blog/2026-07-12-introducing-pentaton-lp/
112•interfeco•3d ago•15 comments

The New AI Superpowers: Focus and Followthrough

https://www.rickmanelius.com/p/the-new-ai-superpowers-focus-and
54•mooreds•5h ago•16 comments

GrapheneOS protections against data extraction from locked devices

https://discuss.grapheneos.org/d/40700-grapheneos-protections-against-data-extraction-from-locked...
296•Cider9986•12h ago•179 comments

What's Under Your Feet in New York City?

https://practical.engineering/blog/2026/7/21/whats-under-your-feet-in-new-york-city
91•sohkamyung•4d ago•12 comments

Google Discloses $94.1B in SpaceX Stock, Marking 6% Stake

https://www.wsj.com/tech/google-discloses-94-1-billion-in-spacex-stock-marking-6-stake-91655d7c
243•1vuio0pswjnm7•5h ago•187 comments

Show HN: Reverse Minesweeper

https://sunflowersgame.com/
53•pompomsheep•5h ago•20 comments

Calling all open source maintainers working with Ruby

https://www.rubyforum.org/t/calling-all-open-source-maintainers-working-with-ruby/553
4•arto•49m ago•1 comments

A shell colon does nothing. Use it anyway

https://refp.se/articles/your-shell-and-the-magic-colon
346•olexsmir•1d ago•150 comments

Make an Origami Circuit Board

https://spectrum.ieee.org/origami-circuit-boards
19•ohjeez•2h ago•1 comments

French firefighters face 'pyrocumulonimbus' for first time

https://www.france24.com/en/live-news/20260726-french-firefighters-face-pyrocumulonimbus-for-firs...
10•saaaaaam•27m ago•1 comments

Terence Tao: Mathematics in the Age of AI [pdf]

https://teorth.github.io/tao-web/slides/age-of-ai-icm-2026.pdf
48•Anon84•7h ago•17 comments

An ESP32 based plane radar for my desk

https://blog.ktz.me/esp32-plane-radar/
236•alexktz•15h ago•51 comments

Third Drone Shot Down in Three Days in Romanian Territory

https://english.mapn.ro/
201•_tk_•6h ago•220 comments

Elevated Errors for Opus 5

https://status.claude.com/incidents/zftg3gqkmv18
83•TimCTRL•8h ago•66 comments

DeepSeek pause fundraise after comments on compute gap to US leaked (transcript) [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
231•oliculipolicula•18h ago•176 comments

Inflect-Micro-v2: complete voice in 9.36M parameters

https://huggingface.co/owensong/Inflect-Micro-v2
188•nateb2022•17h ago•20 comments

What is happening to jobs? Separating AI hype from reality

https://siepr.stanford.edu/publications/policy-brief/what-really-happening-jobs-separating-ai-hyp...
212•pod_krad•19h ago•283 comments

Cloudflare's new AI traffic options for customers

https://blog.cloudflare.com/content-independence-day-ai-options/
181•alphabetatango•19h ago•135 comments