frontpage.
newsnewestaskshowjobs

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/

Attention Costs $100k

https://tornikeo.com/your-attention-costs-100k/
470•tornikeo•3h ago•214 comments

Google Play Integrity locks out alternative operating systems

https://consumerrights.wiki/w/Google_Play_Integrity_locks_out_alternative_operating_systems
446•DeepLogin•7h ago•196 comments

California to require businesses to provide customers with human support

https://calmatters.digitaldemocracy.org/bills/b-29278
255•DeepLogin•6h ago•157 comments

OpenSSH: "switch default key type generated to ECDSA NISTP384"

https://github.com/openssh/openssh-portable/commit/5b63da24d393ec5f08ec4371e09b692fc86587a8
38•throw0101d•1h ago•4 comments

My OpenAI Dot made a discovery without me asking

https://echo.ls/dots-cwc/
703•maplet•14h ago•352 comments

Why not rewrite ESLint in Rust?

https://github.com/eslint/eslint/discussions/21626
62•ksec•1h ago•59 comments

Show HN: Post-quantum secure boot for the ESP32 and Pico 2

https://github.com/microtun/microtun-boot
14•dpeckett•1h ago•3 comments

BetterSPICE is a free, open-source SPICE circuit simulator

https://bspicesim.com/
177•zdw•9h ago•60 comments

OpenEMR Electronic Health Record Platform Under Siege

https://www.vulncheck.com/blog/openemr-under-siege
12•ersinesen•2h ago•0 comments

Did AI rediscover a cryptographic attack NSA had known since 2015?

https://an.dywa.ng/ecc.html
948•cbeuw•22h ago•637 comments

What broke when I enabled PQC for Git and SSH

https://nordlenord.github.io/my-shared-notes/?id=f86ed9e6f4ac17225617717a5a14255f
163•tukHelix•10h ago•63 comments

NSA, NIST, and post-quantum cryptography

https://blog.cr.yp.to/20220805-nsa.html
152•frostbyte64•8h ago•18 comments

Making cement in seconds just needs a big microwave

https://arstechnica.com/science/2026/12/making-cement-in-seconds-just-needs-a-really-big-microwave/
63•amooe•3d ago•35 comments

FreeHand

https://microsoft.github.io/FreeHand/
158•jhack•9h ago•77 comments

Drop the FFN – A Column Attention Transformer for TinyStories

https://github.com/jiaminres/drop-the-ffn
7•gaojiamin•2h ago•0 comments

Make Me a Million-Bench: a benchmark where AIs build companies in the real world

https://andonlabs.com/evals/mmm-bench
192•lukaspetersson•13h ago•111 comments

EmuStudio 0.50 – write and debug code on vintage computers

https://www.emustudio.net/
7•vbmacher•1h ago•2 comments

CleanYourTV: Remove Ads and Bloat from Android TV and Google TV

https://cleanyour.tv
565•kls0e•22h ago•190 comments

How to find and upgrade SSH and PGP keys using P‑256, ED25519, and Curve25519

https://sethmlarson.dev/how-to-find-and-upgrade-256-bit-curve-keys
313•lumpa•16h ago•111 comments

Website where an animated cat generates your password

https://www.catpassword.com
18•thunderbong•49m ago•6 comments

I'm Done Playing with My Python

https://grandimam.net/posts/i-m-done-playing-with-my-python/
13•grandimam•3h ago•11 comments

Into which trinitarian heresy hath ye fallen?

https://blesswrong.com
536•rachelshu•20h ago•393 comments

OpenAI's matrix multiplication paper solved a harder problem in computer science

https://www.newscientist.com/article/2602472-openai-solved-a-huge-problem-in-computer-science-and...
221•shinryuu•16h ago•46 comments

Tinybrowser: A browser running directly in the browser

https://tinybrowser.ericc.ch/
149•auraham•12h ago•57 comments

Intellectual Debt After Generative AI

https://www.noemamag.com/intellectual-debt-after-generative-ai/
626•theanonymousone•1d ago•418 comments

My second-hand 5G router came with a Tailscale backdoor named after me

https://blog.euhe.eu/posts/second-hand-router-backdoor/
145•siguiriya•3h ago•74 comments

Claude refuse to share any info on Dario Amodei's wife

https://www.reddit.com/r/artificial/comments/1wsrppt/why_does_claude_refuse_to_share_any_info_on_...
10•mgh2•35m ago•2 comments

Soldiers of Misfortune: The Drawings of Urs Graf the Elder

https://publicdomainreview.org/essay/soldiers-of-misfortune/
3•HowardLien•1d ago•0 comments

Claude still falls for old jailbreak exploits

https://spectrum.ieee.org/anthropic-ipo-security
383•speckx•20h ago•225 comments

OpenAI: Smooth four-dimensional Poincaré conjecture disproved [pdf]

https://github.com/openai/math/blob/main/preprints/Exotic-four-spheres-detected-by-Khovanov-homol...
226•xhevahir•12h ago•146 comments