Next Article in Journal
Sustainable Adsorbents from Plant-Derived Agricultural Wastes for Anionic Dye Removal: A Review
Next Article in Special Issue
A Novel Hybrid Model for Short-Term Traffic Flow Prediction Based on Extreme Learning Machine and Improved Kernel Density Estimation
Previous Article in Journal
Targeting Sustainable Transportation Development: The Support Vector Machine and the Bayesian Optimization Algorithm for Classifying Household Vehicle Ownership
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Heuristic Algorithm Based on Travel Demand for Transit Network Design

1
College of Traffic and Transportation, Chongqing Jiaotong University, Chongqing 400074, China
2
Department of Civil Engineering Design, Chongqing Architectural Design Limited Company, Chongqing 401122, China
*
Author to whom correspondence should be addressed.
Sustainability 2022, 14(17), 11097; https://doi.org/10.3390/su141711097
Submission received: 2 August 2022 / Revised: 28 August 2022 / Accepted: 1 September 2022 / Published: 5 September 2022
(This article belongs to the Special Issue Sustainable, Resilient and Smart Mobility)

Abstract

:
This study proposes a simultaneous optimization model that considers flow assignment and vehicle capacity for the problem of transit network design to determine the route structure and frequencies simultaneously. The problem is focused on reducing the total travel time and the number of transfers. A heuristic algorithm is developed to solve this problem. In the proposed algorithm, the initial routes are generated according to a changing demand matrix, which can reflect the real-time demand with transfers and ensure that the direction of route generation maximizes the percentage of direct service. A regulating method for a sequence of stops is used during route generation to guarantee the shortest trip time for a formed route. Vehicles are allocated to each route according to the flow share. The concept of vehicle difference is introduced to evaluate the distinction between actual allocated vehicles and required vehicles for each route. The optimization process of frequencies based on vehicle difference can ensure that the solution meets the constraints. Two scale networks are used to illustrate the performances of the proposed method. Results show that route structure and frequencies can be optimized simultaneously through the proposed method. Different scenarios are created to test the algorithm properties via various parameter values. The test result indicates that the upper bound is a key parameter to balance the proportion of direct service and average in-vehicle travel time (AIVTT), and the increased number of planning routes can improve the proportion of direct service.

1. Introduction

Transit network design has received major attention because of its significance in alleviating urban traffic congestion and air pollution. Public transport plays a key role in urban resident travel. For example, in Chengdu, China, over 3 million travelers complete their trips by bus, suggesting the necessity of a well-designed transit network for urban development. Studies on public transit service design have mainly focused on route structure design [1,2,3,4,5,6,7], frequency determination [8,9,10,11], timetable setting [12,13,14,15], vehicle scheduling [16,17,18,19], crew scheduling [20], fare policy [21,22], and data mining [23,24,25,26,27,28,29], or a combination of these topics [30,31,32,33].
Previous studies about transit network design can be classified into two groups: optimizing the route structure and service frequencies separately [2,34,35,36] and optimizing the route structure and service frequencies simultaneously [30,31,32,33,37]. For example, Kılıç and Gök et al. [2] focused on route structure optimization, whereas Huang et al. [10] concentrated on frequency setting based on an existing transit network. Combining these works, Szeto and Jiang et al. [31] simultaneously optimized the route structure and frequency setting.
The optimization objective of this problem is associated not only with transit route structure but also with corresponding service frequencies. Transit route structure and corresponding service frequencies determine flow assignment, and whether service capacity can meet travel demand is also closely related to both. These factors indicate the significance of simultaneously determining the route structure and corresponding service frequencies.
The transfer issue cannot be ignored in the optimization objective. Passengers always complain that no direct service exists to complete their travels because of the discomfort and inconvenience caused by transfers [30]. Some passengers even find alternative travel modes, such as car, taxi, and motorcycle, when the number of transfers exceeds their expectations. Baaj and Mahmassani [38] considered the existence of transfers but ignored the number of transfers in their proposed network design method. Kılıç and Gök et al. [2] introduced the penalty of time cost for each transfer to reduce the number of transfers. A similar method was used by Szeto and Wu [32], who emphasized the importance of improving the direct service when the transit service is designed.
In addition to the transfer issue, the assignment problem among different routes occurs when more than one route can serve passengers. Two flow types must be assigned during the design process, including the flow on familiar routes and the flow on multiple routes. Common routes indicate more than one route serving the same pair of stops with the same path, whereas multiple routes suggest more than one route serving the same pair of stops with different paths. Different network representations, such as hyperpath graph representation and route-section representation, are applied to deal with the flow assignment among competition routes [39,40,41,42,43]. Hyperpath graph representation highlights the attractive routes, but considerable dummy boarding and alighting stops must be added, complicating the network. Route-section representation can reduce the number of links, simplify the network complexity, and ease the handling of the assignment problem. However, the attractive routes should be determined in advance when the route-section representation is used.
In-vehicle congestion issue is another factor for determining whether the optimized results can be applied to practice. To simplify the transit network design problem, some studies assumed that the bus load is unlimited [2,44,45]; however, the optimized results are challenging to apply to actual planning. Two modeling streams, namely, capacity constraint and congestion cost function, are adopted to improve the practical performances of the optimized results. The capacity constraint is set to avoid the flow on the link of routes exceeding the maximum capacity, and the congestion cost function is a penalty function to decrease the congestion on vehicles. Capacity constraint is more realistic to ensure that capacity meets travel demand. Nevertheless, we cannot obtain a feasible solution when the total capacity is insufficient.
Newell and Salzborn et al. [18,46] used an analytical method to solve single-route design and optimization, but the method was difficult to apply to the network problem. Metaheuristics, such as genetic algorithm [7,19,44], simulated annealing [47,48,49], and artificial bee colony [31,32,50], are popular for solving the problem.
A heuristic algorithm is accordingly developed in the current study. Routes are generated according to a changing demand matrix, which can maximize the direct service. The sequence of stops for each route is regulated to ensure the shortest path for the formed route. The initial frequencies are set in terms of the flow share, and a neighborhood search heuristic is proposed to tackle the frequency optimization. In the frequency-determining process, a concept of vehicle difference is introduced to ensure the solution satisfies the capacity constraint.
The main contributions of this study are as follows:
(1)
A simultaneous optimization model is formulated for the transit network structure and frequency problem considering flow assignment and vehicle capacity.
(2)
A heuristic algorithm is developed to solve the transit network design problem, in which routes are generated based on accumulated flow, and the frequency for each route is set according to flow share. A new concept of vehicle difference is also introduced to reflect the difference between actually assigned vehicles and required vehicles for guiding the process of regulating frequencies.
(3)
The model and algorithm are applied to different scale networks. The properties of the proposed model and algorithm are examined, and the different performances for various scenarios through different parameter values are discussed.
The remainder of this paper proceeds as follows. Section 2 presents the simultaneous optimization model, following the notations and assumptions used in this study. Section 3 describes the proposed algorithm procedure and numerical experiments. Section 4 discusses the performance evaluation. Finally, Section 5 concludes the study and discusses future research.

2. Problem Formulation

2.1. Assumptions

Several classical assumptions are made for the model setting according to previous studies on the transit network problem as follows: (i) Passengers arrive at stops randomly. (ii) Passengers select a route from attractive routes to their destinations, and we assume that all routes that pass through an origin and destination (OD) pair are the attractive routes for the OD pair to simplify the problem. (iii) Passengers prefer selecting a path without transfer, and they board the first available bus to their destinations. (iv) The headways of vehicles follow the exponential distribution. (v) Travel demand is predefined and fixed during the planning period. (vi) For simplicity, the capacity of each vehicle is the same.

2.2. Model Setting

2.2.1. Objective Function

As in the literature [32], the objective function is formulated in terms of the number of passengers without direct service and the total travel time for the passengers with direct service.
min x   f   z = w 1 i N , j N , i j d i j M i j + w 2 i N , j N , i j d i j t i j 1 M i j
Equation (1) is the representation of the objective function, which is the weighted sum of the passengers without direct service and the total travel time for the passengers with direct service.

2.2.2. Constraints

(i)
Calculations of variables
The calculations of some variables for the objective function are as follows:
t i j = t i j w + t i j v i , j N
t i j w = 0.5 · 1 r R i j f r i , j N
t i j v = r s i j δ i j r t i j r v
t i j r v = x i j r c i j + i , j , k N x i k r t h k j r t k j r + c i k + s i , j N r , r R i j
M i j = r = 1 n u m 1 t h i j r i , j N
t h i j r = x i j r + i N , j N , k N , i j k x i k r t h k j r r = 1   t o   n u m
Constraint (2) is the calculation of t i j , which is the sum of AIVTT and waiting time from stop i to stop j , and constraints (3) and (4) are the calculations of waiting time and AIVTT from stop i to stop j , respectively. Constraint (5) is the calculation of in-vehicle travel time from stop i to stop j through route r . Constraint (6) is the calculation of M i j , which estimates the existence of a direct service for passengers from stop i to stop j . The value of M i j is 0 if at least one route passes through stop i and stop j simultaneously, and 1 otherwise. Constraint (7) is the calculation of t h i j r , which estimates whether route r can provide the direct service for the demand from stop i to stop j . The value of t h i j r is 1 if the direct service can be supplied by route r , and 0 otherwise.
(ii)
Constraints for route structure
The constraints for route structure are as follows:
i N o , i j x i j r i N o , i j x j i r = 0   j N ,   r = 1   t o   n u m
i N o , i j x i j r 1   j N ,   r = 1   t o   n u m
j N o , j i x i j r 1   j N ,   r = 1   t o   n u m
i N , j N , i j x i j r S m a x r = 1   t o   n u m
Constraint (8) ensures that each stop on a route, excluding the dummy stop, has preceding and following stops. Constraints (9) and (10) guarantee that any stop in the network can be visited by a determined route at most once. Constraint (11) limits the number of stops for a route.
(iii)
Constraints for frequencies
r R 2 f r t r η n f l e e t
t r = i , j N r x i j r c i j + s s
Constraint (12) describes that the fleet size of the determined routes cannot exceed the given maximum fleet size. Constraint (13) is the calculation of single-trip time of route r .
(iv)
Constraints for capacity
C S i i + 1 r f r C a p i ( N r m   U   N r o ) ,   r R
C S i i + 1 r =       b o a r d i r     i   N r o C S i 1 i r +   b o a r d i r a l i g h t i r i N r m
Constraint (14) depicts the flow in the segment from stop i to stop i + 1 for route r per unit time. The flow in each segment can be calculated by constraint (15).
(v)
Constraint of flow assignment
The flow assignment is based on the method proposed by De Cea and Szeto et al. [32,40]. A normal network is first converted into a route-section network. Different routes serving the same pair of stops, called attractive routes, are then aggregated as one section. Competition among different routes can be handled by this method. Flow assignment can be described by
d i j r = f r r R i j f r r , r R   a n d   i , j N  
Equation (16) is the expression of the assignment to each route from the flow between each demand pair.

3. Solution

3.1. General Scheme of the Proposed Algorithm

