philihpAboutPGPLightning

The Family Reunion Problem

Philihp Busby,0 min read

Here's an interesting problem. I would like to call this the family reunion problem. As far as I know, this problem hasn't been stated or generalized anywhere else. But maybe it has?

Suppose a set of people live in different cities and wish to have a reunion. They're fairly far apart such that they'll be flying, cost is an issue. Everyone is indifferent as to the city, but they wish to minimize the total travel cost of the trip.

The family consists of the following people:

Costs to fly between each city are given in this matrix:

BOSMIALAXSEA
SFO2182339898
SEA218238138
LAX218283
MIA168

Which member of the family should host the reunion?

Of course this is easy with just 4 people, but family reunions usually have many times this. And family reunions don't necessarily have to be held in a home city; it could be an entirely new venue.

My intuition tells me this is NP-Complete , but it has been a while.

GitHub · Bluesky · LinkedIn · Instagram · KeybaseRSS

Built from 8f0906ac CC BY 4.0 — with love from San Francisco.