• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:02
CEST 15:02
KST 22:02
  • 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
Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
RSL goes to London! 2026 Offline Finals Nov 21-229Weekly Cups (July 27-Aug 2): SHIN's big week0SC4ALL II: Brood War - $2500 - Dec 5-69SC4ALL II announced - $10,000 prize pool, Dec 5-64PIG STY FESTIVAL 8.0! (13 - 23 August)14
StarCraft 2
General
Protoss AoE skill expression Balance hotfix patch 5.0.16b (July 16) Serral wins HomeStory Cup 29 StarCraft 2 at SC4ALL II Invite #4/8 - Percival 5.0.16 patch for SC2 goes live (8 worker start)
Tourneys
RSL goes to London! 2026 Offline Finals Nov 21-22 https://www.facebook.com/Katori.Titanium.Cutting.B RSL Revival: Season 6 - Qualifiers and Main Event Sparkling Tuna Cup - Weekly Open Tournament PIG STY FESTIVAL 8.0! (13 - 23 August)
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 538 Media Blackout The PondCast: SC2 News & Results Mutation # 537 Hostile Territory Mutation # 536 Railroad Switch
Brood War
General
ASL22 General Discussion How FlaSh Nearly Forfeited MSL Finals being late BGH Auto Balance -> http://bghmmr.eu/ Are you ready for ASL 22? NEW HYPE VIDEO BW General Discussion
Tourneys
[Megathread] Daily Proleagues 2v2v2v2 Tournament KCM Race Survival 2026 Season 3 Escore Tournament - Season 3
Strategy
Fighting Spirit mining rates Odyssey Mineral Stack Saturation Any training maps people recommend? Simple Questions, Simple Answers
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Diablo 2 thread ZeroSpace Early Access is Now Live!
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank TL Mafia Community Thread NeO.D_StephenKing vs This Guy From 1 Million Dance
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Iain M Banks Says He Has Cancer And Months To Live European Politico-economics QA Mega-thread The Games Industry And ATVI
Fan Clubs
MarineLorD Fan Club The ShoWTimE Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! Series you have seen recently... [Req][Books] Good Fantasy/SciFi books
Sports
Football (Soccer) Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Are High-Level Gamers more A…
TrAiDoS
Cathedral Of CS And NY pizza a…
FuDDx
Please support my new stand…
Peanutsc
Hello guys!
LIN1s
ASL S22 English Commentary…
namkraft
Poker (part 2)
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 5037 users

Generating a Schedule

Blogs > micronesia
Post a Reply
micronesia
Profile Blog Joined July 2006
United States24788 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 Weekly
11:00
WardiTV Mondays #99
IntoTheiNu 1404
WardiTV908
Rex138
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SHIN 375
Rex 138
TKL 67
StarCraft: Brood War
Shuttle 2961
BeSt 921
Bisu 850
Soma 702
EffOrt 603
Mini 546
Jaedong 545
Soulkey 522
Light 384
Barracks 301
[ Show more ]
Rush 285
Stork 213
Snow 186
ggaemo 166
actioN 117
hero 89
Zeus 86
Pusan 72
Hyun 71
Sea.KH 54
PianO 50
Sharp 49
sorry 48
JYJ 47
ToSsGirL 36
Hm[arnc] 35
scan(afreeca) 31
soO 26
HiyA 22
yabsab 21
Sacsri 18
zelot 15
Terrorterran 13
Icarus 9
ajuk12(nOOB) 9
Dota 2
qojqva1894
Dendi864
BananaSlamJamma72
Counter-Strike
kRYSTAL_58
edward50
Other Games
singsing2018
B2W.Neo736
hiko558
crisheroes312
Liquid`LucifroN190
Livibee101
Mew2King64
Liquid`VortiX25
QueenE21
ArmadaUGS11
KnowMe0
[ Show 10 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis1330
Other Games
• WagamamaTV273
Upcoming Events
The Patches Monday
2h 58m
Sparkling Tuna Cup
20h 58m
PiG Sty Festival
22h 58m
PiGosaur Cup
1d 10h
Replay Cast
1d 19h
Kung Fu Cup
1d 21h
Replay Cast
2 days
The PondCast
2 days
Replay Cast
3 days
CranKy Ducklings
4 days
[ Show More ]
Sparkling Tuna Cup
5 days
Afreeca Starleague
6 days
Rush vs Hm
Bisu vs Shuttle
WardiTV Weekly
6 days
Liquipedia Results

Completed

Proleague 2026-08-09
CranK Gathers Season 4: BW vs SC2 Team League
Eternal Conflict S2 Finale

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
Acropolis #5
RSL Revival: Season 6
Esports World Cup 2026: LCQ
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2

Upcoming

Escore Tournament S3: W7
CSLAN 4
ASL Season 22
Escore Tournament S3: W8
Acropolis #5 - TRS
Blizzard Classic Cup 2026
Acropolis #5 - GSA
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
PiG Sty Festival 8.0
Big Dog Cup 2026 Div 1
META DYMY #4
Thunderpick World Champ.
ESL Pro League Season 24
Stake Ranked Episode 4
Logitech G Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 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.