Next Article in Journal
Nonlinear Random Forest Classification, a Copula-Based Approach
Next Article in Special Issue
Battery Energy Storage System Dimensioning for Reducing the Fixed Term of the Electricity Access Rate in Industrial Consumptions
Previous Article in Journal
Sensitivity Analysis of Anchored Slopes under Water Level Fluctuations: A Case Study of Cangjiang Bridge—Yingpan Slope in China
Previous Article in Special Issue
Substitutability and Complementarity of Municipal Electric Bike Sharing Systems against Other Forms of Urban Transport
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Exact and Evolutionary Algorithms for Synchronization of Public Transportation Timetables Considering Extended Transfer Zones †

Computer Science Institute, Engineering Faculty, University of the Republic, Montevideo 11200, Uruguay
*
Author to whom correspondence should be addressed.
This paper is an extended version of our paper published in III Ibero-American Congress on Smart Cities.
Submission received: 3 July 2021 / Revised: 27 July 2021 / Accepted: 29 July 2021 / Published: 2 August 2021

Abstract

:

Featured Application

The planning methods presented in this article are specifically applicable to help decision makers in the processes of the configuration and operation of public intelligent transportation systems under the novel paradigm of smart cities.

Abstract

This article addresses timetable synchronization in public transportation, an important problem in modern smart cities, in order to guarantee a proper quality of service to citizens. Two variants of the bus timetabling synchronization problem considering extended transfer zones are studied: optimizing offsets and optimizing offsets and headways for each line. An exact mixed integer programming and an evolutionary algorithm are developed to solve both problem variants. The algorithms are evaluated on 45 instances of a real case study, the intelligent transportation system of Montevideo, Uruguay. Experimental results reported significant improvements over the current timetable implemented by the city administration. The number of successful synchronizations improved up to 66.6% and 179.9% for the first and second problem variant, respectively. The average waiting times for transfers improved, especially in tight problem instances (up to 57.8% and 158.3% for the first and second problem variant, respectively). The proposed planning methods are useful to help decision makers to configure public transportation systems.

1. Introduction

Public transportation is a key service in smart cities, allowing for efficient and low pollution mobility for citizens and reducing the dependency on cars and other motorized transportation modes [1,2]. Designing and operating an efficient public transportation system requires solving several relevant problems, including the proper design and management of routes, timetabling, and planning of buses and drivers, to provide a good quality of service to citizens [3] and also to promote sustainability [4].
The timetable synchronization problem consists of crafting a timetable that optimizes transfers between lines in a public transportation system. Timetable synchronization has been recognized as one of the most difficult problems for public transportation planning and optimization [5]. The problem has been often addressed intuitively, assuming that experienced operators are able to define headways, i.e., the time between consecutive departures of buses in a line to provide a proper quality of service. Conversely, this work proposes combinatorial optimization approaches to state the problem and the use of optimization techniques to solve real-world instances.
A flexible approach is proposed, entirely applicable to contexts where information about operating lines, traveling times, and transfer zones is available and when transfers between media are fairly regular along some reference time-window. The considered public transportation system consists of a mesh of routes operated by vehicles with similar capacities. Given origin-destination matrices for trips, expectations of passengers, technical features of buses, and operational costs, a historical design problem defines the lines to be deployed and their routes throughout each city in order to obtain a network with a proper trade-off between cost and quality of service [3]. Regarding the scope of this work, lines and routes are assumed fixed and known in advance, and timetable modifications are explored to allow for better overall efficiency [6].
Two variants of the bus timetabling synchronization problem considering extended transfer zones for every pair of bus stops in a city are formulated: optimizing the offset for each line and optimizing the offset and headways for each line. A realistic formulation is included to model the transfer demands of passengers. Two computational methods, exact mixed integer programming and the evolutionary algorithm (EA), are developed to efficiently solve both problem variants. The algorithms are evaluated on 45 instances of a real-world application case in Montevideo, Uruguay. Problem instances are defined using real data about lines, headways, and transfer demands, gathered from the intelligent transportation system of Montevideo. Results are compared with the real timetable currently implemented by the city administration.
The public transportation system of Montevideo is flexible, providing several options for passengers to reach a destination. Many passengers complete end-to-end trips by using a sole line, but either due to feasibility or convenience, many users transfer between lines to fulfill end-to-end trips. Transfers are implemented in the automatic Metropolitan Transportation System (STM). Users are charged through radio frequency identification cards, which allow them to pay and easily transfer between lines, even between different (geographically separated) bus stops.The STM keeps historical ticket sales and travel times via GPS-integrated controller units on buses. Records include user trip details along any day and time-stamped and geo-referenced transfers, etc. This dataset is a primordial asset for authorities, and it is used to adjust the configuration of lines. A relevant adjustment is the timetable, i.e., the schedule of departures each line must conform to. The STM dataset indicates that there are time-windows where the load of the system is regular, that is, with low deviation from mean values of traveling times, number of passengers in each bus, and the number of transfers between them [7]. By assuming that current headways are dimensioned to manage the load of the system along a time-window with regularity and that relatively slow deviations from those values linearly affect surveyed figures, a formulation is devised to allow tuning the system to increase the number of successful transfers. Timetable synchronization is a very relevant problem in this case study, since the bus system in Montevideo is extremely complex. The bus network consists of 145 main bus lines, and each one of them has multiple variants (e.g., outward and return trips, different origins/destinations, and shorter versions), so the total number of bus lines considering all variants is 1383, a remarkably large number when compared to bus networks in other similar cities [7].
In any case, the proposed models and algorithms are fully portable to other systems, as long as transfers are allowed and the main goal is optimizing the number of synchronized trips. The formulation is independent of data particulars, and it can be easily ported to another system. For instance, transfer zones can be arbitrarily set. They are not bound to infrastructure deployment, so an instance can, in fact, be determined from existing transfer stations or a mix of closed and on-street stations. In addition, there is no particular reason to prevent these models from being used with other means of transportation, such as light rail transit, metro networks, or arrangements thereof.
This article extends our previous conference article “Exact and metaheuristic approach for bus timetable synchronization to maximize transfers” [8]. New contents include: (i) an extended transfer zones model; (ii) the formulation of two problem variants, optimizing offset and headways (variable within a range); (iii) a new and more realistic objective function, properly modeling the transfer demands considering variable headways; (iv) the proposed exact and evolutionary approaches, adapted to solve both addressed problem variants; (v) an exhaustive experimental evaluation of the proposed optimization methods over 45 problem instances for each problem variant.
Regarding previous studies in the literature, this article contributes by considering an extended transfer zones proposal to model transfers between different (geographically separated) bus stops of different lines. This formulation is more useful than standard models to capture the reality of modern intelligent transportation systems that do not limit transfers to specific locations, instead allowing them to be performed at every pair of bus stops. The new problem model provides flexibility for passengers who have many realistic transfer options available and also for the bus system administration to design proper timetables. The new formulation also considers the explicit demand of transfer trips for each pair of bus stops that defines a transfer zone, unlike previous formulations that only considered the number of bus trips synchronized [9,10,11] or proposals focused on minimizing waiting times between bus trips [12]. Thus, the proposed formulation allows for focusing on the quality of service offered to passengers better than existing approaches. The proposed evolutionary approach is also a contribution, as no previous application of EAs to solve the problem was found in the review of related works. The EA is useful for solving large-dimension problem instances, e.g., by considering a large number of transfer zones in a city scenario. Besides the formulations proposed to model both problem variants, a relevant contribution of the reported research is related to the obtained results for the case study in Montevideo: both the exact and EA approaches are able to compute timetables that are significantly improved over the real timetable applied by the city administration, considered as a reference baseline for the comparison.
The article is organized as follows. Section 2 introduces the problem, the proposed model, and the two variants addressed. Section 3 presents a review of related articles. The exact and evolutionary approaches for bus synchronization are described in Section 5. Section 6 reports the evaluation of the proposed methods over realistic problem instances in Montevideo, and the main conclusions are outlined in Section 7.

2. The Bus Synchronization Problem

This section introduces the bus synchronization problem (BSP) model and the formulation of two specific variants of the problem.

Overall Description of the Problem Model

The BSP considers two of the most important purposes of a mass transportation system: offering an efficient means for the movement of citizens, while maintaining low costs and fares. The considered model focuses on citizens, offering them an efficient travel experience and short waiting times for passengers that use two or more buses to perform consecutive trips.
The concept of a synchronization event is defined as the action of providing passengers transfers whose waiting times are lower than the maximum time passengers are willing to wait. The research proposes addressing the BSP on real scenarios, built using real data about lines, bus stops, traveling times, and passengers performing transfers between lines. The problem model divides a day into several planning periods, considering the regularity of travel demands, travel times, and citizens’ behavior. On each planning period, a data analysis approach can be applied to extract common characteristics and steady information to build BSP instances.
In the considered problem model, the bus network is represented by a set of bus lines and a set of relevant locations (the synchronization nodes or transfer zones), where passengers can transfer from one line to another. Unlike previous formulations of the problem [9,10], in the proposed model, nodes are not just bus stops but wider transfer zones, formed by separated bus stops for lines i and j. This way, the model can include several bus stops for several lines (see a graphical description for two generic lines i and j in Figure 1). The proposed model explicitly includes the distance between the bus stops for lines i and j, d b i , j , drawn in red in Figure 1. For the instances solved in this article, it is assumed that the walking speed of pedestrians is constant w s = 6 km/h, and the walking time for a distance d between any pair of bus stops is given by w t = d w s .
The proposed problem model is useful for capturing the reality of contemporary intelligent transportation systems, which do not impose a limitation on the number of transfers for passengers and in which transfers are not limited to specific locations. Instead, transfers can be performed at every pair of bus stops, providing flexibility to passengers when planning a trip. This is the case of the intelligent transportation system in Montevideo, Uruguay, which is the case study in this article [7]. In this scenario, the corresponding synchronization problem is more complex, as many realistic transfers options are available to passengers, which in turn may require them to walk between bus stops.
Unlike traditional formulations, the proposed problem model is not focused on maximizing the number of passengers headed from origin to destination, mainly because the main focus is on the user experience when performing transfers, by considering the maximum time passengers are willing to wait for a transfer. This way, the objective function of the optimization model considers the demand of transfers in each transfer zone (pair of bus stops) for all synchronized trips of two bus lines. Previous articles addressing different variants of the timetable synchronization problem have worked under stronger assumptions, i.e., only considering trips for lines to synchronize.
Two cases are distinguished in the proposed model. The case with uniform departing times and the case with non-uniform departing times. These two cases are described next.
In the case with uniform departing times, there are no differences between departing times in the planning period; thus, r and s (trips of line i and line j, respectively) are not relevant for defining the time between consecutive departures (which in fact is constant, i.e., F i 1 ). This is a realistic assumption when planning for short and medium periods (e.g., in the morning, in the afternoon, in rush hours, etc.). For example, in the case study solved in this article, i.e., the bus network of Montevideo, Uruguay, this assumption holds: in the time period 12:00–14:00 on working days, the time between consecutive buses is almost constant for all lines (the standard deviation of their values is between 0.80% and 1.37%). However, trips of line i and line j are relevant for defining the number of synchronizations and the number of synchronized passengers on each trip.
In the case with non-uniform departing times, the trip number r is relevant to determine synchronizations. The time between consecutive buses is given by X r i X r 1 i for trip r of line i, and the problem formulation must be solved considering the number of trips that are synchronized. When computing the objective function in this model, the demand is split uniformly among the f j trips of line j. This assumption is also realistic when passengers’ demand has slight variations between consecutive trips. For modeling purposes, we are simply assuming that the planning period is determined because of its regularity. Whenever buses’ interarrival times are uniformly distributed along a planning period, a fairly precise reference weight (i.e., average number of passengers) for each transfer zone is the ratio of the demand of transfers for the considered lines i and j over the number of trips of line i in the planning period T. However, due to the fact that the passengers transferring onto a bus previously alighted from another, they arrive in bursts. There are more accurate formulations for weights in transfer zones [13]. Defining and studying an accurate model to handle variable demands are proposed as future work.

