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/

Show HN: Kage – Shadow any website to a single binary for offline viewing

https://github.com/tamnd/kage
335•tamnd•5h ago•74 comments

Rio de Janeiro's "homegrown" LLM appears to be a merge of an existing model

https://github.com/nex-agi/Nex-N2/issues/4
251•unrvl22•7h ago•132 comments

Did Anthropic ask for this?

https://www.verysane.ai/p/did-anthropic-ask-for-this
64•ad8e•47m ago•21 comments

Firewood Splitting Simulator

https://screen.toys/firewood/
573•memalign•4d ago•185 comments

Chaosnet (1981)

https://tumbleweed.nu/r/lm-3/uv/amber.html
51•RGBCube•3h ago•5 comments

AI is code – and can't be prompted into being smarter

https://www.theregister.com/ai-and-ml/2026/06/14/ai-is-code-and-cant-be-prompted-into-being-smart...
27•wglb•2h ago•13 comments

Show HN: Trace – Offline Mac meeting transcripts you can flag mid-call

https://traceapp.info
68•AG342•1d ago•21 comments

Ask HN: What are you working on? (June 2026)

137•david927•7h ago•486 comments

Segmented type appreciation corner (2018)

https://aresluna.org/segmented-type/
53•unexpectedVCR•3d ago•12 comments

Formal methods and the future of programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/?from_theconsensus=1
166•eatonphil•10h ago•56 comments

Caddy compatibility for zeroserve: 3x throughput and 70% lower latency

https://su3.io/posts/zeroserve-caddy-compat
146•losfair•9h ago•43 comments

TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and Fast Wav Decoder

https://github.com/meta-pytorch/torchcodec/releases/tag/v0.14.0
9•scott_s•4d ago•1 comments

Perlisisms (1982)

https://www.cs.yale.edu/homes/perlis-alan/quotes.html
87•tosh•8h ago•39 comments

Yserver: A modern X11 server written in Rust

https://github.com/joske/yserver
85•Venn1•3h ago•71 comments

Lisp's Influence on Ruby

https://blog.tacoda.dev/lisps-influence-on-ruby-6a54f1a7740e
206•tacoda•3d ago•49 comments

The only scalable delete in Postgres is DROP TABLE

https://planetscale.com/blog/the-only-scalable-delete
113•hollylawly•3d ago•45 comments

FarOutCompany

https://faroutcompany.com/
93•bookofjoe•9h ago•16 comments

Why Is Claude Turning into an a**Hole?

https://bramcohen.com/p/why-is-claude-turning-into-an-asshole
84•drob518•1h ago•109 comments

I indexed 669 GB of my GoPro videos using my M1 Max computer and local ML models

238•iliashad•7h ago•52 comments

Chopped, Stored, Secured – The Story of the Hash Function

https://0xkrt26.github.io/math_behind_security/2026/06/09/the-story-of-the-hash-function.html
3•denismenace•4d ago•0 comments

USB Power Delivery: Plugging into the Benefits

https://www.aptiv.com/en/insights/article/usb-power-delivery-plugging-into-the-benefits
27•mooreds•3d ago•48 comments

Inverse Rubric Optimization: A testbed for agent science

https://fulcrum.inc/2026/06/09/inverse-rubric-optimization.html
21•etherio•3d ago•0 comments

Abu Fanous

https://en.wikipedia.org/wiki/Abu_Fanous
38•joebig•2h ago•6 comments

Show HN: Discover Wikipedia articles popular on Hacker News

https://www.orangecrumbs.com/
32•octopus143•5h ago•4 comments

The Birth and Death of JavaScript (2014)

https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
198•subset•10h ago•120 comments

The first game engine for robotics

https://luckyrobots.com/
24•arnejenssen•2d ago•14 comments

Not everyone is using AI for everything

https://gabrielweinberg.com/p/people-are-consuming-ai-like-they
396•yegg•8h ago•433 comments

How to earn a billion dollars

https://paulgraham.com/earn.html
404•kingstoned•11h ago•1212 comments

Linux 7.1

https://lore.kernel.org/lkml/CAHk-=wi4BF4bMhZNZ1tqs+FFV4OuZRe3ZqdWB+LxRLmRweUzQw@mail.gmail.com/T/#u
205•berlianta•7h ago•75 comments

Stanford grads walk out on Google CEO Sundar Pichai speech

https://twitter.com/maattttbrown/status/2066215255987163246
9•sosomoxie•24m ago•1 comments