Next Article in Journal
Calculation Model of Drainage Radius of Single-Layer/Multi-Layer Commingled Gas Production Wells in a Closed Constant-Volume Gas Reservoir and Its Application
Previous Article in Journal
Research on Short-Term Prediction Methods for Small-Scale Three-Dimensional Wind Fields
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Bus Rescheduling for Long-Term Benefits: An Integrated Model Focusing on Service Capability and Regularity

1
School of Intelligent Systems Engineering, Shenzhen Campus of Sun Yat-sen University, Shenzhen 518107, China
2
Guangdong Provincial Key Laboratory of Intelligent Transportation System, Shenzhen 518107, China
3
Peng Cheng Laboratory, Shenzhen 518055, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(5), 1872; https://doi.org/10.3390/app14051872
Submission received: 9 November 2023 / Revised: 5 February 2024 / Accepted: 22 February 2024 / Published: 24 February 2024

Abstract

:
Unplanned disruptions, such as vehicle breakdowns, in a public transportation system can lead to severe delays and even service interruptions, preventing the successful implementation of subsequent plans and the overall stability of transit services. A common solution to address such issues is implementing a bus bridging service using an experience-based response strategy, involving the deployment of spare buses to continue affected services. However, with this approach, it becomes impractical and challenging to generate a feasible and rational rescheduling scheme for the remaining transit services when spare buses are insufficient or widespread disruptions occur. In response to this challenge, we propose an innovative model that integrates service capability and regularity, aiming to minimize rescheduling costs through timetable adjustments and scheduling reassignments. We apply dynamic programming to comprehensively consider the hysteresis effects of disruptions and achieve a long-term optimal rescheduling scheme. To efficiently solve the proposed model, the large neighborhood search algorithm is improved by incorporating operational rules. Finally, several experiments are conducted under an actual transit operation scenario in Shenzhen. The results demonstrate that our method significantly reduces trip cancellations and, simultaneously, diminishes the increase in the departure interval resulting from the adjusted schedule by 23.27%.

1. Introduction

A stable and reliable bus service system is crucial for urban mobility, providing convenient travel services for residents. However, buses are susceptible to disruptions due to the heterogeneous traffic conditions. Unforeseen events such as vehicle breakdowns frequently disrupt bus schedules, resulting in severe delays and even service interruptions. These disruptions prevent transit services from successful implementation as planned, and running a bus bridging service using an experience-based response strategy is a common solution. However, delaying or canceling services is often necessary when there are insufficient spare buses or widespread disruptions occur. The delays and cancellations of services increase passenger waiting times, making services irregular and negatively impacting both bus service quality and passenger satisfaction. Although several predictive-based offline or scroll generation methods have been developed to enhance schedule robustness [1], it is important to note that the real-world events leading to delays and cancellations mentioned above have not been properly considered due to their inherently random nature of occurrence. Therefore, bus rescheduling, which adjusts initial fleet plans such as timetables and bus schedules in response to the current conditions of a public transportation system, is imperative to restore transit functionality and ensure stable operation for the remainder of the day.
Bus rescheduling aims to refine the original schedule to minimize the impacts of disruptions on both service capability and regularity [2,3]. A small case is illustrated in Figure 1, where Figure 1a shows a schematic diagram of the actual travel processes of two bus lines, and Figure 1b–f shows the corresponding operational schedule. t r i p 2 , t r i p 4 , t r i p 6 , and t r i p 7 are trips along line 1, whereas t r i p 1 , t r i p 3 , and t r i p 5 are trips along line 2. The departure time is indicated above the top-left corner of each trip node, whereas the arrival time is indicated above the top-right corner. Each bus serves multiple trips; for example, bus 1 operates t r i p 1 t r i p 4 , bus 2 manages t r i p 3 t r i p 6 , and bus 3 is assigned t r i p 2 t r i p 5 t r i p 7 . And, a deadhead is the movement of an empty bus to a destination without any passengers, which helps relocate bus resources [4]. In this case, bus 2 experiences a breakdown while starting t r i p 3 at 7:50, impacting the remaining trips (i.e., t r i p 3 and t r i p 6 ). At that moment, bus 1 is preparing to start t r i p 4 , while bus 3 is in the process of t r i p 2 . In scenario 1, no additional operations are applied, leading to the cancellation of both t r i p 3 and t r i p 6 and an increase in the maximum departure interval of line 1 by 35 min (100% of the original). Scenario 2 employs an intuitive rescheduling method, which completes t r i p 6 by assigning it to an available vehicle (bus 1 in this case) without affecting other trips. However, the maximum departure interval still increases by 35 min (100% of the original). With overall consideration of the entire schedule and vehicle resources, all subsequent trips are completed following a regular departure interval in scenario 3, with only a 10-minute increase in the maximum departure interval (28.57% of the original), resulting in minor impacts on the original schedule. From this small case, two interesting conclusions can be drawn: (1) bus services can be recovered through rescheduling when disruptions occur, and (2) the comprehensive consideration of both subsequent schedules and vehicle resources is essential for ensuring both service capability and regularity.
However, the rescheduling process involves the comprehensive consideration of various complex factors, including trip departure times, the number of trips, and bus assignments. Numerous studies have demonstrated the NP-hard nature of the bus rescheduling problem, which involves timetabling and vehicle scheduling, in different scenarios, such as single-line rescheduling [3,5,6], single-depot rescheduling [4], and multi-depot rescheduling [7]. Some researchers [2,8] have formulated the vehicle rescheduling problem (VRSP) based on information on the remaining trips and operating buses. The VRSP is a combinatorial optimization problem that focuses on minimizing trip cancellations and deviations from the original bus schedules when recovering operations. With consideration of trip delays, studies have derived practical schemes through cancellations and reassignments to guarantee the successful operation of as many remaining trips as possible. However, trip delays are predefined based on the idle time of a single bus and remain unmodified. Individually adjusting each trip’s departure time would overlook the overall trip departure distribution, potentially resulting in irregular departure intervals and destabilizing the bus service. Therefore, it is necessary to modify departure times with consideration of neighboring trips.
The hysteresis effects of disruptions also make it difficult to determine a long-term viable solution for the remaining transit operations. When disruptions occur, their impacts propagate backward along schedules, turning rescheduling into a long-term decision-making challenge for the entire day. Manual rescheduling is the most common method during actual operation. According to controllers’ experience, the impacts of disruptions can be mitigated through local schedule adjustments. However, this approach only provides limited optimization for trips departing within a short time frame, thereby giving rise to subsequent operational challenges. For instance, inadequate consideration of the overall schedule may lead to numerous cancellations due to the inappropriate allocation of bus resources, resulting in significantly divergent plans from the original schedule. Moreover, the rescheduling problem becomes more intricate and difficult to solve manually as the number of buses and trips increases. And, the NP-hard nature of the problem also necessitates the introduction of more effective solution approaches.
To address the above challenges in the VRSP problem, we propose an integrated service capability and regularity (ISCR) model, and an improved large neighborhood search (LNS) algorithm based on the dynamic programming (DP) framework, named DP-LNS, is introduced to solve the problem effectively. Our main contributions are as follows:
1.
Service regularity is innovatively combined with service capability in constructing the ISCR model. Rather than separate adjustments in the timetable before rescheduling, we directly introduce the overall departure regularity into the formulation of the objective function, which simultaneously achieves more sufficient and regular services.
2.
The rescheduling problem is formulated with the dynamic programming framework, and an improved large neighborhood search (LNS) algorithm is applied based on it. To achieve long-term optimization for the subsequent operations of the day, dynamic programming decomposes the problem into a series of stages over time and considers the aftereffects of previous periods. In addition, by incorporating operational rules, we improve the LNS algorithm with scheduling-based heuristic operators to solve the problem effectively.
3.
Several experiments are conducted under a real public transit operation scenario in Shenzhen, China. The method offers an effective and robust rescheduling scheme for bus services, facilitating the recovery of operations and ensuring stable service provision.
As rescheduling is carried out through bus dispatch and timetable adjustments [9], we focus on a single bidirectional line, including one depot and two routes, to maintain a sufficiently large yet manageable experimental scenario. The remainder of this paper is organized as follows. Section 2 reviews previous related studies. Section 3 establishes the proposed optimization model, and the solution algorithm is described in Section 4. Section 5 presents the computational results. Finally, the conclusions are discussed in Section 6.

2. Related Works

