A hybrid constructive heuristic and simulated annealing for railway crew scheduling☆
Introduction
The crew scheduling problem (CSP) in the transportation industry represents a computationally difficult combinatorial optimisation problem. The large number of tasks (trips) to include and the complicated operational and contractual requirements are the main reason for the complexity of the problem. Nevertheless, the CSP has been one of the most important focuses of the transportation industry because it affects the company’s profitability and its service quality. An optimal crew schedule is essential to ensure efficient and reliable operations of transportation services. Furthermore, the cyclic nature of the crew scheduling application makes the CSP a good candidate for optimisation. A small improvement to the crew schedules can lead to accumulated savings to produce large annual cost savings. The difficulty of solving CSP yet its enormous practical significance, have led to a large number of proposed solution techniques. However, unlike the airline CSP which has been intensively studied, the railway crew scheduling is less cited in literature (Goumopoulos and Housos, 2004). Railway crew scheduling is domain specific and there has been no developed solving method has yet to be applied universally. Models and algorithms are designed mainly for a specific case and may not readily be applied in different applications.
Railway CSP aims at finding a minimum cost crew schedule. The schedule should cover scheduled trips in a train timetable subject to various constraints. Morgado and Martins (1992) presented early work on the crew scheduling application for the Portuguese railways. The system provides a possibility of generating alternative schedules using different scheduling criteria and enables evaluation of the cost of the solution considering a set of produced statistics. CSP is more frequently formulated mathematically, as either set covering problem or set partitioning problem, and then solved by exact solution approaches and heuristics (see for example in Caprara et al., 1997, Kroon and Fischetti, 2001, Freling et al., 2004). In both the set covering and the set partitioning formulations, the decision variable is a binary integer variable that represents whether or not a duty (roundtrip, pairing) is selected as work for a crew member. The constraint in the set covering problem consists of a matrix of binary values, which defines that each piece of work is covered by a duty at least once. Each column represents one possible pairing or work to be performed by an individual crew member over a defined period of time. The set partitioning problem is similar to the set covering problem, except that in the set partitioning formulation the constraint becomes equal to one, meaning that each task is covered exactly once. Alfieri et al. (2007) proposed a set covering problem based on an implicit column generation solution approach for scheduling train drivers on a railway sub-network. Feasible duties are constructed from a set of trips to be serviced by a number of train drivers, with the aim of minimising the number of duties and maximising the robustness of the schedule. A heuristic procedure is applied to obtain an initial feasible solution together with a heuristic branch-and-price algorithm based on a dynamic programming algorithm for the pricing-out of columns. The main difficulty in applying the exact methods to the CSP is that in determining all possible solutions. For the CSP with a large number of trips, there can be an unmanageably large number of possible roundtrips. As a consequence, the problem becomes a time-consuming process of enumerating all the possible roundtrips. Bangert (2012) noted that the method of enumeration is not realistic when the number of options is too large and cannot be practically listed.
Generally, CSP involves a large number of decision variables and it is restricted by many constraints. Fischetti et al., 1987, Fischetti et al., 1989 have shown that the bus crew scheduling belongs to the class of NP-hard problems. For this reason, there is a requirement of large-scale solution techniques such as column generation. The concept of column generation is to solve a sequence of reduced problems (master problem) in which each reduced problem contains a small fraction of the set of variables (columns). The sub-problem or an auxiliary problem is commonly formulated as a restricted shortest path problem. The restricted shortest path problem however, is difficult to solve and it also needs other optimisation schemes such as dynamic programming algorithms or branch-and-bound methods. Bengtsson et al. (2007) formulated a general crew pairing problem with the objective function being to minimise the cost of selected pairing and the cost of violating soft constraints. The research combines resource constraints, k-shortest path enumeration, and label merging techniques and shows that a column generation approach is able to heuristically solve large and highly complex railway pairing problems in a reasonable time. Given the size and complexity of the railway operation, the researchers indicate the necessity of combined optimisation techniques. Nishi et al. (2011) proposed a column generation with dual inequality for railway crew scheduling. Computational results have shown that the proposed technique can accelerate the convergence of conventional column generation for a large data set application. Yan and Tu (2002), however, stated that column generation based methods could be inefficient because when the crew scheduling is formulated as a traditional set covering problem, the obtained optimal solutions could be non-integer solutions. Other techniques should then be incorporated to refine the non-integer solutions.
De Leone et al. (2011) proposed a mathematical model to solve a CSP. Since their proposed model can only handle small- to medium-sized problems, a greedy randomised adaptive search procedure has then been offered to solve large instances. Network flow approach has also been used in several researches on CSP. An attempt towards this approach was proposed by Vaidyanathan et al. (2007). They describe a network flow-based approach to solve a CSP arising in North American railroads. The CSP is formulated as an integer program on a space–time network enforcing the first-in-first-out requirement by including side constraints with the objective of minimising several components of crew expenses. Due to the difficulty of applying the network flow approach to highly complex constraints, this method may be suitable only for small- to moderately-sized real-world problems.
Metaheuristics have become a popular approach in tackling the complexity of practical optimisation problems. Although metaheuristics cannot guarantee optimality of their solutions, they have shown a very good performance in solving real-world optimisation problems. Metaheuristics represent a general type of solution method that illustrates the interaction between local improvement procedures and higher level strategies to facilitate the algorithm for both escaping local optima and exhaustively searching a feasible region. Elizondo et al. (2010) proposed a constructive hybrid approach to address operation management problems that emerge in underground passenger transport. The results are compared with two alternative methods based on tabu search and a greedy heuristic. The tabu search technique provides better results with regard to idle time than both the hybrid and the greedy methods. Dias et al. (2002) proposed a genetic algorithm for bus driver scheduling, which is developed by using a new coding scheme and considering a complex objective function.
Simulated annealing (SA)-based algorithms have been noticed to produce good solutions to several combinatorial optimisation problems. Emden-Weinert and Proksch (1999) solved an airline CSP using a SA approach. The results show that the SA yields good quality solutions but requires longer processing times than simpler heuristics. Lučic and Teodorovic (1999) applied a SA approach to solve a multi-objective crew scheduling for an airline. In spite of the potential application of SA algorithms to solve combinatorial optimisation problems, there has been few crew scheduling related applications in the literature using the SA algorithm.
This paper presents a new mathematical model and a hybrid constructive SA (HCSA) algorithm to solve railway CSP. The mathematical programming model incorporates commonly encountered real-life railway crew scheduling constraints, particularly the integration of the interval of relief opportunities. To the best of our knowledge, the inclusion of the interval of relief opportunities into models and algorithms has not been studied in depth. The rest of this paper is organised as follows. In Section 2, a brief description of the problem is presented. In Section 3, solution techniques that include formulation of the mathematical programming model and the details of the proposed HCSA algorithm are given. Results of the computational experiments on each approach are provided in Section 4. Finally, Section 5 provides the conclusion and recommendations for further study.
Section snippets
Problem description
The railway crew scheduling we are dealing with consists of a set of crew home depots (HDs), a set of relief points (RPs), a set of scheduled train trips with fixed starting and ending times at each location. The problem is to construct crew duties based on the train timetable while satisfying operational and contractual requirements. The crew in this context is the train crew which consists of a train driver and a conductor, and they are considered as a team.
The rail network involves
Solution approaches
Two solution approaches are proposed for the problem. The first is the exact method of a new mathematical programming model. The mathematical model is formulated based on the information provided by Queensland Rail (QR), Australia. The inclusion of the ROP in this model offers flexibility, because it allows a train crew to be relieved at any RP within the interval of ROP. Existing models usually only consider relieving crew at the beginning of the interval of ROP which may be impractical.
Computational experiments
To evaluate the scheduling methods presented in this paper, we generated benchmark instances for the problem with 24-h scheduling horizons. A sample train schedule with 12 trips is given in Table 1. The railway crew scheduling in this study is to create a feasible set of crew duties to cover a given set of trips. A feasible crew duty (shift) includes one or two partial duties, a period of MB, idle transition times, and the sign-on and sign-off activities. The accumulated time represents the
Conclusion
In this paper, a mathematical model and algorithms for railway crew scheduling problem are presented. The objective of the model and algorithms is to minimise the number of crew duties by minimising total idle transition times. The idle transition times includes idle intervals between trips and an idle interval between partial duties. These unproductive parts of a crew duty contribute the most to the optimisation potential for crew scheduling. The mathematical model includes the interval of
References (20)
- et al.
A disjunctive graph model and framework for constructing new train schedules
European Journal of Operational Research
(2010) - et al.
Efficient trip generation with a rule modeling system for crew scheduling problems
Journal of Systems and Software
(2004) - et al.
Simulated annealing for the multi-objective aircrew rostering problem
Transportation Research Part A
(1999) - et al.
Scheduling and managing crew in the Portuguese railways
Expert Systems with Applications
(1992) - et al.
A network model for airline cabin crew scheduling
European Journal of Operational Research
(2002) - et al.
Personnel scheduling in a complex logistic system: A railway application case
Journal of Intelligent Manufacturing
(2007) Optimization for industrial problems
(2012)- et al.
Railway crew pairing optimization. Algorithmic methods for railway optimization
(2007) - et al.
Algorithms for railway crew management
Mathematical Programming
(1997) - et al.
A bus driver scheduling problem: A new mathematical model and a GRASP approximate solution
Journal of Heuristics
(2011)
Cited by (38)
Scheduling method for pairing night-shift and morning-shift duties on metro lines with complex structure
2024, Transportmetrica A: Transport ScienceOptimize railway crew scheduling by using modified bacterial foraging algorithm
2023, Computers and Industrial EngineeringA fast exact pricing algorithm for the railway crew scheduling problem
2022, Operations Research LettersMulti-objective missile boat scheduling problem using an integrated approach of NSGA-II, MOEAD, and data envelopment analysis
2022, Applied Soft ComputingCitation Excerpt :However, due to the increased problem scale and multiple situational constraints, solving PSPs using the mentioned approaches may be computationally infeasible. Thus, many researchers have recently focused on solving this problem using metaheuristic algorithms [35–37]. Although the algorithms cannot ensure an optimal solution, they can be employed to reach a better solution within a reasonable computing cost.
A general ontological timetabling-model driven metaheuristics approach based on elite solutions
2021, Expert Systems with ApplicationsAllocating and scheduling resources for a mobile photo enforcement program
2021, Transportation Research Part C: Emerging TechnologiesCitation Excerpt :As observed in Fig. 2, genetic algorithm (GA), simulated annealing (SA) and other metaheuristic methods have been used to handle relatively small scheduling problems (less than 1000 variables). For these problems, hybrid algorithms that add local search on GA and SA have shown higher performance than single metaheuristic algorithms alone (Hanafi and Kozan, 2014; Murata et al., 1996; Rogalska et al., 2008). However, these algorithms have been shown to return solutions that differ by more than 30% from optimal (Hanafi and Kozan, 2014; Merkle et al., 2002).
- ☆
This manuscript was processed by Area Editor T.C. Edwin Cheng.