Wikipedia:Reference desk/Archives/Miscellaneous/2024 March 20

Miscellaneous desk
< March 19 << Feb | March | Apr >> Current desk >
Welcome to the Wikipedia Miscellaneous Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


March 20

edit

Asymmetrical round robin generator

edit

Is there any service where one can create asymmetrical home and away round robins where the order of opponents in the second half of the season is different from the order in the first half of the season? In England, the leagues play a type of schedule where the order in two halves is not same, but each team that meet each other in one week will all meet each other again on same week in other half of the season, and also the corresponding weeks are clustered, but are not in symmetrical order. Most generators only let me create symmetrical calendars. And I know that I have asked this before, but I would like to have such a service. --40bus (talk) 19:25, 20 March 2024 (UTC)[reply]

Generating the first half and then randomly generating an order for the reverse fixtures in the second would seem to me to be trivially easy. {The poster formerly known as 87.81.230.195} 51.241.39.117 (talk) 06:22, 21 March 2024 (UTC)[reply]
I generate the schedules for our local children's basketball, baseball, and football teams. Every team has to play every other team twice, once as a home team, once as an away team. I pair up every team as a home game with every other team as an away team. So, Team A is home against Team B, then home against Team C, then home against Team D, etc... Once I finish with Team A, I go to Team B and make it a home team against every other team as away. In this list, Team A plays every home game first and then all away. We don't want that. So, I shuffle the games. Then, I check to make sure there is no case where teams play each other twice in a row. If that does happen, I shuffle again, recheck, shuffle, recheck. Then, I have the schedule. Note that this can be done in a spreadsheet just as easy as a computer script. It used to be done in a hat. You wrote down all the combinations, put them in a hat, then pulled a random game. If you got a pair playing back to back, you just put the game back in the hat and drew again. 75.136.148.8 (talk) 12:43, 21 March 2024 (UTC)[reply]