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/

Fable turned reMarkable into Tom Riddle's diary from Harry Potter

https://github.com/MaximeRivest/Riddle
352•modinfo•7h ago•192 comments

OpenWrt One – Open Hardware Router

https://openwrt.org/toh/openwrt/one
542•peter_d_sherman•12h ago•215 comments

CoMaps – FOSS Offline Maps

https://www.comaps.app/
457•basilikum•12h ago•91 comments

GLM 5.2 and the coming AI margin collapse

https://martinalderson.com/posts/the-upcoming-ai-margin-collapse-part-1-glm-5-2/
326•martinald•10h ago•203 comments

How to sequence your own DNA at home

https://bradleywoolf.com/links-1/sequencing-my-own-dna-at-home
154•bilsbie•6h ago•50 comments

Small AI Models Gain Traction In places with unreliable networks

https://spectrum.ieee.org/small-language-models-ai-pharmaceuticals
102•sscaryterry•6h ago•20 comments

Ternlight – 7 MB embedding model that runs in browser (WASM)

https://ternlight-demo.vercel.app/
178•soycaporal•7h ago•44 comments

A global workspace in language models

https://www.anthropic.com/research/global-workspace
344•in-silico•13h ago•125 comments

Pruning RAG context down to what the answer actually needs

https://www.kapa.ai/blog/how-we-prune-rag-context
87•emil_sorensen•11h ago•14 comments

Resetting Xbox

https://news.xbox.com/en-us/2026/07/06/resetting-xbox/
570•dijksterhuis•16h ago•580 comments

AMD Ryzen AI Halo – $4k AI Dev Kit

https://www.lttlabs.com/articles/2026/07/06/amd-ryzen-ai-halo
311•LabsLucas•15h ago•218 comments

Linux on the Atari Jaguar

https://cakehonolulu.github.io/linux-for-jaguar/
132•cakehonolulu•12h ago•24 comments

OpenSSH 10.4/10.4p1 Released

https://www.openssh.org/txt/release-10.4
63•throw0101a•8h ago•14 comments

Acronym Fatigue Series Introduction: why I'm wary of acronyms

https://devz.cl/posts/acryonym-fatigue-series-why-i-m-wary-of-engineering-acronyms/
54•DanielVZ•8h ago•42 comments

A 2048-spin bulk acoustic wave Ising machine for number partitioning and Sudoku

https://arxiv.org/abs/2607.02112
36•Jimmc414•3d ago•10 comments

OfficeCLI: Office suite for AI agents to read and edit Microsoft Office files

https://github.com/iOfficeAI/OfficeCLI
161•maxloh•14h ago•45 comments

Tiny-C Reference Manual Excerpt

https://permacomputer.solarpunk.au/?p=204
19•surprisetalk•4d ago•1 comments

Poly/ML – A Standard ML Implementation

https://github.com/polyml/polyml
57•Lyngbakr•8h ago•14 comments

Aluminum foil (2021)

https://dernocua.github.io/notes/aluminum-foil.html
264•firephox•17h ago•116 comments

Stealth robotics startup (YC S26) is hiring principal engineers (Palo Alto)

1•david-venegas•14h ago

Full Writeup of the Windows GDID

https://github.com/SmtimesIWndr/gdid-reversal
62•typeofhuman•8h ago•29 comments

Dolosse – a South African invention used over the world

https://thisbugslife.com/2021/11/21/dolosse-a-south-african-invention-used-over-the-world/
5•andsoitis•2d ago•0 comments

Learning to code is still worthwhile

https://stevekrouse.com/learn-to-code
165•stevekrouse•9h ago•168 comments

Rotman Lens

https://en.wikipedia.org/wiki/Rotman_lens
100•thomasjb•5d ago•26 comments

M/PC – A Concatenative OS

https://wiki.xxiivv.com/site/m_pc.html
57•caminanteblanco•10h ago•9 comments

Januscape: Guest-to-Host Escape in KVM/x86 [CVE-2026-53359]

https://github.com/V4bel/Januscape
95•Imustaskforhelp•13h ago•33 comments

NSA and IETF: Fairness

https://blog.cr.yp.to/20260706-fairness.html
80•WatchDog•7h ago•76 comments

Kani: A Model Checker for Rust

https://arxiv.org/abs/2607.01504
138•Jimmc414•15h ago•7 comments

EndBASIC 0.14: Are we multimedia yet?

https://www.endbasic.dev/2026/07/endbasic-0.14.html
36•jmmv•2d ago•7 comments

Evaluation order and nontermination in query languages

https://www.rntz.net/post/2026-06-11-datalog-nontermination.html
33•luu•4d ago•3 comments