3. Related Work

Timetable synchronization was stated as an important problem for public transportation systems in pioneering research articles by Ceder [3]. Daduna and Voß [14] presented one of the first proposals for synchronizing schedules on public transportation. The authors studied several objective functions, including weighted sum approaches with transfers and maximum waiting time, and proposed metaheuristics for simple problem versions with uniform frequencies. The approach was evaluated over a case study on Berlin and several cities in Germany. In the experiments, tabu search outperformed simulated annealing in randomized instances, and the authors highlighted the trade-off between operation costs and efficiency.
The transit network timetabling problem was studied by Ceder et al. [15] to optimize synchronization events at stops shared by several bus lines, by maximizing the number of simultaneous arrivals. A greedy approach was introduced to define custom timetables, properly selecting nodes from the bus network. The article focused on maximizing simultaneous bus arrivals over small problem instances involving few nodes and lines. A subjective metric was proposed by Fleurent et al. [16] to evaluate synchronizations, including expert knowledge. The proposed synchronization metric was applied to design a heuristic to minimize vehicle operation costs in a case study consisting of small problem instances from Montréal, Canada. Different timetables were found by weighting the components of the cost function.
Shafahi and Khani [17] presented a mixed integer programming model for optimizing transfers in a public transportation network with fixed transfer stations. The problem considered the offset optimization, i.e., setting the departure times of buses, which was solved by an exact method using CPLEX. A second problem variant was formulated, accounting for the extra stopping time of buses at transfer stations. A genetic algorithm was proposed to solve this problem variant over small problem instances involving 14 lines and just three transfer stations. A real case study was presented: the public transportation network in the city of Mashhad, Iran. The proposed methods were able to improve up to 14.5% with a business-as-usual (i.e., no explicit optimization) strategy.
A variant of the the synchronization problem including time-windows between travel times was addressed by Ibarra and Ríos [10]. A multi-start iterated local search (MILS) was applied to solve eight scenarios from the public transportation of Monterrey, Mexico, considering from 4 to 40 nodes. In less than 60 seconds, MILS computed accurate timetables for medium-size instances, regarding both upper bounds and an exact Branch & Bound algorithm. MILS was also applied by Ibarra et al. [11] to solve the multiperiod BSP, to optimize multiple trips of a given set of lines. MILS was able to compute results similar to a variable neighborhood search and a simple population-based algorithm on synthetic instances with few transfer zones. Results for a sample case study using data for a single line of Monterrey demonstrated that maximizing synchronizations for a specific node usually reduces the number of synchronizations for other nodes.
A recent article by Abdolmaleki et al. [18] proposed a model for timetable synchronization assuming a fixed headway for each line. The authors identified specific cases of the problem that are solvable in polynomial time. An approximation algorithm was proposed, based on the maximum directed cut problem. The proposed method was evaluated in a simple network and a large case study in Mashhad, Iran. In turn, a recursive algorithm that executes in quasi-linear time was proposed to minimize the total transfer waiting time in a problem variant that relaxes the fixed headway assumption.
An EA was proposed in a previous article [19] for a specific variant of the BSP, which outperformed real timetables and heuristics. This article extends our previous approach, solving a different BSP variant to determine optimal values for offset and headways, maintaining the number of trips of the real timetable, thus not impacting the provided quality of service.
Regarding the related literature, the approach proposed in this article contributes by considering the extended transfer zones model accounting for transfers between different (geographically separated) bus stops of different lines; by considering the explicit demand of transfer trips for each pair of bus stops that defines a transfer zone to better focus on the quality of service offered to passengers; and by simultaneously adjusting offsets and headways for each line.

4. The Proposed Problem Formulations

This section describes the proposed problem formulations for the considered problem variants.

4.1. Problem Data

The formulation of the studied problem considers:
  • The planning period [ 0 , T ] , expressed in minutes.
  • A set of bus lines I = { i 1 , i 2 , , i n } , whose routes are fixed and known beforehand.
  • The total trips needed to perform in order to fulfill the demand for each line i within the planning period [ 0 , T ] is f i . The demand considers both direct trips and transfers.
  • A set of synchronization nodes, or transfer zones, B = { b 1 , b 2 , , b m } . Each transfer zone b B has three elements < i , j , d b i j >: i and j are the lines that may synchronize, and d b i j is the distance that separates the bus stops for lines i and j in b. Each b considers two bus stops with transfer demand between lines i and j, as described in Figure 1. The distance d b i j defines the time that a passenger must walk to transfer from the bus stop of line i to the bus stop of line j in the considered transfer zone.
  • A traveling time function  T T : I × B Z . T T b i = T T ( i , b ) defining the time that buses in line i need to travel to reach the transfer zone b. The time is measured from the departure of the line. The traveling time depends of the studied scenario and is affected by several factors such as the maximum allowed speed, the traffic in the city, the travel demands, etc.
  • A demand function  P : I × I × B Z . P b i j = P ( i , j , b ) defines how many passengers perform a transfer from line i to line j in transfer zone b in [ 0 , T ] . As described in the previous subsection, a hypothesis of uniform demand is assumed. Thus, an effective number transfers from a trip of line i to a trip of line j is properly defined, taking into account the time between two consecutive trips of buses in line i. The uniform demand hypothesis is realistic for short periods, such as in the problem instances defined and solved for the addressed case study.
  • The maximum time W b i j that passengers are willing to wait for line j, after alighting from line i and walking to the corresponding stop of line j in a transfer zone b. Two trips of line i and j are synchronized for transfers if and only if the waiting time of passengers that transfer from line i to line j is lower than or equal to W b i j .
  • A set of departing times of each trip r of line i, X r i , which define the headways of the line as the time between two consecutive trips F r i = ( X r i X r 1 i ) . Headway values must be within a range of minimum ( h i ) and maximum ( H i ) headways for that line. Both extreme values are defined by the city administration or the bus system operator. The offset of each line is the departing time of the first trip of the line ( X 1 i ). Without losing generality, the model assumes X 0 i = 0 . All trips of each line must start within the planning period [ 0 , T ] (i.e., X f i i T ).
Considering the previously defined elements, two variants of the BSP are formulated, accounting for the optimization of just offsets and both offsets and headways for each line, respectively. The next subsections describe these two problem variants.

4.2. Problem Variant #1: Offset Optimization

The first problem variant focuses on optimizing the offsets (i.e., the departing time of the first trip of each line). Subsequent departing times are fixed by the reference value defined by the city administration ( F i ). Thus, the control variables of the problem are the offset of each line ( X 1 i ), which defines the whole set of departing times for all trips of each line. Auxiliary variables are needed to capture the synchronization events in each transfer zone. Binary variables Z r s b i j take a value 1 when trip r of line i and trip s of line j are synchronized in node b (i.e., trip r of line i arrives before trip s of line j and allows passengers to complete the transfer, i.e., walk between the corresponding bus stops and wait less than the waiting threshold for that transfer, W b i j ). To guarantee that all lines perform the required number of trips in the planning period, possible values for the offset are limited to the interval [ 0 , T ( mod F i ) ] (see a graphical description in Figure 2).
The mathematical model of BSP variant #1 as a mixed integer programming (MIP) problem is formulated in Equations (1)–(5).
maximize b B ( r = 1 f i s = 1 f j Z r s b i j ) · P b i j × F i T
subject   to Z r s b i j 1 + ( A r b i + d b i j + W b i j ) A s b j M , b = < i , j , d b i j > B , 1 r f i , 1 s f j ,
Z r s b i j 1 + A s b j ( A r b i + d b i j ) M , b = < i , j , d b i j > B , 1 r f i , 1 s f j , with A r b i = X 1 i + ( r 1 ) F i + T T b i and A s b j = X 1 j + ( s 1 ) F j + T T b j
0 X 1 i min ( H i , T ( mod F i ) ) , i I
Z r s b i j { 0 , 1 } , i I
The optimization problem formulates the maximization of the number of successful transfers completed in the planning period in every transfer zone (the objective function in Equation (1)). The expression r = 1 f i s = 1 f j Z r s b i j is the total number of successful connections between trips of each pair of lines i and j in each transfer zone b. Assuming a uniform demand hypothesis, the number of transfers from a trip of line i to a trip of line j in the planning period is P b i j × F i / T . Equations (2)–(5) define the problem constraints.
Equation (1) states that the optimization will seek to activate synchronization variables Z r s b i j —as many as possible. Constraints determine that variables Z r s b i j only take the value 1 if the corresponding transfer is synchronized. In Equations (2) and (3), the arrival time of trip r of line i to transfer zone b is A r b i , and the arrival time of trip s of line j to transfer zone b is A s b j . For an interpretation of constraint (2), consider that the limit time A r i + d b i j + W b i j defines the maximum time passengers are willing to wait for a transfer between trip r of line i and trip s of line j at transfer zone b. Whenever the arrival time of trip s of line j does not surpass that limit, the right-hand side of Equation (2) is greater (or equal) to 1, so this is the only case when Z r s b i j (the synchronization variable) is allowed to take the value 1. Furthermore, it is also necessary for passengers alighting from trip r of line i to walk to the transfer point (arriving at time A r b i + d b i j ) before trip s of line j arrives (at time A s b j ). Otherwise, passengers will not complete the transfer on time. This second condition, when met, also allows Z r s b i j to be set to 1, as the right term of constraints in Equation (3) is positive. To date, there is a potential issue when non-synchronized trips lead to negative values on the right term of Equation (3), which produces unfeasible constraints. The formulation only needs one value, ( A r b i + d b i j + W b i j ) A s b j or A s b j ( A r b i + d b i j ) , to be lower than zero, so the synchronization variable Z r s b i j is deactivated. Thus, it is enough to introduce a constant value M, large enough to guarantee that both Equations (2) and (3) are always feasible. In a real solver implementation, considering large values of M might cause numerical stability problems. Thus, appropriate and relatively low values for M are computed as the maximum value within the union of sets { ( H i ( j ) + ( f i ( j ) 1 ) × Δ X j + T T b j ) ( T T b i + d b i j + W b i j ) } and { ( H i ( i ) + ( f i ( i ) 1 ) × Δ X i + T T b i + d b i j ) T T b j } for all transfer zones b i n B . These values of M can be easily calculated during the process of crafting the MIP formulation before using any solver implementation, since finding M is a polynomial complexity problem. Equation (4) indicates that the maximum value for the offset of each line is the minimum between T ( mod F i ) and the maximum headway H i . No constraints are defined over headways, since a fixed frequency F i , which satisfies the bounds for headways, is assumed for all subsequent trips. Finally, Equation (5) defines that decision variables Z r s b i j are within the domain of binary variables.
Without losing generality, the proposed problem formulation assumes that F j > W b i j , j I , i.e., headways of bus lines are larger than the waiting time thresholds for users. The case where F j W b i j corresponds to a scenario in which the headway of line j is lower than the time users are willing to wait; thus, all transfers with line j would be synchronized, and they would not be part of the problem to solve (i.e., those lines can be removed for the specific problem instance to solve).

4.3. Problem Variant #2: Headways Optimization

The second problem variant proposes optimizing not only the offsets of each line but also the headways of each line. Headways are allowed to vary within a fixed range of the reference value F i . The interval for variation is defined by F i ( 1 α ) X r i X r 1 i F i ( 1 + α ) , r 1 , 2 , , f i . To work under the assumption of maintaining an appropriate quality of service for the transportation system, which is assumed to be fairly provided by the current situation (i.e., using the reference values for the time difference between consecutive trips of each line), small values of α are considered (see a graphical description in Figure 3).
The mathematical model of BSP variant #2 as an MIP problem is formulated in Equations (6)–(13).
maximize b B ( r = 1 f i s = 1 f j Z r s b i j ) · P b i j × ( X r i X r 1 i ) T
subject   to Z r s b i j 1 + ( A r b i + d b i j + W b i j ) A s b j M , b = < i , j , d b i j > B , 1 r f i , 1 s f j ,
Z r s b i j 1 + A s b j ( A r b i + d b i j ) M , b = < i , j , d b i j > B , 1 r f i , 1 s f j , with A r b i = X r i + T T b i , A s b j = X s j + T T b j
s = 1 f j Z r s b i j 1 , i , j I , 1 r f i
max ( F i ( 1 α ) , h i ) X r i X r 1 i , r 2 , . . , f i
X r i X r 1 i min ( F i ( 1 + α ) , H i ) , r 2 , . . , f i
T H i X f i i T , i I
Z r s b i j { 0 , 1 } , 0 X 1 i min ( H i , m o d ( T , F i ) )
In Equations (6)–(13), X r i is the time of departure of trip r of line i, and F i is the reference value for the time difference between consecutive trips of line i, as defined in problem variant #1. In turn, α [ 0 , 1 ] is the coefficient used for defining the allowed deviation of times between buses from the reference value F i . Finally, X f i i is the departing time of the last trips of the line i.
The objective function is Equation (6), i.e., maximizing the number of successful transfers completed in every transfer zone in the planning period. In this case, the demand is split considering the (flexible) time between consecutive buses of line i (i.e., X r i X r 1 i ). Equations (7)–(13) formulate the problem constraints. Equations (7) and (8) define a synchronization, as in the previous problem formulation.
Equation (9) guarantees that every trip r of line i synchronizes with, at most, one trip s of line j. The last point is necessary because headways are part of the control variables in this case. In the previous model, headways were known in advance, so they could be pre-filtered in the case where a headway was lower than the maximum time passengers are willing to wait at some stop. Conversely, in this model, Equation (9) prevents us from counting such synchronizations more than once. Constraints in Equations (10) and (11) impose the limits for headways, according to the allowed variation α . Constraints in Equation (12) guarantee that the last trip is within the specified maximum range. Finally, Equation (13) defines the domain for decision variables Z r s b i j .
The formulation in Equations (6)–(13) intuitively extends the previous to incorporate headways as control variables, but it has the drawback of being quadratic in its objective function due to the product of Z r s b i j ( X r i X r 1 i ) . However, it is linearized by a change of variables and additional constraints. Let y r s b i j be as Z r s b i j ( X r i X r 1 i ) in (6), so the objective turns out to be 1 T b B r = 1 f i s = 1 f j y r s b i j · P b i j , which is linear. Moreover, two equations per each y r s b i j variable must be included: y r s b i j ( X r i X r 1 i ) and y r s b i j H i · Z r s b i j . Within a maximization problem, variables y r s b i j will take a value as high as possible. H i is an upper bound for ( X r i X r 1 i ) because of Equation (11), so whenever Z r s b i j = 1 , the second equation results, y r s b i j H i , and it is the first equation that guarantees y’s value to be ( X r i X r 1 i ) at most, which is then exactly the value that the variable y r s b i j will take. Conversely, when Z r s b i j = 0 , the second equation forces y r s b i j to be 0. This behavior replicates that of Z r s b i j ( X r i X r 1 i ) ’s product, so the change of variables is equivalent and linear.
Table 1 summarizes both problem variants. Variables X 1 i (i.e., offsets) are the control variables in both proposed problem variants, while the latter adds new control variables X r i with r > 1 . The difference is semantic rather than substantive, and we refer to them as X r i in general. The group of variables Z r s b i j are auxiliary in both proposed problem variants. They are used to identify synchronizations as an outcome of control variable X r i values. These variables are only meaningful when stated as Boolean variables, a condition that must be explicitly set in the formulation since it is not achieved otherwise. Finally, problem variant #2 introduces y r s b i j variables, which are also auxiliary and number as many as those of Z r s b i j . They are used to obtain to a purely linear alternative formulation for the second problem variant.
Unlike Z r s b i j variables, the domain of X r i and y r s b i j is that of the real numbers, since their values are a consequence of active constraints in an optimization process. However, whenever parameters that define an instance are integers, optimal X 1 i values Equations (1)–(5) are to be integers as well, as they are the result of pushing the objective function variables against integer constraints. The situation is not so for Equations (6)–(13), because α values greater than 0 generally lead to non-integer bounds in both proposed problem variants.

5. Exact and Evolutionary Computation Methods for the BSP

This section presents the exact and evolutionary computation approaches developed to address the BSP, considering extended transfer zones.

5.1. Mathematical Programming

The exact method for solving the formulated model was developed by combining several tools. Each instance in the input dataset was imported into MATLAB matrices, just as it was for each solution (externally found). In this way, results could be easily analyzed, debugged, and post-processed. The software version of MATLAB is R2015a-8.5.0.
Some parameters of the models formulated in both proposed problem variants are to be computed during the MIP construction itself. The most notorious is the value of the parameter M, which has to be large enough to prevent (2), (3) or (7), (8) from being unfeasible but not so large to lead to numerical issues. Because of this, we decided not to use AMPL or other algebraic modeling language to feed the solver. Instead, we developed a C++ program to read instances in the input dataset and convert them to CPLEX LP-format.
IBM(R) ILOG(R) CPLEX(R) Interactive Optimizer 12.6.3.0 was used as the optimization tool. The default GAP tolerance for the MIP solver is 0.01%. This corresponds to the relative distance between the best integer solution found and the best upper bound estimated up to that moment: ( f ( x ) b e s t B o u n d ) / f ( x ) , where x is a solution, f ( x ) is its objective function value, and b e s t B o u n d is the lowest upper bound found for the optimum value.

5.2. Evolutionary Algorithm

The EA was developed using the Malva library (github.com/themalvaproject, accessed on 15 June 2021) in the C++ programming language. The main implementation details are described in the next subsections.

Solution Encoding

