frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•7mo ago

Comments

buildsjets•7mo 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•7mo 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•7mo ago
(2003)
throw0101b•7mo 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•7mo ago
Are there any public, open, comprehensive datasets on flights?
dieselerator•7mo 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•7mo 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•7mo 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•7mo 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•7mo 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/

What will enter the public domain in 2026?

https://publicdomainreview.org/features/entering-the-public-domain/2026/
144•herbertl•3h ago•33 comments

Beej's Guide to Learning Computer Science

https://beej.us/guide/bglcs/html/split/
134•intelkishan•2h ago•22 comments

DeepSeek-v3.2: Pushing the frontier of open large language models [pdf]

https://huggingface.co/deepseek-ai/DeepSeek-V3.2/resolve/main/assets/paper.pdf
696•pretext•14h ago•334 comments

India orders smartphone makers to preload state-owned cyber safety app

https://www.reuters.com/sustainability/boards-policy-regulation/india-orders-mobile-phones-preloa...
586•jmsflknr•1d ago•342 comments

Tom Stoppard has died

https://www.bbc.com/news/articles/c74xe49q7vlo
54•mstep•2d ago•6 comments

Reverse math shows why hard problems are hard

https://www.quantamagazine.org/reverse-mathematics-illuminates-why-hard-problems-are-hard-20251201/
53•gsf_emergency_6•4h ago•6 comments

Decreasing Certificate Lifetimes to 45 Days

https://letsencrypt.org/2025/12/02/from-90-to-45.html
37•abraham•3h ago•4 comments

Beej's Guide to C Programming

https://beej.us/guide/bgc/
6•tambourine_man•21m ago•3 comments

Frequently Asked Unicycling Questions

https://vale.rocks/posts/unicycle-faq
11•edent•1h ago•3 comments

Notes on Bhutan

https://apropos.substack.com/p/notes-on-bhutan
11•sg5421•5h ago•0 comments

Ghostty compiled to WASM with xterm.js API compatibility

https://github.com/coder/ghostty-web
295•kylecarbs•12h ago•92 comments

Ask HN: Who is hiring? (December 2025)

245•whoishiring•14h ago•323 comments

Arcee Trinity Mini: US-Trained Moe Model

https://www.arcee.ai/blog/the-trinity-manifesto?src=hn
48•hurrycane•6h ago•11 comments

Codex, Opus, Gemini try to build Counter Strike

https://www.instantdb.com/essays/agents_building_counterstrike
158•stopachka•3d ago•37 comments

Cartographers have been hiding illustrations inside Switzerland’s maps (2020)

https://eyeondesign.aiga.org/for-decades-cartographers-have-been-hiding-covert-illustrations-insi...
287•mhb•17h ago•54 comments

Tested: 1981 Datsun 280ZX Turbo (1981)

https://www.caranddriver.com/reviews/a69529696/1981-datsun-280-zx-turbo-archive-test/
35•RickJWagner•2d ago•44 comments

Google, Nvidia, and OpenAI

https://stratechery.com/2025/google-nvidia-and-openai/
161•tambourine_man•15h ago•146 comments

AI agents find $4.6M in blockchain smart contract exploits

https://red.anthropic.com/2025/smart-contracts/
153•bpierre•6h ago•79 comments

Last Week on My Mac: Losing confidence

https://eclecticlight.co/2025/11/30/last-week-on-my-mac-losing-confidence/
355•frizlab•7h ago•186 comments

Google unkills JPEG XL?

https://tonisagrista.com/blog/2025/google-unkills-jpegxl/
285•speckx•15h ago•215 comments

A Bus Ride and the (At Least) 3x UX FAILs

https://bsdly.blogspot.com/2025/11/a-bus-ride-and-at-least-3x-ux-fails.html
4•zdw•2d ago•0 comments

10 years of writing a blog nobody reads

https://flowtwo.io/post/on-10-years-of-writing-a-blog-nobody-reads
177•thejoeflow•4d ago•92 comments

The Penicillin Myth

https://www.asimov.press/p/penicillin-myth
158•surprisetalk•16h ago•80 comments

John Giannandrea to retire from Apple

https://www.apple.com/newsroom/2025/12/john-giannandrea-to-retire-from-apple/
75•robbiet480•8h ago•289 comments

Instagram chief orders staff back to the office five days a week in 2026

https://www.businessinsider.com/instagram-chief-adam-mosseri-announces-five-day-office-return-202...
203•mfiguiere•9h ago•232 comments

Dark Corners of Unicode (2015)

https://eev.ee/blog/2015/09/12/dark-corners-of-unicode/
9•cratermoon•3d ago•1 comments

Why I stopped using JSON for my APIs

https://aloisdeniel.com/blog/better-than-json
100•barremian•11h ago•116 comments

Ask HN: Who wants to be hired? (December 2025)

123•whoishiring•14h ago•232 comments

Shrinking While Linking

https://www.tweag.io/blog/2025-11-27-shrinking-static-libs/
8•ingve•4d ago•0 comments

Durin is a library for reading and writing the Dwarf debugging format

https://github.com/tmcgilchrist/durin
64•mooreds•12h ago•16 comments