The general scheme of the proposed algorithm is presented in Figure 1. The steps of this algorithm can be described as follows.
(a)
The parameters, including those for the planning area, such as number of stops, number of routes, maximum available fleet size, bus capacity, maximum number of stops for a planning route, shortest path matrix, travel demand matrix, and those for the algorithm, such as stopping criteria, are initialized.
(b)
The initial route structure is generated according to the predefined parameters.
(c)
The vehicles for each determined route are allocated with the limit of maximum available fleet size.
(d)
After determining the route structure and corresponding frequencies, the travel demand can be assigned to each route in terms of the principle presented by the flow assignment.
(e)
The efficiency of the solution to meet the capacity constraint (14) is evaluated; if the answer is yes, the next step is performed; otherwise, the vehicles are regulated among routes until the solution satisfies the constraint.
(f)
The objective function value for the feasible solution is calculated according to Equation (1).
(g)
The frequencies of the determined transit network are optimized.
(h)
The stop criterion is checked; if the algorithm meets the stop criterion (the iteration reaches 500 generations), then the algorithm procedure is terminated, and the best solution is the output; otherwise, the next step is performed.
(i)
The route structure is optimized by adding and deleting stops in the routes.
Figure 1. Flowchart of the proposed algorithm.
Figure 1. Flowchart of the proposed algorithm.
Sustainability 14 11097 g001
After the general scheme for the proposed algorithm is introduced, the procedure for each step is elucidated.

3.2. Procedure of Initial Route Generation

The initial route generation is completed in two steps: stop selection for unformed routes and insertion of selected stops into unformed routes.

3.2.1. Stop Selection

Each stop is selected to maximize the direct service during the procedure of route generation. A travel demand matrix is changed continuously to reflect the demand without direct service during the stop selection procedure; that is, a new stop is selected according to the changing matrix.
Table 1 presents the process of stop selection and the corresponding changes for the travel demand matrix by using four stops that are defined as N1–N4 N. A pair of stops is first determined to maximize the passengers without transfer. N3 and N4 become unformed routes, and the demand matrix is changed from Table 1a to Table 1b. The stop N2 is then selected to maximize the direct service for the current demand matrix, and the changing matrix is changed from Table 1b to Table 1c.

3.2.2. Combination and Sequence

A descent search heuristic is used for each selected stop to obtain the improved combination of a new stop and the unformed route. This process aims to optimize the sequence of stops for the minimum trip time, which does not depend on frequencies. The steps are outlined as follows:
For each selected stop
Combine the selected stop with an unformed route to form a new unformed route R n , set the selected stop as the first stop for the new unformed route, and set R n as the optimal structure R n o .
Calculate the length of R n o and define the length as L e s
Calculate the number of stops of the unformed route N u
Set i = 1
While i N u
i = i + 1
Change the sequence of R n o and set the selected stop as the i -th stop in the new unformed route to form a different new unformed route R n
Calculate the length of R n and define the length as L e
If L e < L e s
Make R n as R n o and L e as L e s
endif
endwhile
output the optimal structure R n o and the shortest path L e s for the new combined unformed route
Next selected stop
Until the number of stops meets the predefined number, an unformed route becomes a formed route, which indicates that the route generation is complete.
Different from routes generated randomly, the initial routes obtained by the above-proposed procedure can improve the direct service and minimize the trip time for the determined stops.

3.3. Allocating Vehicles for the Initial Routes

Vehicles are allocated to the designed routes according to the flow share, which can be mathematically expressed as follows:
n v e h r = i N r , j N r d i j i N , j N d i j · n f l e e t       r R .
The vehicles for each route accord to the flow share, and the rule of round down is used to make the number of vehicles an integer. The total vehicles assigned to routes are less than the predefined available fleet size because the integral principle is round down. Therefore, the unassigned vehicles are allocated randomly to routes.

3.4. Flow Assignment

The flow assignment is based on the principle described by the constraint of flow assignment in Section 2. The flow is assigned to the attractive routes according to the frequency share.

3.5. Judgment of Constraints

After determining the travel demand of each route, a vehicle difference is introduced to evaluate the difference between the actual allocated vehicles and the required vehicles to meet the capacity constraint (14).
V D r = n v e h r max ( C S i i + 1 r ) d o       r R   a n d   i ( N r o N r m )
The positive value of V D r suggests that the vehicles for the route r are sufficient to meet the capacity constraint (14), whereas the negative value of V D r indicates that the capacity constraint (14) is not satisfied.

3.6. Vehicle Regulation

Vehicle regulation is necessary to change the vehicles of routes when the capacity constraint (14) is violated. The regulating procedure is outlined as follows:
For each route
if the V D r for route r is negative
define a new variable T D = 0
while T D 0
r 1 with maximum V D r 1
T D as sum of V D r and V D r 1
if T D > 0
move V D r + 1 vehicles from route r 1 to route r and update V D r for all routes
else
move V D r 1 vehicles from route r 1 to route r and update V D r for all routes
endif
endwhile
endif
next route in the proposed solution
The virtue of using V D r to determine the number of vehicles to move among routes is that V D r can reflect the difference between actual allocated vehicles and required vehicles. Thus, the number of vehicles for moving directly can be determined.
In the proposed vehicle regulation, we will add V D r + 1 vehicles to the route r if the value of V D r is negative, which is one more vehicle than required. The constraint will be met by adding V D r vehicles if the assignment to route r is invariable. However, the frequency of route r increases with additional vehicles, thereby increasing the assignment to the route r . In this condition, the addition of V D r vehicles will violate the constraint with the increasing flow assignment.

3.7. Objective Calculation

