Heuristics for the MTTPROADEF, February 2005 1/49 Heuristics for the Mirrored Traveling Tournament Problem Celso C. RIBEIRO Sebastián URRUTIA.

Slides:



Advertisements
Similar presentations
Leena Suhl University of Paderborn, Germany
Advertisements

Michele Samorani Manuel Laguna. PROBLEM : In meta-heuristic methods that are based on neighborhood search, whenever a local optimum is encountered, the.
Neural and Evolutionary Computing - Lecture 4 1 Random Search Algorithms. Simulated Annealing Motivation Simple Random Search Algorithms Simulated Annealing.
Novembro 2003 Tabu search heuristic for partition coloring1/29 XXXV SBPO XXXV SBPO Natal, 4-7 de novembro de 2003 A Tabu Search Heuristic for Partition.
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
Techniques for Dealing with Hard Problems Backtrack: –Systematically enumerates all potential solutions by continually trying to extend a partial solution.
Michael Trick Tepper School, Carnegie Mellon Combinatorial Benders’ Cuts for Sports Scheduling Optimization.
December 2003 Traveling tournament problem1/88 Heuristics for the Traveling Tournament Problem: Scheduling the Brazilian Soccer Championship Celso C. RIBEIRO.
Online Social Networks and Media. Graph partitioning The general problem – Input: a graph G=(V,E) edge (u,v) denotes similarity between u and v weighted.
1 Constraint-based Round Robin Tournament Planning Martin Henz National University of Singapore.
Sports Scheduling An Assessment of Various Approaches to Solving the n-Round Robin Tournament Noren De La Rosa Mallory Ratajewski.
Augoust /47 Heuristics for the Mirrored Traveling Tournament Problem Celso C. RIBEIRO Sebastián URRUTIA.
May 2004 Minimizing travels by maximizing breaks1/32 Minimizing Travels by Maximizing Breaks in Round Robin Tournament Schedules Celso RIBEIRO UFF and.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
November 2002 Scene recognition by inexact graph matching1/39 ALIO/EURO Workshop Scene recognition by inexact graph matching Celso C. Ribeiro * Claudia.
A heuristic for a real-life car sequencing problem with multiple requirements Daniel Aloise 1 Thiago Noronha 1 Celso Ribeiro 1,2 Caroline Rocha 2 Sebastián.
1 Greedy Algorithms. 2 2 A short list of categories Algorithm types we will consider include: Simple recursive algorithms Backtracking algorithms Divide.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
1 Traveling Salesman Problem (TSP) Given n £ n positive distance matrix (d ij ) find permutation  on {0,1,2,..,n-1} minimizing  i=0 n-1 d  (i),  (i+1.
February 2002Parallel GRASP for the 2-path network design problem Slide 1/25 (ROADEF) 4 èmes Journées de la ROADEF Paris, February 20-22, 2002 A Parallel.
MAE 552 – Heuristic Optimization Lecture 26 April 1, 2002 Topic:Branch and Bound.
Heuristics for a multi-objective car sequencing problem Daniel Aloise 1 Thiago Noronha 1 Celso Ribeiro 1,2 Caroline Rocha 2 Sebastián Urrutia 1 1 Universidade.
© J. Christopher Beck Lecture 20: Sports Scheduling.
2-Layer Crossing Minimisation Johan van Rooij. Overview Problem definitions NP-Hardness proof Heuristics & Performance Practical Computation One layer:
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Grid implementation of a GRASP-ILS heuristic for the mirrored TTP MIC, August /60 A grid implementation of a GRASP-ILS heuristic for the mirrored.
MAE 552 – Heuristic Optimization Lecture 5 February 1, 2002.
Linear Programming Applications
© J. Christopher Beck Lecture 22: Local Search for Sports Scheduling.
ECE669 L10: Graph Applications March 2, 2004 ECE 669 Parallel Computer Architecture Lecture 10 Graph Applications.
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
Ant Colony Optimization: an introduction
Metaheuristics for optimization problems in sports META’08, October /92 Celso C. Ribeiro Joint work with S. Urrutia, A. Duarte, and A. Guedes 2nd.
Metaheuristics for optimization problems in sports La Havana, March /91 Celso C. Ribeiro Joint work with S. Urrutia, A. Duarte, and A. Guedes 8th.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
Decision Procedures An Algorithmic Point of View
Lecture 23. Greedy Algorithms
Algorithms for Network Optimization Problems This handout: Minimum Spanning Tree Problem Approximation Algorithms Traveling Salesman Problem.
MIC’2011 1/58 IX Metaheuristics International Conference, July 2011 Restart strategies for GRASP+PR Talk given at the 10 th International Symposium on.
Design Techniques for Approximation Algorithms and Approximation Classes.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
GRASP: A Sampling Meta-Heuristic
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 12 MACHINE SETUP AND OPERATION SEQUENCING E. Gutierrez-Miravete Spring 2001.
© J. Christopher Beck Lecture 21: Sports Scheduling 1.
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
0 Weight Annealing Heuristics for Solving Bin Packing Problems Kok-Hua Loh University of Maryland Bruce Golden University of Maryland Edward Wasil American.
Heuristic Optimization Methods Greedy algorithms, Approximation algorithms, and GRASP.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Sports Scheduling Written by Kelly Easton, George Nemhauser, Michael Trick Presented by Matthew Lai.
Solving the Maximum Cardinality Bin Packing Problem with a Weight Annealing-Based Algorithm Kok-Hua Loh University of Maryland Bruce Golden University.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
December 2003 Traveling tournament problem1/57 Heuristics for the Traveling Tournament Problem: Scheduling the Brazilian Soccer Championship Celso C. RIBEIRO.
© J. Christopher Beck Lecture 25: Workforce Scheduling 3.
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
META’08, October 2008Referee assignment in sports leagues: bi-objective approaches 1/35 Celso C. Ribeiro* Alexandre R. Duarte META’08 Hammamet, October.
© J. Christopher Beck Lecture 21: IP and CP Models for Sports Scheduling.
1 Constraint-based Round Robin Tournament Planning Martin Henz National University of Singapore.
Augoust /77 Heuristics for the Mirrored Traveling Tournament Problem Celso C. RIBEIRO Sebastián URRUTIA.
Management Science 461 Lecture 7 – Routing (TSP) October 28, 2008.
Constraint Programming for the Diameter Constrained Minimum Spanning Tree Problem Thiago F. Noronha Celso C. Ribeiro Andréa C. Santos.
Discrete Optimization MA2827 Fondements de l’optimisation discrète Approximate methods: local search Material based.
Applications of Tabu Search OPIM 950 Gary Chen 9/29/03.
Local Container Truck Routing Problem with its Operational Flexibility Kyungsoo Jeong, Ph.D. Candidate University of California, Irvine Local container.
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Heuristics Definition – a heuristic is an inexact algorithm that is based on intuitive and plausible arguments which are “likely” to lead to reasonable.
Multi-Objective Optimization
Algorithms for Budget-Constrained Survivable Topology Design
Generating and Solving Very Large-Scale Vehicle Routing Problems
Approximation Algorithms
Daniel Aloise 1 Thiago Noronha 1 Celso Ribeiro 1,2 Caroline Rocha 2
Presentation transcript:

Heuristics for the MTTPROADEF, February /49 Heuristics for the Mirrored Traveling Tournament Problem Celso C. RIBEIRO Sebastián URRUTIA

Heuristics for the MTTPROADEF, February /49 Summary The Mirrored Traveling Tournament Problem Constructive heuristic Neighborhoods and ejection chains Extended GRASP + ILS heuristic Computational results

Heuristics for the MTTPROADEF, February /49 Motivation Game scheduling is a difficult task, involving different types of constraints, logistic issues, multiple objectives, and several decision makers. Total distance traveled is an important variable to be minimized, to reduce traveling costs and to give more time to the players for resting and training. Timetabling is the major area of applications of OR in sports.

Heuristics for the MTTPROADEF, February /49 Formulation Traveling Tournament Problem (TTP) –n (even) teams take part in a tournament. –Each team has its own stadium at its home city. –Distances between the stadiums are known. –A team playing two consecutive away games goes directly from one city to the other, without returning to its home city.

Heuristics for the MTTPROADEF, February /49 Formulation –Tournament is a strict double round- robin tournament: There are 2(n-1) rounds, each one with n/2 games. Each team plays against every other team twice, one at home and the other away. –No team can play more than three games in a home stand (home games) or in a road trip (away games). Goal: minimize the total distance traveled by all teams.

Heuristics for the MTTPROADEF, February /49 Formulation Mirrored Traveling Tournament Problem (MTTP): –All teams face each other once in the first phase with n-1 rounds. –In the second phase with the last n-1 rounds, the teams play each other again in the same order, following an inverted home/away pattern. –Common structure in Latin-American tournaments. Set of feasible solutions for the MTTP is a subset of the feasible solutions for the TTP.

Heuristics for the MTTPROADEF, February /49 1-Factorizations Given a graph G=(V, E), a factor of G is a graph G’=(V,E’) with E’  E. G’ is a 1-factor if all its nodes have degree equal to one. A factorization of G=(V,E) is a set of edge-disjoint factors G 1 =(V,E 1 ),..., G p =(V,E p ), such that E 1 ...  E p =E. All factors in a 1-factorization of G are 1-factors. Oriented 1-factorization: assign orientations to the edges of a 1- factorization

Heuristics for the MTTPROADEF, February /49 Mirrored tournament: games in the second phase are determined by those in the first. –Each edge of K n represents a game. –Each 1-factor of K n represents a round. –Each ordered oriented 1-factorization of K n represents a feasible schedule for n teams. Example: K 6 1-Factorizations

Heuristics for the MTTPROADEF, February /49 1-Factorizations

Heuristics for the MTTPROADEF, February /49 Three steps: 1.Schedule games using abstract teams: polygon method defines the structure of the tournament 2.Assign real teams to abstract teams: greedy heuristic to QAP (number of travels between stadiums of the abstract teams x distances between the stadiums of the real teams) 3.Select stadium for each game (home/away pattern) in the first phase (mirrored tournament): 1.Build a feasible assignment of stadiums, starting from a random assignment of stadiums in the first round. 2.Improve this assignment of stadiums, using a simple local search algorithm based on home- away swaps. Constructive heuristic

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Example: “polygon method” for n=6 1 st round

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Example: “polygon method” for n=6 2 nd round

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Example: “polygon method” for n=6 3 rd round

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Example: “polygon method” for n=6 4 th round

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Example: “polygon method” for n=6 5 th round

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Abstract teams (n=6) RoundABCDEF 1/6FEDCBA 2/7DCBAFE 3/8BAEFCD 4/9EDFBAC 5/10CFAEDB

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Step 2: assign real teams to abstract teams –Build a matrix with the number of consecutive games for each pair of abstract teams: For each pair of teams X and Y, an entry in this matrix contains the total number of times in which the other teams play consecutively with X and Y in any order. –Greedily assign pairs of real teams with close home cities to pairs of abstract teams with large entries in the matrix with the number of consecutive games: QAP heuristic

Heuristics for the MTTPROADEF, February /49 Constructive heuristic ABCDEF A B C D E F443430

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Real teams (n=6) RoundFLUSA N FLAGREPALPAY 1/6PAYPALGR E FLASA N FLU 2/7GR E FLASA N FLUPAYPAL 3/8SA N FLUPALPAYFLAGRE 4/9PALGREPAYSA N FLUFLA 5/10FLAPAYFLUPALGR E SA N

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Step 3: select stadium for each game in the first phase of the tournament: –Two-part strategy: Build a feasible assignment of stadiums, starting from a random assignment in the first round. Improve the assignment of stadiums, performing a simple local search algorithm based on home-away swaps.

Heuristics for the MTTPROADEF, February /49 Constructive heuristic Real teams (n=6) RoundFLUSANFLAGREPALPAY L A U A U L N L E Y U FLA A L N

Heuristics for the MTTPROADEF, February /49 Neighborhood home-away swap (HAS)

Heuristics for the MTTPROADEF, February /49 Neighborhood home-away swap (HAS)

Heuristics for the MTTPROADEF, February /49 Neighborhood team-swap (TS)

Heuristics for the MTTPROADEF, February /49 Neighborhood team-swap (TS)

Heuristics for the MTTPROADEF, February /49 Neighborhood partial round swap (PRS)

Heuristics for the MTTPROADEF, February /49 Neighborhood partial round swap (PRS)

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR) Neigborhood “game rotation” (GR) (ejection chain): –Enforce a game to be played at some round: add a new edge to a 1-factor of the 1-factorization associated with the current schedule. –Use an ejection chain to recover a 1- factorization.

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR)

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR) Enforce game (1,3) to be played in round 2

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR) Enforce game (1,3) to be played in round 2

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR)

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR)

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR)

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR)

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR)

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR)

