Both Gerlach's MacMahon and OpenGotha use a pairing method based on running the "Maximum Weight Perfect Matching" algorithm on a completely connected graph of the players. That means they assign weights to each and every possible pair of players indicated how (un)desirable it is for them to play, and then run a global optimization algorithm that is guaranteed to find the pairing with the highest possible overall weight in O(n3) time.
Some of the things that go into the weight are:
- Have these players played before? (very bad pair!)
- What is the difference in (McMahon) Score between these players? (higher difference is worse)
- What are the players' positions without their group (for fold or slide pairing)
- How often have these players had which color (can we increase color balance?)
- Are they from the same club? Same country?
The point of this post is to highlight the second point: What is the score difference.
By default, in Gerlach's MacMahon, the score difference is squared to give it its weight. That means that the program considers pairing two players with 2 points difference (weight 4) as bad a making four pairings with difference 1 (4 times weight 1).
To illustrate this point, I have constructed the following tournament table:
Code: Select all
Pos Name Rank r1 r2 r3 r4 Pt SOS
1. Alice 5d 9+ 7+ 4+ 2+ 4 7
2. Bob 5d 8+ 4+ 5+ 1+ 3 9
3. Chris 4d 5- 9+ 10+ 8+ 3 5
4. Dave 2d 7+ 2- 1- 5+ 2 10
5. Emma 2d 3+ 6+ 2- 4- 2 9
6. Frank 3d 10+ 5- 8- 7+ 2 5
7. Gina 3d 4- 1- 9+ 6- 1 9
8. Helen 2d 2- 10- 6+ 3- 1 9
9. Isaac 1d 1- 3- 7- 10+ 1 9
10. Joe 2d 6- 8+ 3- 9- 1 7
(This is where the "too much time on my hands" comes in. Took me many many hours to get that just right)
Now, here are two possible ways the next round could be paired:
1-3, 2-6, 4-10, 5-9, 7-8
1-5, 2-3, 4-6, 7-10, 8-9
In the first pairing, there are four games that have a score difference of 1, the first four games.
In the second, only the first pair spans groups, but it spans two of them. All the other pairings are within their own group.
So, according to MacMahon, these pairings are exactly equally good, where score difference is concerned.
Personally, I would prefer the first pairing, as it gives the tournament leader a closer opponent, and I feel that the pairings that affect the tournament outcome are more important than those lower down. What do you think?