Rescheduling is an essential aspect of transportation systems, including buses, metros, railways, and aircraft [10,11]. Many studies have been carried out on formulations, model establishment, and solution approaches.
To better formulate the problem and design a mathematical model, researchers [6,8] often construct an underlying network based on trip information and bus status. Time-space networks (TSNs) and connection networks (CN)s are the most popular basic structures. A TSN offers exact time and space information of buses, making it easy to describe the actual state of a public transportation system [12]. Van den Heuvel et al. [13] developed routines based on TSNs to reduce the wastage of bus resources. And, some studies [14,15] have combined variable speed and TSNs to achieve a more practical rescheduled timetable. However, TSNs focus more on the details of the travel process, which makes rescheduling complicated. Compared with a TSN, a CN is constructed based on relationships between trips and vehicles and has fewer elements, offering a more intuitive and brief computational representation [16,17]. It has been proven that CNs are more conducive to the development of effective methods when travel information is given [4,12]. However, this approach limits the solution space to specific trip departure times. Recently, researchers [9,18] have found that extending the connection network with time-delay windows can further improve the quality of solutions. In this paper, our main focus is on bus assignments and the precise modification of departure times, rather than the intricacies during a single trip. Therefore, we adopted the concept of a connection network with delayed trip copies to formulate the rescheduling problem in a clear and effective manner.
The purpose of bus rescheduling is to minimize the impact of disruptions on the service capability and regularity of public transportation systems. Early works mainly considered recovering operations by canceling trips [2,8], which significantly reduced bus service reliability. Thus, Li et al. [4] reconsidered real-world situations and expanded previous models with reassignments to ensure the executability of trips. However, trips are still prone to failure due to insufficient vehicles. Some studies [9,18,19] have introduced time-delay windows into models and obtained higher-quality rescheduled plans through reasonable time-sharing of vehicle resources. Wang [20] additionally calculated the delays of each train to reduce the aftereffects of rescheduling. Based on the above aspects, researchers have constructed models with objectives concerning trip delays, trip cancellations, and deviations from bus schedules and made some achievements in guaranteeing service capability. Nevertheless, few studies have paid attention to service regularity after rescheduling, which is significant for public transit passengers. Tessitore [21] perceived the regularities of train arrivals and departures as essential to measuring the performance of a transit system. Gkiotsalitis [3,22] raised the idea that service regularity is directly related to the excessive waiting times of passengers. Accordingly, researchers [23,24] have built models considering passenger delays and waiting times. Moreover, Long [25] took the maximum train-loading rate into account. Researchers [26,27,28,29] have also added deviations from departure intervals to models to satisfy service requirements. Service regularity has gradually become increasingly crucial during rescheduling, which can be represented by departure intervals. However, the cancellation and retiming of individual trips within transportation services can lead to significant service gaps and disrupt service regularity. There has been a noticeable lack of emphasis on addressing the issue of maintaining service regularity both before and after rescheduling, as well as its integration with service capability. Consequently, we propose a time-based service regularity model and integrate it with service capability to further enhance the rescheduling model.
The rescheduling problem is a long-term decision-making problem. An intuitive idea to achieve comprehensive optimization is to perform rescheduling on the whole schedule directly, but this requires significant computational support. By decomposing complicated problems into several sub-stages and constructing correlations among them, dynamic programming can help efficiently obtain long-term beneficial solutions [30]. Moreover, the scheduling model based on dynamic programming can adeptly take into account time-based variations, which help improve resource utilization efficiency and achieve robust schemes [31]. Therefore, dynamic programming has attracted considerable interest in operational optimization and may be more practical for performing rescheduling. Considering service capability, the rescheduling problem is described as a binary linear programming model. Many deterministic algorithms can solve this problem and obtain analytical solutions, such as column generation [14], and branch-and-bound [6,32] algorithms. However, the problem becomes nonlinear when service regularity is integrated because trips can be canceled or retimed, which complicates the solution. As the problem has been proven to be NP-hard [3,4,5,6,7], several approximation algorithms have been applied to effectively address the problem. In [8], the auction algorithm was used to solve the model pseudo-polynomially. Lagrangian relaxation [4,9] can help reduce the complexity by decomposing the problem into multiple sub-problems. Nevertheless, the computational cost still explodes with the number of remaining trips. Thus, researchers have designed many heuristic-based algorithms to reduce the solution space. For example, the greedy heuristic algorithm [11], insertion heuristic algorithm [4], variable neighborhood search heuristic algorithm [33], tabu search algorithm [34], neighborhood search algorithm [35], simulated-annealing algorithm [28], and genetic algorithm [36] have been applied to gradually modify initial solutions by performing local adjustments. Heuristic algorithms are highly effective for solving combinatorial optimization problems and obtaining approximate optimal solutions.
Local search (LS) is a prevalent heuristic algorithm employed for combinatorial optimization problems. Typically, the algorithm preserves a feasible solution and iteratively replaces the solution with its neighbor of higher quality until a locally optimal solution is achieved [37]. The large neighborhood search (LNS) algorithm was developed based on the principle of local search, where the neighborhood is defined by recombination methods (often heuristics) that are used to destroy and repair a current solution [38]. Through the use of heuristics, LNS is capable of exploring complex neighborhoods efficiently and finding better candidate solutions in each iteration, making it one of the most successful paradigms for solving various transportation and scheduling problems [37]. The recombination methods function by strategically destroying the solution at specific positions and subsequently repairing it using predefined rules. Various destroy methods are utilized in bus operation research, including random removal [39], worst removal [40], and neighborhood-based removal [41]. Common repair methods involve additions and shifts, such as stop insertion for bus routes [42], trip insertion for bus schedules [40], or timetable shifts [43]. The flexible nature of these configurations makes LNS a powerful tool for solving bus operation problems. Through the improvement of LNS with appropriately designed recombination rules, the aim of ensuring service capability and regularity can be effectively achieved in the bus rescheduling problem.
Therefore, to comprehensively meet the dual demands of service capability and regularity within the context of rescheduling, we innovatively propose the integrated ISCR model, leveraging the existing connection network. Additionally, we develop the DP-LNS algorithm as a powerful solution to address this challenge. ISCR uniquely incorporates departure time as another crucial variable alongside trip numbers, allowing for a more thoughtful consideration of service capability and regularity requirements. To mitigate the enduring effects of disruptions, the dynamic programming algorithm decomposes the problem, helping achieve long-term optimized solutions. Simultaneously, LNS is improved based on existing research [37,44,45] to efficiently tackle the ISCR model, making use of domain-specific knowledge. Finally, we empirically validate the method’s effectiveness and robustness through experiments conducted in real operational scenarios in Shenzhen, China.

3. Mathematical Formulation

In this section, we commence with a summary of the notations and definitions utilized in this paper. Following that, we provide a brief overview of the construction of the connection network on which the ISCR model is based. Subsequently, we elaborate on the approach to integrating service capability and regularity within the ISCR model, taking into account operational rules through the formulation of corresponding constraints.

3.1. Preliminaries

Table 1 provides an overview of the primary notations used in this paper. Within a transit schedule, there are L n bus lines, R n trips on different bus lines, and B n buses serving all trips. A trip i is a service designed on line S i = l , starting from departure stop O S i at time T i , following the entire sequence of stops along line S i , and arriving at the destination, D S i , with a total travel time of t i . And, the timetable is formed by assembling all trips and providing comprehensive information on both the timing and route details of transit services. According to the timetable, each bus is scheduled to serve multiple trips sequentially per day; for example, ( i j ) for bus b. After completing the prior trip i, bus b engages in deadheading, which is the movement of an empty bus to help manage vehicle resources, to reach the subsequent trip service j. Therefore, two consecutive trips within any bus schedule adhere to trip compatibility, as outlined below:
Trip compatibility: Trips i , j are compatible if the following conditions are satisfied:
  • The arrival time of trip i is earlier than the departure time of trip j;
  • There exists adequate time for a bus to deadhead from trip i to trip j;
  • The idle time of the bus is guaranteed.
Let φ ( i , j ) = 1 denote that the trip pair ( i , j ) is compatible, and 0 otherwise. tra ( D S i , O S j ) calculates the travel time from D S i to O S j . In summary, trip compatibility can be described as follows:
φ ( i , j ) = 1 T i + t i + tra ( D S i , O S j ) + t m i n i d l e T j
Sometimes, bus b experiences a breakdown during trip i, impacting the subsequent schedule ( j ) . To mitigate the impacts of disruptions, rescheduling is applied to all trips and buses, ensuring both service capability and regularity.