The objective function value is calculated via Equation (1), following the step of vehicle regulation.

3.8. Frequency Optimization

The frequency optimization procedure is developed according to the method proposed by Szeto and Wu (2011), in which the vehicles are moved one by one among routes. The operation of the vehicle movement will be accepted if the solution becomes more optimal, whereas the operation will be abandoned if the solution worsens or is unchanged.

3.9. Termination

Two stopping criteria are used in this algorithm.
Criterion (i): the tolerance of objective values during successive iterations < preset tolerance
Criterion (ii): iteration > set stall iteration
Criterion (i) is used to stop the algorithm when the objective values for the successive several iterations are sufficiently close, which implies that the latest solution is probably optimal.
Criterion (ii) is used to stop the algorithm when the iterations reach the preset stall iteration. Criterion (ii) is a complement for criterion (i), which avoids long computation time.

3.10. Route Structure Optimization

Different neighborhood search operations, namely, (a) stop removal and (b) stop insertion, are developed to generate neighbor solutions for the route structure optimization.

3.10.1. Operation of Stop Removal

The operation of stop removal is used to delete some stops from the determined route structure in order to search for a more appropriate transit network. Stops from the routes are randomly selected, and new transit networks are obtained by removing the selected stops. A new route structure will replace the original transit network if the objective is more optimal than the old one. Otherwise, the new route structure will be abandoned.

3.10.2. Operation of Stop Insertion

Different from the operation of removing a stop based on random rules, stop insertion aims to decrease the travel demand without a direct service, which is similar to route generation. Each inserted stop is imported to the shortest route with consideration of constraint (11). The new route structure will be abandoned if the performance of the transit network service cannot be improved.

4. Numerical Examples

Two scale networks are used to evaluate the properties of the proposed method through analyzing the results.

4.1. Small-Scale Network

4.1.1. Data

A small-scale network composed of 15 stops and the corresponding travel demand are presented in Figure 2 and Table 2 respectively. This classic case has been used by many researchers [2,4,37,51] to examine the attributes of the proposed model and algorithm for the transit network problem.

4.1.2. Parameters

The planning route number is set to 4, the maximum bus load is 100, the average dwell time at a stop is 1.5 min, the number of stops in a route ranges from 4 to 8, and the fleet size is 60. Criterion (i) sets the tolerance of successive 10 generations as 0.01; criterion (ii) sets 1000 generations as the stall iteration.

4.1.3. Results

The optimized results are presented in Table 3. Columns 2 and 3 are the route structure and the vehicles for each route, respectively. The trip time and headway of each route are calculated according to the route structure and the vehicle assignment.
The proportion of direct service can reach 92.42%. The value of the optimized objective function value is 333,000. In Table 3. the route structure indicates the stop sequence of a route. Each bus line is connected according to the shortest path in the network, the path 13-11-10-7-6 is the shortest path from 13 to 11, the shortest path from 11 to 10, the shortest path from 10 to 7, and the shortest path from 7 to 6, thus forming 13-11-10-7-6 bus line.

4.2. Medium-Scale Network

4.2.1. Data

A medium-scale network with 127 stops is shown in Figure 3 to evaluate the properties of the proposed method for the transit network problem [2,52]. The travel demand is different from the original data and is 5% of the data because the planning time is an hour.

4.2.2. Parameters

The planning number of routes is set to 60, the maximum bus load is 100, the average dwell time at a stop is 1.5 min, the number of stops in a route ranges from 12 to 25, and the fleet size is 900. Criterion (i) sets the tolerance of successive 10 generations as 0.01; criterion (ii) sets 5000 generations as the stall iteration.

4.3. Analysis of the Proposed Algorithm

4.3.1. Initial Route Structure

The proposed generation is compared with the random generation in Table 4 to illustrate the properties of the proposed initial route structure. The proposed generation procedure can achieve a higher proportion of direct service with lesser total trip time than random generation.

4.3.2. Initial Frequencies

In Table 5, the initial frequency is compared with the optimized frequency in a determined route structure to test the properties of the proposed initial frequency setting. The initial frequency is close to the optimized frequency for a determined route.

4.3.3. Computation Time

In the proposed algorithm, a bus difference is introduced to guide the vehicle regulation, in which the precise number of regulated vehicles can be determined directly. Otherwise, the vehicles need to move one by one to avoid violating the capacity constraint. Two routes are selected to illustrate the computation time with and without bus difference in Table 6. The computation time can be decreased by 35.7% with the application of bus difference.

4.3.4. Comparison with Genetic Algorithm

In order to evaluate the proposed algorithm, we compare the computation times and the objective values for the genetic algorithm and the proposed one in Table 7 using the small-scale network. It is observed the proposed algorithm can obtain a better solution with less computation time, which indicates the efficiency of the proposed algorithm.

4.4. Analysis of Results

The performances of the proposed algorithm to solve the transit network problem are summarized as follows:
(i)
The proportion of direct service is high because the route generation is based on the changing matrix of travel demand.
(ii)
The route is the shortest path because of the sequential optimization for route structure.
(iii)
The initial frequency setting is close to the optimal solution for the determined transit network by the principle of vehicle assignment, which is based on the flow share.
(iv)
Computation time can be saved by setting a bus difference to determine the direction and step size and reassigning the vehicles to routes.
(v)
The proportion cannot be increased to 100% because of the following reasons: (1) the number of routes is insufficient to accomplish the goal, and (2) the distances are too long and the flow is limited for some pairs of OD, leading to inefficiency in the design of direct service for these OD.

4.5. Analysis of Parameters

