scheduling matches to allow shared transport or how to
play

Scheduling matches to allow shared transport; or, How to get free - PowerPoint PPT Presentation

Scheduling matches to allow shared transport; or, How to get free tickets to your local teams home games Christopher Tuffley Institute of Fundamental Sciences Massey University, Manawat u 2011 New Zealand Mathematics Colloquium


  1. Scheduling matches to allow shared transport; or, How to get free tickets to your local team’s home games Christopher Tuffley Institute of Fundamental Sciences Massey University, Manawat¯ u 2011 New Zealand Mathematics Colloquium University of Auckland

  2. A request for help In January Manawat¯ u Rugby asked us for help optimising their rugby draw. Local competition has twelve clubs and two divisions Ten clubs have a team in division 1 All twelve clubs have a team in division 2 Division 1: two rounds of tournament play, over 18 weeks Each team plays one game per week every other team twice Draw for weeks 1–9 and 10–18 are identical, with home and away swapped Division 2: one round of tournament play, during weeks 1–11 of division 1

  3. The problem Definition Two clubs have a common fixture if their division 1 and 2 teams both play each other in the same week, at the same venue. Problem Maximise the number of common fixtures, keeping the spread as fair as possible.

  4. The problem Definition Two clubs have a common fixture if their division 1 and 2 teams both play each other in the same week, at the same venue. Problem Maximise the number of common fixtures, keeping the spread as fair as possible. Constraint The supplied draws should be used. The division 1 draw should remain unaltered. Find the best match by re-ordering the division 2 weeks only.

  5. The common fixtures graph Given draws for each division, draw edge (A,B) n m if clubs A and B have a common fixture if division 1 week n is matched with division 2 week m . Construct the graphs using a computer — I used GNU Octave to determine the edges, and express them in 1 the dot graph description language; neato from the Graphviz package to draw them. 2

  6. The common fixtures graph: the supplied draws 8 (4,1) 5 (1,9) (3,7) (6,10) 3 1 7 (5,9) (4,8) (5,10) (3,8) 9 11 6 7 (2,10) (1,2) (10,4) 2 (3,1) (7,5) (9,3) 10 11 6 (2,6) (9,6) 4 (9,10) (6,7) (4,9) (8,1) 4 8 (1,5) (10,3) 1 5 10 (6,3) 3 9 (5,2) (8,5) 2

  7. The common fixtures graph: the supplied draws 8 (4,1) 5 (1,9) (3,7) (6,10) 3 1 7 (5,9) (4,8) (5,10) (3,8) 9 11 6 7 (2,10) (1,2) (10,4) 2 (3,1) (7,5) (9,3) 10 11 6 (2,6) (9,6) 4 (9,10) (6,7) (4,9) (8,1) 4 8 (1,5) (10,3) 1 5 10 (6,3) 3 9 (5,2) (8,5) 2 Three ways to achieve 14 common fixtures, distributed as follows: Team 1 2 3 4 5 6 7 8 9 10 Share 4 2 5 0 5 3 2 3 3 1 2 2 4 1 3 5 3 2 5 1 3 2 4 1 4 4 3 2 4 1

  8. A second consideration Definition Two clubs have an opposite fixture if their division 1 and 2 teams play each other in the same week, at different venues. (Each club has a home and an away game against the other.) Add to common fixtures graph: Common fixtures: blue edges Opposite fixtures: red edges (C,D) k l (A,B) n m

  9. The revised common fixtures graph 14 common fixtures ⇒ 17 or 18 opposite fixtures! Reversing home and away does better: get 20 common fixtures, at cost of 10–12 opposite fixtures.

  10. The revised common fixtures graph 14 common fixtures ⇒ 17 or 18 opposite fixtures! Reversing home and away does better: get 20 common fixtures, at cost of 10–12 opposite fixtures. Conclusion: the supplied draws do not match well.

  11. Trying again (and breaking the constraint) . . . Reverse home/away selectively to eliminate opp. fixtures. Tweak team 11 and 12 travel to ensure all teams have 5 or 6 home/away games each.

  12. How do we do now? Based on graph, use computer to evaluate 2 3 · 3 5 · 6 2 ≈ 70 , 000 matchings — about 0.2% of the 11 ! possible.

  13. How do we do now? Based on graph, use computer to evaluate 2 3 · 3 5 · 6 2 ≈ 70 , 000 matchings — about 0.2% of the 11 ! possible. Optimum: 30 common fixtures, with no opposite fixtures Each club gets 5–7 common fixtures. . .

  14. How do we do now? Based on graph, use computer to evaluate 2 3 · 3 5 · 6 2 ≈ 70 , 000 matchings — about 0.2% of the 11 ! possible. Optimum: 30 common fixtures, with no opposite fixtures Each club gets 5–7 common fixtures. . . . . . except for club 10, which gets 2.

  15. How do we do now? Based on graph, use computer to evaluate 2 3 · 3 5 · 6 2 ≈ 70 , 000 matchings — about 0.2% of the 11 ! possible. Optimum: 30 common fixtures, with no opposite fixtures Each club gets 5–7 common fixtures. . . . . . except for club 10, which gets 2. A fairer matching: 26 common fixtures, no opposite fixtures Each club gets 4–8 common fixtures.

  16. Why is club 10 disadvantaged?

  17. Let’s see if we can’t do a bit better. . . Keep div. 1 schedule, and copy weeks 1–9 for div. 2

  18. Let’s see if we can’t do a bit better. . . Keep div. 1 schedule, and copy weeks 1–9 for div. 2 Insert games against clubs 11 and 12: 12 11 division 1, week n division 2, week n — gives four common fixtures per week.

  19. Let’s see if we can’t do a bit better. . . Keep div. 1 schedule, and copy weeks 1–9 for div. 2 Insert games against clubs 11 and 12: 12 11 division 1, week n division 2, week n — gives four common fixtures per week. Move the eliminated games to weeks 10 and 11.

  20. How do we choose the games to move? Need: one from each week 1–10 two games per team the chosen games to form two rounds of play. — use computer to find a collection of cycles of even length, with one edge from each week.

  21. How do we choose the games to move? Need: one from each week 1–10 two games per team the chosen games to form two rounds of play. — use computer to find a collection of cycles of even length, with one edge from each week. wk 10 12 12 11 11 Week 11 Week 10

  22. The new common fixtures graph 8 (7,2) (6,3) (9,10) (5,4) 8 (8,1) 7 4 (10,3) (6,8) 4 (8,7) 11 (1,5) (9,6) (7,10) 3 (2,4) (3,2) (4,6) (5,10) (1,9) 3 (5,9) (4,1) (2,8) (10,4) 7 (8,4) (6,1) 6 1 5 10 (9,3) (4,8) (3,7) (7,5) (3,9) (1,2) (6,10) (10,6) (7,9) 5 (8,10) (1,7) (9,8) (3,5) (5,7) (4,3) (2,6) (5,2) 1 10 (2,1) (9,4) 6 (6,5) 2 (4,9) 9 (7,6) (10,2) (1,3) 11 (6,7) (8,5) (5,8) (3,1) (2,10) (2,9) (3,8) (4,7) (10,1) 2 9 4 × 9 + 1 = 37 common fixtures (get an extra in week 10) Each team gets 7 or 8. At most 1 off optimal (a missed opportunity in week 11?).

  23. Reporting back Outlined all four options discussed above Sent only the last two draws, but offered to prepare the others if wanted.

  24. Response I have done a draw using the recommended option 4 and it has turned out great. As an added bonus sometimes teams are at the same venue even when playing different opposition. It’s turned out to be a much closer match than we would have ever anticipated. A really big thanks for your work - it must have taken you some time. Are you interested in rugby? If so I’d like to give you a pair of season tickets to the Turbos. Let me know.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend