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

Comments

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

Taking on CUDA with ROCm: 'One Step After Another'

https://www.eetimes.com/taking-on-cuda-with-rocm-one-step-after-another/
82•mindcrime•4h ago•66 comments

All elementary functions from a single binary operator

https://arxiv.org/abs/2603.21852
22•pizza•1h ago•10 comments

Optimization of 32-bit Unsigned Division by Constants on 64-bit Targets

https://arxiv.org/abs/2604.07902
19•mpweiher•18h ago•0 comments

Show HN: boringBar – a taskbar-style dock replacement for macOS

https://boringbar.app/
262•a-ve•10h ago•158 comments

Bring Back Idiomatic Design (2023)

https://essays.johnloeber.com/p/4-bring-back-idiomatic-design
486•phil294•15h ago•251 comments

DIY Soft Drinks

https://blinry.org/diy-soft-drinks/
289•_Microft•10h ago•77 comments

Ask HN: What Are You Working On? (April 2026)

149•david927•11h ago•436 comments

Most people can't juggle one ball

https://www.lesswrong.com/posts/jTGbKKGqs5EdyYoRc/most-people-can-t-juggle-one-ball
275•surprisetalk•3d ago•86 comments

A Perfectable Programming Language

https://alok.github.io/lean-pages/perfectable-lean/
71•yuppiemephisto•6h ago•20 comments

I gave every train in New York an instrument

https://www.trainjazz.com/
229•joshuawolk•2d ago•43 comments

Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card)

https://github.com/rochus-keller/OberonSystem3Native/releases
172•Rochus•14h ago•36 comments

Apple's accidental moat: How the "AI Loser" may end up winning

https://adlrocha.substack.com/p/adlrocha-how-the-ai-loser-may-end
9•walterbell•38m ago•1 comments

Google removes "Doki Doki Literature Club" from Google Play

https://bsky.app/profile/serenityforge.com/post/3mj3r4nbiws2t
336•super256•7h ago•165 comments

Uncharted island soon to appear on nautical charts

https://www.awi.de/en/about-us/service/press/single-view/unkartierte-insel-demnaechst-auf-seekart...
54•tannhaeuser•7h ago•22 comments

Tell HN: Docker pull fails in Spain due to football Cloudflare block

704•littlecranky67•15h ago•271 comments

The peril of laziness lost

https://bcantrill.dtrace.org/2026/04/12/the-peril-of-laziness-lost/
334•gpm•7h ago•114 comments

State of Homelab 2026

https://mrlokans.work/posts/state-of-homelab-2026/
6•swq115•1h ago•0 comments

Investigating How Long-Distance Couples Use Digital Games to Facilitate Intimacy

https://arxiv.org/abs/2505.09509
74•radeeyate•11h ago•21 comments

Is Math Big or Small?

https://chessapig.github.io/talks/Big-Small
18•robinhouston•19h ago•2 comments

We have a 99% email reputation, but Gmail disagrees

https://blogfontawesome.wpcomstaging.com/we-have-a-99-email-reputation-gmail-disagrees/
189•em-bee•14h ago•181 comments

Seven countries now generate 100% of their electricity from renewable energy

https://www.the-independent.com/tech/renewable-energy-solar-nepal-bhutan-iceland-b2533699.html
526•mpweiher•14h ago•270 comments

JVM Options Explorer

https://chriswhocodes.com/vm-options-explorer.html
175•0x54MUR41•17h ago•77 comments

Happy Map

https://pudding.cool/2026/02/happy-map/
225•surprisetalk•5d ago•41 comments

The End of Eleventy

https://brennan.day/the-end-of-eleventy/
207•ValentineC•1d ago•175 comments

Pro Max 5x quota exhausted in 1.5 hours despite moderate usage

https://github.com/anthropics/claude-code/issues/45756
548•cmaster11•14h ago•497 comments

Phyphox – Physical Experiments Using a Smartphone

https://phyphox.org/
196•_Microft•18h ago•32 comments

EasyPost (YC S13) Is Hiring

https://www.easypost.com/careers
1•jstreebin•10h ago

Exploiting the most prominent AI agent benchmarks

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
497•Anon84•1d ago•129 comments

Show HN: Claudraband – Claude Code for the Power User

https://github.com/halfwhey/claudraband
97•halfwhey•10h ago•32 comments

Mark's Magic Multiply

https://wren.wtf/shower-thoughts/marks-magic-multiply/
43•luu•1d ago•2 comments