3.2. Generation of the Connection Network

Drawing from existing methods [4,9], we construct the connection network with time-delay windows vehicle by vehicle. Figure 2 serves as an illustrative example of a single bus’s connection network, corresponding to bus 3 in the breakdown scenario depicted in Figure 1. In this graphical representation, the rectangular nodes correspond to individual trips, whereas the edges symbolize specific buses. The different colors of the rectangular nodes indicate the corresponding bus lines that trips travel along. When breakdowns occur, buses may be either in transit or parked, and the manager needs to determine how to reschedule the buses to minimize the impact of breakdowns. For example, combined with the information from Figure 1, it can be seen that bus 1 is parked at the arrival stop of t r i p 1 , and bus 3 is serving t r i p 2 when bus 2 breaks down. Therefore, we introduce s d b to represent the starting point of a specific bus b, indicating the specific availability time and location from which b can be deployed. For example, s d 3 means that bus 3 is available for rescheduling starting from the arrival stop of t r i p 2 at 7:55. Additionally, t d b is used to denote that b has completed its service and returned to the depot. A complete schedule of bus b after disruptions is depicted by a unique link from s d b to t d b .
We commence by constructing the connection network with all compatible trip pairs based on the remaining trips. Let V t denote the nodes corresponding to the trips that depart after disruptions. V t b V t is the set of trip nodes that can be performed by b. According to Formula (1), we establish connections between the nodes using directed edges and derive a set of edges E t b = { ( i , j ) | φ ( i , j ) = 1 , i , j V t b } pertaining to deadheads between ( i , j ) , as indicated by the solid edges in Figure 2. Subsequently, the connection network of bus b without considering delays can be represented by G b = ( V b , E b ) , where V b = V t b { s d b , t d b } and E b = E t b ( s d b × V t b ) ( V t b × t d b ) { ( s d b , t d b ) } .
Then, we expand the connection network to further explore which trip could be performed by bus b with a permissible delay. Let the delay time for trips be denoted as d minutes. Consider W b as a copy of V t , where the nodes are arranged in order of departure time to ensure that all nodes will be visited. The expansion starts by visiting the first node in W b , assuming it to be s d 3 , and iterating over all nodes { j | φ ( s d 3 , j ) 1 , j V t } that cannot be operated from s d 3 without delay. If there exists d d m a x such that trip j can be operated from s d 3 after a d-minute delay in departure time, a copy of trip j, denoted by j ( d ) and departing at T j ( d ) = T j + d , could be reasonably performed following the completion of s d 3 . Next, we add the edge ( s d 3 , j ( d ) ) and the edges connecting j ( d ) to all its compatible trips to the graph, such as the trip pairs ( s d 3 , 3 ( 10 ) ) and ( 3 ( 10 ) , 6 ( 10 ) ) shown in Figure 2. Following this, the currently explored node s d 3 is removed, the derived nodes are added to W b , and W b is reordered. Let V ^ t b = { j ( d ) } denote the trip copies and E ^ t b = { ( s d 3 , j ( d ) ) } { ( j ( d ) , i ) | φ ( j ( d ) , i ) = 1 , i V b } indicate the edges connecting the trip copies, as shown by the dashed nodes and edges in Figure 2, respectively. By repeating the above process until list W b is empty, the complete connection network of bus b is updated with G ^ b = ( V ^ b , E ^ b ) , where V ^ b = V b V ^ t b , E ^ b = E b E ^ t b .
While exploring, only the compatible copy with minimal delays is considered to avoid producing additional delay times. Then, the connection network for each bus can be constructed in a consistent manner, resulting in many identical trip nodes being shared among them. To facilitate better bus coordination, these networks are merged into a single unified network G = ( V , E ) = b G ^ b , where V = b V ^ b and E = b E ^ b .

3.3. Construction of the Integrated Model

Based on the connection network, we utilize the decision variables e i , j b and T i to construct our ISCR model. e i , j b = 1 if edge ( i , j ) E ^ b is selected. E ^ b ( i ) contains the edges in G ^ b pointing to trip node i. Then, we propose the objective function of the ISCR model, considering both service capability and regularity.
Service capability: Service capability focuses on the performance and successful operation of the transit schedule. The number of actually dispatched trips is a key indicator for measuring the capability of public transit services. During disruptions, it becomes crucial to ensure the completion of as many trips as possible, meaning that a sufficient number of nodes should be connected by edges within the connection network. Part of the objective considering service capability is given in Formula (2), where R n l is the number of trips in { i | S i = l , i V t } and R n = l R n l .
z Q = C Q l ( R n l b ( i , j ) { ( i , j ) | ( i , j ) E ^ b , S j = l } e i , j b )
Furthermore, the rescheduling scheme should be easy to follow to mitigate additional risks. This entails minimizing the dispatch of vehicles and reducing changes in the assignment of vehicles to trips. The dispatch of empty vehicles, referred to as deadheading, introduces more instability into the schedule implementation and results in additional operational costs, such as idle time and fuel consumption. At the same time, extensive reassignments hinder the swift implementation of new schedules. To address these concerns, we include the cost of deadheads and reassignments in the service capability. The remaining objectives, which take service capability into account, are related to the deadheading time and the number of reassignments, as shown below:
z C = b ( i , j ) E ^ b C i , j D e i , j b
z P = C P b j i : ( i , j ) E ^ b ( j ) e i , j b ( e i , j b p j b )
Service regularity: Service regularity strives to provide a comparable level of transit service after rescheduling. Service frequency reflects the maximum waiting time of passengers, which is essential to evaluate the service. We introduce the changes in trip departure intervals to represent the variation in service frequency. The service regularity objective z H is formulated as follows:
z H = C H l ( i , j ) E s e l l T j T i h ¯ l
E s e l l = { ( i , j ) | j = i + 1 , i V s e l l }
V s e l l = { i | b j : ( j , i ) E ^ b ( i ) e j , i b = 1 , T i + 1 > T i , S i = l , i V }
where V s e l l represents the trip sequence in the solution that travels along line l, and h ¯ l denotes the original average departure intervals of the corresponding trips. E s e l l contains consecutive trip pairs in V s e l l . It is evident that z H acts as the focal point for feedback regulation within the framework of a rescheduling scheme, rendering the model challenging to solve. We address the solution to this issue in Section 4.
Finally, constraints are formulated for operational rules, except for the minimum bus idle time, which has already been satisfied during the construction of the connection network. The mathematical model is as follows:
min z = z Q + z C + z P + z H
s.t.
b ( i , j ) { ( i , j ) | ( i , j ) E ^ b , S j = l } e i , j b R n l l
j V ^ b e s d b , j b = 1 b
j V ^ b e j , t d b b = 1 b
b i : ( i , u ) E ^ b ( u ) e i , u b = 1
b i : ( i , j ) E ^ b ( j ) e i , j b 1 j V
j : ( i , j ) E ^ b e i , j b = j : ( j , i ) E ^ b e j , i b i V ^ b { s d b , t d b } , b
T j T i h m a x + ε ( i , j ) E s e l l , l
Operational rules: Constraint (9) means that the total number of trips will not increase after rescheduling. Constraints (10) and (11) provide only one trip schedule for each bus. Constraint (12) guarantees the retrieval of stranded passengers on trip u, whereas constraint (13) places a restriction on the in-degree of nodes in the connection network, ensuring that each trip can be performed once at most. Constraint (14) guarantees flow conservation, making paths unique and feasible. Finally, constraint (15) ensures that trip departure intervals do not exceed a maximum. It should be noted that trip departure intervals are determined by travel demand situations, e.g., the departure intervals at night may be longer due to fewer passengers. Therefore, we construct a soft constraint (15) with an adjustment parameter ε . This parameter can be employed when the solution is unstable in multiple iterations to prevent the generation of low-quality solutions and the resulting increase in total costs.

4. Solution Approach

In this section, we first formulate the rescheduling problem as a dynamic programming problem to comprehensively consider the hysteresis effects of disruptions. Moreover, the VRSP problem is proven to be NP-hard, and our proposed ISCR model needs feedback regulation, which poses a challenge in obtaining an exact solution within polynomial time. To address this, we improve the large neighborhood search algorithm (LNS) based on existing research, which combines domain knowledge to efficiently generate a reasonable and feasible optimization scheme.