Route generation is based on a changing demand matrix, which can reflect the demand without direct service. A pair of OD will be 0 on the changing matrix when direct service is developed during the route generation. We only focus on the existence of direct service and ignore the in-vehicle travel time between the formed path and the shortest path, which will cause long in-vehicle travel for some passengers in spite of the short distances between origins and destinations. An upper bound is set to adjust the changing rule for the changing demand matrix to solve the problem. The changing demand matrix for a pair of OD will be unaltered if the in-vehicle travel time exceeds the set upper bound. Although direct service is available, the route generation will regard the pair of OD as a direct service OD. The upper bound can be mathematically expressed by
U B i j = γ t i j s h o r t i , j N
where U B i j is the upper bound for passengers from stop i to stop j , t i j s h o r t is the in-vehicle travel time from stop i to stop j by the shortest path, and γ is the coefficient for U B i j .
An interesting phenomenon is that the in-vehicle travel time may be saved when U B i j is close to the shortest path. However, saving is obtained at the cost of reducing the proportion of direct service. Figure 4 depicts the proportion of direct service for different U B i j in different scale networks. Figure 5 presents the corresponding AIVTT for the passengers with a direct service.
Figure 4 indicates that the performances of setting U B i j are different for different scale networks. In the medium-scale network, the percentage of direct service exhibits an increasing tendency when γ ranges from 1 to 4, whereas fluctuation occurs in the interval from 5 to 10. In the small-scale network, the percentage keeps fluctuating in the entire value range. Figure 5 shows a similar shape of the AIVTT with direct service, suggesting a contradiction to optimize the percentage of direct service and in-vehicle travel time.
The results indicate that U B i j actively balances the in-vehicle travel time and the percentage of direct service for a medium-scale network that ranges from 1 to 4 of γ . U B i j has no effect when the value of γ is more than four. The actual in-vehicle travel time in the determined route structure is rarely greater than U B i j , because U B i j is too large to affect the route structure. For the small-scale network, the feasible region of solutions is small, causing the in-vehicle travel time route structure to be close to the time on the shortest path.
Possible solutions to regulate the contradiction between the proportion of direct service and the AIVTT include expanding the fleet size and increasing the number of routes. Figure 6 presents the relationship between the percentage of direct service and the number of planning routes with the same other parameters for the medium-scale network. The small-scale network has a similar property throughout our experiment. The transit network can offer efficient service by expanding the predefined number of routes. However, an additional subsidy is required.

5. Conclusions

In this study, a model and a heuristic algorithm are developed to optimize the route structure and its corresponding frequencies simultaneously. Flow assignment and bus capacity are considered. Two scale networks are introduced to examine the properties of the proposed heuristic algorithm. The significant conclusions are as follows:
(i)
The proposed model and heuristic algorithm can simultaneously optimize the route structure and its corresponding frequencies with minimum travel time and transfer for different scale networks.
(ii)
Although the neighborhood search method is used to improve the route structure with the predefined number of routes, the proportion of direct service cannot reach 100%. An absolute direct service for all travel demands is consequently unreasonable to pursue. Providing direct service for the OD pairs with long distances and limited flow is inefficient and costly when the resource is limited.
(iii)
The introduction of an upper bound can improve the algorithm. For a medium-scale network, the upper bound is a useful parameter to balance the two contradictory sub-objectives in the objective function. However, a small-scale network has a minimal response to the parameter, thus suggesting that different performances may appear with the same model and algorithm.
(iv)
The proportion of direct service is not only sensitive to the upper bound but is also related to the number of routes. Direct service can be improved by increasing the number of routes if the subsidy is sufficient.
(v)
This algorithm currently tests an ideal hypothetical network. In the actual network, the algorithm can be applied to practice in combination with GIS tools.
In this study, we assume that the travel demand, in-vehicle travel time, and dwell time are predefined. However, the transit demand varies within a day, week, month, or year. Numerous attributes such as fare, travel time, frequency, walking time, routing and transferring, stop location, comfort and inconvenience elements, information, socio-economic factors, land use, and security affect transit demand [22]. In-vehicle travel time is associated with road traffic situations, driving behavior, and vehicle performance. Dwell time at stops is an increasing function of the number of passengers boarding and alighting at stops [53,54,55]. Hence, an interesting project for future studies should consider the stochastic factors in the transit network, including the running time and the arrival of passengers.

Author Contributions

Data curation, Y.L. and Y.C.; Methodology, H.Z.; Project administration, H.Z.; Software, T.X. All authors have read and agreed to the published version of the manuscript.

Funding

