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/

I tried Gleam for Advent of Code

https://blog.tymscar.com/posts/gleamaoc2025/
175•tymscar•4h ago•97 comments

VPN location claims don't match real traffic exits

https://ipinfo.io/blog/vpn-location-mismatch-report
38•mmaia•1h ago•8 comments

What is a build system, anyway?

https://jyn.dev/what-is-a-build-system-anyway/
13•todsacerdoti•1h ago•0 comments

Want to sway an election? Here’s how much fake online accounts cost

https://www.science.org/content/article/want-sway-election-here-s-how-much-fake-online-accounts-cost
5•rbanffy•21m ago•0 comments

Ask HN: How do you handle release notes for multiple audiences?

20•glidr_dev•1h ago•25 comments

I Fed 24 Years of My Blog Posts to a Markov Model

https://susam.net/fed-24-years-of-posts-to-markov-model.html
6•zdw•49m ago•0 comments

Cryptids

https://wiki.bbchallenge.org/wiki/Cryptids
67•frozenseven•1w ago•11 comments

Useful patterns for building HTML tools

https://simonwillison.net/2025/Dec/10/html-tools/
177•simonw•3d ago•55 comments

Ask HN: How can I get better at using AI for programming?

104•lemonlime227•5h ago•125 comments

Go Proposal: Secret Mode

https://antonz.org/accepted/runtime-secret/
117•enz•3d ago•43 comments

EasyPost (YC S13) Is Hiring

https://www.easypost.com/careers
1•jstreebin•4h ago

Analysis finds anytime electricity from solar available as battery costs plummet

https://pv-magazine-usa.com/2025/12/12/analysis-finds-anytime-electricity-from-solar-available-as...
114•Matrixik•3h ago•110 comments

What is the nicest thing a stranger has ever done for you?

https://louplummer.lol/nice-stranger/
216•speckx•2d ago•172 comments

Photographer built a medium-format rangefinder

https://petapixel.com/2025/12/06/this-photographer-built-an-awesome-medium-format-rangefinder-and...
141•shinryuu•6d ago•33 comments

Researchers seeking better measures of cognitive fatigue

https://www.nature.com/articles/d41586-025-03974-w
81•bikenaga•3d ago•25 comments

Former Apple, Google designer: "Are we stuck with the same Desktop UX forever?" [video]

https://www.youtube.com/watch?v=1fZTOjd_bOQ
31•joelkesler•2h ago•20 comments

A Lisp Interpreter Implemented in Conway's Game of Life (2021)

https://woodrush.github.io/blog/posts/2022-01-12-lisp-in-life.html
77•pabs3•18h ago•2 comments

Java FFM zero-copy transport using io_uring

https://www.mvp.express/
89•mands•6d ago•39 comments

Using Python for Scripting

https://hypirion.com/musings/use-python-for-scripting
63•birdculture•5d ago•54 comments

Dynamic Pong Wars

https://markodenic.tech/dynamic-pong-wars/
28•rendall•1w ago•4 comments

GNU Unifont

https://unifoundry.com/unifont/index.html
314•remywang•1d ago•72 comments

Rats Play DOOM

https://ratsplaydoom.com/
384•ano-ther•1d ago•144 comments

Z8086: Rebuilding the 8086 from Original Microcode

https://nand2mario.github.io/posts/2025/z8086/
34•nand2mario•6h ago•6 comments

Beautiful Abelian Sandpiles

https://eavan.blog/posts/beautiful-sandpiles.html
127•eavan0•4d ago•21 comments

A 'toaster with a lens': The story behind the first handheld digital camera

https://www.bbc.com/future/article/20251205-how-the-handheld-digital-camera-was-born
67•selvan•5d ago•36 comments

From Azure Functions to FreeBSD

https://jmmv.dev/2025/12/from-azure-functions-to-freebsd.html
27•todsacerdoti•5d ago•2 comments

A Giant Ball Will Help This Man Survive a Year on an Iceberg

https://www.outsideonline.com/outdoor-adventure/exploration-survival/how-giant-ball-will-help-man...
10•areoform•5h ago•14 comments

Computer Animator and Amiga fanatic Dick Van Dyke turns 100

210•ggm•12h ago•53 comments

Will West Coast Jazz Get Some Respect?

https://www.honest-broker.com/p/will-west-coast-jazz-finally-get
48•paulpauper•1w ago•30 comments

How to Watch the Radiant Geminid Meteor Shower Tonight

https://www.smithsonianmag.com/smart-news/this-years-best-and-brightest-meteor-shower-peaks-this-...
6•cjbarber•2h ago•3 comments