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/

Deno Desktop

https://docs.deno.com/runtime/desktop/
652•GeneralMaximus•7h ago•240 comments

window.showDirectoryPicker opens up a whole new world

https://steveharrison.dev/showdirectorypicker-opens-up-a-whole-new-world/
20•steveharrison•53m ago•10 comments

GLM 5.2 vs. Opus

https://techstackups.com/comparisons/glm-5.2-vs-opus/
238•ritzaco•6h ago•182 comments

Codex logging bug may write TBs to local SSDs

https://github.com/openai/codex/issues/28224
219•vantareed•6h ago•130 comments

Help I accidentally a wigglegram

https://lmao.center/blog/wiggle-accidents/
355•gregsadetsky•2d ago•76 comments

Did my old job only exist because of fraud?

https://david.newgas.net/did-my-old-job-only-exist-because-of-fraud/
674•advisedwang•15h ago•292 comments

Munich 1991: The Roots of the Current AI Boom

https://people.idsia.ch/~juergen/ai-boom-roots-munich-1991.html
133•tosh•2d ago•54 comments

Apertus – Open Foundation Model for Sovereign AI

https://apertvs.ai/
456•T-A•16h ago•153 comments

Investors get real-time view of UK bond market activity for the first time

https://www.fca.org.uk/news/press-releases/investors-get-real-time-view-uk-bond-market-activity-f...
63•monkeydust•6h ago•26 comments

There is minimal downside to switching to open models

https://www.marble.onl/posts/cancel_claude.html
292•amarble•16h ago•246 comments

Manticore Search 27.1.5: Auth, sharding, conversational and faster vector search

https://manticoresearch.com/blog/manticore-search-27-1-5/
19•snikolaev•3h ago•0 comments

Sakana Fugu

https://sakana.ai/fugu/
154•Finbarr•11h ago•92 comments

Memory Safe Inline Assembly

https://fil-c.org/inlineasm
138•pizlonator•2d ago•30 comments

My 1992 view of the problems of computer programming in 1992

https://blog.plover.com/prog/fortran-i.html
53•speckx•2d ago•13 comments

Everything is logarithms

https://alexkritchevsky.com/2026/05/25/everything-is-logarithms.html
252•E-Reverance•16h ago•54 comments

Why Drawing Tablet Brands Won't Collaborate on Linux Floss Drivers

https://www.davidrevoy.com/article1154/why-drawing-tablet-brands-wont-collaborate-on-linux-floss-...
27•Tomte•1h ago•0 comments

Good results fine tuning a local LLM like Qwen 3:0.6B to categorize questions

https://www.teachmecoolstuff.com/viewarticle/fine-tuning-a-local-llm-to-categorize-questions
170•dev-experiments•14h ago•33 comments

Danish privacy activist Lars Andersen raided by police

https://twitter.com/LarsAnders1620/status/2068208864747540516#m
319•I_am_tiberius•8h ago•273 comments

JSON-LD explained for personal websites

https://hawksley.dev/blog/json-ld-explained-for-personal-websites/
241•ethanhawksley•18h ago•76 comments

Lisp in the Rust Type System

https://github.com/playX18/lisp-in-types/
83•quasigloam•2d ago•5 comments

Alan Greenspan Dies at 100; Led Fed During Boom Before 2008 Bust

https://www.bloomberg.com/news/articles/2026-06-22/alan-greenspan-dies-at-100-led-fed-during-boom...
24•helsinkiandrew•2h ago•1 comments

UTFS: A Tar-Like File System for Embedded Systems (2025)

https://clisystems.com/article-UTFS-intro/
13•zdw•4d ago•7 comments

Japanese verb conjugation the simple hard way

https://underreacted.leaflet.pub/3mmevu6woys27
125•valzevul•14h ago•189 comments

How I play video games with spinal muscular atrophy

https://www.openassistivetech.org/how-i-actually-play-video-games-with-sma-the-tools-i-use-every-...
136•dannyobrien•3d ago•17 comments

Show HN: Teach your kids perfect pitch

https://github.com/paytonjjones/bsharp
167•paytonjjones•1d ago•113 comments

Writing Postcards with a 3D Printer

https://severinbucher.com/posts/writing-postcards-with-a-3d-printer/
32•typesafeJ•3d ago•16 comments

Efficient C++ Programming for Modern 64-bit CPUs: Chapter 4/part 2

https://6it.dev/blog/infographics-operation-costs-in-cpu-clock-cycles-take-2-80736
78•birdculture•2d ago•17 comments

Minecraft: Java Edition 26.2, the first version with Vulkan 1.2

https://www.minecraft.net/en-us/article/minecraft-java-edition-26-2
175•ObviouslyFlamer•5d ago•72 comments

WhatsApp's "End-to-End Encryption" Is the Biggest Lie in Tech History

https://medium.com/%400xaxgb/whatsapps-e2e-encryption-is-the-biggest-lie-in-tech-history-and-i-ca...
5•dotcoma•18m ago•0 comments

Becoming a dad changes men's brains

https://www.scientificamerican.com/article/how-becoming-a-dad-changes-mens-brains/
10•momentmaker•56m ago•6 comments