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

Comments

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

Advent of Code 2025

https://adventofcode.com/2025/about
171•vismit2000•2h ago•59 comments

Migrating Dillo from GitHub

https://dillo-browser.org/news/migration-from-github/
56•todsacerdoti•1h ago•27 comments

Windows drive letters are not limited to A-Z

https://www.ryanliptak.com/blog/windows-drive-letters-are-not-limited-to-a-z/
71•LorenDB•1h ago•9 comments

The Undermining of the CDC

https://www.newyorker.com/magazine/2025/12/08/the-undermining-of-the-cdc
24•bookofjoe•33m ago•2 comments

CachyOS: Fast and Customizable Linux Distribution

https://cachyos.org/
145•doener•4h ago•136 comments

Show HN: Boing

https://boing.greg.technology/
534•gregsadetsky•11h ago•99 comments

Show HN: Real-time system that tracks how news spreads across 200k websites

https://yandori.io/news-flow/
115•antiochIst•4d ago•29 comments

Norway wealth fund to vote for human rights report at Microsoft, against Nadella

https://www.cnbc.com/2025/11/30/norway-wealth-fund-to-vote-for-human-rights-report-at-microsoft-a...
108•saubeidl•1h ago•50 comments

Don't throw away your old PC–it makes a better NAS than anything you can buy

https://www.howtogeek.com/turned-old-windows-pc-into-inexpensive-nas/
35•makerdiety•1h ago•26 comments

Zigbook Is Plagiarizing the Zigtools Playground

https://zigtools.org/blog/zigbook-plagiarizing-playground/
371•todsacerdoti•11h ago•104 comments

RL is more information inefficient than you thought

https://www.dwarkesh.com/p/bits-per-sample
70•cubefox•3d ago•20 comments

Paul Hegarty's updated CS193p SwiftUI course released by Stanford

https://cs193p.stanford.edu/
35•yehiaabdelm•4d ago•3 comments

All it takes is for one to work out

https://alearningaday.blog/2025/11/28/all-it-takes-is-for-one-to-work-out-2/
639•herbertl•19h ago•290 comments

What's Hiding Inside Haribo's Power Bank and Headphones?

https://www.lumafield.com/first-article/posts/whats-hiding-inside-haribos-power-bank-and-headphones
96•rozenmd•2d ago•31 comments

The space of minds

https://karpathy.bearblog.dev/the-space-of-minds/
34•Garbage•5h ago•13 comments

Meshtastic

https://meshtastic.org/
230•debo_•14h ago•42 comments

Landlock-Ing Linux

https://blog.prizrak.me/post/landlock/
238•razighter777•17h ago•96 comments

The Easiest Way to Build a Type Checker

https://jimmyhmiller.com/easiest-way-to-build-type-checker
13•surprisetalk•2d ago•1 comments

The HTTP Query Method

https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-method-w-body-14.html
224•Ivoah•4d ago•98 comments

Geothermal Breakthrough in South Texas Signals New Era for Ercot

https://www.powermag.com/geothermal-breakthrough-in-south-texas-signals-new-era-for-ercot/
9•mooreds•56m ago•3 comments

Jiga (YC W21) Is Hiring Product Designer

https://www.ycombinator.com/companies/jiga/jobs/Cco7vyK-product-designer-remote-europe
1•grmmph•8h ago

Datacenters in space aren't going to work

https://taranis.ie/datacenters-in-space-are-a-terrible-horrible-no-good-idea/
381•mindracer•1d ago•313 comments

Learning Feynman's Trick for Integrals

https://zackyzz.github.io/feynman.html
230•Zen1th•19h ago•30 comments

Americans no longer see four-year college degrees as worth the cost

https://www.nbcnews.com/politics/politics-news/poll-dramatic-shift-americans-no-longer-see-four-y...
368•jnord•16h ago•569 comments

Discovering that my smartphone had infiltrated my life

https://utcc.utoronto.ca/~cks/space/blog/tech/SmartphoneInfiltratedMyLife
8•walterbell•1h ago•0 comments

A new Little Prince museum has opened its doors in Switzerland

https://www.lepetitprince.com/en/events-around-the-world/a-new-little-prince-museum-has-opened-it...
83•gnabgib•14h ago•50 comments

Advice for crime analyst to break into data science

https://andrewpwheeler.com/2025/11/21/advice-for-crime-analyst-to-break-into-data-science/
18•speckx•1w ago•0 comments

Blender facial animation tool. What else should it do?

https://github.com/shun126/livelinkface_arkit_receiver/wiki
106•happy-game-dev•2d ago•13 comments

Leak confirms OpenAI is preparing ads on ChatGPT for public roll out

https://www.bleepingcomputer.com/news/artificial-intelligence/leak-confirms-openai-is-preparing-a...
752•fleahunter•1d ago•670 comments

Matrix Core Programming on AMD CDNA Architecture

https://rocm.blogs.amd.com/software-tools-optimization/matrix-cores-cdna/README.html
47•salykova•4d ago•9 comments