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•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/

The newest Instagram “exploit” is the goofiest I've seen

https://www.0xsid.com/blog/meta-account-takeover-fiasco
1605•ssiddharth•14h ago•371 comments

macOS needs its grid back

https://blog.hopefullyuseful.com/blog/macos-needs-its-grid-back/
186•ranebo•5h ago•100 comments

Can the stockmarket swallow Anthropic, SpaceX and OpenAI?

https://www.economist.com/finance-and-economics/2026/06/01/can-the-stockmarket-swallow-anthropic-...
266•1vuio0pswjnm7•7h ago•478 comments

OpenAI frontier models and Codex are now available on AWS

https://openai.com/index/openai-frontier-models-and-codex-are-now-available-on-aws/
230•typpo•8h ago•78 comments

Chipotlai Max

https://github.com/cyberpapiii/chipotlai-max
170•nigelgutzmann•7h ago•29 comments

How is Groq raising more money?

https://www.zach.be/p/how-the-hell-is-groq-raising-more
84•hasheddan•5h ago•40 comments

Debug Project

https://debug.com/
193•Eridanus2•10h ago•79 comments

AI Agent Guidelines for CS336 at Stanford

https://github.com/stanford-cs336/assignment1-basics/blob/main/CLAUDE.md
381•prakashqwerty•14h ago•124 comments

Squillions: How Money Laundering Won

https://www.lrb.co.uk/the-paper/v48/n09/john-lanchester/squillions
64•rwmj•1d ago•40 comments

strace-ui, Bonsai_term, and the TUI renaissance

https://blog.janestreet.com/strace-ui-bonsai-term-and-the-tui-renaissance/
13•matt_d•2h ago•3 comments

Fooling around with encrypted reasoning blobs

https://blog.cryptographyengineering.com/2026/05/29/fooling-around-with-encrypted-reasoning-blobs/
56•supermatou•3d ago•7 comments

CS336: Language Modeling from Scratch

https://cs336.stanford.edu/
428•kristianpaul•16h ago•45 comments

KL Zero: KL divergence intuition game

https://klzero.sarna.dev
22•psarna•2d ago•8 comments

Should you normalize RGB values by 255 or 256?

https://30fps.net/pages/255-vs-256-division/
243•pplanu•13h ago•97 comments

Crystal Nights (2008)

https://www.gregegan.net/MISC/CRYSTAL/Crystal.html
34•rorylawless•5h ago•4 comments

Launch HN: Expanse (YC P26) – Unlock Wasted GPU Capacity

77•ismaeel_bashir•17h ago•23 comments

Microsoft builds MacBook Pro rival with NVIDIA-powered Surface Laptop Ultra

https://www.windowslatest.com/2026/06/01/microsoft-builds-its-ultimate-macbook-pro-rival-with-the...
194•jbk•18h ago•414 comments

Nvidia RTX Spark

https://www.nvidia.com/en-us/products/rtx-spark/
382•shenli3514•1d ago•371 comments

What appear to be biochemical processes may be a natural feature of geology

https://www.quantamagazine.org/the-dirt-that-refused-to-die-20260601/
217•speckx•15h ago•73 comments

A new way to build chips: Sequentially stacking silicon to extend Moore's Law

https://matse.illinois.edu/news/85775
40•hhs•2d ago•20 comments

How to Build a Shitty Robot

https://mariozechner.at/posts/2026-05-30-shitty-robot/
5•zdw•2d ago•3 comments

Alphabet announces $80B equity capital raise to expand AI infra and compute

https://abc.xyz/investor/news/news-details/2026/Alphabet-Announces-Proposed-80-Billion-Equity-Cap...
159•gregschlom•9h ago•146 comments

Ask HN: Who is hiring? (June 2026)

182•whoishiring•15h ago•256 comments

Florida sues OpenAI and Sam Altman over AI risks

https://www.politico.com/news/2026/06/01/openai-hit-with-florida-lawsuit-00944215
208•cyunker•14h ago•168 comments

I made my phone slow on purpose

https://vinewallapp.com/notes/i-made-my-phone-slow-on-purpose/
190•gcampos•4d ago•167 comments

Age verification for social media, the beginning of the end for a free internet?

https://mullvad.net/en/blog/age-verification-for-social-media-the-beginning-of-the-end-for-a-free...
189•StrLght•7h ago•98 comments

Stealing from Biologists to Compile Haskell Faster

https://www.iankduncan.com/engineering/2026-05-30-stealing-from-biologists-to-compile-haskell-fas...
113•mooreds•2d ago•4 comments

Ask HN: Who wants to be hired? (June 2026)

113•whoishiring•15h ago•304 comments

Flipper Zero Zig Template

https://github.com/NishantJoshi00/flipper-template
139•Nars088•17h ago•11 comments

Anyone seen a CC- serial prefix on legacy networking hardware?

41•Throwaway_sys•2d ago•19 comments