Round Robin Tournament Scheduling

Pinball Tourney 4 tables

TBK · 8 · 4009

TBK

  • Newbie
  • *
    • Posts: 5
on: June 12, 2017, 12:52:01 PM
Four machines in league play, 16 players, I'd like each player to play every machine exactly twice, while never playing any one opponent more than three times.

Would love to scale this up to 6 machines and 21 players from the above solution, as well.


Ian Wakeling

  • Forum Moderator
  • God Member
  • *****
    • Posts: 1141
Reply #1 on: June 12, 2017, 02:03:28 PM
Please describe the format for one round of play.   How many people at each machine?  How many byes?  Thanks.


TBK

  • Newbie
  • *
    • Posts: 5
Reply #2 on: June 12, 2017, 02:18:08 PM
Four players per machine each round (three player groups are also acceptable, so we can accomodate absences), eight rounds total.


Ian Wakeling

  • Forum Moderator
  • God Member
  • *****
    • Posts: 1141
Reply #3 on: June 13, 2017, 04:08:36 AM
I have found the schedule below which meets your requirements.  There are 4 pairs of players who oppose three times (7,3) (7,4) (8,3) (8,4).  There are also two pairs who never meet (5 7) & (6 8).  I had hoped there was a way of doing this where all pairs of players oppose either once or twice, but I can't see a way to do it.

    Machine 1     Machine 2     Machine 3     Machine 4
  (12  3  8  7) (16 13  9  4) (15  2  5  6) (11 14  1 10)
  (16  6 10  9) ( 2  1  3  8) (13  7 11 15) ( 5  4 14 12)
  ( 6  1 12  4) (13  5  8 10) ( 2 14  9 11) ( 7 16  3 15)
  ( 1 15 14 13) ( 5 11 16 12) ( 3  8  9  4) ( 7  2  6 10)
  (11  4  7  8) (15 14 10  3) (16  1  6  5) (12 13  2  9)
  (15  5  9 10) ( 1  2  4  7) (14  8 12 16) ( 6  3 13 11)
  ( 5  2 11  3) (14  6  7  9) ( 1 13 10 12) ( 8 15  4 16)
  ( 2 16 13 14) ( 6 12 15 11) ( 4  7 10  3) ( 8  1  5  9)


6 machines and 21 players sounds much harder.   How about 5 machines and 20 players?
« Last Edit: June 13, 2017, 04:19:39 AM by Ian »


TBK

  • Newbie
  • *
    • Posts: 5
Reply #4 on: June 14, 2017, 11:44:44 AM
Five and 20 would be great, thank you!

I wonder why there are some pairings that never happen while others repeat so often, it just seems like it should work out with those parameters and the number of available opponents?


TBK

  • Newbie
  • *
    • Posts: 5
Reply #5 on: June 14, 2017, 11:47:16 AM
Also, wondering if not playing the same game twice in a row is possible, I guess I could trade lines around in your solution, right?


Ian Wakeling

  • Forum Moderator
  • God Member
  • *****
    • Posts: 1141
Reply #6 on: June 15, 2017, 03:35:27 AM
Perhaps I have undersold the 4 and 16 schedule by pointing out the problems.  In fact it is quite close to the optimal situation where all pairs occur either once or twice.  In total there are 120 pairs, of which only 6 have issues, so the schedule is 95% of the way there.  The computer search I used to find it could not do any better.

The twice in a row issue will always be present I fear.  The requirement to avoid replication of pairs as much as possible makes this inevitable.  For example take the block (6 1 12 4) at machine 1.  The second incidence of these 4 players at machine 1, as you might expect, are all in different blocks, so it is more likely than not that one or two of these are in the round before or after.  As suggested you are free to reorder the rounds, but I doubt you will be able to achieve much improvement as the problem described will remain.

The 5 and 20 schedule is easier to solve, and I have found an optimal 10 round schedule below, with each player exactly twice at a machine :

  ( 1 18  5 15) ( 9  8  3 14) ( 4  7 20 11) ( 6  2 17 16) (13 19 12 10)
  ( 2 19  1 11) (10  9  4 15) ( 5  8 16 12) ( 7  3 18 17) (14 20 13  6)
  ( 3 20  2 12) ( 6 10  5 11) ( 1  9 17 13) ( 8  4 19 18) (15 16 14  7)
  ( 4 16  3 13) ( 7  6  1 12) ( 2 10 18 14) ( 9  5 20 19) (11 17 15  8)
  ( 5 17  4 14) ( 8  7  2 13) ( 3  6 19 15) (10  1 16 20) (12 18 11  9)
  ( 6 19 14  8) (12 18 20  2) (15  3 10 17) (13  5 11  9) ( 4  1 16  7)
  ( 7 20 15  9) (13 19 16  3) (11  4  6 18) (14  1 12 10) ( 5  2 17  8)
  ( 8 16 11 10) (14 20 17  4) (12  5  7 19) (15  2 13  6) ( 1  3 18  9)
  ( 9 17 12  6) (15 16 18  5) (13  1  8 20) (11  3 14  7) ( 2  4 19 10)
  (10 18 13  7) (11 17 19  1) (14  2  9 16) (12  4 15  8) ( 3  5 20  6)
« Last Edit: June 15, 2017, 03:38:13 AM by Ian »


TBK

  • Newbie
  • *
    • Posts: 5
Reply #7 on: June 15, 2017, 12:13:46 PM
I don't feel you've undersold the solution at all. The only two constraints are each player plays each machine exactly twice while not having the same opponent more than three times. Groups that repeat are actually undesirable. Thank you so much for your help!