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

Comments

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

Test, don't (just) verify

https://alperenkeles.com/posts/test-dont-verify/
55•alpaylan•2h ago•20 comments

Adobe Photoshop 1.0 Source Code (1990)

https://computerhistory.org/blog/adobe-photoshop-source-code/
283•tosh•4d ago•61 comments

Instant database clones with PostgreSQL 18

https://boringsql.com/posts/instant-database-clones/
189•radimm•7h ago•57 comments

Executorch: On-device AI across mobile, embedded and edge for PyTorch

https://github.com/pytorch/executorch
43•klaussilveira•5d ago•3 comments

Ryanair fined €256M over ‘abusive strategy’ to limit ticket sales by OTAs

https://www.theguardian.com/business/2025/dec/23/ryanair-fined-limit-online-travel-agencies-ticke...
61•aquir•4h ago•81 comments

Carnap – A formal logic framework for Haskell

https://carnap.io/
65•ravenical•6h ago•11 comments

Font with Built-In Syntax Highlighting (2024)

https://blog.glyphdrawing.club/font-with-built-in-syntax-highlighting/
60•california-og•4h ago•9 comments

10 years bootstrapped: €6.5M revenue with a team of 13

https://www.datocms.com/blog/a-look-back-at-2025
145•steffoz•7h ago•40 comments

Show HN: CineCLI – Browse and torrent movies directly from your terminal

https://github.com/eyeblech/cinecli
213•samsep10l•10h ago•77 comments

Snitch – A friendlier ss/netstat

https://github.com/karol-broda/snitch
244•karol-broda•14h ago•67 comments

It's Always TCP_NODELAY

https://brooker.co.za/blog/2024/05/09/nagle.html
387•eieio•18h ago•128 comments

Ask HN: What are the best engineering blogs with real-world depth?

170•nishilpatel•5h ago•57 comments

The Illustrated Transformer

https://jalammar.github.io/illustrated-transformer/
429•auraham•20h ago•78 comments

Ultrasound Cancer Treatment: Sound Waves Fight Tumors

https://spectrum.ieee.org/ultrasound-cancer-treatment
299•rbanffy•19h ago•87 comments

Partial inlining

https://xania.org/202512/18-partial-inlining
29•hasheddan•5d ago•1 comments

GLM-4.7: Advancing the Coding Capability

https://z.ai/blog/glm-4.7
379•pretext•20h ago•201 comments

Claude Code gets native LSP support

https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
472•JamesSwift•23h ago•278 comments

NIST was 5 μs off UTC after last week's power cut

https://www.jeffgeerling.com/blog/2025/nist-was-5-μs-utc-after-last-weeks-power-cut
307•jtokoph•22h ago•131 comments

The Polyglot NixOS

https://x86.lol/generic/2025/12/19/polyglot.html
92•todsacerdoti•3d ago•28 comments

Our New Sam Audio Model Transforms Audio Editing

https://about.fb.com/news/2025/12/our-new-sam-audio-model-transforms-audio-editing/
132•ushakov•6d ago•47 comments

Cecot – 60 Minutes

https://archive.org/details/insidececot
923•lawlessone•14h ago•149 comments

Debian adds LoongArch as officially supported architecture

https://lists.debian.org/debian-devel-announce/2025/12/msg00004.html
110•cbmuser•3d ago•26 comments

Classical billiards can compute (2d billiard systems are Turing complete)

https://arxiv.org/abs/2512.19156
14•nabla9•5h ago•1 comments

Solving the Problems of HBM-on-Logic

https://morethanmoore.substack.com/p/solving-the-problems-of-hbm-on-logic
13•zdw•5d ago•0 comments

The Garbage Collection Handbook

https://gchandbook.org/index.html
243•andsoitis•19h ago•29 comments

The Duodecimal Bulletin, Vol. 55, No. 1, Year 1209 [pdf]

https://dozenal.org/drupal/sites_bck/default/files/DuodecimalBulletinIssue551.pdf
55•susam•13h ago•24 comments

FPGAs Need a New Future

https://www.allaboutcircuits.com/industry-articles/fpgas-need-a-new-future/
211•thawawaycold•4d ago•131 comments

Flock Exposed Its AI-Powered Cameras to the Internet. We Tracked Ourselves

https://www.404media.co/flock-exposed-its-ai-powered-cameras-to-the-internet-we-tracked-ourselves/
696•chaps•22h ago•426 comments

Scaling LLMs to Larger Codebases

https://blog.kierangill.xyz/oversight-and-guidance
282•kierangill•23h ago•110 comments

Remove Black Color with Shaders

https://yuanchuan.dev/remove-black-color-with-shaders
45•surprisetalk•4d ago•17 comments