This study is supported by the National Natural Science Foundation of China (Grant No. 52172340), the Postdoctoral Natural Science Foundation of Chongqing, China (Grant No. cstc2020jcyjbshX0065).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data in this study is available under the permission of all the authors.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The main symbols in this work are defined as follows:
N set of stops in the network;
N r set of stops of route r ;
N r o starting stop of route r ;
N r d ending stop of route r ;
N r m intermediate stops of route r ;
i ,   j ,   k induces of stops;
r ,   r induces of routes;
R set of routes;
z objective function of the problem;
w 1 weight of the travel without direct service;
w 2 weight of the travel time;
d i j travel demand from stop i to stop j per unit time;
M i j binary variable, in which M ij = 0 if the passengers from stop i to stop j can complete their travels without transfer and M ij   = 1 otherwise;
t i j sum of AIVTT and waiting time from stop i to stop j ;
t i j w average waiting time from stop i to stop j ;
t i j v AIVTT from stop i to stop j ;
t i j r v in-vehicle travel time from stop i to stop j through route r ;
f r frequency of route r during the planning period;
δ i j r proportion of the travel demand assigned to route r from stop i and stop j per unit time;
x i j r binary variable, in which x ij r = 1 if the route r passes through stop i and stop j continuously and x ij r   = 0 otherwise;
c i j in-vehicle travel time from stop i to stop j by the shortest path;
t h i j r binary variable, in which th ij r = 1 if the route r passes through stop i and stop j , that is, passengers from stop i to stop j can complete their travels without transfer by route r ; and th ij r   = 0 otherwise;
s average dwell time at each intermediate stop for all routes;
R i j set of routes that can provide the direct service from stop i to stop j
n u m number of routes for the network;
S m a x maximum number of stops for a route;
t r single-trip time of route r ;
η time conversion unit in this study, in which α = 60 min/h;
n f l e e t maximum given fleet size for the planning network;
C S i i + 1 r flow on the segment from stop i to stop i + 1 for route r per unit time;
C a p maximal load of a bus;
b o a r d i r number of passengers who board a bus at stop k through route r after assignment per unit time;
a l i g h t i r number of passengers who alight from a bus at stop k through route r after assignment per unit time;
d i j r flow assignment to route r from stop i to stop j ;
s i j section from stop i to stop j ; and
S m a x maximum number of stops for a route.

