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/

Don't be a meat proxy

https://gruhn.me/blog/2026-08-03/
605•ngruhn•3h ago•263 comments

Qwen3.8-Max: A New Bar for Coding and Cowork

https://qwen.ai/blog?id=qwen3.8
586•ai2027•8h ago•295 comments

Prevent cognitive debt by manually retyping LLM-generated code

https://ankursethi.com/blog/prevent-cognitive-debt-by-manually-retyping-llm-generated-code/
22•mpweiher•53m ago•6 comments

Bonsai: Janestreet's UI Library

https://github.com/janestreet/bonsai
46•KolmogorovComp•1h ago•11 comments

Less Coffee, Better Sleep

https://www.marginalia.nu/log/a_109_sleep2/
22•edward•1h ago•21 comments

Rust project goals: Immobile types and guaranteed destructors

https://github.com/rust-lang/rust-project-goals/blob/main/src/2026/move-trait.md
78•paavohtl•3h ago•17 comments

What DMARC Protects You From, and What It Does Not

https://senderledger.com/articles/what-dmarc-actually-protects-you-from
8•adulion•55m ago•2 comments

Show HN: Isopolis – Isometric pixel map of SF

https://sf.isopolis.city/
224•nuwandavek•9h ago•50 comments

Octane – React's programming model, compiled

https://octanejs.dev
19•nnx•2h ago•6 comments

The AI Productivity Gap

https://bjorg.bjornroche.com/management/ai-productivity-gap/
48•kiyanwang•3h ago•43 comments

Show HN: ssh ssh.place

https://ssh.place
117•jeninh•10h ago•71 comments

Why we write our own C and C++ inference engines

https://localai.io/blog/why-we-write-our-own-engines/
58•eatonphil•2d ago•27 comments

MPs demand answers on Fujitsu's inclusion in lucrative frameworks

https://www.computerweekly.com/news/366646721/MPs-demand-answers-on-Fujitsus-inclusion-in-lucrati...
15•latein•59m ago•3 comments

CP/M-386 – CP/M for 386 protected mode, derived from CP/M‑68K

https://github.com/johnsonjh/cpm386
70•TMWNN•9h ago•30 comments

Autoregressive Language Model on the 6502 Processor

https://mattbeton.com/blog/bitnet-6502.html
111•nmstoker•2d ago•10 comments

Show HN: A Handwritten Blogging Platform

https://handwritten.blog/
109•emilesilvis•3d ago•54 comments

How do you rewrite C/C++ projects to Rust?

https://blog.jetbrains.com/rust/2026/07/27/cpp-to-rust-migration/
15•smokeeaasd•5d ago•10 comments

PISIGuard: Protect your personal and sensitive info when you chat with AI

https://github.com/mohamed--abdel-maksoud/pisiguard
4•mohamed_am83•1h ago•2 comments

Show HN: Kakehashi – Experimental userspace to run macOS binaries on Linux ARM

https://github.com/wie-project/kakehashi
221•vlad_kalinkin•17h ago•55 comments

Why Book Corners won't sync contributions back to OpenStreetMap

https://www.andreagrandi.it/posts/why-book-corners-wont-sync-contributions-back-to-openstreetmap/
100•pizzaiolo•10h ago•59 comments

The true power of regular expressions (2012)

https://www.npopov.com/2012/06/15/The-true-power-of-regular-expressions.html
3•uneven9434•1h ago•0 comments

Convergence is not enough

https://www.inkandswitch.com/livelymerge/notebook/lm-02/
34•zdw•6d ago•6 comments

Note-Taking and Personal Knowledge Management

https://unattributed.cc/note-taking-and-personal-knowledge-management
206•surprisetalk•5d ago•63 comments

The Shape of Things to Come

https://yegge.ai/essays/the-shape-of-things-to-come/
16•tosh•3h ago•17 comments

Developers are attached to tools because tools encode trust

https://stackoverflow.blog/2026/07/29/developers-are-attached-to-tools-because-tools-encode-trust/
213•HieronymusBosch•4d ago•117 comments

SwiftUI After 7 Years

https://ykvm.com/2026/07/swiftui-a-story-of-mediocrity/
196•mpweiher•15h ago•179 comments

Show HN: We Fixed UniFi's Slow PPPoE Performance with PPPoE Half-Bridge

https://arcbox.dev/blog/unifi-pppoe-half-bridge-acceleration
8•uneven9434•1h ago•3 comments

Situational Awareness and the Impending Stock Market Volatility

https://www.emergingtrajectories.com/lh/situational-awareness-bigger-picture/
12•cl42•4h ago•7 comments

Show HN: I created a project management system

https://is.team
7•spotlayn•3h ago•9 comments

Read the novels and forget everything else

https://hedgehogreview.com/web-features/thr/posts/read-the-novels-and-forget-everything-else
101•samclemens•2d ago•86 comments