For both problem variants, candidate solutions are represented using integer vectors. Next, both representations are explained.
Problem variant #1: offset optimization. For problem variant #1, each integer value in the solution representation indicates the offset for each bus line, i.e., the time elapsed between time zero (start of the planning period) and the time when the first trip of the line departs. A candidate solution of the BSP is represented by a vector X = { X 1 1 , X 1 2 , X 1 n } (n is the number of lines in the instance), X 0 i Z + , and 0 X 0 i T mod H i . Figure 4 describes the solution representation for a problem instance with n bus lines.
Problem variant 2: headways optimization. For problem variant #2, integer values in the solution representation represent, for each bus line, the offset (in minutes) and the subsequent headway values (also in minutes). A candidate solution of the BSP is represented by a vector X = { X 1 1 , X 2 1 , , X f 1 1 , X 1 2 , X 2 2 , X f 2 2 , , X 1 n , , X 1 n , , X f n n }, where X 0 i Z + 0 , and X k i i Z + , with k i { 1 , , f i } . Figure 5 describes the solution representation for a problem instance with n bus lines (offset values for each line are marked in blue font).
Evolution model. The EA follows the ( μ + λ ) evolution model [20]. λ offsprings are generated from μ parents, and all compete among themselves to select the solutions to include in the population in a new generation. The ( μ + λ ) evolution model computed better and more diverse solutions than a standard generational model in configuration experiments.
Initialization operator. The initialization generates random solutions, selecting integer values within the corresponding ranges and taking into account the problem constraints. The random initialization operator is conceived to generate an appropriate diversity for the evolutionary process.
Selection operator. A tournament method is used for selecting individuals during the evolutionary search. A tournament size of three individuals was used (just one individual survives). The tournament operator outperformed the standard proportional selection in configuration experiments, providing a proper selection pressure for candidate solutions during the evolutionary process.
Recombination operator. An ad hoc variant of the well-known two-point crossover operator was designed. Crossover points are randomly selected in [ 1 , n 1 ] , and information from both parents is exchanged between the crossover points. The main idea is to maintain those features of bus lines synchronized in the parent to be used as relevant information for offspring generation. The recombination probability is p R . A correction procedure is applied to guarantee the feasibility of the generated solutions by properly shifting conflicting offset and/or headway values.
Mutation operator. An ad hoc variant of Gaussian mutation is applied. Selected position(s) in an individual are changed according to a Gaussian distribution and considering the limits (minimum and maximum) defined for both offsets and headways of each line. The mutation probability is p M .

6. Experimental Evaluation

The experimental analysis of the exact and evolutionary methods for the BSP is reported in this section.

6.1. Methodology

This subsection describes the methodology applied for the experimental evaluation of the proposed methods to solve the BSP.

6.1.1. Problem Instances

The experimental evaluation considered realistic problem instances, generated using real information from the case study, i.e., the STM in Montevideo, Uruguay.
Several data sources were considered to gather information to build the BSP instances. All the information about the bus network (lines, routes, real timetables, bus stops locations, etc.) was retrieved from the National Open Data Catalog (catalogodatos.gub.uy, accessed on 15 June 2021). The real information about transfer demands was provided by the city administration. All the gathered data were analyzed applying urban data analysis [7]. Several elements define the scenario and the problem instances built:
  • The starting time was set to 12:00 p.m., and the final time was set to 2:00 p.m., including one of the two peak hours occurring in a working day for the public transportation system in Montevideo [21].
  • The transfer demand function (P) is generated from real information registered by the smart cards of the STM.
  • The transfer zones are selected from the pairs of bus stops with the largest demand of registered transfers for the period; all pairs are candidates to be selected in the created BSP instances; the number of considered transfer zones is 170.
  • The bus lines are those connecting the considered transfer zones; a total number of 250 lines are considered.
  • The time traveling function ( T T ) is computed by processing the real GPS data from the operating vehicles for each line;
  • The walking time function is defined by the product of the estimated pedestrian speed (6 km/h) and the distance between bus stops in each transfer zone; the distance is computed using geospatial analysis.
  • The maximum waiting time (W) is λ H ; five values of λ are considered ( λ [0.3, 0.5, 0.7, 0.9] to define BSP instances with different tolerance levels.
A total number of 75 BSP instances are defined, of three different dimensions (30, 70, and 110 transfer zones), using the real information of buses operating in the STM of Montevideo, Uruguay. Problem instances are named as [NP].[NL].[ λ ].[id]: NP = n the number of transfer zones, NL = m the number of bus lines, λ the tolerance to define the maximum waiting time (percentage), and id is a number to differentiate instances with the same values of the other parameters. Problem instances are publicly available at www.fing.edu.uy/inco/grupos/cecal/hpc/bus-sync/, accessed on 15 June 2021.

6.1.2. Execution Platform

Experiments were carried out on a Quad-core Xeon E5430 at 2.66GHz, 8 GB RAM, from the high-performance computing infrastructure of the National Supercomputing Center (Cluster-UY), Uruguay [22].

6.1.3. Baseline Solution for the Comparison

A significant solution to be used as baseline for the comparison is the real timetable used in the transportation system of Montevideo. This solution determines the current level of service regarding both direct trips and transfers. The real timetable does not apply an explicit synchronization approach for transfers. The first trip of each line departs when the planning period starts, and subsequent trips depart according to the real predefined headways for each line. The comparison with the real timetable allows determining the advantages of the explicit optimization approaches proposed for the studied BSP variants.

6.1.4. Statistical Analysis and Metrics

The effectiveness of the proposed EA is assessed via proper statistical analysis. For every problem instance and experiment, 30 independent executions (i.e., using a different seed for the random numbers generator) were performed. Then, a three-step analysis is applied to study the fitness results distributions:
  • Normality check. The Shapiro–Wilk statistical test is applied to determine if the results distribution is modeled by a normal distribution, i.e., computing the likeliness of the underlying randomness to be normally distributed.
  • Mean rank comparison (for parametric configuration analysis). The Friedman rank statistical test is applied to detect/analyze the differences in the distributions of fitness values across multiple executions.
  • Pairwise comparison of distributions. The Kruskal–Wallis non-parametric test is applied to determine if the differences between two parameter configurations have statistic significance.
  • Boxplots are used for results visualization and graphical comparison. Relevant order statistics are computed and reported: first quartile (Q1), third quartile (Q3), median, minimum, and maximum values, since the Shapiro–Wilk test confirmed that the results do not follow a normal distribution. The interquartile range (IQR) is used as a measure of statistical dispersion, as usual for non-normal distributions.
Several metrics are used for evaluating the exact and the evolutionary approach: (i) the number of successfully synchronized trips for passengers (i.e., the objective function defined in Equations (1) and (6)), (ii) the improvements over the real solution, and (iii) the average waiting for transfers in a transfer zone.

6.1.5. Parameter Setting

Exact Mathematical Programming. The default set of parameters of CPLEX was used to find exact solutions, except for the timeout parameter, which was set to 7200 seconds. Variant #2 with α = 0 is equivalent to variant #1, where headways are fixed and equal to F i . However, problem formulations are not equal nor are the proposed methods to solve them. Variant #2 implies significantly more variables than variant #1, so it is worth checking that algorithms are also able to rapidly find solutions when α = 0 . Such instances were solved within a few seconds, so the timeout limit only applies for α = 0.3 . It was verified, though, that the performance of the more general variant #2 is quite good for very low values of α , comparable to the performance of the much simpler version #1. Runtimes degrade for higher values of α , and in fact, the best solutions found for α = 0.3 were not proven to be optimal according to the defined tolerance for the MIP solver (0.01%). There is room to explore changes in parameters in order to improve performance, which is appointed as a future line of work.
Evolutionary algorithm. Since EAs are non-deterministic, parameter configuration analysis is mandatory to find the proper combination of parameter values to compute the best results. Studied parameters included population size (ps), recombination probability ( p R ), and mutation probability ( p M ). Experiments were performed on five small problem instances with different features to avoid bias. Candidate values considered for each parameter were p s { 15 , 25 , 50 } , p R { 0.5 , 0.75 , 0.9 } , and p M { 0.001 , 0.01 , 0.1 } .
A summary of the results obtained in the analysis of the population size is presented in Table 2. Results of median and best fitness values are reported for each population size. The Friedman rank test is applied to analyze the results distribution.
Results in Table 2 demonstrate that the best results were computed using a population size of 25 individuals. Using a larger population size turned to be counterproductive for the EA, since suboptimal solutions dominate quickly and results do not improve in the long term.
Table 3 reports the best fitness values and the Friedman ranks of the nine configurations (C1, …, C9) considered in the analysis of the recombination and mutation probabilities. The p-value of the Friedman rank was below 10 3 , thus assuring statistical significance of the results. In turn, the boxplots in Figure 6 graphically compare the median, best, worst, Q1, and Q3 values obtained for each studied configuration in the problem instance, which is representative of the results computed for other instances too. According to the reported metrics, the best results were obtained with configuration C2, i.e., setting PS = 25, p R  =  0.5 , and p M = 0.005 . Configuration C2 systematically obtained the best Friedman ranking in all but one of the studied problem instances.

6.2. Numerical Results

This subsection reports the numerical results of the proposed methods for the BSP and the comparison with the baseline real timetable for both studied problem variants.

6.2.1. Problem Variant #1: Offset Optimization

Table 4 presents the objective function values achieved by the exact and the EA for the studied BSP instances for variant #1 (offset optimization). The real timetable is reported as baseline for the comparison. Column ‘EA vs. exact’ compares the results of both proposed approaches (a negative percentage value means a smaller function value for the EA solution). Relative improvements over the real timetable (in percentage values) are also reported. Column ‘EA vs. real’ reports the relative improvement over the real timetable for the EA solution, and column ‘exact vs. real’ reports the relative improvement over the real timetable for the exact solution.
Results in Table 4 demonstrate that both exact and EA significantly outperform the baseline real solution in all problem instances. EA improved the real solution up to 66,3% in instance 40.37.30.1, and the exact method improved over the real solution up to 66.6% in instance 70.63.30.2. When comparing the EA and the exact solutions, the evolutionary approach demonstrated to be highly efficient at solving the problem: it computed the optimal solution in 54 out of the 75 problem instances studied. In all other instances, the distance to the optimum was below 1%. Overall, improvements over the real timetable were 24.5% (on average) for EA and 24.6% (on average) for the exact solution.
The average improvements of both exact and EA over the baseline solutions, grouped by tolerance and scenario size, are reported in Table 5. Regarding tolerance levels, improvements of EA and the exact algorithm over the real timetable were up to 57.56% and 57.96%, respectively, in scenarios with λ = 30, which pose the tighter bounds for user waiting times. In less restrictive scenarios, both studied methods improved over 9.74% in regard to the real timetable. Regarding the scenario dimension, both methods computed robust solutions that improve between 23.88% (EA, for scenarios with 30 transfer zones) and 25.72% (exact, for scenarios with 110 transfer zones).
The reported improvements on the objective function values grouped by tolerance and problem dimension indicate that for all sizes, the improvements over the real timetable increase as user tolerance decreases. This is a relevant result, which demonstrates that the optimization methods properly scale when the complexity of the problem increases, providing solutions with a better quality of service. Improvements also slightly increase for larger instance dimensions.

6.2.2. Problem Variant #2: Offset and Headways Optimization

Problem variant #2 imposes a significantly harder challenge for the studied optimization algorithms. Control variables, originally spanning a sole variable per line (offsets), also incorporate several more variables per line (headways). In addition, as mentioned in Section 4.3, in the exact model, the number of variables increases not only because of control variables (i.e., offsets and headways) but also because of auxiliary variables (i.e., synchronizations and the objective’s contributions), half of which are Boolean. In turn, for the EA, the number of variables increased more than 20 times, and a correction procedure is needed to repair non-feasible solutions generated by the evolutionary operators. Both facts result in a larger and more complex search space for optimization.
Table 6 reports the results of the exact algorithm for BSP variant #2. Each scenario has an associated row in the table. Columns #vars, #varsCtl, and #varsBool, respectively, correspond to the total number of variables, the number of control variables (all of which are real variables), and the number of Boolean variables. The column named best-sol reports the value of the objective function for the best solution found before timeout. Column GAP corresponds to the estimated worst-case gap to the optimum, that is, the relative gap between the reported solution and the lowest upper bound for the optimum estimated up to that moment. Finally, column time to solution shows the time required for the solver to find that solution.
Since no instance was solved to optimality when α = 0.3 , the overall runtime was 7200 s for all instances. For example, in instance 30.40.50.4, the best solution was found in 328 seconds, and it was not improved in the remaining 6872 seconds. The rest of the processing was spent to improve the gap to the lower bound. GAPs reported in Table 6 are always best-gaps, i.e., the lowest gap, the last reported in logs before timeout.
The remarkable facts of the results in Table 6 are: (i) control variables only represent between 2.5% and 5.3% of all variables, meaning that most resources in the exact approach are put into the auxiliary variables needed to reach the linear mixed integer programming formulation; (ii) the total number of variables is highly correlated with both the number of lines and bus stops; and (iii) although gap and time to solution are both correlated with the number of control and total variables, those correlations are higher for the total number of variables. The last two observations arise from computing Pearson’s linear correlation coefficient over the whole set of instances used as a dataset: number of bus stops, number of lines, #vars, #varsCtl, GAP, and time to solution, as in Table 6.
The most notorious difference between variant #1 and variant #2 comes from the value of α , not from the higher number of variables. The number and type of variables in Equations (6)–(13) are not affected by α , but CPLEX time-to-optimal is in the order of the second for α = 0 (no headway tolerance at all). Conversely, when α = 0.3 , none of the solutions is proven optimal within the 2 h timeout period, and only in 7 out of the 75 instances could the best solution be found before 20 min. Thus, the increased size and complexity of the search space coming from higher values of α have a much higher impact in the performance than the number of variables.
The objective function values achieved by exact and EA for the studied problem instances in BSP variant #2 are reported in Table 7. The real timetable is reported as baseline for the comparison, and columns ‘EA vs. exact’, ‘EA vs. real’, and ‘exact vs. real’ summarize the comparison, as in Table 4.
Results in Table 7 demonstrate that both exact and EA significantly outperform the baseline real solution in all BSP instances. EA improved over the real solution up to 155.9% in instance 30.37.30.1, and the exact method improved over the real solution up to 179.9% in instance 30.40.30.0. The comparative analysis of EA and the exact solutions indicates that the evolutionary approach demonstrated to be highly efficient at solving the problem: on average, the distance to the exact solution was below 1.32%. Overall, EA improved 63.4% (on average) over the real timetable, and the exact method improved 66.2% (on average) over the real timetable.
The average improvements of exact and EA over the baseline real solution, grouped by tolerance and instance size for BSP variant #2, are reported in Table 8. Regarding tolerance levels, EA improved up to 150.95%, and the exact method improved up to 158.13% over the real timetable. The best improvements were computed for λ = 30, which pose the tighter bounds for user waiting times. In less restrictive scenarios, improvements over the real timetable were over 25.23% for both methods. Regarding scenario dimension, both methods computed robust solutions that improve between 58.50% (EA, instances with 110 transfer zones) and 70.25% (exact, instances with 30 transfer zones) over the real solution.
The reported improvements on the objective function values grouped by tolerance and problem dimension demonstrate that for all BSP instances, the improvements over the real timetable increase as user tolerance decreases. Similar to problem variant #1, the optimization algorithms properly scale with the complexity of the problem, computing better solutions for tighter instances.
The proposed EA computed the same solution as the exact method in 33 problem instances (10 with 30 transfer zones, 18 with 70 transfer zones, and 5 with 110 transfer zones). Furthermore, in another 14 instances, the difference was below 1%, and in two problem instances, the EA computed a better solution than the exact method.

6.2.3. Quality of Service Results

Table 9 reports the average objective values (normalized by the number of transfer zones) for all scenarios, grouped by tolerance. Results show that both EA and the exact methods significantly improve over the baseline real solution. For BSP variant #1, the largest difference is 1.72 (4.68 – 2.97) between the exact approach and the real solution, when low user tolerance is considered ( λ = 30). Similar to the results reported in Table 5, the graphic demonstrates that improvements of the optimization methods are better in tighter BSP instances. For BSP variant #2, the best improvement of the exact method was 4.45, and the best improvement of EA was 4.45, both when λ = 30. Results are graphically presented in Figure 7 for BSP variant #1.
Three quality of service metrics (r, l s , and l n ) are considered in the results reported for the computed solutions in Table 10, grouped by dimension (NP) and tolerance ( λ ). Metric r is the ratio between the average waiting time computed by the proposed timetable schedules and the threshold value that passengers are willing to wait for a transfer in each transfer zone ( W b i j ). The r metric evaluates the number of successful synchronized trips, which are represented by r 1.0 , whereas unsuccessful synchronizations are represented by r > 1.0 . Metric r also allows evaluating how far from acceptable (i.e., synchronized) the trips of two lines are, considering the deviation from the ratio defined by the threshold value passengers are willing to wait (1.0). In turn, metric l s is the average number of successfully synchronized lines, whereas metric l n is the average number of not synchronized lines. All metrics are reported for each instance class regarding dimension and tolerance.
Results in Table 10 indicate that both studied optimization methods significantly improved the quality of service when compared with the real solution. Both the exact method and the EA computed lower values of the waiting time metric for all instance classes. The best improvements of the studied methods over the baseline real solution occurred for problem instances with NP = 70/110 and λ = 30, where both exact and EA computed solutions with a higher number of synchronized lines. In turn, the largest number of synchronized lines were computed by the exact method in problem instances with NP = 110 and λ = 30. Furthermore, better waiting time values were obtained by both exact and EA in problem instances with lower waiting time tolerance from users, with respect to the baseline real solution.
A comparison of waiting time values for transfers of all lines (normalized by W b ) is presented in the histograms in Figure 8. Results correspond to scenario 70.63.30.2, which is representative of the results computed for other studied BSP instances. Normalized average waiting time results are reported for the baseline real solution, the EA solution for BSP variant #1 ( α = 0.0), and the exact solution for BSP variant #2 ( α = 0.3). Values of the normalized average waiting time over 1.0 mean that for a number of lines in the reported scenario, the optimization methods were not able to find a combination of offset and headway values that allows lowering the waiting time for transfers under W b . This occurs as a direct consequence of the inter-related design of bus lines and the behavior of passengers in each scenario, since when adjusting offsets and headways to achieve successful transfers between line i and line j in transfer zone b (i.e., for those transfers avg(wait) < W b ), those lines are not synchronized (at least for some trips) with other lines on other transfer zones b * (i.e., for those transfers, avg(wait) > W b * ). The histograms in Figure 8 report both successful synchronizations (avg(wait) < W b , on the left side of each histogram) and non-successful synchronizations (avg(wait) > W b , on the right side of each histogram).
Results reported in the histograms in Figure 8 demonstrate that the exact solution effectively reduces the waiting time for a significant percentage of lines in the studied instance. The exact solution has more lines with an average waiting time lower or equal to 1 (i.e., 23 in the exact solution vs. only 6 in the real solution). Furthermore, five lines in the exact solution have an average waiting time less than 0.5 of W b , whereas there is none in the real solution. Regarding larger waiting times, only 3 lines in the exact solution have more than 1.5 of the maximum value for a successful synchronization, whereas in 13 lines of the real solution, passengers must wait 1.5 more than expected to perform a multi-leg trip. The comparative results demonstrate that the solution found by the exact method synchronizes a larger number of lines, thus improving the QoS. Solutions computed by the proposed EA have a similar behavior regarding waiting times, as reported in Table 10. Similar results were obtained for other studied BSP instances, and even better results were achieved in the most restrictive instances ( λ = 30 ).
Finally, regarding execution time, both the exact and evolutionary approaches were able to compute accurate solutions in very short execution times. For problem variant #1, the execution times were less than 10 seconds. For problem variant #2, the time limit of the exact method was two hours, and the EA found the best solutions in less than five minutes.

7. Concluding Remarks

This article studied the bus timetabling synchronization problem. The problem model extends existing ones by defining extended transfer zones for every pair of bus stops. In turn, an improved model was included to account for the transfer demands of passengers, and two variants of the problem were addressed: optimizing the offset for each line, and optimizing the offset and headways for each line. For the second problem variant, the optimization domain was restricted to a certain deviation on the real headways defined for the case study to provide a proper quality of service to users.
An exact MILP approach and an EA were proposed to solve the problem. Both methods were evaluated for a real case study for the public transportation system in Montevideo, Uruguay. A total number of 75 scenarios were defined using real data about lines, headways, and transfer demands, gathered from the intelligent transportation system of Montevideo. Results were compared with the real timetable currently implemented by the city administration.
The empirical evaluation indicated that both proposed methods are able to compute solutions that are significantly improved over the real current timetable in Montevideo. The exact method computed the optimal solution for all instances in problem variant #1, improving successful synchronizations up to 66.6% (24.6% on average) over the real timetable. The EA was highly efficient for this problem variant, too, improving the synchronizations up to 66.3% (24.5% on average) over the current timetable. Problem variant #2 poses a significantly harder challenge for optimization, as the number of variables significantly increases for each considered scenario. Despite this, the exact method was able to compute an accurate solution, which provides significant improvements on the number of successfully synchronized trips over the real timetable. Improvements up to 179.9% (66.2% on average) for the exact methods and up to 174.8% (66.2% on average) for the EA. The proposed optimization methods also improved relevant quality of service metrics, such as the average waiting times for transfers, especially in tight problem instances, which reduced up to 57.8% for BSP variant #1 and up to 158.3% for BSP variant #2.
Both methods were efficient regarding computing times. The exact method provided accurate objective function values within less than a second for problem variant #1. In turn, the proposed EA is useful for solving larger problem instances of problem variant #2 in reduced execution times.
Future lines of research are related to addressing other BSP variants, e.g., explicitly focusing on the perceived waiting times for users, and modeling the real demand for direct trips from real data on ticket sales provided by the transportation system. Multi-objective versions of the problem can be devised, too, by including the explicit optimization of other relevant functions, such as the operation cost of the bus fleet and other quality of service metrics.

Author Contributions

Conceptualization, S.N.; methodology, S.N. and C.R.; software, S.N. and C.R.; validation, S.N. and C.R.; formal analysis, S.N. and C.R.; investigation, S.N. and C.R.; writing—original draft preparation, S.N. and C.R.; writing—review and editing, S.N. and C.R.; supervision, S.N.; project administration, S.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

The work of S. Nesmachnow and C. Risso is partly supported by ANII and PEDECIBA, Uruguay. Authors would like to thank Jonathan Muraña and Renzo Massobrio for assistance in data processing for scenarios generation.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Grava, S. Urban Transportation Systems; McGraw-Hill: New York, NY, USA, 2002. [Google Scholar]
  2. Nesmachnow, S.; Baña, S.; Massobrio, R. A distributed platform for big data analysis in smart cities: Combining Intelligent Transportation Systems and socioeconomic data for Montevideo, Uruguay. EAI Endorsed Trans. Smart Cities 2017, 2, 1–18. [Google Scholar] [CrossRef] [Green Version]
  3. Ceder, A.; Wilson, N. Bus network design. Transp. Res. Part B Methodol. 1986, 20, 331–344. [Google Scholar] [CrossRef]
  4. Hipogrosso, S.; Nesmachnow, S. Analysis of Sustainable Public Transportation and Mobility Recommendations for Montevideo and Parque Rodó Neighborhood. Smart Cities 2020, 3, 479–510. [Google Scholar] [CrossRef]
  5. Ceder, A.; Tal, O. Timetable Synchronization for Buses. In Lecture Notes in Economics and Mathematical Systems; Springer: Berlin/Heidelberg, Germany, 1999; pp. 245–258. [Google Scholar]
  6. Risso, C.; Nesmachnow, S. Designing a Backbone Trunk for the Public Transportation Network in Montevideo, Uruguay. In Smart Cities; Springer: Berlin/Heidelberg, Germany, 2020; pp. 228–243. [Google Scholar]
  7. Massobrio, R.; Nesmachnow, S. Urban Mobility Data Analysis for Public Transportation Systems: A Case Study in Montevideo, Uruguay. Appl. Sci. 2020, 10, 5400. [Google Scholar] [CrossRef]
  8. Nesmachnow, S.; Muraña, J.; Risso, C. Exact and Metaheuristic Approach for Bus Timetable Synchronization to Maximize Transfers. In Smart Cities; Springer: Berlin/Heidelberg, Germany, 2021; pp. 183–198. [Google Scholar]
  9. Eranki, A. A Model to Create Bus Timetables to Attain Maximum Synchronization Considering Waiting Times at Transfer Stops. Master’s Thesis, University of South Florida, Tampa, FL, USA, 2004. [Google Scholar]
  10. Ibarra-Rojas, O.; Rios-Solis, Y. Synchronization of bus timetabling. Transp. Res. Part Methodol. 2012, 46, 599–614. [Google Scholar] [CrossRef]
  11. Ibarra-Rojas, O.; López-Irarragorri, F.; Rios-Solis, Y. Multiperiod Bus Timetabling. Transp. Sci. 2016, 50, 805–822. [Google Scholar] [CrossRef] [Green Version]
  12. Saharidis, G.; Dimitropoulos, C.; Skordilis, E. Minimizing waiting times at transitional nodes for public bus transportation in Greece. Oper. Res. 2013, 14, 341–359. [Google Scholar] [CrossRef]
  13. Salicrú, M.; Fleurent, C.; Armengol, J. Timetable-based operation in urban transport: Run-time optimisation and improvements in the operating process. Transp. Res. Part A Policy Pract. 2011, 45, 721–740. [Google Scholar] [CrossRef]
  14. Daduna, J.; Voß, S. Practical Experiences in Schedule Synchronization. In Lecture Notes in Economics and Mathematical Systems; Springer: Berlin/Heidelberg, Germany, 1995; Volume 430, pp. 39–55. [Google Scholar]
  15. Ceder, A.; Golany, B.; Tal, O. Creating bus timetables with maximal synchronization. Transp. Res. Part Policy Pract. 2001, 35, 913–928. [Google Scholar] [CrossRef]
  16. Fleurent, C.; Lessard, R.; Séguin, L. Transit timetable synchronization: Evaluation and optimization. In Proceedings of the 9th International Conference on Computer-aided Scheduling of Public Transport, San Diego, CA, USA, 9–11 August 2004. [Google Scholar]
  17. Shafahi, Y.; Khani, A. A practical model for transfer optimization in a transit network: Model formulations and solutions. Transp. Res. Part A Policy Pract. 2010, 44, 377–389. [Google Scholar] [CrossRef]
  18. Abdolmaleki, M.; Masoud, N.; Yin, Y. Transit timetable synchronization for transfer time minimization. Transp. Res. Part B Methodol. 2020, 131, 143–159. [Google Scholar] [CrossRef]
  19. Nesmachnow, S.; Muraña, J.; Goñi, G.; Massobrio, R.; Tchernykh, A. Evolutionary Approach for Bus Synchronization. In High Performance Computing; Springer: Berlin/Heidelberg, Germany, 2020; pp. 320–336. [Google Scholar]
  20. Bäck, T.; Fogel, D.; Michalewicz, Z. (Eds.) Handbook of Evolutionary Computation; Oxford University Press: Oxford, UK, 1997. [Google Scholar]
  21. Massobrio, R.; Nesmachnow, S. Urban Data Analysis for the Public Transportation System of Montevideo, Uruguay. In Smart Cities; Springer: Cham, Switzerland, 2020; pp. 199–214. [Google Scholar]
  22. Nesmachnow, S.; Iturriaga, S. Cluster-UY: Collaborative Scientific High Performance Computing in Uruguay. In Communications in Computer and Information Science; Springer: Berlin/Heidelberg, Germany, 2019; pp. 188–202. [Google Scholar]
Figure 1. The considered model for the BSP with expanded transfer zones [blue circle].
Figure 1. The considered model for the BSP with expanded transfer zones [blue circle].
Applsci 11 07138 g001
Figure 2. Graphical representation of BSP variant #1. The offset (in blue) is the control variable, and subsequent departures are separated by a fixed time F i .
Figure 2. Graphical representation of BSP variant #1. The offset (in blue) is the control variable, and subsequent departures are separated by a fixed time F i .
Applsci 11 07138 g002
Figure 3. Graphical representation of BSP variant #2. The offset ( X 1 i ) and headways ( F r i ) (in blue) are the control variables, and departures are separated by variable headway values.
Figure 3. Graphical representation of BSP variant #2. The offset ( X 1 i ) and headways ( F r i ) (in blue) are the control variables, and departures are separated by variable headway values.
Applsci 11 07138 g003
Figure 4. Solution representation for BSP variant #1.
Figure 4. Solution representation for BSP variant #1.
Applsci 11 07138 g004
Figure 5. Solution representation for BSP variant #2.
Figure 5. Solution representation for BSP variant #2.
Applsci 11 07138 g005
Figure 6. Boxplot analysis of parameter configurations for a representative BSP instance.
Figure 6. Boxplot analysis of parameter configurations for a representative BSP instance.
Applsci 11 07138 g006
Figure 7. Comparison of normalized objective function values, grouped by tolerance, for BSP variant #1.
Figure 7. Comparison of normalized objective function values, grouped by tolerance, for BSP variant #1.
Applsci 11 07138 g007
Figure 8. Comparative results of waiting times for the real solution, EA for BSP variant #2 ( α = 0.0), and exact solution for BSP variant #2 ( α = 0.3) in scenario 70.63.100.2.
Figure 8. Comparative results of waiting times for the real solution, EA for BSP variant #2 ( α = 0.0), and exact solution for BSP variant #2 ( α = 0.3) in scenario 70.63.100.2.
Applsci 11 07138 g008
Table 1. Summary of the proposed BSP variants.
Table 1. Summary of the proposed BSP variants.
ProblemDecision VariablesModel (Objective, Constraints)
variant #1 X 1 i (offset)Equations (1)–(5)
variant #2 X 1 i (offset), X s i (headways, within range)Equations (6)–(13)
Table 2. Analysis of the population size.
Table 2. Analysis of the population size.
Average Fitness
ps30.37.30.130.37.50.130.37.70.130.37.90.130.37.100.1
15251.96267.15286.97295.06296.51
25253.78266.50288.01295.45297.48
50253.70271.89287.39295.37297.19
Friedman Rank ( p -Value < 10 3 )
ps30.37.30.130.37.50.130.37.70.130.37.90.130.37.100.1
1532333
2513111
5021222
Best Fitness
ps30.37.30.130.37.50.130.37.70.130.37.90.130.37.100.1
15260.71276.41291.07296.69298.31
25260.94275.33291.72297.95298.46
50262.18273.62290.06296.09298.22
Friedman Rank ( p -Value < 10 3 )
ps30.37.30.130.37.50.130.37.70.130.37.90.130.37.100.1
1531222
2522111
5013333
Table 3. Analysis of the recombination and mutation probabilities in the proposed EA.
Table 3. Analysis of the recombination and mutation probabilities in the proposed EA.
Fitness
id p R p M 30.37.30.130.37.50.130.37.70.130.37.90.130.37.100.1
C10.50.010253.18263.90285.82292.03294.97
C20.50.005263.30274.21293.15298.19298.79
C30.50.001253.99267.70287.67295.56297.06
C40.750.010250.67268.65286.70293.12294.50
C50.750.005262.91276.65291.69296.48298.25
C60.750.001250.32270.05284.09292.87294.89
C70.90.010255.12269.66289.43293.91296.06
C80.90.005260.94275.33291.72297.95298.46
C90.90.001256.80269.87288.57296.71297.45
Friedman Rank
id p R p M 30.37.30.130.37.50.130.37.70.130.37.90.130.37.100.1avg.
C10.500.01798978.0
C20.500.005131111.4
C30.500.001686556.0
C40.750.01877797.6
C50.750.005213432.6
C60.750.001949887.6
C70.900.01564665.4
C80.900.005322222.2
C90.900.001455344.2
Table 4. Summary of results: exact and EA for BSP variant #1.
Table 4. Summary of results: exact and EA for BSP variant #1.
ScenarioEAExactRealEA vs. ExactEA vs. RealExact vs. Real
30.37.100.1265.76265.76245.330.00%8.3%8.3%
30.37.30.1171.12171.12102.880.00%66.3%66.3%
30.37.50.1203.52203.58165.28−0.03%23.1%23.2%
30.37.70.1252.22252.22219.600.00%14.9%14.9%
30.37.90.1260.68260.68245.330.00%6.3%6.3%
30.40.100.0205.68205.68187.570.00%9.7%9.7%
30.40.100.4223.17223.17204.490.00%9.1%9.1%
30.40.30.0131.76132.1382.83−0.28%59.1%59.5%
30.40.30.4143.98143.9898.360.00%46.4%46.4%
30.40.50.0162.15162.17122.31−0.01%32.6%32.6%
30.40.50.4169.66169.66123.830.00%37.0%37.0%
30.40.70.0195.54195.54166.100.00%17.7%17.7%
30.40.70.4208.99208.99179.180.00%16.6%16.6%
30.40.90.0205.68205.68187.570.00%9.7%9.7%
30.40.90.4223.12223.12202.690.00%10.1%10.1%
30.41.100.2247.59247.59224.500.00%10.3%10.3%
30.41.30.2154.11154.2095.89−0.06%60.7%60.8%
30.41.50.2186.95187.35145.39−0.21%28.6%28.9%
30.41.70.2236.50236.50195.470.00%21.0%21.0%
30.41.90.2247.59247.59224.050.00%10.5%10.5%
30.42.100.3231.13231.13211.670.00%9.2%9.2%
30.42.30.3138.83138.8393.270.00%48.8%48.8%
30.42.50.3168.64168.64142.380.00%18.4%18.4%
30.42.70.3212.78212.78187.800.00%13.3%13.3%
30.42.90.3230.98230.98211.120.00%9.4%9.4%
70.60.100.1540.41540.41492.200.00%9.8%9.8%
70.60.30.1332.11333.02211.56−0.27%57.0%57.4%
70.60.50.1404.30406.61310.96−0.57%30.0%30.8%
70.60.70.1509.60509.60435.280.00%17.1%17.1%
70.60.90.1539.53539.53491.700.00%9.7%9.7%
70.62.100.3522.34522.34479.580.00%8.9%8.9%
70.62.30.3306.14309.02207.12−0.93%47.8%49.2%
70.62.50.3388.99389.69321.41−0.18%21.0%21.2%
70.62.70.3486.82486.82417.530.00%16.6%16.6%
70.62.90.3521.82521.82478.460.00%9.1%9.1%
70.63.100.2525.90525.90478.870.00%9.8%9.8%
70.63.30.2332.06334.45200.77−0.55%65.7%66.6%
70.63.50.2405.90405.90316.530.00%28.2%28.2%
70.63.70.2497.84497.84427.210.00%16.5%16.5%
70.63.90.2525.90525.90477.090.00%10.2%10.2%
70.67.100.0487.42487.42440.270.00%10.7%10.7%
70.67.30.0304.60304.85203.81−0.08%49.5%49.6%
70.67.50.0374.91374.98289.39−0.02%29.6%29.6%
70.67.70.0459.73459.93386.96−0.04%18.8%18.9%
70.67.90.0487.42487.42440.270.00%10.7%10.7%
70.69.100.4505.15505.15456.100.00%10.8%10.8%
70.69.30.4322.57322.57209.040.00%54.3%54.3%
70.69.50.4385.63385.63295.160.00%30.7%30.7%
70.69.70.4475.36475.36408.630.00%16.3%16.3%
70.69.90.4504.20504.20454.310.00%11.0%11.0%
110.76.100.2777.19777.19706.180.00%10.1%10.1%
110.76.30.2487.71489.13298.20−0.29%63.6%64.0%
110.76.50.2591.50591.50465.580.00%27.0%27.0%
110.76.70.2731.20731.20631.710.00%15.7%15.7%
110.76.90.2777.06777.06703.900.00%10.4%10.4%
110.78.100.0806.58806.58728.940.00%10.7%10.7%
110.78.100.1826.45826.45752.160.00%9.9%9.9%
110.78.100.3803.13803.13731.610.00%9.8%9.8%
110.78.30.0487.92490.34315.02−0.49%54.9%55.7%
110.78.30.1507.28511.37311.43−0.80%62.9%64.2%
110.78.30.3499.39499.39307.450.00%62.4%62.4%
110.78.50.0606.89610.36461.39−0.57%31.5%32.3%
110.78.50.1623.89623.89467.200.00%33.5%33.5%
110.78.50.3605.72609.60472.20−0.64%28.3%29.1%
110.78.70.0753.93754.26648.61−0.04%16.2%16.3%
110.78.70.1775.14775.14659.510.00%17.5%17.5%
110.78.70.3753.11753.76635.61−0.09%18.5%18.6%
110.78.90.0805.77805.77727.380.00%10.8%10.8%
110.78.90.1824.47824.47751.090.00%9.8%9.8%
110.78.90.3802.42802.42729.990.00%9.9%9.9%
110.83.100.4779.09779.09713.790.00%9.1%9.1%
110.83.30.4501.43501.43305.510.00%64.1%64.1%
110.83.50.4593.89593.89464.880.00%27.8%27.8%
110.83.70.4730.68730.68635.290.00%15.0%15.0%
110.83.90.4778.09778.09711.490.00%9.4%9.4%
Table 5. Exact and EA improvements over the baseline real solutions, grouped by tolerance and problem dimension (number of transfer zones).
Table 5. Exact and EA improvements over the baseline real solutions, grouped by tolerance and problem dimension (number of transfer zones).
EA Over RealExact Over RealEA vs. Exact
λ Δ Instances λ Δ Instances λ Δ Instances
3057.56%153057.96%1530−0.25%15
5028.49%155028.68%1550−0.15%15
7016.79%157016.80%1570−0.01%15
909.79%15909.79%15900.00%15
1009.74%151009.74%151000.00%15
EA Over RealExact Over RealEA vs. Exact
N Δ Instances N Δ Instances N Δ Instances
3023.88%253023.92%2530−0.02%25
7023.99%257024.15%2570−0.11%25
11025.55%2511025.72%25110−0.12%25
Table 6. Summary of results of the exact algorithm for BSP variant #2.
Table 6. Summary of results of the exact algorithm for BSP variant #2.
Scenario#vars#varsCtl#varsBoolBest-SolGAPTime to Solution
30.40.100.077624103676240.4815.01%6533
30.40.30.077624103676231.8015.36%7015
30.40.50.077624103676236.4512.78%6952
30.40.70.077624103676239.7813.84%6487
30.40.90.077624103676240.3113.58%6502
30.40.100.480864183834261.0211.26%1914
30.40.30.480864183834246.1016.24%6822
30.40.50.480864183834251.9114.88%328
30.40.70.480864183834258.5612.69%640
30.40.90.480864183834261.2211.48%272
30.42.100.390534814286266.7813.77%6544
30.42.30.390534814286250.5814.47%6912
30.42.50.390534814286261.8612.01%6606
30.42.70.390534814286265.3612.92%319
30.42.90.390534814286266.5114.40%196
30.37.100.191074354336301.7316.91%6456
30.37.30.191074354336283.6619.13%6562
30.37.50.191074354336294.1418.31%7061
30.37.70.191074354336300.9516.84%6692
30.37.90.191074354336299.5415.92%6553
30.41.100.294354674484279.6119.24%4747
30.41.30.294354674484256.8026.11%375
30.41.50.294354674484271.5520.20%7157
30.41.70.294354674484278.9218.63%267
30.41.90.294354674484277.9519.53%2493
70.67.100.018,4666928887560.7017.97%1972
70.67.30.018,4666928887504.9727.64%7153
70.67.50.018,4666928887533.7321.65%7194
70.67.70.018,4666928887542.9722.29%4448
70.67.90.018,4666928887553.3119.78%7134
70.69.100.419,4087209344579.7717.29%6601
70.69.30.419,4087209344509.9929.70%4178
70.69.50.419,4087209344534.5125.21%3671
70.69.70.419,4087209344566.3819.77%4382
70.69.90.419,4087209344581.4517.21%6980
70.60.100.119,4696599405609.2721.51%7087
70.60.30.119,4696599405539.1933.65%7189
70.60.50.119,4696599405570.2527.76%7119
70.60.70.119,4696599405602.2821.85%7062
70.60.90.119,4696599405614.6720.26%7098
70.62.100.319,6086489480605.5116.38%7084
70.62.30.319,6086489480535.4527.84%7120
70.62.50.319,6086489480573.8121.20%7148
70.62.70.319,6086489480592.8518.51%7033
70.62.90.319,6086489480602.3316.96%7139
70.63.100.219,6676539507598.8620.99%7049
70.63.30.219,6676539507514.1737.05%7152
70.63.50.219,6676539507554.5428.91%7192
70.63.70.219,6676539507594.1121.18%7160
70.63.90.219,6676539507594.7821.66%6979
110.78.100.029,56176314,399891.6425.00%7194
110.78.30.029,56176314,399804.9435.38%7154
110.78.50.029,56176314,399811.5634.99%7177
110.78.70.029,56176314,399896.7522.85%7155
110.78.90.029,56176314,399902.2623.58%7175
110.78.100.129,86179914,531936.7321.63%7164
110.78.30.129,86179914,531791.5940.92%7159
110.78.50.129,86179914,531848.3432.66%7142
110.78.70.129,86179914,531916.9623.12%7166
110.78.90.129,86179914,531920.4123.52%7163
110.78.100.330,37681014,783924.0621.21%7159
110.78.30.330,37681014,783807.2035.26%7174
110.78.50.330,37681014,783857.8228.76%7152
110.78.70.330,37681014,783904.6523.12%7180
110.78.90.330,37681014,783920.3221.23%7142
110.76.100.230,55877214,893886.3021.99%7158
110.76.30.230,55877214,893752.9640.05%7172
110.76.50.230,55877214,893789.5334.76%7116
110.76.70.230,55877214,893852.7525.33%7174
110.76.90.230,55877214,893870.8424.08%7176
110.83.100.430,76285814,952887.7320.74%7139
110.83.30.430,76285814,952744.4440.45%7181
110.83.50.430,76285814,952816.4129.22%7112
110.83.70.430,76285814,952852.2024.63%7054
110.83.90.430,76285814,952887.8320.57%7154
Table 7. Summary of results: exact and EA for BSP variant #2.
Table 7. Summary of results: exact and EA for BSP variant #2.
ScenarioEAExactRealEA vs. ExactEA vs. RealExact vs. Real
30.37.100.1298.79301.73245.33 0.98 %21.8%23.0%
30.37.30.1282.68283.66102.88−0.35%155.9%175.7%
30.37.50.1294.14294.14165.280.00%66.6%78.0%
30.37.70.1300.95300.95219.600.00%33.5%37.0%
30.37.90.1298.19299.54245.33−0.45%21.5%22.1%
30.40.100.0240.48240.48187.570.00%26.8%28.2%
30.40.100.4261.02261.02204.490.00%26.8%27.6%
30.40.30.0223.96231.8082.83−3.38%152.8%179.9%
30.40.30.4234.73246.1098.36−4.62%133.2%150.2%
30.40.50.0233.81236.45122.31−1.12%80.1%93.3%
30.40.50.4247.48251.91123.83−1.76%92.7%103.4%
30.40.70.0239.44239.78166.10−0.14%40.2%44.4%
30.40.70.4258.56258.56179.180.00%41.1%44.3%
30.40.90.0240.31240.31187.570.00%25.7%28.1%
30.40.90.4261.22261.22202.690.00%27.6%28.9%
30.41.100.2279.61279.61224.500.00%23.2%24.5%
30.41.30.2256.52256.8095.89−0.11%150.6%167.8%
30.41.50.2265.18271.55145.39−2.35%76.2%86.8%
30.41.70.2283.15278.92195.471.52%37.7%42.7%
30.41.90.2275.52277.95224.05−0.87%23.0%24.1%
30.42.100.3263.26266.78211.67−1.32%24.4%26.0%
30.42.30.3242.43250.5893.27−3.25%148.0%168.7%
30.42.50.3254.03261.86142.38−2.99%74.1%83.9%
30.42.70.3265.36265.36187.800.00%37.6%41.3%
30.42.90.3266.51266.51211.120.00%24.6%26.2%
70.60.100.1609.27609.27492.200.00%22.9%23.8%
70.60.30.1539.19539.19211.560.00%135.9%154.9%
70.60.50.1570.25570.25310.960.00%70.8%83.4%
70.60.70.1602.28602.28435.280.00%32.9%38.4%
70.60.90.1614.67614.67491.700.00%21.4%25.0%
70.62.100.3605.51605.51479.580.00%24.6%26.3%
70.62.30.3527.03535.45207.12−1.57%135.6%158.5%
70.62.50.3563.79573.81321.41−1.75%64.0%78.5%
70.62.70.3592.85592.85417.530.00%34.3%42.0%
70.62.90.3602.33602.33478.460.00%23.4%25.9%
70.63.100.2598.86598.86478.870.00%23.8%25.1%
70.63.30.2514.17514.17200.770.00%148.7%156.1%
70.63.50.2542.788554.54316.53−2.12%62.9%75.2%
70.63.70.2594.11594.11427.210.00%37.0%39.1%
70.63.90.2594.7594.78477.090.00%22.7%24.7%
70.67.100.0560.70560.70440.270.00%26.2%27.4%
70.67.30.0489.28504.97203.81−3.11%130.4%147.8%
70.67.50.0518.43533.73289.39−2.87%69.1%84.4%
70.67.70.0542.97542.97386.960.00%39.1%40.3%
70.67.90.0552.94553.31440.27−0.07%25.6%25.7%
70.69.100.4579.77579.77456.100.00%26.4%27.1%
70.69.30.4483.19509.99209.04−5.26%122.1%144.0%
70.69.50.4534.51534.51295.160.00%69.7%81.1%
70.69.70.4566.38566.38408.630.00%35.1%38.6%
70.69.90.4581.45581.45454.310.00%26.0%28.0%
110.76.100.2886.30886.30706.180.00%25.5%25.5%
110.76.30.2712.33752.96298.20−5.40%138.9%152.5%
110.76.50.2766.31789.53465.58−2.94%64.6%69.6%
110.76.70.2824.29852.75631.71−3.34%30.5%35.0%
110.76.90.2867.47870.84703.90−0.39%23.2%23.7%
110.78.100.0891.64891.64728.940.00%22.3%22.3%
110.78.100.1936.73936.73752.160.00%24.5%24.5%
110.78.100.3919.12924.06731.61−0.53%25.6%26.3%
110.78.30.0745.54804.94315.02−7.38%136.7%155.5%
110.78.30.1761.42791.59311.43−3.81%144.5%154.2%
110.78.30.3744.56807.20307.45−7.76%142.2%162.5%
110.78.50.0800.06811.56461.39−1.42%73.4%75.9%
110.78.50.1798.96848.34467.20−5.82%71.0%81.6%
110.78.50.3840.01857.82472.20−2.08%77.9%81.7%
110.78.70.0887.16896.75648.61−1.07%36.8%38.3%
110.78.70.1919.96916.96659.51−0.33%39.5%39.0%
110.78.70.3870.30904.65635.61−3.80%36.9%42.3%
110.78.90.0898.51902.26727.38−0.42%23.5%24.0%
110.78.90.1919.59920.41751.09−0.09%42.4%22.5%
110.78.90.3920.32920.32729.990.00%26.1%26.1%
110.83.100.4887.73887.73713.790.00%24.4%24.4%
110.83.30.4715.95744.44305.51−3.83%134.3%143.7%
110.83.50.4861.29816.41464.88−6.75%63.8%75.6%
110.83.70.4829.03852.20635.29−2.72%30.5%34.1%
110.83.90.4879.41887.83711.49−0.95%23.6%24.8%
Table 8. Exact and EA improvements over baseline real solution, grouped by tolerance and problem dimension, for BSP variant #2.
Table 8. Exact and EA improvements over baseline real solution, grouped by tolerance and problem dimension, for BSP variant #2.
EA Over RealExact Over RealEA vs. Exact
λ Δ Instances λ Δ Instances λ Δ Instances
30150.95%1530158.13%1530−3.32%15
5078.06%155082.16%1550−2.26%15
7038.95%157039.79%1570−0.61%15
9025.05%159025.32%1590−0.22%15
10025.23%1510025.47%15100−0.19%15
EA Over RealExact Over RealEA vs. Exact
N Δ Instances N Δ Instances N Δ Instances
3068.28%253070.25%2530−0.89%25
7063.37%257064.84%2570−0.67%25
11058.50%2511063.43%25110−2.41%25
Table 9. Average objective values (normalized by the number of transfer zones), grouped by tolerance, for both problem variants.
Table 9. Average objective values (normalized by the number of transfer zones), grouped by tolerance, for both problem variants.
Problem Variant #1
λ EAExactRealEA/RealExact/RealEA − RealExact − Real
304.674.682.971.571.581.701.72
505.685.694.431.281.281.251.26
707.047.046.031.171.171.011.01
907.477.476.811.101.100.660.66
1007.367.366.611.111.110.750.75
Problem Variant #2
λ EAExactRealEA/RealExact/RealEA − RealExact − Real
307.427.662.972.502.584.454.70
507.888.064.431.781.823.453.63
708.388.436.031.391.402.352.40
908.518.526.811.251.251.701.72
1008.578.596.611.301.301.961.98
Table 10. Average synchronizations for the studied methods.
Table 10. Average synchronizations for the studied methods.
Problem Variant #1
m λ RealEAExact
r l s / l n r l s / l n r l s / l n
301000.4522/00.4422/00.4422/0
30900.4721/10.4622/00.4722/0
30700.5919/30.5421/10.5322/0
30500.8512/100.7616/60.7518/4
30301.333/191.1510/121.1211/11
701000.4639/00.4439/00.4439/0
70900.4739/00.4639/00.4739/0
70700.5933/60.5439/00.5239/0
70500.8524/140.7430/90.7332/6
70301.355/331.1418/211.1420/19
1101000.4849/00.4549/00.4549/0
110900.4947/20.4849/00.4649/0
110700.6140/90.5743/60.5349/0
110500.8728/200.7433/160.7240/9
110301.387/421.1421/281.1024/23
Problem Variant #2
m λ RealEAExact
r l s / l n r l s / l n r l s / l n
301000.4522/00.4422/00.4422/0
30900.4722/00.4622/00.4722/0
30700.5922/00.5422/00.5322/0
30500.8516/60.7619/30.7519/3
30301.333/191.155/161.127/15
701000.4639/00.4439/00.4439/0
70900.4739/00.4639/00.4739/0
70700.5938/10.5439/00.5239/0
70500.8528/100.7435/30.7335/4
70301.355/331.1418/211.1420/19
1101000.4849/00.4549/00.4549/0
110900.4949/00.4849/00.4649/0
110700.6146/20.5748/10.5349/0
110500.8734/140.7441/80.7244/5
110301.387/421.1421/281.1022/27
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Nesmachnow, S.; Risso, C. Exact and Evolutionary Algorithms for Synchronization of Public Transportation Timetables Considering Extended Transfer Zones. Appl. Sci. 2021, 11, 7138. https://0-doi-org.brum.beds.ac.uk/10.3390/app11157138

AMA Style

Nesmachnow S, Risso C. Exact and Evolutionary Algorithms for Synchronization of Public Transportation Timetables Considering Extended Transfer Zones. Applied Sciences. 2021; 11(15):7138. https://0-doi-org.brum.beds.ac.uk/10.3390/app11157138

Chicago/Turabian Style

Nesmachnow, Sergio, and Claudio Risso. 2021. "Exact and Evolutionary Algorithms for Synchronization of Public Transportation Timetables Considering Extended Transfer Zones" Applied Sciences 11, no. 15: 7138. https://0-doi-org.brum.beds.ac.uk/10.3390/app11157138

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