Abstract
The COVID-19 pandemic has had serious adverse impacts on public transport service providers. Most public transport lines exhibit reduced ridership levels while, at the same time, some of them may exhibit passenger demand levels beyond the pandemic-imposed capacity limitations. This study models the problem of bus dispatching time optimization within a periodic rolling horizon optimization framework that reacts to travel time and passenger demand variations. This model allows public transport service providers to adjust their bus schedules periodically to avoid in-vehicle crowding beyond the pandemic-imposed capacity limit. The proposed model is a mixed-integer linear program that considers the possible changes to vehicle schedules and tries to minimize the number of vehicles required to perform the service while adhering to the COVID-19 capacity restrictions. Case study results from the implementation of our model on bus Line 2 in the Twente region in the Netherlands are provided demonstrating the potential gains when rescheduling the trip dispatching times and vehicle schedules.
Keywords
The COVID-19 pandemic has significantly affected the transportation sector, especially public transport ( 1 – 3 ). For example, at the initial outbreak stage, public transport systems in some cities, such as Wuhan and San Francisco, were completely shut down to slow the spread of COVID-19. In addition, public transport systems in major cities around the world have experienced a sharp decline in ridership. It is estimated that public transport ridership has declined by as much as 80% to 90% in major cities in the U.S. and China ( 4 ). A recent study shows that during the initial lockdown stage rail passenger ridership in the UK fell to about 5% of its normal level ( 5 ). The decline of passenger numbers has led to a reduction in public transport revenues, which has increased the financial burden on public transport agencies.
To maintain their service variability, public transport agencies have adopted various measures, such as social distancing, temperature screening, wearing face masks, hygiene, sanitization, and ventilation. Many public transport agencies have advised passengers to keep a physical distance of 1 to 2 m between themselves and other passengers to reduce the spread of the COVID-19 virus ( 2 , 3 ). The use of social distancing, however, significantly reduces the capacity of public transport vehicles. For example, a recent study showed that keeping 1.5 m social distancing on the Washington DC metro network would reduce carrying capacity by 80% ( 6 ). Another recent study further showed that the average seated train occupancy of the Washington DC metro would drop to between 19% and 28% for all its lines when implementing a 2 m social distancing policy ( 7 ). The implementation of different social distancing policies will lead to different usage capacities in public transport vehicles. Therefore, determining how to meet the social distancing requirements by optimally dispatching public transport vehicles is an interesting and timely topic. In addition, it will be valuable to further incorporate the uncertainties of vehicle running times and passenger demand in dispatching time optimization so as to provide more resilient and robust public transport services. In the particular case where the number of planned trips is not sufficient to meet the social distancing requirements, new trips can be added to the daily plan and their dispatching times and vehicle schedules can be updated. This study focuses on this direction by developing a mixed-integer linear program for the optimal rescheduling of the trip dispatching times and vehicle schedules to meet the social distancing requirements.
Literature Review
The bus dispatching time optimization problem is part of the wider bus frequency setting and timetabling problem and it can be divided into two categories: single-line dispatching time optimization and multiple-line dispatching time optimization. Below we provide a concise review of the two categories.
Scheduling the dispatching times of several trips operating on a bus line is a multivariable optimization problem where the dispatching time of every trip is a decision variable ( 8 , 9 ). For the case of single-line dispatching time optimization, Newell ( 10 ) analytically showed that to minimize the total passenger waiting time the optimal vehicle dispatching rate varies with time approximately as the square root of the passenger arrival rate. Hurdle ( 11 , 12 ) extended the work of Newell ( 10 ) by considering vehicles returning to a dispatching terminal. By using a continuous approximation modeling approach, an optimization model with the objective of minimizing the total passenger waiting time and vehicle operation cost was developed, and the optimal vehicle dispatching rate for different time periods was derived analytically ( 11 , 12 ). Salzborn ( 13 ) developed a continuous approximation-based optimization model to optimize the vehicle dispatching times of a bus line to minimize the total passenger waiting time while complying with a fleet size constraint. Stern and Ceder ( 14 ) developed an integer programming model to optimize the dispatching times with the objective of minimizing both the total passenger waiting time and fleet size. Their model can be solved by using commercial optimization solvers, such as CPLEX. Ceder et al. ( 15 ) further developed a set of heuristic procedures to generate single-line timetables with either even vehicle headways or even passenger loads in vehicles. In high-frequency services, the objective function of the vehicle dispatching optimization problem is scalar and usually aims to minimize the headway deviation between bus trips of the same service line so as to reduce bus bunching ( 16 – 18 ). Minimizing this objective function will result in more regular bus operations with reduced average passenger waiting time at bus stops. In the current pandemic, however, additional constraints—such as maintaining a certain level of physical distancing among passengers—become important ( 7 , 9 ).
The other category of bus dispatching time optimization is in the case of multiple lines, that is, network-wide bus dispatching time optimization. In this case, there are mainly two groups of studies. The first group of studies adopts an equilibrium passenger assignment approach to set the optimal dispatching frequency for each line. This approach takes into account passenger route/trip choice behavior and formulates the optimal dispatching frequency problem as a subproblem of a public transport network design problem. The problem is usually formulated as a bi-level programming model with the upper level objective of minimizing a total system cost and the lower level as an equilibrium passenger assignment problem ( 19 – 22 ). The second group of studies considers coordinating vehicle arrival and departure times at transfer stations when optimizing vehicle dispatching times. The main objective of dispatching time coordination is to minimize the network-wide total passenger transfer waiting time so as to develop seamless transport services. In this case, single-objective or multi-objective integer programming optimization models are developed to optimize the departure and arrival times of vehicles from either a terminal station or intermediate stations ( 23 – 25 ). Except for these two groups of studies, there are also some other studies considering different objectives and constraints in network-wide bus dispatching time optimization. For example, Furth and Wilson ( 26 ) developed a mathematical programming model to maximize the net social benefits when optimizing the bus dispatching times for a network of lines.
Nowadays, many public transport service providers are strictly regulated and are instructed to maintain a minimum level of physical distancing inside the vehicles. This has resulted in refusing passenger boarding and skipping stops when the buses reach their pandemic-imposed capacity limit ( 2 , 3 , 27 ). To mitigate this phenomenon, this study proposes a periodic adjustment optimization model of the dispatching times of planned bus trips that takes into consideration the passenger demand and travel time variations within a rolling horizon optimization framework. A summary and comparisons of previous most relevant studies and our study on single-line bus dispatching optimization are presented in Table 1.
Comparisons of Relevant Studies on Single-Line Bus Dispatching Optimization
Contribution and Organization
The contribution of this paper is threefold. First, we develop a mixed-integer nonlinear programming model to optimize the bus dispatching times of a single bus line considering the COVID-19 imposed vehicle capacity limit and we further reformulate it into a mixed-integer linear program. The optimization model is formulated within a rolling horizon optimization framework to mitigate the uncertainties in vehicle running times and passenger demand. Second, an iterative algorithm is developed to solve the vehicle scheduling and dispatching time rescheduling problem when the number of planned trips is not sufficient to meet the social distancing requirements. At each iteration, a mixed-integer linear program is solved with branch-and-cut. Third, a real-world case study of a bus line in the Twente region in the Netherlands is conducted to demonstrate the effectiveness of the model developed in this study.
The rest of the paper is organized as follows. The next section provides a formal description of the problem studied and its mathematical formulations. This is followed by a presentation of the case study and a discussion of the results. The final section concludes the paper and proposes promising future research directions.
Problem Description and Model Formulation
Problem Description
We consider a bus line with ordered stops
Let column vector
Other parameters in our problem include the expected travel time
The main assumptions of this work are:
The arrivals of passengers at stops are random because for high-frequency bus lines passengers cannot coordinate their arrival time with the arrival time of the bus.
The incremental increase of dwell times arising from headway increases is constant ( 18 ).
We do not have a significant number of additional passenger arrivals during the short period that a bus is dwelling at a stop ( 29 ).
Before proceeding with the formulation of the optimization model, we introduce the nomenclature in Table 2.
Nomenclature
Model Formulation
Let us consider a bus trip j from the set
where
Note that this boundary condition links the arrival time at the second bus stop with the modified dispatching times of the bus trip,
To avoid bus bunching we need to ensure that there is a minimum headway,
where
and it is a variable
In addition, as described in assumption 2, the dwell time at stops for performing boardings/alightings is proportional to the time headway between two successive bus trips,
where
In addition, the in-vehicle passenger load of a trip j on departing from the first stop s = 1 is a variable:
At any other stop s > 1 the in-vehicle passenger load becomes:
where the added sum indicates the boarding passengers at stop s that will alight at any other stop y > s and the subtracted sum indicates the boarded passengers at previous stops y < s who alight at stop s. Note that Equation 7 ensures the conservation of passenger flow. The in-vehicle passenger load on departing from each stop can be represented by a matrix
Let c be the pandemic-imposed capacity for the vehicles of the service line (parameter). Then, we seek a rescheduling solution
Enforcing constraint (8) is implicitly the main aim of this study because it will ensure that we do not have more in-vehicle passengers than the pandemic-imposed capacity limit. Achieving this, however, might result in the requirement of more vehicles to perform the rescheduled service. To rectify this, we seek to maximize the number of trips performed by each vehicle while meeting the new schedule. We thus solve the Single-Depot Vehicle Scheduling Problem (SD-VSP) that strives to deploy the minimum number of vehicles that are parked at a single depot to perform the rescheduled plan of the
Based on the new rescheduled dispatching times,
Equation 9a is a conditional expression. If trip
To linearize it, we first introduce binary variables
Using the values of
The equisatisfiability of Equations 9a to 9c that allows us to replace the conditional expression (9a) by the set of linear equality and inequality constraints in (9b) to (9c) is proved in the following Lemma.
and
are equisatisfiable.
Proof : It is sufficient to prove that Equations 9b and 9c return
Case I,
Case II,
Case III,
Lemma 1 proved that the conditional expression Equation 9a can be replaced by the linear constraints (9b) to (9c) that will be referred to as Equation 9 at the remainder of this paper.
Let us also introduce binary variables
In addition, if a vehicle serves trip
Equations 10 and 11 ensure that if two trips
The objective function of the mathematical program is nonlinear. Note that because the problem is a maximization problem, when two subsequent trips
Constraints (1) to (11) are linear. In addition, the mathematical program has both continuous and discrete variables, and it is a mixed-integer nonlinear programming problem (MINLP). The continuous relaxation of the bus rescheduling problem expressed in our MINLP does not have a concave objective function that would have allowed us to compute a globally optimal solution. This is formalized in the following theorem.
Proof: Considering the continuous relaxation of the MINLP, the feasible region of the problem is a convex set because the finite number of linear inequalities forms a polyhedron. However, the objective function is not concave. Let
with eigenvalues
Reformulation to a Mixed-Integer Linear Program
Our objective function is both nonlinear and not convex and this does not allow us to guarantee the global optimality of the solutions of our MINLP’s continuous relaxations. To rectify this, we replace each product
Observe that
where special ordered sets of type 2 (SOS2) (
Thus, our MINLP is reformulated to the mixed-integer linear program (MILP) as:
This new mathematical program is easier to solve because its objective function is separable and piecewise linear, resulting in a MILP.
The Decision Problem of Adding More Trips when We Cannot Guarantee Physical Distancing
When solving the MILP to determine the rescheduled dispatching times
The physical distancing is already satisfied by the originally planned schedule.
The physical distancing is not satisfied by the originally planned schedule and we need to perform rescheduling by changing the dispatching times of trips.
The physical distancing is not satisfied even after performing an optimal rescheduling because the number of trips is not enough.
In the third case, our MILP does not have a feasible solution. It is important to note that if a feasible solution does not exist because the physical distancing constraint in Equation 8 cannot be satisfied despite the values of
Decision Problem: “For a given bus line with
The aforementioned decision problem indicates that changing the dispatching times of trips
We note that this decision problem is in NP (it belongs to the Nondeterministic Polynomial time class of problems) because:
• it requires exponential time to solve the MILP since the computation steps increase exponentially with the size of
• if an oracle provides a solution
Case Study and Results
Case Study Problem Description
The proposed model is tested in a simulation of bus Line 2 in the Twente region that connects the southern districts with the northern districts of Enschede (a city of approximately 160,000 inhabitants). In this simulation, we use real passenger demand data from the March 23, 2020. This bus line is selected because it has specific line segments with abnormally high passenger demand levels that exceed the pandemic-imposed capacity (see Figure 1). The line has a total of 40 stops. The line’s length is around 13 km and its average travel time in the morning peak is about 43 min. We consider an average inter-station travel time

Topology of bus Line 2 that passes through the city center of Enschede.
In our case study we use passenger demand data from March 23, 2020 which was one of the first days when the pandemic regulations were imposed in the Netherlands. We focus on two time periods:
Mild Passenger Demand Time period from 13:00 until 14:00 with six trips planned to be dispatched at
Peak Passenger Demand Time period from 08:00 until 09:00 with six trips planned to be dispatched at
For both time periods we report the in-vehicle passenger load of the buses when the schedule is operated as planned, and when we make dispatching time, vehicle scheduling, and trip changes. This demonstrates the improvement potential of our model in finding solutions that can ensure physical distancing and the potential increase in operational costs in case more trips are needed.
Our Algorithm 1 is implemented in Python 3.7 and our MILP that provides the optimal dispatching times and vehicle schedules is programmed in Python and it is solved by the commercial solver Gurobi 9.0.3 that employs branch-and-cut for solving MILPs. The experiments are run on a general-purpose computer with Intel Core i7-7700HQ CPU @ 2.80 GHz and 16 GB RAM.
Results Under Mild Passenger Demand
We first reschedule the trip dispatching times and the vehicle schedules under the mild demand scenario. This is achieved by solving our MILP with a branch-and-cut algorithm. Our MILP was solved to optimality, meaning that the available number of six trips suffice to meet the physical distancing constraint when the trips are rescheduled appropriately. The solution of the solver was provided in less than 2 s and it is:
• y16 = 1and
•
To elaborate more on the computational complexity of our model, even if we consider very frequent service lines with 2-min time headways resulting in 30 trips per hour, the number of binary decision variables remains small (we would have 900
The original and the rescheduled dispatching times are presented in Table 3 together with the vehicle that is assigned to every trip. Note that in both cases we need five vehicles to operate the six trips from 13:00 to 14:00.
Planned and Rescheduled Dispatching Times from 13:00 to 14:00 when the Passenger Demand is Mild
The in-vehicle crowding levels before and after the implementation of the rescheduling model are presented in Figure 2. The originally planned (before) dispatching times resulted in in-vehicle overcrowding in five inter-station links and in an excessive number of three onboard passengers beyond the pandemic-imposed capacity (18 passengers instead of 15). To make this more concrete, we introduce the key performance indicator of “passenger-km” which multiplies the number of passengers beyond the pandemic capacity level by the km traveled beyond that capacity. This results in a value of 3.2 passenger-km when implementing the original plan. When implementing the rescheduled dispatching times, this issue is resolved. As can be seen in Figure 2, the rescheduled dispatching times do not result in in-vehicle crowding levels beyond the 15-passenger limit.

Passenger load at every stop of bus Line 2 from 13:00 to 14:00 on March 23, 2020.
Results Under Peak Passenger Demand
We now reschedule the trip dispatching times and the vehicle schedules under the peak demand scenario for the time period from 08:00 to 09:00. Given the six planned trips, it was not possible to solve our MILP because a feasible solution did not exist. That is, the following decision problem does not have a “yes” answer:
Decision Problem: “For bus line 2 with
Because the number of planned trips is not enough to ensure physical distancing, we implement Algorithm 1 by increasing incrementally the number of trips until our MILP can return a feasible solution, which is the optimal one for this number of trips. After increasing the number of trips, it was possible to solve our MILP when considering nine trips from 08:00 to 09:00. The solution of the solver when considering nine trips is:
• y19 = 1 and
•
The original and the rescheduled dispatching times are presented in Table 4 together with the vehicle that is assigned to every trip. Note that when implementing the original plan we need five vehicles to operate the six trips and when operating the rescheduled plan that ensures physical distancing we need eight vehicles to operate nine trips from 08:00 to 09:00.
Planned and Rescheduled Dispatching Times From 08:00 to 09:00 When the Passenger Demand is in a Peak
Note: NA = Not Available.
The in-vehicle crowding levels before and after the implementation of the rescheduling model are presented in Figure 3. The originally planned (before) dispatching times resulted in in-vehicle overcrowding in several inter-station links for all trips. To make this more concrete, we consider again the “passenger-km” indicator which multiplies the number of passengers beyond the pandemic capacity level by the km traveled beyond that capacity. This results in a value of 89 passenger-km when implementing the original plan. When implementing the rescheduled dispatching times, this issue is resolved. As can be seen in Figure 3, the rescheduled dispatching times do not result in in-vehicle crowding levels beyond the 15-passenger limit. It is clear that our rescheduling model can always generate vehicle passenger loads that satisfy the COVID-19 imposed vehicle capacity limit. It can be a valuable decision-making tool for supporting the daily vehicle scheduling and rescheduling activities of public transport operators.

Passenger load at every stop of bus Line 2 from 08:00 to 09:00 on March 23, 2020.
Policy Implications
Social distancing measures can contribute to reducing public transport passengers’ risk of contracting COVID-19. However, they also lead to a reduction in the usage of public transport vehicles. The onboard passengers in a public transport vehicle often exceed the COVID-19 imposed vehicle capacity limit, especially during peak hours. If the originally planned vehicle dispatching times are properly rescheduled based on passenger demand, the excessive crowding can be eliminated. There are cases, however, where a mere change in the dispatching times is not sufficient. This should be considered when making policy-related decisions. For instance, in our case study, we required three more vehicles during the peak hour to offer a service that meets the COVID-19 vehicle capacity. This is a 60% increase compared with the case where the ordinary capacity is considered. If all lines in the network have a passenger demand peak at the same hour of the day, such an increase will most probably consume the available resources of the transit operator and will require the purchase of new vehicles to meet the demand peak.
Our study underlines the nontrivial decisions that should be made by policymakers and quantifies the potential extra costs of adopting a COVID-19 capacity limit. Our formulation can be used to test the effects of different COVID-19 capacity limit values to the extra number of required vehicles to establish a satisfactory trade-off between the risk of virus contraction and operating costs.
Conclusion
To prevent the spreading of COVID-19, different physical distancing strategies are adopted by public transport service providers. Although different physical distancing regulations are recommended to service providers by the government, it is a very complex task to change the originally planned services to meet the physical distancing requirements under different demand scenarios. This study tried to propose an optimization model in this direction that uses short-term passenger demand information with regard to the expected passenger arrival rates in the hours ahead to modify the dispatching times of the trips and the vehicle schedules. This study introduced a mixed-integer nonlinear programming problem formulation to perform this task which was later reformulated to a mixed-integer linear programming problem. In addition, this study formulated the decision problem of determining whether the planned number of trips suffices to meet the physical distancing requirement or there is a need to increase the number of trips by using additional vehicles.
The proposed approach was tested on a bus line in the Netherlands using data from the early stages of the COVID-19 pandemic when the physical distancing restrictions were stricter. To explore the effect of this method under different demand scenarios, we explored both mild and peak demand problem instances. Under mild demand conditions, a simple rescheduling of the dispatching times of trips was enough to meet the physical distancing requirements and to avoid the 3.2 passenger-km traveled with an in-vehicle load beyond the physical distancing level. Under peak demand conditions, however, the situation was different. To meet the physical distancing requirement, we needed to deploy three more vehicles and increase the number of trips from six to nine. Only then we were able to avoid the 89 passenger-km traveled with an in-vehicle load beyond the physical distancing level that was observed when implementing the original plan. This information could be very useful to service providers who want to balance the operational cost increases with the physical distancing requirements.
In future research, our approach can be further expanded to perform real-time control measures, such as bus holding or stop-skipping, that can reduce the number of required vehicles when trying to maintain physical distancing. In addition, transfers between bus and train lines can be considered to avoid disproportionate passenger demand increases inside trains and at train stations.
Footnotes
Author Contributions
The authors confirm contribution to the paper as follows: study conception and design: K. Gkiotsalitis, T. Liu; data collection: K. Gkiotsalitis; analysis and interpretation of results: K. Gkiotsalitis, T. Liu; draft manuscript preparation: K. Gkiotsalitis, T. Liu. All authors reviewed the results and approved the final version of the manuscript.
Declaration of Conflicting Interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: We gratefully acknowledge the data support from Keolis Nederland. K. Gkiotsalitis was partially funded by The Netherlands Organization for Health Research and Development (ZonMw) (Grant No. 10430042010018) when performing this research. T. Liu was funded by the National Natural Science Foundation of China (No. 61903311, No. 62011530435), the Science and Technology Department of Sichuan Province (No. 2021YJ0536), and the Fundamental Research Funds for the Central Universities of China.
