• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 15:22
CET 21:22
KST 05:22
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !11Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! Team TLMC #5: Winners Announced! What's the best tug of war? The Grack before Christmas Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies
Tourneys
OSC Season 13 World Championship $5,000+ WardiTV 2025 Championship $100 Prize Pool - Winter Warp Gate Masters Showdow Sparkling Tuna Cup - Weekly Open Tournament Winter Warp Gate Amateur Showdown #1
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ How soO Began His ProGaming Dreams Recommended FPV games (post-KeSPA) BW General Discussion FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] LB QuarterFinals - Sunday 21:00 CET [BSL21] WB SEMIFINALS - Saturday 21:00 CET
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Mechabellum Nintendo Switch Thread Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread How Does UI/UX Design Influence User Trust? Things Aren’t Peaceful in Palestine
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced Where to ask questions and add stream?
Blogs
National Diversity: A Challe…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2348 users

Generating a Schedule

Blogs > micronesia
Post a Reply
micronesia
Profile Blog Joined July 2006
United States24750 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
Next event in 4h 38m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 837
mouzHeroMarine 380
NeuroSwarm 135
ProTech134
BRAT_OK 129
StarCraft: Brood War
Sea 2139
Dewaltoss 114
Shuttle 102
Hyun 73
Sexy 33
Shine 9
Dota 2
qojqva5086
League of Legends
C9.Mang0207
Heroes of the Storm
Liquid`Hasu346
Khaldor222
Trikslyr79
Other Games
Grubby3648
fl0m980
Beastyqt854
B2W.Neo343
Sick59
ZombieGrub24
Organizations
StarCraft 2
angryscii 32
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• StrangeGG 61
• LUISG 17
• LaughNgamezSOOP
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• sooper7s
• Migwel
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV283
• Ler76
Other Games
• imaqtpie2407
• Shiphtur494
• tFFMrPink 18
Upcoming Events
Replay Cast
4h 38m
Sparkling Tuna Cup
1d 13h
Krystianer vs TBD
TriGGeR vs SKillous
Percival vs TBD
ByuN vs Nicoract
OSC
1d 21h
Replay Cast
2 days
Wardi Open
2 days
OSC
3 days
Solar vs MaxPax
ByuN vs Krystianer
Spirit vs TBD
OSC
6 days
Liquipedia Results

Completed

KCM Race Survival 2025 Season 4
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 2
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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 © 2025 TLnet. All Rights Reserved.