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/

A misalignment of AI in mathematics

https://mathandai.org/
692•meredydd•9h ago•722 comments

I spent $220 on Google app ads and 60% of the installs were robots

https://dayzlegame.com/blog/google-ads-bot-farm/
338•nickabe•8h ago•179 comments

A Design Space Exploration of Async/Await

https://cel.cs.brown.edu/blog/design-space-async-await/
167•wcrichton•2d ago•37 comments

OpenAI agents carried out an undisclosed attack on RubyGems

https://www.rubyhack.ai/
392•chao-•3h ago•226 comments

AI researchers debate how close we are to recursive self-improvement

https://www.dwarkesh.com/p/john-beren-charlie
51•artninja1988•5h ago•32 comments

GrapheneOS' rewritten Messages app is released

https://github.com/GrapheneOS/Messaging/releases/tag/13
211•microtonal•8h ago•133 comments

Project Blinkenlights

https://blinkenlights.de/en/
56•doener•4h ago•23 comments

Litelm: LiteLLM Without the Bloat

https://github.com/kennethwolters/litelm
102•kennethwolters•8h ago•38 comments

Show HN: ResolveHQ – A Helpdesk Built on Cloudflare Workers, D1, R2 and Queues

https://github.com/mirza-rizvi/ResolveHQ
32•mirza_rizvi•5h ago•12 comments

Λ Snap – An inviting programming language for kids and adults for CS study

https://snap.berkeley.edu/
119•dr_kiszonka•9h ago•62 comments

Mind-altering drugs played key role in rise of Andean civilization

https://www.science.org/content/article/mind-altering-drugs-played-key-role-rise-andean-civilization
112•geneticdrifts•9h ago•80 comments

Hepburn Romanization: How to Read Japanese in the Latin Alphabet

https://www.fink-translate.com/blog/hepburn-romanization.html
23•miuraboy•1d ago•25 comments

How Poor People Buy Cars

https://abio.substack.com/p/how-poor-people-buy-cars
45•barry-cotter•1h ago•30 comments

AlphaGenome maps 9B DNA variants

https://spectrum.ieee.org/alphagenome-atlas
71•ltononro•2d ago•6 comments

I've operated petabyte-scale ClickHouse clusters for 5 years

https://www.tinybird.co/blog/what-i-learned-operating-clickhouse
181•adastral•4d ago•68 comments

Starlink Signal Leakage Threatens Radio Astronomy's Most Critical Frequencies

https://www.gadgetreview.com/starlinks-signal-leakage-is-threatening-radio-astronomys-most-critic...
45•upofadown•2h ago•17 comments

The EPA is planning to scrap public review rules for data center pollution

https://capitalbnews.org/data-centers-permit-rules-epa/
374•doener•8h ago•257 comments

Rune is now open source

https://rune.build/blog/rune-is-now-open-source
150•ernestrc•11h ago•55 comments

Logo Programming Language

https://el.media.mit.edu/logo-foundation/what_is_logo/logo_programming.html
244•azhenley•2d ago•103 comments

QueryBrew: System-Agnostic SQL-to-SQL Query Optimization [pdf]

https://www.vldb.org/pvldb/vol19/p4494-schmidt.pdf
21•matt_d•4h ago•8 comments

How we rebuilt complex permissions without migrating to Zanzibar

https://infisical.com/blog/folder-based-rbac
29•FinnLobsien•2d ago•8 comments

Show HN: Bodily Oddities

https://vester.si/bodily-oddities/
172•vesterde•1d ago•141 comments

Claude is only available to people over 18 years

https://support.claude.com/en/articles/15171100-age-assurance-on-claude
588•Muhammad523•16h ago•609 comments

Zep AI (YC W24) Is Hiring a Head of Forward Deployed Engineering

https://www.getzep.com/careers/
1•roseway4•9h ago

Testing Race Conditions

https://projectzero.google/2026/09/maccconc-race-condition.html
19•alpaylan•2d ago•0 comments

Show HN: Graphify C# – Compiler-accurate Find Usages for coding agents

https://github.com/zachsaw/graphify-csharp
9•zachsaw•2h ago•7 comments

The oldest known Snakes and Ladders board is probably a forgery

https://en.quantumgame.love/guide/how-old-is-snakes-and-ladders.html
4•AlexLeela•1d ago•1 comments

CIA Releases President's Daily Briefs in Commemoration of 9/11

https://www.cia.gov/stories/story/cia-releases-presidents-daily-briefs-in-commemoration-of-the-25...
119•stmw•8h ago•57 comments

RTK reports token savings, but our cost benchmarks disagree

https://quesma.com/blog/does-rtk-make-ai-coding-cheaper/
148•michalwarda•15h ago•76 comments

Show HN: Godot and Rust based multiplexer (terminal panes and more)

https://github.com/godot-pty/gpty
83•1nv1n•10h ago•42 comments