4.1. Dynamic Programming

The public transit rescheduling problem exhibits several significant characteristics: (a) the initial schedule is phased; (b) disruptions have a backward propagating impact along schedules, which represents a long-term decision challenge; and (c) the computational complexity increases with the number of buses and trips. Therefore, the application of staged decision making over time becomes practical. Drawing inspiration from this concept, we introduce dynamic programming to break down the problem and facilitate state transitions across stages. This approach allows us to derive a suitable response to disruptions and address a smaller-scale problem with LNS in each stage, consequently reducing the solution space in a rational manner and efficiently obtaining a long-term optimal solution.
According to the typical scheduling phase, we divide the rescheduling problem into hourly stages. Each sub-stage, denoted as s t a g e k , is defined by a start time T m i n k and an end time T m a x k , spanning one hour. These stages are guided by the objective presented in Formula (8), and the allocation of buses B k and trips R k is determined as follows:
B k = { b | T s t b T m a x k & T m i n k < T e d b }
R k = { i | T m i n k T i < T m a x k , i V }
where T s t b and T e d b represent the start and end times of bus b’s daily working schedule.
In each stage, we input the initial spatiotemporal information of the arranged buses and scheduled trips for that period and employ LNS to generate the schedule for that specific time frame. A bus b becomes available for dispatch after completing its previous trip. Thus, the input state for sub-stage s t a g e k can be represented as ST a l k = { ( s a l b , k , T a l b , k ) | b B k } , where T a l b , k signifies the time when the bus completes its last trip in the previous stage, and s a l b , k corresponds to the arrival stop. With specific values of ( B k , ST a l k , R k ) , we construct the connection network and ultimately produce the solution for s t a g e k , denoted as f k = { ( e i , j b , T j ) | b B k , i , j R k } . The corresponding cost z k can be calculated using (8).
Between stages, the states of buses undergo transitions, allowing us to consider the propagation of disruptions. Buses are scheduled to perform trips in s t a g e k + 1 upon the completion of the s t a g e k schedule. Consequently, the input state for s t a g e k + 1 is exclusively determined by the input state and decisions made in s t a g e k . We denote g k as the process governing the state’s evolution from s t a g e k to s t a g e k + 1 , and the transition function is defined in Formula (18).
ST a l k + 1 = g k ( ST a l k , f k )
With the state representation of each stage and the transition function, we can formalize the problem’s optimization. Given the initial state ST a l 1 when disruptions occur and K sub-stage solutions { f 1 , f 2 , , f K } , the total cost of the optimization scheme is represented by Formula (19). Finally, to minimize the total cost, the optimal value of an initial state is given by function (20) [30].
J ( ST a l 1 ; f 1 , f 2 , , f K ) = k = 1 K z k
J * ( ST a l 1 ) = min J ( ST a l 1 ; f 1 , f 2 , , f K )
Let J k * ( ST a l k ) , as shown in (21), denote the optimal value of the tail sub-problem that starts from s t a g e k , i.e., the minimal rescheduling cost from s t a g e k to s t a g e K . Then, dynamic programming solves Function (21) by considering all possible states ST a l k and then proceeds with Formula (22).
J k * ( ST a l k ) = min J ( ST a l k ; f k , f k + 1 , , f K )
J k * ( ST a l k ) = min z k + J k + 1 * ( ST a l k + 1 )
Following the principles of dynamic programming, we divide the original problem into multiple sub-stages, where the input state of each sub-stage is influenced by the state and decisions from the preceding one. Within each sub-stage, the small-scale problem can be efficiently addressed with LNS, considering dependencies from the previous time period. This approach allows us to preserve a set of sub-schemes { f k 1 , f k 2 , } representing unique schedules in s t a g e k . Finally, we combine these sub-schemes to obtain a complete solution. As the impact of disruptions may decrease over time, they can often be resolved during earlier sub-stages. To achieve this, we utilize the Dijkstra algorithm [46] to identify an optimal solution and create a comprehensive rescheduling plan. Algorithm 1 outlines the details of the algorithm, and we have established the following two termination conditions for it:
(a) The last stage has been reached.
(b) The solution for the new stage does not incur additional costs, i.e., it matches the original schedule.
Algorithm 1: DP-LNS
  • Initialize the state ST a l 1 , the list of stages
  • Initialize C Q , C i , j D , C P , C H , d m a x , t m i n i d l e , h m a x , ε , γ
  • Create a list, L s , to store all possible input states
  • Begin with L s containing the initial state, ST a l 1   { f 1 * , f 2 * , , f k * , } = the optimal integrated rescheduling scheme
  • Until termination condition is met
  •    Calculate the cost of operation from the initial state to each state in L s and sort L s based on these costs
  •    Select the first element of L s as the current state, denoted as ST a l k , and construct the connection network based on it
  •    Generate multiple sub-schemes { f k 1 , f k 2 , } for the current state using Algorithm 2. Calculate new states { ST a l k + 1 , 1 , ST a l k + 1 , 2 , } according to the transition function provided in Formula (18)
  •    for each new state:
  •       Update the new state’s corresponding integrated rescheduling schemes { f 1 * , f 2 * , , f k * }
  •    end for
  •    Add the newly generated states to L s and remove the current state from L s
  • return   { f 1 * , f 2 * , , f k * , } correlated to the final state

4.2. Large Neighborhood Search Algorithm

The NP-hard characteristics of the VRSP problem and the nonlinear nature of the proposed ISCR model require a trade-off between solution quality and computational efficiency. Large neighborhood search (LNS) is an effective approach for solving bus operation problems, capable of rapidly converging toward an approximate optimal solution. The LNS algorithm commences with an initial solution and iteratively refines the current solution through a cycle of destroy and repair rules until a locally optimal solution is reached [37]. The primary content of LNS is illustrated in Algorithm 2. With flexible configurations of the initial solutions and destroy and repair rules, our study improves the LNS by incorporating bus operational rules relevant to service capability and regularity to effectively address the bus rescheduling problem.
Algorithm 2: LNS
  • Initialize parameters
  • Initial solution: Generate an initial solution f
  • Until the costs of results remain stable within a small range
  •    Calculate the selection probability of each position in solution f based on heuristic operators
  •    Destroy: Apply destroy for the solution f based on the probability
  •    Choose an allowed neighborhood to be repaired
  •    Repair: Apply repair for the solution f based on the rule
  •    Update the solution f with any improvements
  • return f
According to the above algorithm, we mainly focus on the design of the initial solution and the destroy and repair rules. The input parameters contain the connection network G, C Q , C i , j D , C P , C H , d m a x , t m i n i d l e , h m a x , ε , and γ .
Initial solution: In this study, an initial solution f is generated based on the connection network G. The structure of the proposed model reveals the inherent nonlinearity in both the objective z H and constraint (15), significantly increasing the complexity of the problem. In particular, z H serves as an objective necessitating feedback regulation, which can be effectively managed through localized adjustments. Additionally, constraint (15) offers a higher level of flexibility. Taking these aspects into account, we opt to relax these elements, thus obtaining a feasible initial solution f k by addressing the following problem:
min z = z Q + z C + z P
s.t.       ( 9 ) ( 14 )
Problem (23) primarily focuses on ensuring service capability, which constitutes a 0–1 linear programming problem that can be efficiently resolved using existing tools. In this paper, we utilize the Gurobi solver to address problem (23) and procure an initial solution for the subsequent recombination processes.
Destroy rules: Service regularity is a primary challenge to be addressed during the recombination process, and it is closely associated with service frequency. Therefore, we devise a heuristic operator that considers service frequency and makes adjustments to departure times to assist in formulating recombination rules. The destroy operation is intended to identify a trip pair ( i , j ) for adjustment.
The heuristic operator is designed as the difference between the rescheduled service frequency and the baseline, as shown in Equation (24). Service frequency is characterized by trip departure intervals, with the original average value during the corresponding time periods, denoted as h ¯ l , serving as the baseline. The probability of selecting a trip pair ( i , j ) is determined by Equation (25). When a departure interval is less than the baseline, it indicates an excess of service supply, potentially leading to resource wastage, and thus necessitates an enlargement of the interval. Conversely, if the departure interval exceeds the baseline, it results in longer passenger waiting times, requiring a reduction. Similar to the expansion of the connection network, we only consider the approach of delaying trips. Therefore, c p ( i , j ) plus or minus indicates which trip needs to be adjusted.
c p ( i , j ) = ( T j T i ) h ¯ l ( i , j ) E s e l l , l
p ( i , j ) = c p ( i , j ) l ( m , n ) E s e l l c p ( m , n )
Repair rules: The repair operation is realized by adjusting the departure time of the destroyed trip. Let γ denote the adjustment rate. Then, the updated departure time for the selected trip i is calculated using (26).
T i T i + c p ( i , j ) γ
To ensure the executability of trips, it is also essential to ensure compatibility between the adjusted trip and the neighboring trips performed by the same bus. Furthermore, we limit the departure time adjustments to a range that preserves the order of all trips, thus ensuring timetable stability. Therefore, Formula (26) is modified to create Formula (27).
T i min [ T i + c p ( i , j ) γ , T j 1 , b j : ( i , j ) E ^ b e i , j b ( T j t m i n i d l e tra ( D S i , O S j ) t i ) ]
Finally, we iteratively refine several initial solutions through recombination until convergence is achieved. These outputs constitute the sub-schemes for the stage of dynamic programming, ultimately contributing to the development of the integrated optimal rescheduling scheme.

