Round Robin Tournament Scheduling

Schedules - You must register to Post and Download => Requests => Topic started by: pmoffat on August 25, 2022, 12:35:28 PM

Title: 6 team leagues playing home and away but with shared courts
Post by: pmoffat on August 25, 2022, 12:35:28 PM
Hi
I have inherited a tennis league setup that runs summer and winter competitions. In each competition, there are mens, ladies and mixed leagues, each consisting of up to 6 teams. Each team plays the other home and away so there are 10 match days in each league. Each team is associated with a club and only has a certain number of courts available to play on. The fixtures were previously generated on a spreadsheet using trial and error, having to manually balance team' court availability.
I have created a solution using PHP and Berger tables to generate the fixtures which works but does give different output to if i used the spreadsheet. I have been looking at ways to automatically create the fixtures but can't see a pattern in the fixtures. You may have seen this previously or be able to spot a relevant pattern.
The first five rounds fixtures are below (rounds 6-10 are a reverse of this)
(https://i.imgur.com/mDdrSz8.png)
I can see that teams 1/2, 3/4 5/6 are never at home in the same week so am able to use this to account for teams sharing courts.
Can anyone see any pattern in the above that means i could build code to handle this?
Title: Re: 6 team leagues playing home and away but with shared courts
Post by: Ian Wakeling on August 26, 2022, 05:28:36 AM
Have you tried my spreadsheet here (https://www.devenezia.com/round-robin/forum/index.php?topic=1132.0)?  In home and away mode it will generate something similar to your single round-robin example - however it will arrange it so that there is better variation in the sequence of home and away games.  In your schedule the sequences for 5 and 6 are not optimal.  The spreadsheet has VBA code for generating single and double round-robins.
Title: Re: 6 team leagues playing home and away but with shared courts
Post by: wbport on September 12, 2022, 09:41:02 AM

Can anyone see any pattern in the above that means i could build code to handle this?
This is a physical model of how the Burger tables work:  RR model (https://wjporter.com/chess_etc/rr3.htm)