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

Comments

buildsjets•8mo 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•8mo 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•8mo ago
(2003)
throw0101b•8mo 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•8mo ago
Are there any public, open, comprehensive datasets on flights?
dieselerator•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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: I used Claude Code to discover connections between 100 books

https://trails.pieterma.es/
149•pmaze•6h ago•54 comments

Finding and fixing Ghostty's largest memory leak

https://mitchellh.com/writing/ghostty-memory-leak-fix
149•thorel•4h ago•37 comments

Open Chaos: A self-evolving open-source project

https://www.openchaos.dev/
287•stefanvdw1•7h ago•55 comments

Show HN: Play poker with LLMs, or watch them play against each other

https://llmholdem.com/
26•projectyang•4h ago•19 comments

AI is a business model stress test

https://dri.es/ai-is-a-business-model-stress-test
136•amarsahinovic•6h ago•163 comments

Eulogy for Dark Sky, a data visualization masterpiece (2023)

https://nightingaledvs.com/dark-sky-weather-data-viz/
344•skadamat•11h ago•153 comments

The eight ways that all the elements in the Universe are made

https://bigthink.com/starts-with-a-bang/8-ways-elements-made/
32•zdw•5d ago•7 comments

Overdose deaths are falling in America because of a 'supply shock': study

https://www.economist.com/united-states/2026/01/08/why-overdose-deaths-are-falling-in-america
27•marojejian•3h ago•20 comments

Code Is Clay

https://campedersen.com/code-is-clay
15•ecto•4h ago•6 comments

Rats caught on camera hunting flying bats

https://scienceclock.com/rats-caught-on-camera-hunting-flying-bats-for-the-first-time/
65•akg130522•5h ago•8 comments

ASCII-Driven Development

https://medium.com/@calufa/ascii-driven-development-850f66661351
74•_hfqa•2d ago•50 comments

Varnish and Virtue

https://literaryreview.co.uk/varnish-virtue
4•prismatic•2d ago•0 comments

A Child in the State of Nature

https://lareviewofbooks.org/article/a-child-in-the-state-of-nature/
5•Caiero•3d ago•0 comments

ChatGPT Health is a marketplace, guess who is the product?

https://consciousdigital.org/chatgpt-health-is-a-marketplace-guess-who-is-the-product/
203•yoaviram•2d ago•212 comments

I replaced Windows with Linux and everything's going great

https://www.theverge.com/tech/858910/linux-diary-gaming-desktop
476•rorylawless•8h ago•399 comments

New information extracted from Snowden PDFs through metadata version analysis

https://libroot.org/posts/going-through-snowden-documents-part-4/
263•libroot•12h ago•114 comments

UpCodes (YC S17) is hiring PMs, SWEs to automate construction compliance

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•6h ago

How your high school affects your chances of UC Admission

https://sfeducation.substack.com/p/how-your-high-school-affects-your
48•mutator•2d ago•105 comments

Code and Let Live

https://fly.io/blog/code-and-let-live/
172•usrme•1d ago•53 comments

Side-by-side comparison of how AI models answer moral dilemmas

https://civai.org/p/ai-values
59•jesenator•2d ago•40 comments

Extracting books from production language models (2026)

https://arxiv.org/abs/2601.02671
14•logicprog•2h ago•0 comments

Org Mode Syntax Is One of the Most Reasonable Markup Languages for Text (2017)

https://karl-voit.at/2017/09/23/orgmode-as-markup-only/
231•adityaathalye•14h ago•170 comments

UK Orders Ofcom to Explore Encryption Backdoors

https://reclaimthenet.org/uk-orders-ofcom-to-explore-encryption-backdoors
48•worldofmatthew•2h ago•12 comments

How wolves became dogs

https://www.economist.com/christmas-specials/2025/12/18/how-wolves-became-dogs
92•mooreds•5d ago•80 comments

Bindless Oriented Graphics Programming

https://alextardif.com/BindlessProgramming.html
27•ibobev•3d ago•4 comments

NASA announces unprecedented return of sick ISS astronaut and crew

https://www.livescience.com/space/space-exploration/nasa-cancels-spacewalk-and-considers-early-cr...
84•bookofjoe•10h ago•81 comments

Distributed Denial of Secrets

https://ddosecrets.com/
46•sabakhoj•2d ago•11 comments

Is beef tallow making a comeback?

https://www.nytimes.com/2026/01/10/dining/beef-tallow-food-pyramid-rfk-jr.html
18•gjkood•4h ago•47 comments

Bichon: A lightweight, high-performance Rust email archiver with WebUI

https://github.com/rustmailer/bichon
49•rendx•4h ago•17 comments

Tux Paint

https://tuxpaint.org/
4•1317•1h ago•1 comments