5. Case Study and Discussion

This section considers the public transit operation of a bidirectional line, the Shenzhen No.10 bus line, as the scenario. There is one depot and two different routes in this case. We perform a series of experiments that simulate breakdown disruptions to assess the effectiveness of our proposed model in ensuring the smooth operation and service regularity of this transit system.
The Shenzhen No.10 bus line boasts comprehensive operational data, allowing us to establish operation-related parameters based on actual data. This particular line covers a total distance of 13.25 km, with 22 stops in the upward direction (departing from stop s = 1 ) and 21 stops in the downward direction (departing from stop s = 2 ), as illustrated in Figure 3. The data reveal that the line operates approximately 285 trips per day from 06:00 to 23:00, with a maximum departure interval of about 20 min and an average interval of about 8 min. The average travel times for trips in the upward and downward directions are roughly 50 min and 46 min, respectively. In conjunction with navigation information, we established the travel times for buses to deadhead in the upward and downward directions at 35 min and 30 min, respectively. Finally, the experiments are conducted based on operational data for the No.10 bus line over the course of a single day in September 2019.

5.1. Scenario Description

In the breakdown scenario, bus_No_19 experiences a breakdown at 15:00, with one active trip and four remaining trips scheduled. This situation results in a decrease in the number of available vehicles, leaving a total of 115 trips remaining to be completed.
A visual representation of this scenario is depicted in Figure 4. The x-axis represents the departure time, whereas the y-axis represents the identity of the bus. Each rectangle in the figure represents a trip departing at a specific time, with different colors denoting different directions, and the length of each rectangle represents the travel time. Thus, each row in the figure corresponds to a bus schedule. The remaining trips of the disabled bus are highlighted by black boxes.
In this paper, we analyze the impact of different methods on the breakdown scenario using various performance indicators. In terms of the timetable, we consider metrics such as the number of canceled trips (CT), the associated cancellation cost ( z Q ), and the cost of modifying service frequency ( z H ). Regarding bus schedules, we calculate the ratio of reassigned trips (RR), the corresponding reassignment cost ( z P ), and the deadhead cost ( z C ). Specifically, RR represents the proportion of trips for which the execution relationships change in the optimized output scheme.

5.2. Parameter Configuration

The parameters are established with consideration of the actual operating costs, local economic factors, and results of a sensitivity analysis.
In alignment with the average load rate of the No. 10 bus line, the cancellation cost ( C Q ) is set at 2000, whereas the deadhead cost ( C i , j D ) is determined by multiplying the deadheading time by a factor of 10.
Subsequently, a sensitivity analysis encompassing the number of backup vehicles (N), reassignment penalty ( C P ), and minute change cost of intervals ( C H ) is conducted. It is anticipated that sustaining such a scheme continuously could be challenging if a specific aspect is significantly compromised. Based on the findings detailed in Table 2, we perform the following parameter adjustments: the number of backup vehicles (N) is set at 0, the reassignment penalty ( C P ) is fixed at 500, and the minute change cost for the departure interval ( C H ) is established at 10.
Taking into account the actual operational context, we configure the parameters as follows: the maximum delay ( d m a x ) is limited to 10 min, the minimum rest time ( t m i n i d l e ) is set at 3 min, and the maximum departure interval ( h m a x ) is established as 20 min. The adjustment parameter ( ε ) for the soft constraint is defined as 5 min, and the learning rate ( γ ) for the recombination rules is set to 0.05. With these parameter settings, the computational cost of the sub-stages is approximately 15 s.

5.3. Comparison Method

The coordination of vehicles requires a series of calculations and feedback, along with consideration of subsequent schedules, which makes manual rescheduling a highly challenging task. Therefore, the most common approach to rescheduling during actual operations is rule-based decentralized control [4]. Consequently, in the absence of backup vehicles, the most common practice is to cancel the remaining trip schedules of the disabled buses when a breakdown occurs. This method does not require reassignments and can be carried out manually with ease.
In this section, our experimental analysis focuses on comparing the effectiveness of different modeling approaches and algorithms. The central consideration in constructing the ISCR model is whether delays are introduced for trips. We further examine the following two scenarios:
(a) With time delay (WT): Time delay is introduced during the construction of the connection network to expand the solution space, and the ISCR model is developed based on this connection network with delayed trips.
(b) Without time delay (WOT): Only trips from the original timetable are taken into consideration, and the ISCR model is constructed based on the connection network without delayed trips.
Furthermore, the following optimization algorithms are compared. Algorithms II-IV solve the problem after dividing it into periods, but they differ in their sub-stage solution approaches and how they create comprehensive scheduling schemes.
(I) Manual approach (MA): Recovers public transit operations using the above manual optimization methods.
(II) Greedy algorithm (Greedy): According to problem (23), the solution of each sub-stage is obtained directly using the Gurobi solver, and the final optimal solution is output by the greedy algorithm.
(III) Greedy with LNS (Greedy-LNS): According to problem (8), the solution of each sub-stage is found by the LNS algorithm, and the final optimal solution is output by the greedy algorithm.
(IV) DP with LNS (DP-LNS): According to problem (8), the solution of each sub-stage is found by the LNS algorithm, and the final optimal solution is output by the Dijkstra algorithm.

5.4. Analysis of Results

