An integer programming formulation for a fair tournament scheduling in TeamGym in Iceland
by
Andrea Valdimarsdóttir
Thesis of 30 ECTS credits submitted to the School of Science and Engineering at Reykjavík University in partial fulfillment of the requirements for the degree of Master of Science (M.Sc.) in Engineering Management
June 2021
Supervisor: Eyjólfur Ingi Ásgeirsson, Ph.D., Supervisor Associate Professor, Reykjavík University, Iceland
Examiner: Rannveig GuØmundsdóttir, M.Sc., Examiner Head of AGR Services, AGR Dynamics, Iceland
i Copyright Andrea Valdimarsdóttir June 2021
ii An integer programming formulation for a fair tournament scheduling in TeamGym in Iceland
Andrea Valdimarsdóttir
June 2021
Abstract
Organizing a sports tournament schedule can be challenging and time-consuming. In this project, the process of generating a TeamGym tournament schedule is automated. Today, the tournaments at FSÍ are made manually. By automating the process, the time for making the tournaments at FSÍ should be considerably shortened and reduce the risk of errors. The main goal of this project is to create a mathematical model that ensures a fair tournament for all teams while fulfilling specific requirements such as all teams must compete once on each event, each round should preferably contain all types of events and care must be taken that teams’ rest periods are within the agreed time frame.
The results of the project show that a fair and feasible solution can be found with automation that decreases the scheduling time and ensures a fairer and better-organized tournament.
Keywords: Tournament schedule, gymnastics, TeamGym, optimization model.
iii Heiltölubestunarlíkan sem b˝r til sanngjarnt mótsplan fyrir hópfimleika á Íslandi
Andrea Valdimarsdóttir
júní 2021
Útdráttur
ùaØ getur veriØ krefjandi og tímafrekt aØ útbúa íΩróttamótsplön. Í Ωessu verkefni er ferliØ viØ aØ útbúa hópfimleikamótsplan gert sjálfvirkt. Í dag eru fimleikamótin hjá FSÍ gerØ handvirkt en meØΩví aØ gera ferliØ sjálfvirkt ætti tíminn viØ gerØ fimleikamóta hjá FSÍ aØ styttast til muna ásamt Ωví aØ minnka líkur á villum. MarkmiØΩessa verkefnis er aØ útbúa stærØfræØilíkan sem tryggir sanngjarnt mót fyrir öll liØ en á sama tíma Ωarf aØ fara eftir ákveØum skilyrØum. Dæmi um slík skilyrØi eru aØ öll liØΩurfa aØ keppa einu sinni á hverju áhaldi, hver umferØ á helst aØ innihalda allar gerØir áhalda og passa Ωarf aØ hvíldartími hvers liØs sé innan ákeØins tímaramma.
NiØurstöØur verkefnisins gefa til kynna aØ hægt er aØ búa til sanngjarnari og hagkvæmari lausn sem er sjálfvirk og tekur mun styttri tíma aØ útbúa.
Efnisor: Mótsplan, fimleikar, TeamGym, bestunarlíkan.
iv Acknowledgements
I want to thank my supervisor Dr. Eyjólfur Ingi Ásgeirsson, for the support, meetings, and guidance throughout this project. I would also like to thank Sólveig Jónsdóttir, the CEO of FSÍ, and Íris Svavarsdóttir, former tournament planer at FSÍ, for their cooperation and meetings. Furthermore, I would like to thank my family, friends, and fellow students for the support throughout my time at Reykjavik University.
v Contents
Acknowledgements v
Contents vi
List of Figures viii
List of Tables ix
1 Introduction 1
2 Background 2 2.1 Artistic gymnastics ...... 2 2.1.1 Disciplines in artistic gymnastics ...... 2 2.1.2 Levels in artistic gymnastics ...... 5 2.1.3 Scoring in artistic gymnastics ...... 5 2.2 TeamGym ...... 6 2.2.1 TeamGym events ...... 6 2.2.2 TeamGym levels ...... 8 2.2.3 TeamGym scoring ...... 8 2.3 The TeamGym Scheduling Problem ...... 9 2.4 The Current Scheduling Process ...... 9
3 Literature Review 11 3.1 Scheduling problems ...... 11 3.2 Fairness in scheduling ...... 12
4 Model 13 4.1 General features of the model ...... 13 4.1.1 Sets ...... 13 4.1.2 Parameters ...... 14 4.2 Variables ...... 14 4.3 Constraints ...... 16 4.3.1 Hard constraints ...... 16 4.3.2 Soft constraints ...... 16 4.4 Objective function ...... 18 4.5 The model ...... 19 4.6 Model adaptability ...... 20 4.6.1 Changes to the model ...... 20
5 Data 22
vi 5.1 Data collection ...... 22 5.2 Data process ...... 22 5.3 Model input ...... 23
6 Results 25 6.1 Model results ...... 25 6.1.1 Results from test case one ...... 25 6.1.2 Results from test case two ...... 27
7 Discussion 29
8 Conclusion 32
Bibliography 33
vii List of Figures
2.1 Vault [3] ...... 3 2.2 High bar [4] ...... 3 2.3 Even parallel bars [5] ...... 3 2.4 Uneven parallel bars [3] ...... 3 2.5 Floor exercises [6] [7] ...... 4 2.6 Balance beam [9] ...... 4 2.7 Pommel horse [3] ...... 4 2.8 Rings [3] ...... 5 2.9 Balance movement in floor exercises [3] ...... 7 2.10 Tumbling [16] ...... 7 2.11 Trampet with vault [3] [17] ...... 7 2.12 Schedule from the 2nd Cup tournament in 2021 ...... 10
5.1 Flow of the data process ...... 23
7.1 Comparison of penalty scores per team for both test cases and the old FSÍ tournament ...... 31
viii List of Tables
2.1 Women’s and men’s disciplines in artistic gymnastics ...... 3 2.2 Age range of each level and relevant tournaments [8] [10] ...... 5 2.3 Maximum score for each level [12] [11] ...... 6 2.4 Highest score in men’s and women’s free routines from the Cup tourn. in 2020 [13] ...... 6 2.5 Women, men and mixed teams compete on same events in TeamGym ...... 8 2.6 Categories, levels and divisions in TeamGym [18] ...... 8 2.7 Maximum score for each rating [18] ...... 9 2.8 Top 3 senior women’s teams from the Cup tournament in 2020 [13] ...... 9 2.9 TeamGym tournaments [18] ...... 10
5.1 List of teams competing ...... 23 5.2 Other data needed for the model ...... 23 5.3 Weight factors for TeamGym tournaments ...... 24
6.1 Number of violated constraints for test case one ...... 26 6.2 Total penalty score for test case one ...... 26 6.3 Tournament schedule for test case one (due to limited space the table has been divided) ...... 27 6.4 Number of violated constraints for test case two (same results for both parts) . . 28 6.5 Penalty score for part one in case two ...... 28 6.6 Penalty score for part two in case two ...... 28 6.7 Tournament schedule for test case two, part one ...... 28 6.8 Tournament schedule for test case two - part two ...... 28
7.1 An old FSÍ tournament schedule - part one ...... 30 7.2 An old FSÍ tournament schedule - part two ...... 30 7.3 Penalty scores from an old FSÍ tournament - part one ...... 30 7.4 Penalty scores from an old FSÍ tournament - part two ...... 30
ix x Chapter 1
Introduction
This project will cover the analysis for an integer programming formulation for fair tour- nament scheduling of TeamGym in Iceland. Creating a suitable sports schedule can be a daunting task and, it requires a lot of preparation, logistical planning, and a vital understand- ing of the sport itself. Furthermore, the plan should meet as many requirements and wishes as possible from the Icelandic Gymnastics Association (FSÍ) and other stakeholders. Gymnastics in Iceland is on the rise, and today the sport is the third most practiced in Iceland after football and golf. Furthermore, gymnastics has the second most participants from ages 17 and younger and the most practiced sport for women in general [1]. There are 28 gymnastics clubs operating in Iceland. The biggest clubs are; Gerpla, Stjarnan, Fjölnir, and Grótta. Gymnastics can be practiced individually in artistic gymnastics or as a team, which is called TeamGym. A lot of time has been spent by FSÍ personnel planning tournaments. A few years ago, they tried to improve their methods due to time consumption. They created an organized Excel document that greatly facilitated their work. However, FSÍ employees are still handling the tournament planning by hand. There has been little concern about fairness between teams as FSÍ’s primary goal has been to create as short of a tournament as possible. As the sport has been proliferating in recent years, clubs are sending more and more teams to each tournament, making it more challenging to organize the competitions. Therefore, changes to the tournament structure are necessary, and therefore it is ideal for creating a model that gathers teams and divides them into di erent rounds for the tournament schedule. The model will save time and reduce costs for FSÍ as the employees can use their time for other things while the model is working. The research objective for this project is to create a mathematical model that generates a fair tournament schedule for FSÍ. To ensure fairness amongst teams in TeamGym tourna- ments, the following needs to be examined; the competition order of events and whether or not the break between rounds is too short or too long. The overall aim is to automate gener- ating tournament schedules by minimizing scheduling time, reducing errors, and meeting as many requirements as possible while delivering a fair, feasible solution to all competitors. Chapter two provides basic information about TeamGym and artistic gymnastics, its events, levels, and scoring. In chapter three, a review of the most relevant literature will be put forth. Chapter four presents the mathematical model and the model adaptability. A brief description will be given of the data, data collection, and data process in chapter five. Chapter six presents the model results and analysis. Chapter seven is the discussion chapter, and in chapter eight, the conclusion can be found. Chapter 2
Background
There are many versions of gymnastics, but in Iceland, mainly two are practiced, artistic gymnastics and TeamGym. Artistic gymnastics is practiced individually, but TeamGym is in a team setting. In this chapter, both TeamGym and artistic gymnastics will be explained along with their disciplines/events, di culty levels, and scoring. Furthermore, the problem with sports scheduling will be defined as well as the current TeamGym scheduling process at FSÍ. This project will focus on the organization of TeamGym tournaments, but in chapter four, the model changes will be discussed so it can be used to create a tournament plan for artistic gymnastics. It is worth mentioning that the information about the disciplines/events was collected in cooperation with the CEO of FSÍ.
2.1 Artistic gymnastics
Artistic gymnastics is an individual sport, and it is one of the few sports that has been included in the Olympics since 1896. Since then, the equipment has changed, the di culty of training has become much more significant, and the sport has grown enormously due to the increased number of practitioners. The development of artistic gymnastics as it is practiced today began in the 19th century [2]. In this section, disciplines in artistic gymnastics and the main rules on each discipline will be explained, along with their di culty levels and scoring.
2.1.1 Disciplines in artistic gymnastics
In artistic gymnastics, the disciplines vary depending on whether it is in women’s or men’s categories. Women’s artistic gymnastics includes four separate events; vault, uneven parallel bars, balance beam, and floor exercise. On the other hand, there are six in men; floor, pommel horse, rings, vault, even parallel bars, and high bar. On all events, di culty exercises vary by levels, where exercises with higher degrees of di culty can receive more points. Table 2.1 shows women’s and men’s disciplines in artistic gymnastics, and below the table, a brief explanation of each discipline can be found. . . ARTISTIC GYMNASTICS 3
Table 2.1: Women’s and men’s disciplines in artistic gymnastics
Women Men Vault Vault Uneven parallel bars Even parallel bars Balance beam Pommel horse Floor Floor Rings High bar
Vault Both women and men compete in vaulting, where gymnasts run on a mat and vault over an apparatus. First, the gymnast must jump with both hands on to the apparatus, and then it is necessary to perform turns and twist in the air to raise the score before landing on their legs again.
Figure 2.1: Vault [3]
Bars events Women compete in uneven parallel bars, and men compete in even parallel bars and high bar, sometimes referred as the circus discipline. All three events require the gymnasts to twist, tumble and turn on the bars without touching the ground.
Figure 2.2: High bar [4] Figure 2.3: Even parallel bars [5]
Figure 2.4: Uneven parallel bars [3] 4 CHAPTER . BACKGROUND
Floor exercises Both men and women compete in floor exercises where requirements vary by level. The floor routine must include exercises where the gymnast shows agility, strength, balance, and jumping exercises. The main di erence between floor exercises for men and women is that women gymnasts perform with music where dance movements and artistry in rehearsals must be shown during the exercise.
Figure 2.5: Floor exercises [6] [7]
Balance beam Women compete on a balance beam, which is only 10 cm wide, 5 m long, and 125 cm high [8]. Balance beam requirements vary by level, but in most levels, the gymnast needs to perform exercise forwards/sideways and backwards and perform a complete rotation on one leg. Additionally, two interconnected exercises must be performed where at least one exercise is a salto.
Figure 2.6: Balance beam [9]
Pommel horse The pommel horse is considered to be the most challenging discipline in men’s gymnastics [10]. It requires a lot of strength for the gymnast to support himself by his hands alone above the horse in a series of circular movements, and the gymnast can not stop the movements except when the exercise is completed.
Figure 2.7: Pommel horse [3]
Rings In ring routines, the gymnast is required to perform swing exercises, strength exercises, and a jump-o while keeping the rings still. It demands enormous strength and diligence to be able to perform such exercises. . . ARTISTIC GYMNASTICS 5
Figure 2.8: Rings [3]
2.1.2 Levels in artistic gymnastics In Iceland, the gymnastics clubs follow the Icelandic Gymnastics Ladders, which aim to strengthen Icelandic gymnastics. Its goal is to support teaching gymnastics at all levels of gymnastics, allowing practitioners to learn competitive exercises and participate in competi- tions among peers. The first ladder was published in 1985, and it is issued every four years, at the beginning of each Olympic season, and is in line with the international refereeing rules of The International Gymnastics Federation (FIG) called Code of Point [11] [12]. The gymnastics ladder is made up of six levels for men and eight levels for women. It is intended for training and competitions in artistic gymnastics. Levels 1-5 are the upper levels of the ladder that compete both at FSÍ tournaments and invitational and intra-community tournaments. Levels 6-8 do not compete at FSÍ tournaments. These practitioners take their first steps in the sport and only perform compulsory exercises for a status assessment at invitational tournaments and intra-community tournaments. In addition to the ladder, there is a competition in free routines, which is the highest level of ability in artistic gymnastics. There the competition is only according to the Code of Points. Therefore it is said to be o the Icelandic Gymnastics ladder [11] [12]. Table 2.2 shows the expected age range as well as the appropriate tournaments for each level. Table 2.2: Age range of each level and relevant tournaments [8] [10]
Age Level Tournaments 6-7 8 Invitational and intra-community tournament 7-8 7 Invitational and intra-community tournament 8-9 6 Invitational and intra-community tournament 9-10 5 Level tournament 1, 2 & 3 10+ 4 Level tournament 1, 2 & 3 11+ 3 Autumn-, Level-, Cup tourn. & Icelandic Championship 12+ 2 Autumn-, Level-, Cup tourn., Icelandic- & GK championship 12+ 1 Autumn-, Level-, Cup tourn., Icelandic- & GK championship 13+ Free routines Autumn-, Level-, Cup tourn., Icelandic- & GK championship
2.1.3 Scoring in artistic gymnastics In artistic gymnastics, the scoring for each event is based on two ratings, a D rating, and an E rating. The D rating consists of di culty values, special requirements, and bonuses for interconnections. The E rating starts at 10.0, and deductions from the rating are made for 6 CHAPTER . BACKGROUND
each implementation error. Deductions can be 0.1, 0.3, and 0.5, but every time a gymnast falls, the minus is 1.0. In levels 6-8, the score for every event is only based on the E rating, but in other levels, the final score for each event is combined of ratings D and E [11] [12]. The maximum score for each level is as follows:
Table 2.3: Maximum score for each level [12] [11]
Level Score Level 6-8 10.0 Level 2-5 17.0 Level 1 According to Code of Points and The Icelandic Gymnasts ladder Free routines According to Code of Points
To better understand the score in artistic gymnastics, the highest score in men’s and women’s free routines from the last Cup tournament can be seen in table 2.8.
Table 2.4: Highest score in men’s and women’s free routines from the Cup tourn. in 2020 [13]
Category Vault Floor Beam U-parallel bars E-parallel bars High bar Pommel horse Rings Total Men’s 13.250 13.250 x x 12.150 12.600 11.050 12.200 74.500 Women’s 13.266 11.700 12.500 12.033 x x x x 49.499
2.2 TeamGym
In recent decades, there has been a development in group gymnastics, now called TeamGym. The first competition in TeamGym was held in Finland in 1996 [14]. The sport has become very popular throughout Europe, especially in the Nordic countries [15]. In this section, TeamGym disciplines and the main rules for each event will be explained along with the TeamGym divisions and scoring.
2.2.1 TeamGym events In TeamGym, each team consists of eight to ten gymnasts except in younger categories where teams may have up to 15 gymnasts. Teams can compete in men’s, women’s, or mixed cate- gories. Each team must present performances to music on all three events, floor, tumbling, and trampet. On trampet and tumbling, each round consists of six gymnasts. On the other hand, teams in the youngest categories have between 6 and 12 competitors in each round. Di erent rules apply for the floor exercise where everyone in the team needs to take part in the routine.
Floor Floor routines can be from 75-165 seconds long and need to include nine di culty exercises, three jumps, two big jumps, and four balances, one of which must be a handstand held for at least two seconds. In addition to the di culty exercises that must be distributed evenly over the routine, special requirements must be met. These requirements include a group exercise, flexibility, and movement of all team members over the floor. . . TEAMGYM 7
Figure 2.9: Balance movement in floor exercises [3]
Tumbling Each team needs to perform three rounds of three interconnected exercises on the jumping track. The di culty of the jumps varies by category. Still, for every category, one round must be performed with forwards exercises, another with backwards exercises, and one round can be forwards, backwards, or mixed. The first round is called the team round, where everyone has to do the same jump; otherwise, the team gets points deducted.
Figure 2.10: Tumbling [16]
Trampet Each team needs to perform three rounds where one round must be over a vault, another without it, and one round may be either over a vault or not. Competitors are required to perform a salto, and in addition, there is a rotation requirement that varies between categories. The same goes for the first round of the trampet. In order for the team not to lose points, the team needs to perform a team round where everyone makes the same jump.
Figure 2.11: Trampet with vault [3] [17] 8 CHAPTER . BACKGROUND
Table 2.5: Women, men and mixed teams compete on same events in TeamGym
Women Men Mixed Floor Floor Floor Tumbling Tumbling Tumbling Trampet Trampet Trampet
2.2.2 TeamGym levels In Iceland, TeamGym follows the rules from the Code of Points (CoP) [18] as well as exceptions for each level. As the levels get higher, the di culty level increases, and the number of exceptions decreases. The CoP provides the basis of TeamGym exercises at all levels of regional, national, and international competitions. CoP also guides coaches and gymnasts, standardizes the refereeing of public competitions, and ensures that the best teams in any competition are identified. Like mentioned before in TeamGym, men and women compete separately or in a mixed (half male and half female) category. Each category has several levels in which all have two or three divisions, depending on the number of teams in each level. A-division is the best one, followed by B-division, and then comes the C-division. Today the two best levels, Senior and Junior, only have two divisions A and B but the other levels have all three. Table 2.6 shows all levels, divisions, and age of the gymnasts for each category in TeamGym in Iceland.
Table 2.6: Categories, levels and divisions in TeamGym [18]
Women Category Mixed Category Men Category Age Divisions Level 5 girls Level 5 mixed Boys younger 9 A,B,C Level 4 girls Level 4 mixed Boys younger 10-11 A,B,C Level 3 girls Level 3 mixed Boys older 12-13 A,B,C Level 2 girls Level 2 mixed Boys older 14-15 A,B,C Junior women Junior mixed Junior men 13-17 A,B Senior women Senior mixed Senior men 16+ A,B
2.2.3 TeamGym scoring In TeamGym, the scoring consists of three ratings, composition (C), di culty (D), and execution (E). The composition rating is based, among other things, on how the rounds are put together as mentioned in the subsection TeamGym events. For example, the jumping events, tumbling, and trampet must include a team round, at least one round forwards, and one backwards. The floor exercise must contain flexibility and group elements, a rhythmic sequence requirement, and a di culty distribution requirement. If those requirements are missing, the team gets points deducted. All events have an open rating in di culty which means, teams that perform more di cult elements get a higher score in this rating if they succeed. The execution rating is the same as in artistic gymnastics; it starts at 10.0, and deductions are made for each implementation error. Deductions can be 0.1, 0.2, 0.3, 0.4, 0.7 or 1.0. Teams can also get additional execution deductions. For example, if a team has a wrong number of gymnasts competing (1.0 in deduction per missing or extra gymnast) and if a gymnast falls from a standing position, or a hand supported balance to their butt, back, stomach, or side (deduction 0.3 each time per gymnast) [18]. . . THE TEAMGYM SCHEDULING PROBLEM 9
The final score for each event is the combined score of ratings C, D, and E. In Table 2.7 the maximum score for each rating can be seen. Furthermore, to better understand what scores teams are getting for each event, Table 2.8 shows the results of all events from the last Cup tournament of 2020 in the senior women’s category.
Table 2.7: Maximum score for each rating [18]
Rating Floor Tumbling Trampet Composition (C) 4.0 2.0 2.0 Di culty (D) Open Open Open Execution (E) 10.0 10.0 10.0
Table 2.8: Top 3 senior women’s teams from the Cup tournament in 2020 [13]
Team Floor Tumbling Trampet Total score Stjarnan 21.700 17.700 16.550 55.950 Gerpla 19.500 16.800 15.950 52.250 ÍA 17.575 14.100 11.650 43.325
2.3 The TeamGym Scheduling Problem
The TeamGym scheduling problem involves arranging teams for certain events in a specific round at a relevant tournament. The main requirement is to generate a fair schedule that meets certain requirements. To make the schedule as short and fair as possible, it is optimal to assign three teams to compete at di erent events during each round. There are three events in TeamGym, floor, tumbling, and trampet. All teams must compete in all events to have a chance to win the tournament. Each team can only compete in one event per round. It must also be taken into account that the time between events is neither too short nor too long. The preferred competition order in TeamGym is floor, tumbling, and then trampet. Due to time limitations, it is not possible to let all teams compete in their preferred order. In television broadcasts, tournaments are usually structured so that the more inferior teams start and the better teams end up competing in the final rounds to maximize the spectator entertainment before the award ceremony. Another constraint that may be taken into consideration is that the top two teams should compete one after the other in the same sequence of events so that it is more di cult to find out who wins until the final points of both teams have tallied.
2.4 The Current Scheduling Process
The scheduling process at FSÍ is rather manual but to get a better insight into the process, Sólveig Jónsdóttir and Íris Svavarsdóttir were contacted [19]. Sólveig is the CEO of FSÍ and Íris was in charge of TeamGym tournament planning for many years at FSÍ. Today the process is such that every gymnastics club registers teams to a relevant tournament. With the registration, coaches need to submit music and jumping sheets that contain information about the jumps that will be performed at the tournament. A rather simple Excel document 10 CHAPTER . BACKGROUND is used for tournament planning at FSÍ where teams are arranged by events and rounds. They start by placing three teams together in a round, all on one event. When all the teams have competed on the first event, the teams from the first round start competing on the second event, and so on. What happens with this method is that the teams always compete in the same order of rounds, but the teams shu e internally in each round, so the teams compete on all events. If teams need to make changes to the schedule, they are asked to switch places amongst themselves. Usually, this works, but otherwise, if there are other special requests, they can contact FSÍ, which tries to meet the team’s requirements. Sólveig provided a used tournament schedule which can be seen in Figure 2.12.
Figure 2.12: Schedule from the 2nd Cup tournament in 2021
There are seven tournaments in Iceland [18]. Table 2.9 shows which levels and divisions are competing in which tournaments. The season begins with the 1st Icelandic Championship, where only A division teams in Senior and Junior categories compete. Next comes the Autumn Tournament, where B division teams in the Senior and Junior categories compete with all teams at other levels except the youngest competitors from level five. The result from the Autumn Tournament divides teams from category two and lower into divisions A, B and C. There are two Cup Tournaments, where the number of teams is approximately divided equally between tournaments. The final two tournaments are the Spring Tournament for divisions B and C in all levels and then the 2nd Icelandic Championship for all A-division teams.
Table 2.9: TeamGym tournaments [18]
Tournaments Senior Junior level 2 level 3 level 4 level 5 y-boys o-boys 1st Icelandic champ. A A Autumn tournament B B A,B,C A,B,C A,B,C A,B,C A,B,C GK tournament A A 1st Cup tournament A,B A,B A,B,C A,B,C A,B,C 2nd Cup tournament A,B,C A,B,C A,B,C Spring tournament B B B,C B,C B,C B,C B,C B,C 2nd Icelandic champ. A A A A A A A A Chapter 3
Literature Review
In this chapter, scheduling literature related to this study will be reviewed. Furthermore, methods and techniques that have been used in previous research with similar goals will be outlined.
3.1 Scheduling problems
Scheduling is one of the most researched areas of operational research, mainly due to the rich variety of di erent types of problems within the field [20]. Production scheduling is often identified with Frederick Taylor, Henry L. Gantt, and Selmer M. Johnson [21]. The Principles of Scientific Management was published in 1911 by Fredrick Taylor [21]. In this work, he highlights the benefits of applying scientific methods in company management. He also separated execution from planning. This became a critical factor since, during this time, manufacturing companies were growing more complex [22]. Gantt supported Taylor’s work, and to improve the decision making he invented the Gantt charts, that compare the planned production to the actual production. Following this, an American mathematician named Johnson published an influential paper on the mathematical analysis of production scheduling problems [22]. These three individuals each had their own vision on how to improve production scheduling problems; Taylor developed the organization, Gantt created tools that help to improve the process of the decision making, and Johnson solved optimization problems [22]. Production scheduling problems are usually divided into three categories; open shop, job shop, and flow shop. As is stated in [23], an open shop problem has no constraints regarding the routing of each job through the production process. A job shop environment is when the route is predetermined for each product. A flow shop environment is where each job has to follow the same route through the production process. The problem considered in this study is classified as an open shop scheduling problem (OSSP). An OSSP di ers from a flow shop and a job shop schedules in that no restrictions are placed on the order in which the tasks for any job are to be processed. OSSP is a well-known subject which belongs to one of the most important issues in the engineering sector [24]. OSSP is classified as a NP hard problem that can be solved by using either Constraint Programming or Operation Research methods according to article [25]. This article furthermore states that these kinds of problems have a wider solution space than other basic scheduling problems, f.x. Job-shop and flow-shop scheduling. As stated in [24], many researchers have been attracted to this problem over the past decades and many algorithms have been proposed because of this fact. Branch-and-bound 12 CHAPTER . LITERATURE REVIEW algorithm [26], Genetic Algorithms [27] and multi-agent systems [28] are all an example of di erent types of OSSP algorithms. The OSSP are nevertheless as diverse as the algorithms including, minimization of; total tardiness of all jobs [29], makespan [30], sum of completion times of jobs [31] and the of sum of weighted tardiness of all jobs [25]. As stated in [23], an open shop is a scheduling problem with i jobs and j machines, where jobs visit all machines at most once where no restrictions are regarding the routing of each job. For this problem, the jobs are the teams, and the machines are the events, where all teams need to compete on all events at most once. However, this study seeks to ensure fairness between teams, which includes all teams wanting to go the same “correct route”. Due to the time limit, the model will break soft constraints regarding the teams’ route, and the schedule will receive penalty points.
3.2 Fairness in scheduling The concept of ‘fairness’ is shapeless and challenging to define [32]. The main reason is that it can have an extensive meaning depending on the study. Correspondingly, there are many fewer studies on the ‘fairness’ of scheduling policies than on the ‘performance’ of scheduling policies. Adam [32] describes the tradition of scheduling policies, where the focus has been on performance metrics such as queue length, production rate, and response time. Furthermore, he dictates the significance of fairness and mentions how fairness in scheduling can often be as important or even more important than optimizing traditional performance measures. For example, while minimizing the mean response time between customers, it can be important to ensure that individual customers/jobs are treated ‘fairly’. Ajtai, Aspnes, Naor, Rabani, Schulman, and Waarts [33] state that the unfairness of a system is calculated by the maximum di erence between the desired and actual load overall processes (e.g., the carpool problem suggested by Fagin and Williams [34]). All kinds of scheduling has been studied substantially, but the fundamental issue of fairness in scheduling is mainly considered open and has usually not been considered quan- titatively. In the past decade, there has been a rising focus on fairness in scheduling (e.g., see [35] about fairness in sta scheduling and [36] about fairness in production scheduling). Chapter 4
Model
In this chapter, a gymnastic tournament scheduling problem is modeled as an optimization problem using binary and integer variables. The mathematical function is linear, and all the variables take integer values. The data used for this problem is data provided by FSÍ and adapted to their scheduling needs. The model’s objective is to minimize penalties and find the fairest scheduling plan for each team. That is done by minimizing the weight factors that occur if soft constraints are broken while satisfying all hard constraints. Section 4.1 consists of general features of the model where sets, subsets, and parameters necessary to build the model are described. Variables regarding the model can be found in Section 4.2, and constraints can be found in Section 4.3. The objective function is explained in Section 4.4. In Section 4.5, the model itself is represented from beginning to end. Finally, in Section 4.6, the model adaptability is explored.
4.1 General features of the model
In this section, the model’s sets and subsets will be defined as well as outline the parameters used in the model.
4.1.1 Sets The model uses four sets that define the structure for the model’s approach. These sets represent teams, events, rounds, and competition periods. To simplify the model, subsets are formed from the sets.
) Set of teams competing in the tournament. The teams are denoted with the letter C ), C = 1, 2,..., ) 2 { | |} ⇢ Set of events in the tournament. The events are denoted with the letter 4 ⇢, 2 4 = 1, 2,.., ⇢ . { | |} ' Set of rounds in the tournament. The rounds are denoted with the letter A ', 2 A = 1, 2,..., ' { | |} % Set of competition periods in the tournament where each period contains 7 adjacent rounds, e.g. period 1 includes rounds 1-7, period 2 includes rounds 2-8 and so on until the final round has been placed in a competition period. The competition periods are denoted with the letter ? %, ? = 1, 2,..., % 2 { | |} 14 CHAPTER . MODEL
Subsets )⇢ Set of teams and events. If C, 4 )⇢, then team C can be assigned to event 4. ( ) 2 )' Set of teams and rounds. If C, A )', then team C can compete in round A. ( ) 2 ⇢' Set of events and rounds, indicating what event can occur in each round. If 4, A ⇢', then event 4 will be assigned to round A. ( ) 2 )% Set of teams and competition periods. If C, ? )%, then team C will be assigned ( ) 2 to competition period ?.
)⇢' Set of teams, events and rounds. If C, 4, A )⇢', then team C can compete on ( ) 2 event 4 in round A.
4.1.2 Parameters In this subsection, the parameters for the model will be described.
Weighted parameters Soft constraints are allowed to be violated against a penalty score. Penalties have di erent weight factors depending on how serious it is to break the relevant constraint. The weight factors are represented with the letter W and a number corresponding to the relevant constraint in the model.
,4.9C,A Weight factor if a team competes more than once per round C, A )'. ( ) 2
,4.104,A Weight factor if an event happens more than once per round 4, A ⇢'. ( ) 2
,4.11A Weight factor if more than three teams compete per round A '. 2
,4.12C Weight factor if a team competes on tumbling before floor C ). 2
,4.13C Weight factor if a team competes on trampet before floor C ). 2
,4.14C Weight factor if a team competes on trampet before tumbling C ). 2
,4.15C,A Weight factor if a team competes in back-to-back rounds C, A )'. ( ) 2
,4.16C Weight factor if a team competes in more than one competition period C ). 2 ,4.17 Weight factor if the team with the best recent performance does not compete in the last round.
,4.184,A Weight factor if the two teams with the best recent performances do not compete in the same order of events in back-to-back rounds 4, A ⇢'. ( ) 2
4.2 Variables
In Section 4.2, decision variables, penalty variables, and fairness variables for the model will be formulated, and a brief description of each variable will be given. . . VARIABLES 15
Decision variables The first set of decision variables decide whether a team is competing on a particular event in a specific round, where T is the set of teams, E is the set of events, and R is the set of rounds.
1, if team C ) competes on event 4 ⇢ in round A ' IC,4,A = 2 2 2 (4.1) (0, otherwise
The next set of variables 4.2 determines whether a team competes in a specific round which is helpful to keep track of which teams are competing in each round.
1, if team C ) competes in round A ' HC,A = 2 2 (4.2) (0, otherwise
The set of variables 4.3 determines whether a team competes in a specific competition period. This can be useful to envisage the teams’ rest time as the variable @C, ? keeps track of which teams are competing in a particular competition period.
1, if team C ) competes in competition period ? % @C,? = 2 2 (4.3) (0, otherwise
Penalty variables Penalty variables are binary variables that have a value of 1 if the constraint is violated but 0 otherwise. In this model, the penalty variables are represented with the letter P and a number corresponding to the relevant constraint, which is described in Section 4.3
%4.9C,A Penalty because a team competes more than once per round C, A )'. ( ) 2
%4.104,A Penalty because an event happens more than once per round 4, A ⇢'. ( ) 2
%4.11A Penalty because more than three teams compete per round A '. 2
%4.12C Penalty because a team competes on tumpling before floor C ). 2
%4.13C Penalty because a team competes on trampet before floor C ). 2
%4.14C Penalty because a team competes on trampet before tumpling C ). 2
%4.15C,A Penalty because a team competes in back-to-back rounds C, A )'. ( ) 2
%4.16C Penalty because a team competes in more than one competition period C ). 2 %4.17 Penalty because the team with the best recent performance does not compete in the last round.
%4.184,A Penalty because the two teams with the best recent performances do not compete in the same order of events in back-to-back rounds 4, A ⇢'. ( ) 2 16 CHAPTER . MODEL
Other variables In the model, the total penalty score is minimized, and all teams should be allocated penalty points in a fair way. To do so, the following variables are added to the model to ensure fairness amongst teams. %4=0;CHC is an integer variable that maintains a total penalty score for each team C ). On the other hand, 08A=4BB is a fairness variable. It is an integer 2 variable that takes the value of the highest total penalty any team receives.
%4=0;CHC 0 (4.4)