Scheduling Tradition


Scheduling Tradition image from book

There are 12 school teams, unimaginatively named A, B, C, D, E, F, G, H, I, J, K, and L. They must play one another on 11 consecutive days on six fields. Every team must play every other team exactly once. Each team plays one game per day.

Warm-Up

Suppose there were four teams A, B, C, D and each team has to play every other in three days on two fields. How can you do it?

Solution to Warm-Up

We’ll represent the solution in two columns corresponding to the two playing fields. Thus, in the first day, A plays B on field 1 and C plays D on field 2.

 AB CD AC DB AD BC

Not only does the real problem involve 12 teams instead of merely four, but there are certain constraints due to traditional team rivalries: A must play B on day 1, G on day 3, and H on day 6. F must play I on day 2 and J on day 5. K must play H on day 9 and E on day 11. L must play E on day 8 and B on day 9. H must play I on day 10 and L on day 11. There are no constraints on C or D because these are new teams.

  1. Can you form an 11-day schedule for these teams that satisfies the constraints?

It may seem difficult, but look again at the warm-up. Look in particular at the non-A columns. They are related to one another. If you understand how, you can solve the harder problem.




Puzzles for Programmers and Pros
Puzzles for Programmers and Pros
ISBN: 0470121688
EAN: 2147483647
Year: 2007
Pages: 81
Authors: Dennis Shasha

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net