Table 3 shows the computational results in terms of the timetables and bus schedules.
Compared to the MA, the rescheduling model (ISCR) and its variants, solved by various intelligent algorithms, consistently demonstrate a notable enhancement in solution quality, achieving at least a 12.94% cost reduction. Through the coordination of multiple buses, the number of CTs decreases from 5 to about 2. This indicates that even an experienced controller using the MA would struggle to accurately analyze problems and thus effectively coordinate buses. As the severity of disruptions increases, the application of the rescheduling model for comprehensive rescheduling becomes necessary. Notably, solving the WOT model using the greedy approach increases the total cost by 5.95%. This increment in cost occurs because the solution reduces the number of CTs but requires more reassignments compared to the MA. Controllers can evaluate the pros and cons of different schemes based on specific situational requirements.
Comparing the results of the different models indicates that considering delay times allows trip cancellations to be significantly reduced. Thus, introducing delay times allows trips to be performed more flexibly, making it easier to obtain an optimal solution containing sufficient trips. However, we also find that modeling using delays changes the service frequency, increasing the corresponding cost z H by about 35.64%. This additional cost is unavoidable and requires LNS algorithms for further optimization.
The LNS algorithm is implemented based on the heuristic operator designed in this study, which is more effective in identifying irregular departure intervals for optimization. Thus, we can alleviate the imbalanced service frequency caused by introducing delayed trips. The results of WT modeling show that the cost z H decreases by 23.53% using the proposed LNS algorithm. Moreover, dynamic programming can help obtain a beneficial long-term rescheduling scheme. The available information on trips and buses needs to be determined based on the scheme in the previous period. This means that the state of sub-stages will change according to the different schemes of the previous sub-stage, resulting in a distinct connection network. Dynamic programming can comprehensively evaluate the hysteresis effects of the sub-schemes and, therefore, obtain a comprehensively optimal solution. Significantly, the results also show that at most 13.91% of trips, including those with practical conflicts, need to be reassigned to mitigate the impact of disruptions in the current scenario, which provides a preliminary impact range.
Based on the above analysis, the proposed DP-LNS algorithm can maintain sufficient service capability during different disruptions. However, it is difficult to ensure service regularity because of the variations in timetables caused by delays and cancellations. From the perspective of timetables, departure times decide when passengers can use the transit service, whereas departure intervals denote the maximum waiting time for passengers. Therefore, to further analyze the performance of different algorithms in solving WT models, we calculate the average departure time bias (DB) and the average interval bias (IB) between the original and the optimized schedules. The computations are described by Formulas (28) and (29), where T i o p and T i o r are the departure times of the i-th trip in the optimized and original schedules, respectively.
D B = 1 V s e l l i V s e l l T i o p T i o r l
I B = 1 E s e l l ( i , j ) E s e l l T j T i h ¯ l l
Table 4 shows the computational results of different algorithms, where a larger value means a greater difference between the optimized and original schedules. From the results, we can conclude that the DP-LNS algorithm not only effectively ensures overall service regularity but also controls the range of the variation, with about a 23.27% bias reduction. Moreover, the service frequency provided by the DP-LNS algorithm is more similar to the original schedule compared to the schedules generated by the other algorithms. This saves passengers from disruptions caused by excessive waiting times while also guaranteeing the reliability of public transit services.
Figure 5 illustrates the advantages of the DP-LNS algorithm, where the x-axis indicates the departure time and the y-axis indicates the cumulative number of departed trips. The curves in the figure represent the implementation of different departure schedules. Each point (x, y) signifies the departure time of the y-th trip at time x under the respective scheme. Therefore, when two curves have points closer together at the same y-coordinate, it signifies a closer alignment of the departure times for the two schemes. As observed in Figure 5, the red curve aligns more closely with the blue curve, indicating that the rescheduling scheme derived from the DP-LNS algorithm exhibits higher consistency with the original schedule. This significantly contributes to the maintenance of bus service stability.
In addition to the solution, the optimization process can provide guidance for the actual operation of a public transportation system. Figure 6 shows the variation curve of the departure intervals, where the x-axis is the sequential number of intervals and the y-axis is the value of the corresponding interval. The greedy algorithm solves problem (23) without considering service frequency. Thus, it may select some trips within the time-delay windows to guarantee sufficient trips, generating disproportionate intervals. For instance, as highlighted by the arrow in Figure 6b, an interval of over 30 min occurs for downward trips, significantly reducing the reliability of the public transit service and passenger satisfaction. However, this also means that there is a shortage of vehicle resources during the corresponding period, suggesting that the use of additional vehicles could improve the quality of the transit service.
We use the local schedule around the interval highlighted by the arrow in Figure 6b as an example to compare the effects of different algorithms, as shown in Figure 7. The local schedule covers part of the optimized schemes during both periods: 18:00–19:00 and 19:00–20:00. Because of the breakdown of bus_No_19 at 15:00, several trips need to be rearranged or canceled, such as trip 8 in Figure 7. Without backup buses, MA controllers cancel the above trips, as shown in Figure 7a, which reduces the capability of bus services. Therefore, the ISCR model adds trips to other buses to generate a certain number of trips. For example, trips are inserted behind trips 1, 4, and 6 to fill the gap in trip numbers during the periods 18:00–19:00 and 19:00–20:00. However, the greedy algorithm ignores the hysteresis effects of the solutions of previous stages, leading to additional rescheduling (e.g., the cancellation of trip 7 in Figure 7b). Thus, the interval exceeding 30 min occurs due to cancellations and reassignments following common methods, leading to fluctuating service frequencies. Therefore, we introduce the LNS algorithm and combine it with dynamic programming to design the DP-LNS algorithm. The heuristic operator, designed by combining domain knowledge, allows the improved LNS to identify the maximum departure interval bias and repair the irregular departure intervals by delaying trip 5 within an allowable time window, as shown in Figure 7c. This adjustment aims to offer a more consistent service for passengers. Compared to the greedy algorithm, dynamic programming comprehensively combines the sub-schemes of different stages to obtain a long-term optimal solution, preventing poor decisions in the early stages that could compromise subsequent plans. Therefore, the requirement of trip numbers in the period 18:00–19:00 can be satisfied by more reassignments, and bus_No_15 can perform trip 7 with a 9 min delay to avoid extra operational costs, as shown in Figure 7d. Finally, dynamic programming produces an optimized scheme that is more similar to the original schedule, making it easier to ensure successful operation and minimize variation in service frequency.
Finally, A visual representation of the optimization scheme for the DP-LNS algorithm is shown in Figure 8.

6. Conclusions

Bus rescheduling is a critical approach to ensuring the operation of a public transit system. When disruptions occur, the most useful methods for restoring operation schedules are rearranging, canceling, or reassigning trips. However, combinations of the above methods are various and intricate. In this paper, we construct a transit rescheduling optimization model based on the connection network. Studies have focused on the successful operation of subsequent trips. However, changes in service frequency caused by delays or cancellations also need to be considered, as these alterations can detrimentally affect passengers’ travel experiences. Therefore, we introduce the deviation from departure intervals and construct the ISCR model to ensure both service capability and regularity, which makes the optimal scheme more achievable and reliable.
The challenges lie in comprehensively considering the hysteresis effects of disruptions and efficiently solving the NP-hard problem and the proposed nonlinear model. Therefore, we propose combining domain knowledge by designing the DP-LNS algorithm. Dynamic programming decomposes the problem and then makes decisions for sub-stages by incorporating the effects of previous stages, which helps overcome long-term issues. Moreover, the LNS algorithm is improved to solve the problem and guarantee the sufficient capability and regularity of the transit service. Finally, we conduct several computational experiments based on an actual public transit scenario in Shenzhen, China. The results reveal that the DP-LNS algorithm effectively reduces the number of canceled trips to facilitate the recovery of transit operations. Moreover, DP-LNS also ensures service regularity through the modification of departure intervals. In conclusion, our method achieves the best rescheduling performance when compared to other approaches.
However, this paper only analyzes rescheduling on a single line. The coordination of multiple lines would further expand the solution space because of the increased availability of resources, which could enable higher-quality solutions to be achieved. In addition, adding a feedback mechanism could improve our algorithm, and considering a multi-layer model will be a topic of our future research.

Author Contributions

Conceptualization, S.D. and J.Z.; methodology, S.D.; software, S.D.; validation, Z.H. and J.Z.; formal analysis, S.D. and J.Z.; investigation, S.D.; resources, Z.H.; data curation, S.D.; writing—original draft preparation, S.D. and J.Z.; writing—review and editing, S.D., J.Z., and J.X.; visualization, S.D.; supervision, Z.H.; project administration, J.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was financially supported by the Science and Technology Planning Project of Guangdong Province (grant No. 2023B1212060029) and the Science and Technology Program of Shenzhen (grant No. JSGG20220831094604008).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author (accurately indicate status).

Acknowledgments

The authors would like to thank the support from the Science and Technology Planning Project of Guangdong Province (No. 2023B1212060029) and the Science and Technology Program of Shenzhen (No. JSGG20220831094604008). The authors wish to thank the anonymous referees for their valuable comments.

Conflicts of Interest

The authors report there are no competing interests to declare.

Abbreviations

The following abbreviations are used in this manuscript:
VRSPVehicle rescheduling problem
CNConnection network
ISCRIntegrated service capability and regularity model
DPDynamic programming
LNSLarge neighborhood search

