Behind the sun, sand and well-tanned glamour of the Heartbreak Island matches was a ingeniously simple process. So simple in fact, that as recently as 2012, the algorithm that matched the couples won the The Nobel Economics Prize.
Dubbed "the stable marriage problem", the name may not suit the premise of the partner-swapping reality series, but it is hard to envisage a more elegant match making process. It works with two groups of the same size ranking their preference of the other group. The most picked partner of one group is matched with their top partner – but only if that partner also picked them. The second most popular then picks their top preference if that preference has chosen them and is still free.
The process continues like that until all partners are paired.
The show's twist is that the contestants were choosing from just pictures and a bio - so their eventual match may not be the person they would have preferred after meeting them.
Of course, the less popular the contestants are, the less likely they are to have a partner who ranked highly on their list. Even worse, the contestants only chose their top three preferences - so some people didn't get picked at all.
The algorithm was first used to match New York City "eighth graders" (our year 9) to their preference of schools. The students ranked their preference of schools and the schools ranked their preference of students. Until the algorithm was invented, this was a chaotic disaster, with several rounds of application processes.
With the stable marriage algorithm to match students with schools, the idea of "stability" was satisfied; "there is not a student and a school who would prefer to be matched with each other more than their current matches."
And so, the prize was awarded to Lloyd S. Shapley and Alvin E. Roth "for the theory of stable allocations and the practice of market design."
It's a pity we can't invent a system in which online-dating-profiles tell you exactly who you would ACTUALLY want to date so that the Heartbreak Island contestants got the most out of this algorithm.
It might help if your first choice doesn't dab when he walks off the jetty - Sorry Harry!
- WeddingsDying bride's perfect day: My final dream has come true
Woman's DayToday 2:25pm
- RoyalsPrince Harry's trick to beating a heatwave? ‘Budgie smugglers’, he says
Now To LoveToday 1:00pm
- TVWhat drove these celebs to sign up for Celebrity Treasure Island
Woman's DayToday 12:35pm
- Pregnancy & BirthWhy model Ashley Graham's baby bump photo has got everyone talking
Now To LoveToday 12:07pm
- RoyalsDuchess Catherine honours this lucky nine-year-old to celebrate World Photography Day
Now To LoveToday 11:15am
- CareerI loved him like a son: Phil Kingsley Jones remembers Jonah Lomu in his final years
New Zealand Woman's WeeklyToday 9:29am
- TVMatty McLean says he's lived some of his proudest moments on Celebrity Treasure Island
New Zealand Woman's WeeklyToday 9:09am
- TVThe redemption of former All Black Zac Guildford on Celebrity Treasure Island
Now To LoveYesterday 8:45pm
- TVKarl Burnett quits Celebrity Treasure Island as mental health suffers
Now To LoveYesterday 8:30pm
- Married at First SightMAFS' Cyrell Paule is expecting a baby with Love Island's Eden Dally
Now To LoveYesterday 1:21pm
- Pregnancy & BirthAll the gorgeous details from Samantha Hayes’ 'beautiful' baby shower
Now To LoveYesterday 12:17pm
- TVFour curious things we've learned about the stars on Celebrity Treasure Island
Now To LoveYesterday 10:42am
- TVThe first trailer for Married at First Sight NZ has been released and it's utter chaos
Now To LoveYesterday 9:48am
- RoyalsDuchess Meghan and Prince Harry jet off on another family holiday to the south of France
Now To LoveYesterday 9:15am
- FamilyWhy Karl Burnett is hoping to be voted off Celebrity Treasure Island
Woman's DayYesterday 8:30am