Heuristics for the MTTPROADEF, February /49 Ejection chain: game rotation (GR)

Heuristics for the MTTPROADEF, February /49 Neighborhoods Only movements in neighborhoods PRS and GR may change the structure of the initial schedule. However, PRS moves not always exist, due to the structure of the solutions built by polygon method e.g. for n = 6, 8, 12, 14, 16, 20, 24. PRS moves may appear after an ejection chain move is made. The ejection chain move is able to find solutions that are not reachable through other neighborhoods: escape from local optima

Heuristics for the MTTPROADEF, February /49 GRASP + ILS heuristic Hybrid improvement heuristic for the MTTP: –Combination of GRASP and ILS metaheuristics. –Initial solutions: randomized version of the constructive heuristic. –Local search with first improving move: use TS, HAS, PRS and HAS cyclically in this order until a local optimum for all neighborhoods is found. –Perturbation: random movement in GR neighborhood. –Detailed algorithm to appear in EJOR.

Heuristics for the MTTPROADEF, February /49 GRASP + ILS heuristic while.not.StoppingCriterion S  GenerateRandomizedInitialSolution() S  LocalSearch(S) repeat S’  Perturbation(S,history) S’  LocalSearch(S’) S  AceptanceCriterion(S,S’,history) S*  UpdateBestSolution(S,S*) until ReinitializationCriterion end

