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/

YuE2 · Frontier Music with Symbolic Planning

https://map-yue2.github.io/
39•sexy_seedbox•1h ago•30 comments

Shopify is moving from React Native back to Swift and Kotlin

https://shopify.engineering/back-to-native
794•fnthawar2•12h ago•536 comments

More questions about whether researchers can trust OpenAI with unpublished math

https://mathstodon.xyz/@andreasthom/117240535270608201
682•pred_•19h ago•634 comments

Google will buy half the electricity of a nuclear power plant

https://www.bbc.com/news/articles/c8r6y4me2g6o
78•lukaspetersson•1h ago•51 comments

OpenAI Agents API

https://developers.openai.com/api/docs/guides/agents-api/overview
137•aquir•6h ago•88 comments

The Deathray: A simple way for an untrusted site to freeze a Mac

https://auberon.xyz/blog/posts/deathray/
89•auberonedu•6h ago•55 comments

Don't let anyone take away your big box of cables

https://blog.jim-nielsen.com/2026/hands-off-my-cables/
333•Brajeshwar•10h ago•257 comments

Thelio Mira AI Linux Workstation: 192 GB GPU Memory

https://system76.com/workstations/thelio-mira-ai
33•jonifico•2h ago•24 comments

Cognition launches new SWE-2 model, Rivaling Fable 5.1 and GPT-Astra

https://cognition.com/blog/swe-2
356•seelos•10h ago•149 comments

Technique for Manipulating Satellite Photos Now Reveals Ancient Images (2025)

https://spinoff.nasa.gov/Manipulating_Satellite_Photos_Now_Reveals_Ancient_Images
276•gumby•10h ago•42 comments

NTSB issues investigative update on B-767 runway excursion accident in Miami

https://www.ntsb.gov:443/news/press-releases/Pages/NR20260909.aspx
61•mckn1ght•4h ago•89 comments

Show HN: Benzi – A Code Intillegence/Harness Beating Claude Code and CodeGraph

https://benzi.fly.dev/benchmark
7•tweedler290•46m ago•2 comments

Customizing my Compaq MX-11800 keyboard

https://blog.webb.page/WM-102
11•NetOpWibby•3d ago•2 comments

Music Theory for the 21st-Century Classroom

https://musictheory.pugetsound.edu/mt21c/MusicTheory.html
165•aanet•8h ago•80 comments

Setting up OpenCode with Ollama and sbx on Mac

https://tensorsandtokens.com/posts/opencode-ollama/
6•etoxin•1h ago•2 comments

Neki – Sharded Postgres

https://planetscale.com/blog/introducing-neki
201•simon_weber•10h ago•112 comments

Forgejo <=16.0.3 Critical RCE

https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/16.0.4.md
154•weierstass•10h ago•57 comments

Recursion into madness

https://blog.coredump.cx/p/recursion-into-madness
39•surprisetalk•3d ago•9 comments

Rust is tier-1 language at Microsoft

https://rustfoundation.org/media/guest-post-rust-is-tier-1-language-at-microsoft/
609•mmastrac•12h ago•350 comments

Hitachi launches CO2 heat pump water heaters with solar-friendly tariff controls

https://www.pv-magazine.com/2026/09/07/hitachi-launches-co2-heat-pump-water-heaters-with-solar-fr...
285•thelastgallon•1d ago•229 comments

What happens when a GPU writes memory

https://blog.doubleword.ai/what-happens-when-a-gpu-writes-memory
49•ibobev•2d ago•1 comments

JEP 544: Ahead-of-Time Code Compilation

https://openjdk.org/jeps/544
79•Skinney•8h ago•26 comments

iPhone Duo

https://www.apple.com/iphone-duo/
1414•thecosmicfrog•1d ago•2440 comments

Douglas Hofstadter: Analogy as the Core of Cognition [video]

https://www.youtube.com/watch?v=n8m7lFQ3njk
147•tosh•4d ago•74 comments

Detecting and countering misuse of AI: September 2026

https://www.anthropic.com/threat-intelligence-report-september-2026
86•garo-pro•8h ago•159 comments

OpenAI’s Navier-Stokes release included a Lean 4 formal proof

https://www.johndcook.com/blog/2026/09/09/formal-method-revolution/
139•ibobev•4h ago•138 comments

Show HN: Vertumnus – printable posters of farmers' market produce seasonality

https://vertumnus.fyi
27•perspectivezoom•3d ago•14 comments

Proof of Capture: Apple Reference Image, but open source and using steganography

https://merybenavente.me/blog/proof-of-capture
69•merybenavente•6h ago•51 comments

Silicon Valley is transforming the military-industrial complex? (2024)

https://costsofwar.watson.brown.edu/paper/how-big-tech-and-silicon-valley-are-transforming-milita...
151•paimapi•10h ago•305 comments

Embedding a bitmap font in your HyperCard stack

https://www.leadedsolder.com/2026/09/08/hypercard-custom-fonts-in-resources.html
19•zdw•2d ago•1 comments