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/

Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop

https://github.com/clawkwork/clawk
67•celrenheit•1h ago•55 comments

A voxel Tokyo in real Japan time – ride the Yamanote line and study Japanese

https://jivx.com/densha
156•momentmaker•3h ago•16 comments

Precursor

https://blog.cloudflare.com/introducing-precursor/
24•AznHisoka•33m ago•7 comments

Grok uploaded my user directory to xAI's servers

https://twitter.com/a_green_being/status/2076598897779020159
210•tnolet•1h ago•92 comments

Show HN: DOM-docx – HTML to native, editable Word docs (MIT)

https://github.com/floodtide/dom-docx
63•fishbone•3h ago•22 comments

Grok CLI uploaded the whole home directory to GCS

https://twitter.com/i/status/2076598897779020159
136•denysvitali•1h ago•47 comments

The 'absolute magic' of Morse code that still connects people globally

https://www.bbc.com/news/articles/cwye0dlzgejo
43•austinallegro•5d ago•13 comments

The art and engineering of Sega CD Silpheed

https://fabiensanglard.net/silpheed/index.html
8•ibobev•20m ago•0 comments

Backtrack-Free Cursive

https://mmapped.blog/posts/52-backtrack-free-cursive
175•dmit•9h ago•74 comments

The Graph That Should Be Front-Page News

https://www.lyrebirddreaming.com/post/the-graph-that-should-be-front-page-news
350•rakel_rakel•9h ago•200 comments

The social physics of conversation: Communication patterns matter

https://andiroberts.com/citizenship/the-social-physics-of-conversation-citizenship-leadership
116•kiyanwang•5d ago•23 comments

GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

https://nebusec.ai/research/ionstack-part-2/
346•ranger_danger•4d ago•155 comments

Interrail: 6,379Km and 13 Countries over 7 weeks

https://shkspr.mobi/blog/2026/07/another-ridiculous-interrail-holiday-6379km-and-13-countries-ove...
160•coinfused•7h ago•102 comments

Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

https://raymyers.org/post/zed-creator-calls-spade-a-spade/
1009•crowdhailer•6h ago•502 comments

Cursed circuits #6: reverse avalanche oscillator

https://lcamtuf.substack.com/p/cursed-circuits-6-reverse-avalanche
16•surprisetalk•4d ago•4 comments

Cyberpunk Comics, Manga and Graphic Novels

https://shellzine.net/cyberpunk-comics/
261•zdw•16h ago•109 comments

Tiny Emulators

https://floooh.github.io/tiny8bit-preview/index.html
308•naves•18h ago•26 comments

Beavis Ultrasound PnP ISA Sound Card Replica

https://github.com/schlae/BeavisUltrasound
85•mariuz•9h ago•27 comments

So you want to learn physics (second edition, 2021)

https://www.susanrigetti.com/physics
286•azhenley•5d ago•53 comments

DMS 1.5 "The Wolverine" Released

https://danklinux.com/blog/v1-5-release
6•sonixier•4d ago•1 comments

Frieve Vinyl Explained – Microscopic stylus/groove physics simulation

https://frieve-a.github.io/sound_toolbox/vinyl_explained/vinyl_explained.html
50•XzetaU8•4d ago•8 comments

How to read more books

https://scotto.me/blog/2026-07-12-how-to-read-more-books/
474•silcoon•23h ago•247 comments

Control the Ideas, Not the Code

https://antirez.com/news/169
137•surprisetalk•3h ago•92 comments

Designing and assembling my first PCB

https://vilkeliskis.com/b/2026/0711.html
151•tadasv•16h ago•85 comments

LARP – Revenue infrastructure for serious founders

https://www.larp.website/
294•BerislavLopac•22h ago•70 comments

Ask HN: What Are You Working On? (July 2026)

191•david927•17h ago•674 comments

Sam Neill has died

https://www.theguardian.com/film/2026/jul/13/sam-neill-death-actor-dies-aged-78
373•j4mie•9h ago•85 comments

Vint Cerf, “father of the Internet”, is retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
345•compiler-guy•3d ago•189 comments

Ask HN: Add flag for AI-generated articles

874•levkk•13h ago•381 comments

Migrating a production AI agent to GPT-5.6: 2.2x faster, 27% cheaper

https://ploy.ai/blog/migrating-a-production-ai-agent-to-gpt-5-6
238•brryant•22h ago•111 comments