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/

OnePlus halts operations in USA and Europe

https://community.oneplus.com/thread/2170715118587871237
227•pilililo2•3h ago•132 comments

Goes-19 weather satellite enters Safe Hold mode

https://www.spaceweather.gov/news/goes-19-safe-hold
19•yabones•35m ago•2 comments

Let's Build PlanetScale from Scratch: Infrastructure

https://onatm.dev/2026/07/16/homescale-part-1/
47•onatm•2h ago•8 comments

SpaceX stock erases all its gains and slides below IPO price in intraday trading

https://www.latimes.com/business/story/2026-07-16/spacex-stock-erases-gains-slides-below-ipo-pric...
220•1vuio0pswjnm7•2h ago•163 comments

How to spend 15 years perfecting a product

https://refactoring.guru/email/gbb-rollout2
7•neochief•24m ago•1 comments

Show HN: I've built a words game based on binary search

https://hilogame.cc/
11•ludovicianul•50m ago•11 comments

Ente – Opening Our Books

https://ente.com/open/
74•Sherex•3h ago•17 comments

The lost joy of music piracy

https://www.pigeonsandplanes.com/read/music-piracy-what-cd-oink-nine-inch-nails-streaming
518•mcgin•9h ago•337 comments

Where are YC founders now? OpenAI and Anthropic, mostly

https://joinedanthropic.com
160•ohong•6h ago•72 comments

Inkling: Our Open-Weights Model

https://thinkingmachines.ai/news/introducing-inkling/
1089•vimarsh6739•19h ago•269 comments

Show HN: AI Law Tracker – one audited API for US, EU and global AI law

https://ai-law-tracker.com
3•asm28208•14m ago•0 comments

The Act and the Outcome of Creation

https://www.ssp.sh/blog/on-creation/
17•zazuke•2h ago•1 comments

Sony Deletes a Bunch More Movies from the Accounts of People Who 'Bought' Them

https://www.techdirt.com/2026/07/15/sony-deletes-a-bunch-more-movies-from-the-accounts-of-people-...
64•nekusar•1h ago•30 comments

A Beautiful Theory Falls to Ugly Data

https://marginalrevolution.com/marginalrevolution/2026/05/a-beautiful-theory-falls-to-ugly-data.html
50•paulpauper•3d ago•33 comments

Track your workout from the iPhone Lock Screen

https://musklr.com/blog/2026/iphone-lock-screen-workout-tracking-live-activity/
19•badgag•3h ago•16 comments

The LLM Critics Are Right. I Use LLMs Anyway

https://www.theocharis.dev/blog/llm-critics-are-right-i-use-llms-anyway/
79•JeremyTheo•2h ago•89 comments

Panel meter calculator with floating point

https://lcamtuf.substack.com/p/panel-meter-calculator-with-floating
15•surprisetalk•3d ago•0 comments

Teardown: A Generic 7-Port USB 3.0 Hub That Wasn't

https://goughlui.com/2026/07/09/teardown-a-generic-7-port-usb-3-0-hub-that-wasnt/
126•speckx•3d ago•55 comments

1,300 Beautiful Wildlife Illustrations from the 19th Century Now Restored

https://www.openculture.com/2026/07/explore-1300-beautiful-wildlife-illustrations-from-the-19th-c...
155•gslin•10h ago•28 comments

Let's build a simple interpreter for APL – part 1

https://mathspp.com/blog/lsbasi-apl-part1
21•mpweiher•6d ago•0 comments

Grok Build is open source

https://github.com/xai-org/grok-build
517•skp1995•17h ago•554 comments

If you want to create a button from scratch, you must first create the universe

https://madcampos.dev/blog/2026/07/accessibility-from-scratch/
188•treve•10h ago•91 comments

Governments, companies, nonprofits should invest in free, open source AI [pdf]

https://www.siegelendowment.org/wp-content/uploads/2026/07/fortune-david-siegel-open-source-ai.pdf
243•bilsbie•16h ago•85 comments

Introduction to KizunaShelf: A shelf for everything you love

https://mudkip.me/2026/07/16/Introduction-to-KizunaShelf/
6•mudkipme•1h ago•1 comments

World-War-Ⅱ-era telephone line still in use in Upper Tanana Valley Alaska (2021)

https://www.sketchesofalaska.com/2021/03/world-war-ii-era-telephone-line-still.html
5•Lammy•5d ago•1 comments

Stripe and Advent have made a joint offer to acquire PayPal – sources

https://www.reuters.com/business/finance/stripe-advent-offer-buy-paypal-more-than-53-billion-sour...
470•rvz•1d ago•276 comments

SQLite should have (Rust-style) editions

https://mort.coffee/home/sqlite-editions/
315•gnyeki•15h ago•144 comments

Teen hackers who live streamed cyber-attack on TfL jailed

https://www.bbc.com/news/articles/c4gyg0y6yg2o
11•neversaydie•1h ago•0 comments

Reynard: A real Firefox web browser for iOS 13 or later

https://github.com/minh-ton/reynard-browser
100•AbuAssar•9h ago•27 comments

Bluesky Trademarks ATProto

https://atproto.com/blog/at-protocol-trademark
144•chaosharmonic•12h ago•91 comments