References

  1. Ceder, A.; Wilson, N.H. Bus network design. Transp. Res. Part B Methodol. 1986, 20, 331–344. [Google Scholar] [CrossRef]
  2. Kılıç, F.; Gök, M. A demand based route generation algorithm for public transit network design. Comput. Oper. Res. 2014, 51, 21–29. [Google Scholar] [CrossRef]
  3. Li, Z.C.; Lam, W.H.; Wong, S. On the allocation of new lines in a competitive transit network with uncertain demand and scale economies. J. Adv. Transp. 2011, 45, 233–251. [Google Scholar] [CrossRef]
  4. Mandl, C.E. Evaluation and optimization of urban public transportation networks. Eur. J. Oper. Res. 1980, 5, 396–404. [Google Scholar] [CrossRef]
  5. Murray, A.T. A coverage model for improving public transit system accessibility and expanding access. Ann. Oper. Res. 2003, 123, 143–156. [Google Scholar] [CrossRef]
  6. Wan, Q.K.; Lo, H.K. A mixed integer formulation for multiple-route transit network design. J. Math. Model. Algorithms 2003, 2, 299–308. [Google Scholar] [CrossRef]
  7. Xiong, Y.; Schneider, J.B. Transportation network design using a cumulative genetic algorithm and neural network. Transp. Res. Record. 1992, 1364, 37–44. [Google Scholar]
  8. Furth, P.G.; Wilson, N.H. Setting frequencies on bus routes: Theory and practice. Transp. Res. Record. 1981, 818, 1–7. [Google Scholar]
  9. Hadas, Y.; Shnaiderman, M. Public-transit frequency setting using minimum-cost approach with stochastic demand and travel time. Transp. Res. Part B Methodol. 2012, 46, 1068–1084. [Google Scholar] [CrossRef]
  10. Huang, Z.; Ren, G.; Liu, H. Optimizing bus frequencies under uncertain demand: Case study of the transit network in a developing city. Math. Probl. Eng. 2013, 2013, 375084. [Google Scholar] [CrossRef]
  11. LeBlanc, L.J. Transit system network design. Transp. Res. Part B Methodol. 1988, 22, 383–390. [Google Scholar] [CrossRef]
  12. Ceder, A.; Golany, B.; Tal, O. Creating bus timetables with maximal synchronization. Transp. Res. Part A Policy Pract. 2001, 35, 913–928. [Google Scholar] [CrossRef]
  13. De Palma, A.; Lindsey, R. Optimal timetables for public transportation. Transp. Res. Part B Methodol. 2001, 35, 789–813. [Google Scholar] [CrossRef]
  14. Hassold, S.; Ceder, A. Multiobjective approach to creating bus timetables with multiple vehicle types. Transp. Res. Rec. J. Transp. Res. Board 2012, 2276, 56–62. [Google Scholar] [CrossRef]
  15. Wong, R.C.; Yuen, T.W.; Fung, K.W.; Leung, J.M. Optimizing timetable synchronization for rail mass transit. Transp. Sci. 2008, 42, 57–69. [Google Scholar] [CrossRef]
  16. Bunte, S.; Kliewer, N. An overview on vehicle scheduling models. Public Transp. 2009, 1, 299–317. [Google Scholar] [CrossRef]
  17. Castelli, L.; Pesenti, R.; Ukovich, W. Scheduling multimodal transportation systems. Eur. J. Oper. Res. 2004, 155, 603–615. [Google Scholar] [CrossRef]
  18. Salzborn, F.J. Optimum bus scheduling. Transp. Sci. 1972, 6, 137–148. [Google Scholar] [CrossRef]
  19. Shrivastava, P.; Dhingra, S.; Gundaliya, P. Application of genetic algorithm for scheduling and schedule coordination problems. J. Adv. Transp. 2002, 36, 23–41. [Google Scholar] [CrossRef]
  20. Desrochers, M.; Soumis, F. A column generation approach to the urban transit crew scheduling problem. Transp. Sci. 1989, 23, 1–65. [Google Scholar] [CrossRef]
  21. Lam, W.; Zhou, J. Optimal fare structure for transit networks with elastic demand. Transp. Res. Rec. J. Transp. Res. Board 2000, 1733, 8–14. [Google Scholar] [CrossRef]
  22. Li, Z.-C.; Lam, W.H.; Wong, S. The optimal transit fare structure under different market regimes with uncertainty in the network. Netw. Spat. Econ. 2009, 9, 191–216. [Google Scholar] [CrossRef]
  23. Aguiléra, V.; Allio, S.; Benezech, V.; Combes, F.; Milion, C. Using cell phone data to measure quality of service and passenger flows of Paris transit system. Transp. Res. Part C Emerg. Technol. 2014, 43, 198–211. [Google Scholar] [CrossRef]
  24. Barry, J.; Freimer, R.; Slavin, H. Use of entry-only automatic fare collection data to estimate linked transit trips in New York City. Transp. Res. Rec. J. Transp. Res. Board 2009, 2112, 53–61. [Google Scholar] [CrossRef]
  25. Ceder, A. Bus frequency determination using passenger count data. Transp. Res. Part A Gen. 1984, 18, 439–453. [Google Scholar] [CrossRef]
  26. Cui, A. Bus passenger origin-destination matrix estimation using automated data collection systems. Mass. Inst. Technol. 2006, 21, 15–26. [Google Scholar]
  27. Kumar, A.; Nguyen, V.A.; Teo, K.M. Commuter cycling policy in Singapore: A farecard data analytics based approach. Ann. Oper. Res. 2014, 236, 57–73. [Google Scholar] [CrossRef]
  28. Tétreault, P.R.; El-Geneidy, A.M. Estimating bus run times for new limited-stop service using archived AVL and APC data. Transp. Res. Part A Policy Pract. 2010, 44, 390–402. [Google Scholar] [CrossRef]
  29. Zhao, J.; Rahbee, A.; Wilson, N.H. Estimating a Rail Passenger Trip Origin-Destination Matrix Using Automatic Data Collection Systems. Comput.-Aided Civil Infrastruct. Eng. 2007, 22, 376–387. [Google Scholar] [CrossRef]
  30. Chen, J.; Liu, Z.; Zhu, S.; Wang, W. Design of limited-stop bus service with capacity constraint and stochastic travel time. Transp. Res. Part E Logist. Transp. Rev. 2015, 83, 1–15. [Google Scholar] [CrossRef]
  31. Szeto, W.; Jiang, Y. Hybrid artificial bee colony algorithm for transit network design. Transp. Res. Rec. J. Transp. Res. Board 2012, 2284, 47–56. [Google Scholar] [CrossRef]
  32. Szeto, W.; Jiang, Y. Transit route and frequency design: Bi-level modeling and hybrid artificial bee colony algorithm approach. Transp. Res. Part B Methodol. 2014, 67, 235–263. [Google Scholar] [CrossRef]
  33. Szeto, W.; Wu, Y. A simultaneous bus route design and frequency setting problem for Tin Shui Wai, Hong Kong. Eur. J. Oper. Res. 2011, 209, 141–155. [Google Scholar] [CrossRef] [Green Version]
  34. Constantin, I.; Florian, M. Optimizing Frequencies in a Transit Network: A Nonlinear Bi-level Programming Approach. Int. Trans. Oper. Res. 1995, 2, 149–164. [Google Scholar] [CrossRef]
  35. Fernandez, E.; Marcotte, P. Operators-users equilibrium model in a partially regulated transit system. Transp. Sci. 1992, 26, 93–105. [Google Scholar] [CrossRef]
  36. Gao, Z.; Sun, H.; Shan, L.L. A continuous equilibrium network design model and algorithm for transit systems. Transp. Res. Part B Methodol. 2004, 38, 235–250. [Google Scholar] [CrossRef]
  37. Bagloee, S.A.; Ceder, A.A. Transit-network design methodology for actual-size road networks. Transp. Res. Part B Methodol. 2011, 45, 1787–1804. [Google Scholar] [CrossRef]
  38. Baaj, M.H.; Mahmassani, H.S. TRUST: A LISP program for the analysis of transit route configurations. Transp. Res. Rec. 1990, 1283, 265–275. [Google Scholar]
  39. Cortés, C.E.; Jara-Moroni, P.; Moreno, E.; Pineda, C. Stochastic transit equilibrium. Transp. Res. Part B Methodol. 2013, 51, 29–44. [Google Scholar] [CrossRef]
  40. De Cea, J.; Fernández, E. Transit assignment for congested public transport systems: An equilibrium model. Transp. Sci. 1993, 27, 133–147. [Google Scholar] [CrossRef]
  41. Lam, W.H.-K.; Gao, Z.; Chan, K.; Yang, H. A stochastic user equilibrium assignment model for congested transit networks. Transp. Res. Part B Methodol. 1999, 33, 351–368. [Google Scholar] [CrossRef]
  42. Nguyen, S.; Pallottino, S. Equilibrium traffic assignment for large scale transit networks. Eur. J. Oper. Res. 1988, 37, 176–186. [Google Scholar] [CrossRef]
  43. Szeto, W. Routing and scheduling hazardous material shipments: Nash game approach. Transp. B Transp. Dyn. 2013, 1, 237–260. [Google Scholar] [CrossRef]
  44. Chew, J.S.C.; Lee, L.S.; Seow, H.V. Genetic algorithm for biobjective urban transit routing problem. J. Appl. Math. 2013, 9, 411–421. [Google Scholar] [CrossRef] [Green Version]
  45. Fonzone, A.; Schmöcker, J.-D.; Liu, R. A model of bus bunching under reliability-based passenger arrival patterns. Transp. Res. Part C Emerg. Technol. 2015, 59, 164–182. [Google Scholar] [CrossRef]
  46. Newell, G.F. Dispatching policies for a transportation route. Transp. Sci. 1971, 5, 91–105. [Google Scholar] [CrossRef]
  47. Yu, B.; Yang, Z.; Yao, J. Genetic algorithm for bus frequency optimization. J. Transp. Eng. 2009, 136, 576–583. [Google Scholar] [CrossRef]
  48. Fan, W.; Machemehl, R.B. Using a simulated annealing algorithm to solve the transit route network design problem. J. Transp. Eng. 2006, 132, 122–132. [Google Scholar] [CrossRef]
  49. Zhao, F.; Zeng, X. Simulated annealing-genetic algorithm for transit network optimization. J. Comput. Civil Eng. 2006, 20, 57–68. [Google Scholar] [CrossRef]
  50. Baaj, M.H.; Mahmassani, H.S. Artificial intelligence-based system representation and search procedures for transit route network design. Transp. Res. Rec. 1992, 1358, 67–70. [Google Scholar]
  51. Baaj, M.H.; Mahmassani, H.S. An AI-based approach for transit route system planning and design. J. Adv. Transp. 1991, 25, 187–209. [Google Scholar] [CrossRef]
  52. Mumford, C.L. New heuristic and evolutionary operators for the multi-objective urban transit routing problem. In Proceedings of the 2013 IEEE Congress on Evolutionary Computation, Cancun, Mexico, 20–23 June 2013; pp. 939–946. [Google Scholar]
  53. Amiripour, S.M.; Ceder, A.A.; Mohaymany, A.S. Designing large-scale bus network with seasonal variations of demand. Transp. Res. Part C Emerg. Technol. 2014, 48, 322–338. [Google Scholar] [CrossRef]
  54. Lam, W.H.; Cheung, C.; Poon, Y. A study of train dwelling time at the Hong Kong mass transit railway system. J. Adv. Transp. 1998, 32, 285–295. [Google Scholar] [CrossRef]
  55. Yin, Y.; Lam, W.H.; Miller, M.A. A simulation-based reliability assessment approach for congested transit network. J. Adv. Transp. 2004, 38, 27–44. [Google Scholar] [CrossRef]