Heuristics for the MTTPROADEF, February /49 Computational results Circular instances with n = 12,..., 20 teams. MLB instances with n = 12,..., 16 teams. –All available from –Largest instances exactly solved to date: n=6 (sequential), n=8 (parallel) Numerical results on a Pentium IV 2.0 MHz. Comparisons with best known solutions for the corresponding less constrained not necessarily mirrored instances (TTP).

Heuristics for the MTTPROADEF, February /49 Computational results Constructive heuristic: –Very fast Instance MLB16: 1000 runs in approximately 1 second –Average gap is 17.1% –Better solutions than those found after several days of computations by some metaheuristic aproaches to the not necessarily mirrrored version of the problem.

Heuristics for the MTTPROADEF, February /49 GRASP + ILS heuristic: time limit is 10 minutes only Before this work, times were measured in days. Largest gap with respect to the best known solution for the less constrained not necessarily mirrored problem was 9,5%. Computational results

Heuristics for the MTTPROADEF, February /49 Computational results Instan ce Best unmirrored Best mirrored gap (%) Time to best (s) circ circ circ circ circ nl nl nl

Heuristics for the MTTPROADEF, February /49 Computational results Instan ce Best unmirrored Best mirrored gap (%) Time to best (s) circ circ circ circ circ nl nl nl

Heuristics for the MTTPROADEF, February /49 Computational results Instan ce Best unmirrored Best mirrored gap (%) Time to best (s) circ circ circ circ circ nl nl nl

Heuristics for the MTTPROADEF, February /49 New heuristic improved by 3.9% and 1.4% the best known solutions for the corresponding less constrained unmirrored instances circ18 and circ20. Computation times are smaller than computation time of other heuristics, e.g. for instance MLB14: –Anagnostopoulos et al. (2003): approximately five days of computation time –GRASP + ILS: 10 minutes Computational results

Heuristics for the MTTPROADEF, February /49 Constructive heuristic is very fast and effective. GRASP+ILS heuristic found very good solutions: –Very fast (10 minutes). –Solutions found for some instances are even better than those available for the corresponding less constrained not necessarily mirrored instances. –Optimal solutions for a new class of instances for n = 4, 6, 8, 10,12, and 16 (Urrutia & Ribeiro, “Minimizing travels by maximizing breaks in round robin tournament schedules”, 2004) Effectiveness of the ejection chains. Concluding Remarks