References

  1. Artan, M.Ş.; Şahin, İ. A stochastic model for reliability analysis of periodic train timetables. Transp. B Transp. Dyn. 2023, 11, 572–589. [Google Scholar] [CrossRef]
  2. Li, J.Q.; Borenstein, D.; Mirchandani, P.B. A decision support system for the single-depot vehicle rescheduling problem. Comput. Oper. Res. 2007, 34, 1008–1032. [Google Scholar] [CrossRef]
  3. Gkiotsalitis, K. Improving service regularity for high-frequency bus services with rescheduling and bus holding. J. Traffic Transp. Eng. 2021, 8, 778–794. [Google Scholar] [CrossRef]
  4. Li, J.Q.; Mirchandani, P.B.; Borenstein, D. A Lagrangian heuristic for the real-time vehicle rescheduling problem. Transp. Res. Part E Logist. Transp. Rev. 2009, 45, 419–433. [Google Scholar] [CrossRef]
  5. Carosi, S.; Frangioni, A.; Galli, L.; Girardi, L.; Vallese, G. A matheuristic for integrated timetabling and vehicle scheduling. Transp. Res. Part B Methodol. 2019, 127, 99–124. [Google Scholar] [CrossRef]
  6. Yin, J.; Ren, X.; Su, S.; Yan, F.; Tao, T. Resilience-Oriented Train Rescheduling Optimization in Railway Networks: A Mixed Integer Programming Approach. IEEE Trans. Intell. Transp. Syst. 2023, 24, 4948–4961. [Google Scholar] [CrossRef]
  7. Bertossi, A.A.; Carraresi, P.; Gallo, G. On some matching problems arising in vehicle scheduling models. Networks 1987, 17, 271–281. [Google Scholar] [CrossRef]
  8. Li, J.; Mirchandani, P.B.; Borenstein, D. The vehicle rescheduling problem: Model and algorithms. Networks 2007, 50, 211–229. [Google Scholar] [CrossRef]
  9. Van Lieshout, R.; Mulder, J.; Huisman, D. The vehicle rescheduling problem with retiming. Comput. Oper. Res. 2018, 96, 131–140. [Google Scholar] [CrossRef]
  10. Visentini, M.S.; Borenstein, D.; Li, J.Q.; Mirchandani, P.B. Review of real-time vehicle schedule recovery methods in transportation services. J. Sched. 2014, 17, 541–567. [Google Scholar] [CrossRef]
  11. Aydın, G.; Şahin, İ. A Mixed Integer Linear Programming Model with Heuristic Improvements for Single-Track Railway Rescheduling Problem. Appl. Sci. 2023, 13, 696. [Google Scholar] [CrossRef]
  12. Guedes, P.C.; Borenstein, D. Real-time multi-depot vehicle type rescheduling problem. Transp. Res. Part B Methodol. 2018, 108, 217–234. [Google Scholar] [CrossRef]
  13. van den Heuvel, A.; van den Akker, J.; van Kooten, M. Integrating Timetabling and Vehicle Scheduling in Public Bus Transportation; Technical Report UU-CS-2008-003; Department of Information and Computing Sciences, Utrecht University: Utrecht, The Netherlands, 2008. [Google Scholar]
  14. Reynolds, E.; Maher, S.J. A data-driven, variable-speed model for the train timetable rescheduling problem. Comput. Oper. Res. 2022, 142, 105719. [Google Scholar] [CrossRef]
  15. Zhan, S.; Wang, P.; Wong, S.C.; Lo, S.M. Energy-efficient high-speed train rescheduling during a major disruption. Transp. Res. Part E Logist. Transp. Rev. 2022, 157. [Google Scholar] [CrossRef]
  16. Jiang, M.; Zhang, Y.; Zhang, Y. Electric bus scheduling considering limited charging facility capacity for large-scale operation. J. Transp. Eng. Part A Syst. 2022, 148, 04022058. [Google Scholar] [CrossRef]
  17. Quttineh, N.H.; Häll, C.H.; Ekström, J.; Ceder, A.A. Integrated solution for electric bus timetabling and vehicle scheduling combined with choices of charging locations. J. Public Transp. 2023, 25, 100055. [Google Scholar] [CrossRef]
  18. Huang, Z.; Luo, X.; Jin, X.; Karichery, S. An iterative cost-driven copy generation approach for aircraft recovery problem. Eur. J. Oper. Res. 2022, 301, 334–348. [Google Scholar] [CrossRef]
  19. Vega, J.; Pureza, V.; Santana, M.; Morabito, R.; Yan, B.; Ribas, P.C. Model-based solution approach for a short-term flight rescheduling problem in aerial passenger transportation to maritime units. Int. Trans. Oper. Res. 2022, 29, 3400–3434. [Google Scholar] [CrossRef]
  20. Wang, M.; Wang, L.; Xu, X.; Qin, Y.; Qin, L. Genetic Algorithm-Based Particle Swarm Optimization Approach to Reschedule High-Speed Railway Timetables: A Case Study in China. J. Adv. Transp. 2019, 2019, 6090742. [Google Scholar] [CrossRef]
  21. Tessitore, M.L.; Samà, M.; D’Ariano, A.; Hélouet, L.; Pacciarelli, D. A simulation-optimization framework for traffic disturbance recovery in metro systems. Transp. Res. Part C Emerg. Technol. 2022, 136, 103525. [Google Scholar] [CrossRef]
  22. Gkiotsalitis, K.; Cats, O. Multi-constrained bus holding control in time windows with branch and bound and alternating minimization. Transp. B 2019, 7, 1258–1285. [Google Scholar] [CrossRef]
  23. Xu, W.; Zhao, P.; Ning, L. A Practical Method for Timetable Rescheduling in Subway Networks during the End-of-Service Period. J. Adv. Transp. 2018, 2018, 5914276. [Google Scholar] [CrossRef]
  24. Sharma, B.; Pellegrini, P.; Rodriguez, J.; Chaudhary, N. A review of passenger-oriented railway rescheduling approaches. Eur. Transp. Res. Rev. 2023, 15, 14. [Google Scholar] [CrossRef]
  25. Long, S.; Luan, X.; Corman, F. Passenger-oriented rescheduling of trains and rolling stock for handling large passenger demand: Linearized models with train capacity constraint. Transp. B 2021, 9, 641–672. [Google Scholar] [CrossRef]
  26. Ding, S.; Zhang, T.; Liu, Z.; Wang, R.; Lu, S.; Xin, B.; Yuan, Z. A Memetic Algorithm for High-Speed Railway Train Timetable Rescheduling. J. Adv. Comput. Intell. Intell. Inform. 2022, 26, 407–417. [Google Scholar] [CrossRef]
  27. Lai, D.S.W.; Leung, J.M.Y. Real-time rescheduling and disruption management for public transit. Transp. B Transp. Dyn. 2018, 6, 17–33. [Google Scholar] [CrossRef]
  28. Zhang, H.; Ni, S. Train Scheduling Optimization for an Urban Rail Transit Line: A Simulated-Annealing Algorithm Using a Large Neighborhood Search Metaheuristic. J. Adv. Transp. 2022, 2022, 9604362. [Google Scholar] [CrossRef]
  29. Filcek, G.; Gąsior, D.; Hojda, M.; Józefczyk, J. An Algorithm for Rescheduling of Trains under Planned Track Closures. Appl. Sci. 2021, 11, 2334. [Google Scholar] [CrossRef]
  30. Zhang, P.; Sun, H.; Qu, Y.; Yin, H.; Jin, J.G.; Wu, J. Model and algorithm of coordinated flow controlling with station-based constraints in a metro system. Transp. Res. Part E Logist. Transp. Rev. 2021, 148, 102274. [Google Scholar] [CrossRef]
  31. Xu, G.; Wu, W.; Chen, Q.; Mao, N.; Wu, Z. Ferry Scheduling Optimization Considering Arrival Time Uncertainty and In-Place Time Differences. Appl. Sci. 2023, 13, 11174. [Google Scholar] [CrossRef]
  32. Peng, Q.; Ning, J.; Lu, G. Model and Algorithm for Train Platform Scheme Rescheduling at Large High-speed Railway Station. Tiedao Xuebao J. China Railw. Soc. 2019, 41, 10–19. [Google Scholar]
  33. Hoogervorst, R.; Dollevoet, T.; Maróti, G.; Huisman, D. A Variable Neighborhood Search heuristic for rolling stock rescheduling. EURO J. Transp. Logist. 2021, 10, 100032. [Google Scholar] [CrossRef]
  34. Zhu, Q.; Bai, Y.; Yang, L.; Chen, Y.; Yan, D. Collaborative optimization of rescue operation and timetable rescheduling under metro train failure. Transp. B Transp. Dyn. 2023, 11, 2203847. [Google Scholar] [CrossRef]
  35. Hassannayebi, E.; Sajedinejad, A.; Kardannia, A.; Shakibayifar, M.; Jafari, H.; Mansouri, E. Simulation-optimization framework for train rescheduling in rapid rail transit. Transp. B Transp. Dyn. 2021, 9, 343–375. [Google Scholar] [CrossRef]
  36. Aminzadegan, S.; Tamannaei, M.; Fazeli, M. An integrated production and transportation scheduling problem with order acceptance and resource allocation decisions. Appl. Soft Comput. 2021, 112, 107770. [Google Scholar] [CrossRef]
  37. Pisinger, D.; Ropke, S. Large neighborhood search. In Handbook of Metaheuristics; Springer: Cham, Switzerland, 2019; pp. 99–127. [Google Scholar]
  38. Shaw, P. Using constraint programming and local search methods to solve vehicle routing problems. In Proceedings of the International Conference on Principles and Practice of Constraint Programming, Pisa, Italy, 26–30 October 1998; pp. 417–431. [Google Scholar]
  39. Perumal, S.S.; Larsen, J.; Lusby, R.M.; Riis, M.; Sørensen, K.S. A matheuristic for the driver scheduling problem with staff cars. Eur. J. Oper. Res. 2019, 275, 280–294. [Google Scholar] [CrossRef]
  40. Shen, Y.; Xie, W.; Li, J. A MultiObjective optimization approach for integrated timetabling and vehicle scheduling with uncertainty. J. Adv. Transp. 2021, 2021, 3529984. [Google Scholar] [CrossRef]
  41. Zhang, A.; Li, T.; Zheng, Y.; Li, X.; Abdullah, M.G.; Dong, C. Mixed electric bus fleet scheduling problem with partial mixed-route and partial recharging. Int. J. Sustain. Transp. 2022, 16, 73–83. [Google Scholar] [CrossRef]
  42. Azadeh, S.S.; van der Zee, J.; Wagenvoort, M. Choice-driven service network design for an integrated fixed line and demand responsive mobility system. Transp. Res. Part Policy Pract. 2022, 166, 557–574. [Google Scholar] [CrossRef]
  43. Steiner, K. Schedule-Based Integrated Inter-City Bus Line Planning for Multiple Timetabled Services via Large Multiple Neighborhood Search; Technical Report; Johannes Gutenberg-UniversitÃd’t Mainz: Mainz, Germany, 2018. [Google Scholar]
  44. Ahuja, R.K.; Orlin, J.B.; Sharma, D. Very large-scale neighborhood search. Int. Trans. Oper. Res. 2000, 7, 301–317. [Google Scholar]
  45. Chen, S.; He, Z.; Zhong, J. Integrated Framework for Bus Timetabling and Scheduling in Multi-Line Operation Mode. Appl. Sci. 2022, 12, 4210. [Google Scholar] [CrossRef]
  46. Dijkstra, E.W. A note on two problems in connexion with graphs. Numer. Math. 1959, 1, 269–271. [Google Scholar] [CrossRef]