Figure 2. Small-scale network.
Figure 2. Small-scale network.
Sustainability 14 11097 g002
Figure 3. Medium-scale network.
Figure 3. Medium-scale network.
Sustainability 14 11097 g003
Figure 4. Proportion of direct service for different U B i j in different scale networks.
Figure 4. Proportion of direct service for different U B i j in different scale networks.
Sustainability 14 11097 g004
Figure 5. AIVTT for the passengers with direct service.
Figure 5. AIVTT for the passengers with direct service.
Sustainability 14 11097 g005
Figure 6. Proportions of direct service for different numbers of planning routes.
Figure 6. Proportions of direct service for different numbers of planning routes.
Sustainability 14 11097 g006
Table 1. Illustration of changing demand matrix: (a) Original demand matrix; (b) Changing matrix; (c) Changing matrix.
Table 1. Illustration of changing demand matrix: (a) Original demand matrix; (b) Changing matrix; (c) Changing matrix.
(a)(b)(c)
StopsN1N2N3N4StopsN1N2N3N4StopsN1N2N3N4
N10123N10123N10123
N21045N21045N21000
N32406N32400N32000
N43560N43500N43000
Sustainability 14 11097 i001Sustainability 14 11097 i002
Table 2. Travel demand of the small-scale network.
Table 2. Travel demand of the small-scale network.
Stops123456789101112131415
10400200608015075753016030253500
24000501202018090901513020101050
320050040601809090154520101050
4601204005010050501524040251050
580206050050252510120201550
615018018010050010010030880601515100
775909050251000501544035101050
875909050251005001544035101050
930151515103015150140205000
101601304524012088044044014006002505002000
1130202040206035352060007595150
12251010251515101052507507000
13351010105151010050095700450
1405550105502001504500
15000000000000000
Table 3. Optimized route structure.
Table 3. Optimized route structure.
Route LabelRoute StructureVehiclesTrip TimeHeadway
113-11-10-7-617603.53
210-8-6-3-4-2-122823.73
31-5-12-11-10-14-13151308.67
411-7-8-3-2-4-568414.00
Table 4. Comparison of initial route structure.
Table 4. Comparison of initial route structure.
Methods of GenerationProportion of Direct ServiceTotal Trip Time
Random generation70.26%27,695
Proposed generation94.86%11,919
Table 5. Comparison of initial and optimized frequencies.
Table 5. Comparison of initial and optimized frequencies.
Initial Frequencies ScenarioOptimized Frequencies Scenario
Objectives value (mins)33,250,015.8933,153,646.8
Table 6. Comparison of computation time with and without bus difference.
Table 6. Comparison of computation time with and without bus difference.
With Bus DifferenceWithout Bus Difference
Computation time (s)0.090.14
Table 7. Comparison of computation time with and without bus difference.
Table 7. Comparison of computation time with and without bus difference.
Genetic AlgorithmProposed Alogrithm
Computation time (s)150 s90 s
Objective values (min)353,000333,000
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Liu, Y.; Zhang, H.; Xu, T.; Chen, Y. A Heuristic Algorithm Based on Travel Demand for Transit Network Design. Sustainability 2022, 14, 11097. https://doi.org/10.3390/su141711097

AMA Style

Liu Y, Zhang H, Xu T, Chen Y. A Heuristic Algorithm Based on Travel Demand for Transit Network Design. Sustainability. 2022; 14(17):11097. https://doi.org/10.3390/su141711097

Chicago/Turabian Style

Liu, Yuan, Heshan Zhang, Tao Xu, and Yaping Chen. 2022. "A Heuristic Algorithm Based on Travel Demand for Transit Network Design" Sustainability 14, no. 17: 11097. https://doi.org/10.3390/su141711097

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