• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:06
CEST 14:06
KST 21:06
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL21] Ro4 Preview: On Course0Code S Season 1 - RO8 Preview6[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16
Community News
Maestros of The Game 2 announcement and schedule !7Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) Maestros of The Game 2 announcement and schedule ! GSL Code S Season 1 (2026) RSL Revival: Season 5 - Qualifiers and Main Event
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Quality of life changes in BW that you will like ? [ASL21] Ro4 Preview: On Course Why there arent any 256x256 pro maps? RepMastered™: replay sharing and analyzer site
Tourneys
[Megathread] Daily Proleagues [ASL21] Ro8 Day 4 [ASL21] Ro8 Day 3 Escore Tournament StarCraft Season 2
Strategy
Muta micro map competition Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Daigo vs Menard Best of 10 OutLive 25 (RTS Game)
Dota 2
The Story of Wings Gaming
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Letting Off Steam Thread European Politico-economics QA Mega-thread UK Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2354 users

Generating a Schedule

Blogs > micronesia
Post a Reply
micronesia
Profile Blog Joined July 2006
United States24772 Posts
August 17 2009 05:31 GMT
#1
My friend asked me for help with the following task:

He needs to generate a tennis schedule for his league of 10 people. There are 37 weeks, and 8 people play per week (2 people sit out per week). First of all, he wants everyone to play about the same amount of time. This part is easy to figure out.

+ Show Spoiler [Calculation of how many times people w…] +

There are 8 people playing per week for a total of 37 weeks, so there are 296 people-weeks. Divide that by the total number of players (10) to get 29.6 weeks played. So, I suppose that means 6 people will play 30 times while 4 people will play 29 times.


Each week, there are two games of doubles. Therefore, 2 people on team A play 2 people on team B, while 2 people on team C play 2 people on team D. My friend needs to mix it up each week so that everyone is paired with different people, and goes up against different combinations of opponents. He was going to do it all by hand out on paper and tally it up in order to keep it as fair and diverse as possible, but I told him to hold on since it's much easier to do this with planning, and possibly the help of a computer.

What would you consider an easy solution to this problem? The methods I can think of for doing a 'good' job would be time consuming and would require me to look some stuff up that I haven't done in a while, so I figured I'd open it up to suggestions. There might be a trivial way to do this that isn't occurring to me. Thanks in advance for anyone who offers any advice.

*****
ModeratorThere are animal crackers for people and there are people crackers for animals.
Lemonwalrus
Profile Blog Joined August 2006
United States5465 Posts
August 17 2009 05:43 GMT
#2
I am such a nerd that I actually love solving problems like this...unfortunately my first day of classes starts in 8 hours so I can't really sit down and help right now. If you still are looking for assistance tomorrow when my classes finish (which is unlikely) I will probably post here/ping you on irc. Good luck!
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
August 17 2009 09:56 GMT
#3
Well I'll give some of my 2 cents:
I think the total number of doubles are this:
First you pick 4 players out of 10, that is 10 choose 4.
Then you pick a team out of those 4 players, that's 4 choose 2.
So total number of doubles will be
(10 chose 4) * (4 choose 2) = 1260 possible games of doubles.

You have 37 weeks, each week you play 2 games, that's 74 total games of doubles.

So I think as long as you make the match up scrambled enough, it won't be big of a difference.
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Please log in or register to reply.
Live Events Refresh
WardiTV Invitational
12:00
Wardi Spring Cup
ByuN vs Rogue
Solar vs Ryung
Zoun vs Percival
Cure vs SHIN
WardiTV132
LiquipediaDiscussion
RSL Revival
10:00
Season 5: Group D
Zoun vs LamboLIVE!
Cure vs TBD
Tasteless1327
IntoTheiNu 721
Ryung 408
IndyStarCraft 198
Rex104
LiquipediaDiscussion
Sparkling Tuna Cup
10:00
Weekly #131 (TLMC 22 Edition)
Classic vs ShamelessLIVE!
TBD vs Krystianer
CranKy Ducklings89
CranKy Ducklings SOOP9
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Tasteless 1327
Ryung 408
IndyStarCraft 198
Rex 104
Railgan 70
TKL 15
StarCraft: Brood War
BeSt 582
910 512
Mini 363
EffOrt 339
ZerO 249
Last 244
Mind 147
Rush 132
Pusan 87
Backho 79
[ Show more ]
hero 56
Liquid`Ret 54
Nal_rA 54
Shine 54
Sea.KH 48
Movie 43
sorry 39
yabsab 24
Shinee 19
GoRush 16
ToSsGirL 13
Noble 10
IntoTheRainbow 10
ajuk12(nOOB) 7
Dota 2
Gorgc4586
monkeys_forever139
XcaliburYe124
Counter-Strike
x6flipin332
Heroes of the Storm
Khaldor140
Other Games
gofns25429
singsing2072
B2W.Neo1075
Liquid`RaSZi422
DeMusliM419
KnowMe128
DenverSC226
ZerO(Twitch)17
MindelVK15
fpsfer 1
Organizations
Counter-Strike
PGL24054
Other Games
gamesdonequick2670
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 15 non-featured ]
StarCraft 2
• Adnapsc2 33
• iHatsuTV 7
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1538
• TFBlade1125
Other Games
• WagamamaTV306
Upcoming Events
BSL
6h 54m
Dewalt vs DragOn
Aether vs Jimin
GSL
19h 54m
Afreeca Starleague
21h 54m
Soma vs Leta
Wardi Open
23h 54m
Monday Night Weeklies
1d 3h
OSC
1d 11h
CranKy Ducklings
1d 21h
Afreeca Starleague
1d 21h
Light vs Flash
Replay Cast
2 days
Replay Cast
3 days
[ Show More ]
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
Korean StarCraft League
5 days
RSL Revival
5 days
BSL
6 days
GSL
6 days
Cure vs TBD
TBD vs Maru
Liquipedia Results

Completed

Escore Tournament S2: W6
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

YSL S3
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
BLAST Bounty Summer 2026: Closed Qualifier
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.