Figure 1. Schematic illustration of rescheduling scenarios. (a) Diagram of the actual travel processes of two bus lines. (b) Original schedule. (c) Free operation. (d) Intuitive rescheduling. (e) Comprehensive rescheduling. (f) Labels of Figure 1b–e.
Figure 1. Schematic illustration of rescheduling scenarios. (a) Diagram of the actual travel processes of two bus lines. (b) Original schedule. (c) Free operation. (d) Intuitive rescheduling. (e) Comprehensive rescheduling. (f) Labels of Figure 1b–e.
Applsci 14 01872 g001
Figure 2. Demonstration of the connection network.
Figure 2. Demonstration of the connection network.
Applsci 14 01872 g002
Figure 3. The map of the No. 10 bus line in Shenzhen, China.
Figure 3. The map of the No. 10 bus line in Shenzhen, China.
Applsci 14 01872 g003
Figure 4. Schedules in the breakdown scenario.
Figure 4. Schedules in the breakdown scenario.
Applsci 14 01872 g004
Figure 5. Temporal variations in trip departures. (a) Departures of upward trips. (b) Departures of downward trips.
Figure 5. Temporal variations in trip departures. (a) Departures of upward trips. (b) Departures of downward trips.
Applsci 14 01872 g005
Figure 6. Temporal variations in departure intervals. (a) Departure intervals for upward trips. (b) Departure intervals for downward trips.
Figure 6. Temporal variations in departure intervals. (a) Departure intervals for upward trips. (b) Departure intervals for downward trips.
Applsci 14 01872 g006
Figure 7. Visualization of local schedule. (a) Scheme of the MA. (b) Scheme of the greedy algorithm. (c) Scheme of the greedy-LNS algorithm. (d) Scheme of the DP-LNS algorithm.
Figure 7. Visualization of local schedule. (a) Scheme of the MA. (b) Scheme of the greedy algorithm. (c) Scheme of the greedy-LNS algorithm. (d) Scheme of the DP-LNS algorithm.
Applsci 14 01872 g007
Figure 8. Optimization scheme of the DP-LNS algorithm.
Figure 8. Optimization scheme of the DP-LNS algorithm.
Applsci 14 01872 g008
Table 1. Notations.
Table 1. Notations.
IndicesDescription
i , j , u Trip index, i , j = 1 , 2 , , R n ; u refers to the remainder of the trip currently being performed by the breakdown bus.
bBus index, b = 1 , 2 , , B n .
lLine index, l = 1 , 2 , , L n .
Parameters
t i Travel time of trip i.
S i S i { l | l = 1 , 2 , , L n } . The line that trip i belongs.
O l Departure stop of line l.
D l Arrival stop of line l.
p j b p j b { 0 , 1 } ; 1 if trip j is covered by bus b in the original schedule, 0 otherwise.
t m i n i d l e The minimal bus idle time.
d m a x The maximum trip delay time.
C Q C Q R + . The cost of a single trip cancellation.
C i , j D C i , j D R + . The cost of deadheading from trip i to trip j.
C P C P R + . The reassignment penalty resulting from changes in vehicle departure times and sequences.
C H C H R + . The cost of minute changes in trip departure intervals.
h ¯ s h ¯ s N + . The original average departure intervals of the trips departing from stop s.
h m a x h m a x N + . The maximum departure interval.
ε ε N + . The adjustment parameter for updating h m a x .
T s t b Start time of bus b’s daily working schedule.
T e d b End time of bus b’s daily working schedule.
Decision Variables
e i , j b e i , j b { 0 , 1 } ; 1 if bus b operates from trip i to trip j sequentially, 0 otherwise.
T i Departure time of trip i.
Table 2. Results of sensitivity experiments.
Table 2. Results of sensitivity experiments.
N C P C H TimetableBus Schedule
CT z Q z H RR z P z C
05010002778.2618.26%10500
20005441.7717.39%10000
50010002368.4212.17%7000950
20004601.8413.91%8000950
15010002698.5921.74%12500
20004833.0613.91%10500
50010002553.2315.65%90001250
20004381.1015.65%90001250
Table 3. Computational results in the breakdown scenario.
Table 3. Computational results in the breakdown scenario.
TimetableBus ScheduleTotal CostCompared
with MA
CT z Q z H RR z P z C z
MA510,0002559.190.00%0195014,509.19-
WOTGreedy240002422.5712.39%7000195015,372.57+5.95%
Greedy-LNS240001681.308.85%5000195012,631.30−12.94%
DP-LNS240001807.626.19%3500195011,257.62−22.41%
WTGreedy003285.9313.04%7500165012,435.93−14.29%
Greedy-LNS002512.7213.91%800095011,462.72−21.00%
DP-LNS002368.4212.17%700095010,318.42−28.88%
Table 4. Analysis of the regularity of transit services.
Table 4. Analysis of the regularity of transit services.
UpwardDownward
DB (min)IB (min)DB (min)IB (min)
AverageTotalAverageTotalAverageTotalAverageTotal
Greedy6.73188.333.04173.087.49200.522.73155.52
Greedy-LNS5.79127.432.19124.786.31179.02.22126.50
DP-LNS5.25110.232.10119.646.32185.522.06117.20
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Deng, S.; He, Z.; Zhong, J.; Xie, J. Bus Rescheduling for Long-Term Benefits: An Integrated Model Focusing on Service Capability and Regularity. Appl. Sci. 2024, 14, 1872. https://doi.org/10.3390/app14051872

AMA Style

Deng S, He Z, Zhong J, Xie J. Bus Rescheduling for Long-Term Benefits: An Integrated Model Focusing on Service Capability and Regularity. Applied Sciences. 2024; 14(5):1872. https://doi.org/10.3390/app14051872

Chicago/Turabian Style

Deng, Sen, Zhaocheng He, Jiaming Zhong, and Jiemin Xie. 2024. "Bus Rescheduling for Long-Term Benefits: An Integrated Model Focusing on Service Capability and Regularity" Applied Sciences 14, no. 5: 1872. https://doi.org/10.3390/app14051872

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop