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/

Codex starts encrypting sub-agent prompts

https://github.com/openai/codex/issues/28058
308•embedding-shape•3h ago•192 comments

Codex scraped the ICM website and discovered 2026 Fields Medal winner list

https://phemex.com/news/article/2026-fields-medal-winners-list-leaked-includes-two-peking-univers...
118•zaikunzhang•3h ago•82 comments

Proof of Care in the Age of A.I

https://jacobfilipp.com/care/
76•jfil•1h ago•39 comments

Beautiful Type Erasure with C++26 Reflection

https://ryanjk5.github.io/posts/rjk-duck/
45•RyanJK5•2h ago•15 comments

OpenAI mandates hardware-backed passkeys for Trusted Access Cyber members

https://www.yubico.com/blog/openai-mandates-hardware-backed-passkeys-for-trusted-access-cyber-mem...
17•speckx•32m ago•5 comments

Demis Hassabis has a plan to harness AI safely

https://twitter.com/demishassabis/status/2076957440109625718
17•asiergoni•5h ago•4 comments

Tensor Is the Might

https://zserge.com/posts/tensor/
24•eatonphil•1h ago•8 comments

Coding agents think ahead of time

https://arxiv.org/abs/2607.05188
46•andre15silva•2h ago•36 comments

Show HN: I RL-trained an agent that trains models with RL (for –$1.3k)

https://github.com/Danau5tin/ai-trains-ai
40•Danau5tin•2h ago•16 comments

Show HN: Juggler – an open-source GUI coding agent, by the creator of JUCE

https://github.com/juggler-ai/juggler
11•julesrms•1d ago•2 comments

Japan develops a method to recover up to 90% of lithium from used EV batteries

https://tech.supercarblondie.com/japan-recovers-up-to-90-of-lithium-from-used-ev-batteries/
657•donohoe•12h ago•175 comments

A Philosopher's One-Word Theory to Explain Why the World Feels So Weird

https://www.derekthompson.org/p/a-philosophers-one-word-theory-to
6•FinnLobsien•27m ago•2 comments

Punch Yourself in the Face with Reality

https://adi.bio/reality
72•AdityaAnand1•3h ago•30 comments

Alternative(s) to run CUDA on non-Nvidia hardware

https://www.hpcwire.com/2026/07/09/spectral-compute-aims-to-set-cuda-free-will-it-succeed/
95•alok-g•6h ago•43 comments

Differentiable Fortran with LFortran and Enzyme

https://docs.pasteurlabs.ai/projects/tesseract-core/latest/blog/2026-07-09-enzyme-lfortran-autodi...
23•dionhaefner•2h ago•4 comments

Paxos Made Simple (2001)[pdf]

https://lamport.azurewebsites.net/pubs/paxos-simple.pdf
8•grep_it•4d ago•0 comments

Actegories

https://bartoszmilewski.com/2026/06/30/actegories/
32•ibobev•3h ago•4 comments

Germany set to restrict its Freedom of Information Act

https://www.dw.com/en/germany-freedom-of-information-act/a-77939695
141•robtherobber•2h ago•86 comments

Australian energy retailers must provide three hours of free daytime electricity

https://lenergy.com.au/free-daytime-electricity-is-coming-heres-how-it-actually-works/
178•i2oc•10h ago•274 comments

Indian scientists produce most detailed 3D atlas of the human brainstem

https://www.bbc.com/news/articles/cg53l737v1qo
126•BaudouinVH•8h ago•16 comments

The git history command

https://lalitm.com/post/git-history/
373•turbocon•13h ago•259 comments

The Future Worth Building Is Human

https://thinkingmachines.ai/blog/the-future-worth-building-is-human/
79•bilsbie•3h ago•46 comments

Just Let Me Write Digits

https://gendx.dev/blog/2026/07/13/input-digits.html
118•brandon_bot•8h ago•44 comments

YouTrackDB is a general-use object-oriented graph database

https://github.com/JetBrains/youtrackdb
153•gjvc•11h ago•53 comments

Notable Knot Index (2016)

https://knots.neocities.org/knotindex
49•surprisetalk•5d ago•7 comments

New York becomes the first state to impose a data center moratorium

https://www.reuters.com/world/new-york-becomes-first-state-impose-data-center-moratorium-2026-07-14/
11•granfalloon•26m ago•0 comments

Fundamentals of Wireless Communication (2005)

https://web.stanford.edu/~dntse/wireless_book.html
159•teleforce•12h ago•10 comments

Show HN: Rejourney – Open-source revenue leak prediction for web and mobile apps

https://github.com/rejourneyco/rejourney
21•mrr7337•3h ago•2 comments

How to build a circular LCD clock

https://blinry.org/lcd-clock/
121•birdculture•2d ago•54 comments

An Englishwoman who sketched India before photography took hold

https://www.bbc.com/news/articles/cm2drrv6q54o
200•1659447091•15h ago•62 comments