20 Teams, 2 SL, 2D of 5 in each, 26 games
Ok, I continue to fail to successfully create a schedule and am hopeful someone can help.
I am looking for a 20 team schedule, 2 SL with 2 divisions of 5 teams each. Each team plays 1 game per week on Saturdays (any time). The schedule takes place over 26 weeks. Each team plays the other teams in its division 2H and 2A (16 games) and then plays the teams in the other division in its SL for 1H and 1A (10 more games for 26 games total). No interleague games and no all star game. Can anyone help? |
Since the two subleagues do not interact, we can view this as a 10-team schedule for 2 divisions each of 5 teams. Then copy it to make it cover both subleagues.
First things, we can go ahead and make the interdivision matchups. We will start with the corresponding teams being against each other (i.e., 1v6, 2v7, etc), flip the home/away, then rotate the second division teams around until all the matchups are made. Code:
Interdivision matchups Code:
Div Matchups Left out Now we can make the matchups within the other division simply by copying those from the first. We just add 5 to the team numbers. The left out teams from the divisions will be in the middle between the division matchups. Code:
Div Matchups Left out Div Matchups What we can do is simply offset the second division matchups to change the alignment. We take the top two rows from those columns and move them to the bottom. By offsetting by two rows, we maintain the need for the 2 corresponding team matchups, but we replace the other 2 with different interdivision matchups. Code:
Div Matchups Left out Div Matchups So we have set all the division matchups, filling in interdivision matchups as needed. The remaining interdivision matchups are complete in that they involve all the teams represented at all times. Then the set of all rows can be juggled into a schedule... Things like scatter the all-interdivision rows, take care to try to avoid repeating the same matchups or the same teams having consecutive interdivision matchups within the otherwise division rows, and flip-flop some matchups to avoid having teams play very many consecutive games home or away. |
1 Attachment(s)
Code:
# |
Wow, thank you so much! The explanation is fantastic.I'm going to try to make a few others following along. Thank you!!
|
All times are GMT -4. The time now is 03:15 PM. |
Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments