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

Comments

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

A Theory of the World as run by large adult children

https://tomclancy.info/harold-and-george.html
110•tclancy•1h ago•45 comments

NetBlocks says Iran blackout enters day 16 as arrests target Starlink users

https://www.iranintl.com/en/202603157402
25•ukblewis•29m ago•5 comments

A Visual Introduction to Machine Learning (2015)

https://r2d3.us/visual-intro-to-machine-learning-part-1/
124•vismit2000•3h ago•7 comments

100 hour gap between a vibecoded prototype and a working product

https://kanfa.macbudkowski.com/vibecoding-cryptosaurus
42•kiwieater•2h ago•25 comments

$96 3D-printed rocket that recalculates its mid-air trajectory using a $5 sensor

https://github.com/novatic14/MANPADS-System-Launcher-and-Rocket
206•ZacnyLos•4h ago•129 comments

Show HN: Signet – Autonomous wildfire tracking from satellite and weather data

https://signet.watch
30•mapldx•2h ago•2 comments

Generating All 32-Bit Primes (Part I)

https://hnlyman.github.io/pages/prime32_I.html
32•hnlyman•2h ago•6 comments

Rack-mount hydroponics

https://sa.lj.am/rack-mount-hydroponics/
234•cdrnsf•9h ago•51 comments

Hollywood Enters Oscars Weekend in Existential Crisis

https://www.theculturenewspaper.com/hollywood-enters-oscars-weekend-in-existential-crisis/
11•RickJWagner•1h ago•2 comments

The Appalling Stupidity of Spotify's AI DJ

https://www.charlespetzold.com/blog/2026/02/The-Appalling-Stupidity-of-Spotifys-AI-DJ.html
244•ingve•6h ago•195 comments

IBM, sonic delay lines, and the history of the 80×24 display

https://www.righto.com/2019/11/ibm-sonic-delay-lines-and-history-of.html
16•rbanffy•3h ago•5 comments

Pentagon expands oversight of Stars and Stripes, limits content

https://www.stripes.com/theaters/us/2026-03-13/pentagon-modernization-plan-stars-and-stripes-2105...
54•geox•2h ago•11 comments

Examples for the tcpdump and dig man pages

https://jvns.ca/blog/2026/03/10/examples-for-the-tcpdump-and-dig-man-pages/
38•ibobev•4d ago•4 comments

A most elegant TCP hole punching algorithm

https://robertsdotpm.github.io/cryptography/tcp_hole_punching.html
137•Uptrenda•10h ago•48 comments

How kernel anti-cheats work

https://s4dbrd.github.io/posts/how-kernel-anti-cheats-work/
245•davikr•14h ago•205 comments

Why Mathematica does not simplify sinh(arccosh(x))

https://www.johndcook.com/blog/2026/03/10/sinh-arccosh/
97•ibobev•4d ago•27 comments

Treasure hunter freed from jail after refusing to turn over shipwreck gold

https://www.bbc.com/news/articles/cg4g7kn99q3o
127•tartoran•11h ago•171 comments

Allow me to get to know you, mistakes and all

https://sebi.io/posts/2026-03-14-allow-me-to-get-to-know-you-mistakes-and-all/
202•sebi_io•16h ago•92 comments

Show HN: Han – A Korean programming language written in Rust

https://github.com/xodn348/han
190•xodn348•16h ago•103 comments

Human Organ Atlas

https://www.science.org/doi/10.1126/sciadv.adz2240
22•bookofjoe•3d ago•2 comments

SBCL Fibers – Lightweight Cooperative Threads

https://atgreen.github.io/repl-yell/posts/sbcl-fibers/
127•anonzzzies•14h ago•23 comments

Centuries of selective breeding turned wild cabbage into different vegetables

https://www.worksinprogress.news/p/many-of-the-tastiest-vegetables-are
80•bensouthwood•3d ago•31 comments

Ageless Linux – Software for humans of indeterminate age

https://agelesslinux.org/
714•nateb2022•16h ago•466 comments

Bumblebee queens breathe underwater to survive drowning

https://www.smithsonianmag.com/science-nature/bumblebee-queens-breathe-underwater-to-survive-drow...
160•1659447091•17h ago•37 comments

MCP is dead; long live MCP

https://chrlschn.dev/blog/2026/03/mcp-is-dead-long-live-mcp/
195•CharlieDigital•18h ago•171 comments

Slicing Bezier Surfaces

https://fatih-erikli-potato.github.io/blog/slicing-bezier-surfaces.html
19•fatih-erikli-cg•3d ago•4 comments

Mathematics Distillation Challenge – Equational Theories

https://terrytao.wordpress.com/2026/03/13/mathematics-distillation-challenge-equational-theories/
85•picafrost•1d ago•3 comments

Small U.S. town, big company. Can it weather the tariff Blizzard? (Digi-Key)

https://www.npr.org/2025/04/24/nx-s1-5332209/digikey-tariff-small-minnesota-town-big-company
10•upofadown•1h ago•2 comments

A look inside Dialector, filmmaker Chris Marker's chatbot from 1988

https://kubicki.org/letters/the-festival-of-the-machines/
58•kosmavision•3d ago•4 comments

Tree Search Distillation for Language Models Using PPO

https://ayushtambde.com/blog/tree-search-distillation-for-language-models-using-ppo/
71•at2005•13h ago•7 comments