57
« Last post by Ian Wakeling on December 29, 2024, 10:32:08 AM »
I don't have any existing way of attempting to optimize the couples as you describe. The way to go about this is to define an unfairness score for a match based on how far apart the rankings of the four players were, and then look for schedules that minimize the total unfairness score for all games in the schedule. This could even be done on an existing mixed doubles schedule, as you could consider permutations of the player numbers within each group, each permutation gives a different unfairness score, and an algorithm could be used to choose permutations that drive down the total score.
I could make a schedule without the couples balance, but how many rounds are you looking for when there are 18 players? With four courts there will be two byes per round, so only schedules with a multiple of 9 rounds can have the same number of games for each player.