The present invention relates to a method for allocating frequencies of transit services, such as public transportation systems, to a computer system for allocating the frequencies, to electronic displays with dynamically updateable service schedules and to a transportation system comprising a plurality of vehicles implementing the method.
Public transport (e.g., bus, trains, metro, trams) operators need to continuously update service frequencies to cater for changes in traffic conditions and passenger demand in both space and time. Bus services are of particular interest since their significant travel time variations due to road traffic strongly affect their service performance. Bus line frequencies can be adjusted to the passenger travel needs subject to resource capacities while operating under reasonable operational costs. In the public transport planning process, frequency setting follows the design of the bus network and precedes timetable design and vehicle and crew scheduling. Methods to determine bus frequencies are based on either passenger load profile rule-based techniques or on minimizing passenger and operator costs (see Ibarra-Rojas, O, F. Delgado, R. Giesen, and J. Mũnoz, “Planning, operation, and control of bus transport systems: A literature review,” Transportation Research Part B: Methodological, 3 Vol. 77, 2015, pp. 38-75). Common practice in public-transit planning is to determine the service frequency based on accumulated hourly passenger counts, average travel time and vehicle capacity. An example can be found in Hadas, Y. and M. Shnaiderman, “Public-transit frequency setting using minimum-cost approach with stochastic demand and travel time,” Transportation Research Part B: Methodological, Vol. 46, No. 8, 2012, pp. 1068-1084 which presents a frequency setting strategy that utilizes Automatic Vehicle Location (AVL) and Automatic Passenger Counting (APC) data for considering also the (a) empty-seat driven (unproductive cost) and (b) the overload and un-served demand (increased user cost) at the frequency setting optimization problem.
Fan, W. and R. B. Machemehl, Tabu in “Search strategies for the public transportation network optimizations with variable transit demand,” Computer-Aided Civil and Infrastructure Engineering, Vol. 23, No. 7, 2008, pp. 502-520 considered finally stochastic parameters such as demand, arrival times, boarding/alighting times, and travel times. Those works take into account multiple factors for setting the bus frequencies over different time periods of the day which result to static timetables and are the outcome of the tactical planning phase of bus operations (an example is presented in Table 1 considering the simplistic case of a bus operator who operates only four services for demonstration purposes).
In Table 1, the allocated frequency of 6 min. for bus service 1 during the morning peak means that all consecutive bus trips of bus service 1 at that time period are planned to depart from the depot station with a planned headway of 6 minutes. Allocating bus frequencies in an urban area is an exercise of finding a trade-off between multiple bus services (in the range of dozens or hundreds) based on the passenger demand for each bus service and its variation during the day, the travel times of services, the cost of bus operations including the available number of buses and other factors strictly linked to them.
In an embodiment, the present invention provides a method of dynamically allocating frequency settings of a transit service which includes utilizing Automatic Vehicle Location (AVL) and Automated Passenger Counting (APC) data so as to determine travel time and demand variations within a day. Clusters of time periods within the day are formed based on the determined travel time and demand variations and the day is split into the time periods. For each of the time periods for which a new frequency setting will be allocated, frequency allocation ranges are computed within which waiting times at multi-modal transfer stops are reduced and a frequency allocation is selected using criteria including at least a passenger demand coverage and an operational costs reduction. A plurality of frequency setting solutions are computed using a Branch and Bound approach with Sequential Quadratic Programming (SQP) or a sequential genetic algorithm with exterior point penalization. Sensitivity of the frequency setting solutions is tested against different travel time and demand scenarios so as to determine a most operationally reliable frequency setting solution. The most operationally reliable frequency setting solution is provided as the new frequency setting to a command center of the transit service. A timetable of the transit service is updated to include the new frequency setting.
The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.
The present invention will be described in even greater detail below based on the exemplary figures. The invention is not limited to the exemplary embodiments. All features described and/or illustrated herein can be used alone or combined in different combinations in embodiments of the invention. The features and advantages of various embodiments of the present invention will become apparent by reading the following detailed description with reference to the attached drawings which illustrate the following:
In an embodiment, the present invention provides improvements in transportation systems. For example, transport operators are able to request further actions on the frequency settings field for the improvement of (i) bus frequencies' flexibility to the changes on traffic congestion and passenger demand, (ii) the exploitation of frequency settings capabilities on improving bus operations and/or (iii) better use of resources (crew, fleet and kilometres travelled).
In contrast to known solutions, an embodiment of the present invention provides a solution to the frequency setting problem which advantageously takes into account consequences of travel time and demand variability during (a) each single day of the year; and (b) during different time periods within those days. Service reliability is mostly addressed at the operations control phase by re-adjusting planned schedules or applying control measures such as bus holding (see Gkiotsalitis, K. and N. Maslekar, “Improving Bus Service Reliability with Stochastic Optimization” Intelligent Transportation Systems (ITSC), 2015 IEEE 18th International Conference on, IEEE, 2015, pp. 2794-2799). However, the inventors have recognized that consideration of service reliability already at the tactical planning phase can potentially generate solutions that tackle the inherent uncertainty of public transport operations which is particularly high at dense metropolitan areas. In addition, other aspects such as the coordination of bus lines between them and with other mobility services is not addressed during the frequency setting phase even if it can lead later to high passenger waiting time levels at bus transfer stations. Finally, the allocation of different frequencies during different fixed periods of the day (i.e., morning, afternoon, evening) does not offer enough granularity for exploiting fully the utilization of resources (crew, fleet and kilometres travelled). According to an embodiment of the invention, a system including an automated bus dispatcher for tackling those issues is presented in
As shown in
In an embodiment, the present invention provides a method for dynamically setting the frequencies of transit services in a city network with a specific focus on bus services for which the operational travel time variations are more significant. Demand/travel time patterns of each bus service in the city network can be considered together with individual level information from cellular/social media data or higher-level information regarding traffic disruptions, events, etc. to dynamically split the day into different time periods and allocate the frequencies of buses within those periods achieving a better utilization of resources (vehicles, crew). Coordination with other emerging mobility services can also considered by allocating frequencies that reduce the waiting times of passengers at transfer points between bus and other mobility services. Finally, operational variations can be taken into consideration by allocating frequencies based on operational reliability. By doing so, the allocated frequencies are less susceptible to travel time/demand variations during daily operations.
According to an embodiment of the present invention, an automated dynamic splitting of time periods of different days based on demand/travel time variation probability distance of all bus services is performed for allocating different frequencies at those periods. This means that different days might be split in different time periods as presented in
Let Tl={Tl
However, the initial cluster is populated in a sequential manner with more elements. Following the sequence, travel time and the passenger demand variance of all bus lines are calculated after considering the second time instance:
This procedure continuously considers at each sequence the 3rd, the 4th the 5th etc . . . time instances. The 1st cluster is closed and is not accepting more time instances when at one sequence (e.g., the 5th time instance) the travel time variance is bigger than a pre-defined travel time variance threshold value (TTV) or the passenger demand variance is bigger for the first time than a pre-defined threshold value (PDV). The threshold values for the acceptable travel time variance, TTV, and the passenger demand variance, PDV, ensure that the travel times and the passenger demand within the cluster are homogeneous and have, at the worst case, variance equal to the TTV and PDV values. The time period of the 1st cluster then is the time difference between the 1st and the 4th time instance since the 5th time instance violated one of the variation threshold values.
After closing the 1st cluster, a 2nd cluster is started and its first member is the time instance that violated the TTV or the PDV threshold (in our example, the 5th time instance). This cluster is populated with time instances again in a sequential manner until again one of the threshold values of TTV or PDV are violated. Then, the 2nd cluster is closed and a 3rd one is started and the procedure continuous until we reach the final time instance of the day (time instance z). Results of the split of one day into clusters (time periods) are presented in
As shown in
In another embodiment, electronic devices, such as displays, are provided for placement at individual transit stops. Such devices can replace the known static paper-format timetables at bus stations. Those electronic devices are specially adapted to utilize the method according to an embodiment of the present invention or receive update instructions from a central computer system implementing the method in order to dynamically display updated travel frequencies and/or connections. In other words, such devices can be updated to show the expected bus frequency for every time period of the day, for example, such that a passenger can be informed from the beginning of the day about the time period splits within the day and the bus frequency allocated to each bus service at the city network. For instance, if one station is served by three bus services, as in
In contrast to known methods for frequency allocation which simply consider criterion from the standpoint of the fundamental trade-off between passenger satisfaction and operational cost reduction, an embodiment of the present invention provides that coordination criterion (such as demand coverage, reduction of costs (kilometers traveled and utilized buses), passenger waiting times at stations, occupancy levels, overloads etc.) are considered by giving preference to frequency settings that not only achieve a trade-off between passenger demand and operational costs, but also improve the transfer waiting times of passengers who are willing to perform a multi-modal journey (e.g., (a) transfer from a bus service to another mobility service such as car sharing, and vice versa; (b) transfer from a bus service to another bus service; and/or (c) transfer from a bus service to a train service, and vice versa). The latter criterion reduces specifically the total travel time of passengers' multi-modal journeys and improves the integration of bus with other emerging mobility services by mitigating the wasted waiting times issue during mode transfers.
For performing the foregoing procedure according to one embodiment, a multi-criteria objective function is provided which considers the foregoing priorities. Different priorities, such as the demand coverage, might have higher value for the bus operator. For this reason, weight factors are provided that give more importance to some criteria at the expense of others, for example according to the bus operators' preferences. Therefore the frequency setting optimization problem over a time period of one day can be expressed as:
where fp(x1, . . . , xn) is the scalar objective function for time period p that has multiple priorities such as the coverage of passenger demand, reduction of operational costs, reduction of passenger excess waiting times and improvement of services coordination in the form of transfer waiting times. The objective is to find the optimal frequency for each bus service x1, . . . , xn operating within this time period by minimizing this objective function where all priorities have a different weight factor W1, . . . , W4 which can be determined based on the preferences of the bus operators in the city.
At some day periods, the inventors have recognized that the coordination weight, W4 might have too limited importance to the frequency allocation (e.g., even if the W4 value is too high, the allocated frequencies does not change significantly), while at other day periods each small change to weight W4 might lead to objective function, fp(x1, . . . , xn), over-penalization and significant inefficiencies on covering the passenger demand and reducing the operational costs only for having small improvements at transfer waiting times. Therefore, in an embodiment, the present invention re-optimizes the frequency allocation problem for different values of weight W4 for identifying the frequency allocation sensitivity to weight factor W4 changes. In this way, different value regions (“envelops”) are located within which the frequency allocation remains the same or generally stable subject to changes to the W4 values. For instance, in the simplified case of two bus services, those regions after successive re-optimizations of the objective function subject to different W4 values are presented in
Those weight factor ranges can be particularly important to the service operator because they offer information about how much to value the transfer time reduction for not over-penalizing the service operations (running costs/demand coverage).
According to an embodiment of the present invention, the method does not stop after finding the optimal frequency for each bus service within the examined time period, but rather moves a step further by ignoring the optimal solution if it does not perform well in real-world operations. The optimal frequency setting and the optimal frequencies selected according to known approaches focus on finding the best trade-off between passenger demand coverage and operational costs for allocating resources in an optimal way. However, the inventors have recognized that this approach might return a solution which is too sensitive to operational changes. For example, the planned optimal frequency setting allocation might not yield a good performance on the field even in the case of the slightest disruptions of the real-world operations (e.g., slight traffic or passenger demand differences from the expected traffic/demand). To tackle this dynamicity, an embodiment of the present invention moves a step further and identifies the most reliable solution, which is preferably the first solution close to the optimal one that is stable against operational changes. However, for performing such action, multiple solutions of the frequency allocation problem are preferably computed for identifying those sensitivities.
The frequency allocation problem modeled as a minimization problem of a scalar objective function is in practice computational intractable due to the nonlinear form of the objective function and the presence of several nonlinear constraints such as the constraint of the total number of buses (i.e., allocated frequencies should ensure that the required buses are always less or at most equal to the total number of available buses). If any bus service can have a frequency from the range {2, 4, 5, 7, 8, 9, 10, 12, 15, 20, 30, 45, 60} minutes, which is a typical set of bus frequencies and a city has 100 bus services, then 13100=2.479E+111 computational operations are required for allocating the optimal frequency at each service. Exact numerical optimization for non-linear programming such as Sequential Quadratic Programming (SQP) or Augmented Lagrangian coupled with discrete optimization techniques such as Branch and Bound also fail to compute the global optimum solution in such a rapid manner. Also, the identification of the frequency setting allocation sensitivity to operational changes requires the computations of dozens or hundreds of solutions which can be considered prohibitive in some situations due to the severe computational time costs.
To address these complexities, an embodiment of the present invention advantageously introduces a sequential genetic algorithm based on exterior point penalization for approximating the most reliable (less susceptible to operational changes) frequency allocation of bus lines with polynomial computational cost instead of exponential. At a first step, we utilize a penalty for all constraints, cp(x1, . . . , xn), and we replace the objective function, fp(x1, . . . , xn), with a penalty function Pp(x1, . . . , xn) that approximates the constrained optimization problem with an unconstrained one:)
min Pp(x1, . . . , xn)=fp(x1, . . . , xn)+W*max(0; cp(x1, . . . , xn))2
where cp(x1, . . . , xn) is the value of the constraints for the frequency allocation x1, . . . , xn and is greater than zero if constraints are not satisfied and lower or equal to zero if constraints are satisfied. The term W*max (0; cp(x1, . . . , xn))2 penalizes all non-satisfied constraints without penalizing any unsatisfied constraint and the weight factor W secures that satisfying all constraints is more important than minimizing the objective function fp(x1, . . . , xn).
If at a time period where it is needed to set the bus frequencies of n=50 bus services, then the unknown frequency setting of each bus service is represented by the descriptive variables x1, x2, . . . , x50. First, a set x′={x′1, x′2, . . . , x′50} is introduced where each one of the frequency setting values x′1, x′2, . . . , x′50} takes a totally random value from the {2, 4, 5, 7, 8, 9, 10, 12, 15, 20, 30, 45, 60} minutes which contains all possible bus frequencies in practical applications. Then, a second set x″={x″1, x″2, . . . , x″50} is introduced where again each x″1, x″2, . . . , c″50 value is a totally random value from the {2, 4, 5, 7, 8, 9, 10, 12, 15, 20, 30, 45, 60} minutes. A third set x′″={x′″1, x′″2, . . . , x′″50} is introduced in the same way. The, sequential crossover is performed in which the penalty function is computed for the randomly chosen service frequencies x′: f(x′) and x″: f(x″) and the one with the minimum penalty function score is selected as the best one. It is assumed for now that this is x″: f(x″)). Then, the weak solution is x′: f(x′). After that, one element is selected from random set x′″={x′″1, x′″2, . . . , x′″50} (for this example, x″2 is selected) and it is determined whether f(x′″={x′″1, x′″2, . . . , x′″50} value is reduced if x′″2 is replaced with the second element of set x′: x′2 or the second element of set x″: x″2. If it is indeed reduced, then x′″ is updated by replacing its second element with the one from the other two sets which reduced f(x′″) the most. A small probability (e.g., 10% mutation rate) that x′″2 takes another value from the set {2, 4, 5, 7, 8, 9, 10, 12, 15, 20, 30, 45, 60} minutes can be allowed instead of trying only the values from the other sets (in this example, the x′2 and x″2 sets). Then, after having finished with searching replacements of x′″2 for reducing the objective function score of x′″, the same procedure can be continued for all elements x′″1, x′″2, . . . , x′″50. If at any point the score of f(x′″) is lower than the score of the weak solution which was assumed as the set x′, the whole set x′ is replaced with x′″. By doing so, sets x′, x″ update continuously their frequency setting values by finding new frequency settings that improve further the objective function ƒ until a point is reached where further improvements are not possible. At this point, the mutation probability of x′″2 is increased taking a value from the set {2,4,5,7,8,9,10,12,15,20,30,45,60} minutes (e.g., from 10% to 70%) in order to explore other parts from the solution space. If still no improvement is observed, an approximate global minimum is reached which is a close approximation to the optimal solution of the multi-objective frequency setting problem. The approximate global optimum satisfies all constraints if the continuous reduction of the penalty function score reached a point where the penalty function and the objective function scores had equal values as shown in
The foregoing procedure can be performed, for example in accordance with the following pseudocode:
Accordingly, the solution computation is rapid and multiple computations of optimal solutions can be performed by trying every time new potential demand/travel time scenarios and selecting a close to optimal solution which is less susceptible to demand/travel time changes during real-world operations as the preferred frequency allocation. Thus, embodiments of the present invention significantly reduce the above-described computational time costs which would otherwise be necessary, thereby resulting in a system that not only requires less computational resources to allocate frequencies in a more effective manner, but actually can be performed dynamically. Moreover, even using such reduced computation resources, stability against operational changes can also be provided dynamically as often as the updates are desired.
Accordingly, an embodiment using the genetic algorithm with penalization is much faster than the Branch and Bound with SQP thanks to its specific sequential structure and the very small number of population generators that enable the computation of an approximate optimal value in seconds. This, allows its use several times for evaluating different frequency allocation scenarios and selecting the most operationally reliable one. On the other hand, the Branch and Bound with SQP has higher convergence to the optimal solution, but is better suited for use in smaller networks because it is slower and does not scale up as well. Accordingly, the embodiments provide different benefits and effect different improvements to the functioning of the computer system.
Further, in an embodiment of the present invention, network-level mobility patterns and expected disruption levels are utilized for setting the bus frequencies of future days by mining novel data sources such as smartphone/web data instead of merely considering solely historical AVL/APC data. The utilized data is both qualitative and quantitative and can come from individual users, via cellular or social media generated data, and/or from a more aggregated level indicating road works, demonstrations, city events, etc. This data is utilized to capture with higher accuracy the demand/travel time patterns of future days and perform a higher granularity split of those daily periods.
Advantages and improvements provided by embodiments of the present invention include:
According to an embodiment, the method for allocation of dynamic frequency setting of bus and/or other transit services that change from day to day and are less susceptible to operational changes comprises:
Embodiments of the present invention can utilize, and/or the setting of frequencies can be verified, using General Transit Feed Specification (GTFS) data.
In the following, a further embodiment is described which focuses on the Branch and Bound and SQP approach, but this discussion is also relevant the embodiment using the sequential genetic algorithm discussed above, especially with regard to an example using Stockholm bus lines for which results are presented for both embodiments (see
Let us assume a bus network with L={1, 2, . . . , L} bus lines and S={1, 2, . . . , S} bus stops. Let also a series of vectors St={1, 2, . . . , St} denote the bus stops belonging to each bus line l ∈ L where the bus stops of each line are arranged in a consecutive order starting from the departure station. Service frequency (departure per hour) of line l is defined by the planned headway: ft=60/hl,planned. Due to service variability, actual headways may deviate from the planned headway. hl,j is also the headway of bus line l at stop j ∈ Sl.
The travel time on each line segment varies from time to time. For this reason, the total travel time value of a line tttl90th is introduced for which there is only a 10% chance for a bus trip of line l to require more travel time than that (according to historical data). Discarding layover and recovery times, the number of buses necessary for operating l can be approximated as follows:
However, the total number of trips assigned to every line should be at most equal to the total number of buses available at the network level:
Σl∈Lql≦γ (2)
where parameter γ corresponds to the total number of available buses and is a positive integer. For the objective function of the frequency setting problem, three key components are considered. First, the passenger-related waiting cost at each stop j ∈ Sl. For a time period with homogeneous boarding levels bl,j at each bus stop j and the selected bus frequency which determines also the bus headway at the stop j:
where hl,j/2 is the planned waiting time at stop j assuming random passenger arrivals at the stop. In this example, the frequency setting problem is considered in the context of high-demand urban areas. Therefore, the frequencies for all lines are sufficiently high so that passengers do not coordinate their arrival with vehicle arrivals (e.g., at least four departures per hour).
Second, the impacts of expected service reliability are considered. In the context of urban bus systems, service variability resulting from road congestion and passenger volumes is an important determinant of passenger waiting time. The excessive waiting time associated with service irregularity is expressed in terms of expected waiting time variation due to headway variance:
O
2
=w
l,j
×b
l,j
+w
l,j
×c
l,j (4)
where wl,j is the expected waiting time variation at stop j ∈ Sl. The expected waiting time variation cost is decoupled because the cost of an unexpected waiting time is experienced as delay and therefore has a more negative impact to passengers than the anticipated waiting time. In addition, in high frequency bus operations in metropolitan areas such as London and Singapore where the reliability operational scheme is adopted (instead of punctuality), the waiting time variances from the planned waiting times at stations have the most importance and penalties/bonuses can be allotted to bus operators according to their adherence level to the planned waiting times. The penalty/bonus monetary costs have different weights at different stops since some bus stops on the network are more important than others (e.g., feeder stations); thus, every stop receives a different bonus/penalty weight cl,j.
Finally, the frequency setting objective function includes the operation costs which can be expressed in terms of vehicle hours:
O3=qltttl90th (5)
This cost component includes variable costs such as driver and technical staff, energy consumption and maintenance costs. Additional terms refer to the number of buses that are needed in order to perform the operations:
O
4=δ×(γ−Σl∈Lql) (6)
where δ is the cost of operating an extra bus estimated using the depreciation cost. The latter term is required in order to ensure that solutions deploying fewer buses than the fleet size available will be part of the Pareto front.
The importance of each one of these four objectives (O1, O2, O3, O4) on the overall bus frequency setting objective function can depend on an operator's management preferences and the operational context (e.g., if reliability is more important, then O2 has a higher weight; whereas, if operation costs are critical, then O3 weights more). Weighting factors can be determined based on passenger and operator cost estimates (e.g., value of time, fixed and variable cost units). In the following, a single-objective function is described assuming that these weighting factors are specified, establishing trade-offs between compensatory objective function components:
subject to:
where alphas are the cost parameters. The number of buses allocated to each line, ql for l ∈ L, is an integer value and the planned headway hl,planned among buses at the departure station can be selected from a pre-determined admissible set of values hl,planned ∈ {2, 3, 4, 5, 6, 7 1/2, . . . , 45, 60} in order to adhere to the cyclic bus timetable design requirement.
By considering the variations from the planned waiting time at stations due to the travel time variation, the frequency setting problem is formulated considering also the impact on service reliability. The waiting time variability wl,j of bus line l at station j ∈ Sl is a function of the observed headway variability at station j. For instance, if for each bus line l at station j ∈ Sl there exists a total number of K headway observations from historical data, {ĥl,j,1, ĥl,j,2, . . . , ĥl,j,K}, between consecutive bus trips; then, wl,j is expressed as:
where
is the observed headway variation at station j and ĥl,j={ĥl,j,1, ĥl,j,2, . . . , ĥl,j,K} the headway observations for bus trips of bus line l at station j derived from historical data. Finally,
Replacing the waiting time component, wl,j, the frequency setting problem takes the following form:
where
is the smallest integer greater than or equal to the computed number of buses for each line
Finding the optimal frequency for each bus line f1 is a combinatorial problem since any changes in the planned headway of a single bus line affects all other lines; thus, requiring the exploration of an exponential number of combinations |q|L for calculating the optimal solution when examining the entire space with simple enumeration (brute-force). For each combination of planned headways, the value of the objective function has to be calculated and this requires a total number of 2Σl=1LS1|q|L computations where |q| is the length of the discrete set q from which a planned headway value can be selected. Due to the exponential time complexity, the problem is computationally intractable and allows an optimal solution search only on small networks with few bus lines.
In more detail, the optimization problem is a constrained Integer Non-Linear Problem (INLP). The objective function is fractional and there is a fractional inequality constraint. In addition, the decision variables can be denoted by the vector h=(h1, h2, . . . , hl)T where each hl,planned=hl takes a value from the discrete set q. In the following, embodiments of the invention which solve this optimization problem are described.
According to an embodiment, a Branch and Bound method is adopted for solving the discrete INLP frequency setting problem by solving a series of relaxed, continuous INLP sub-problems.
First, the discrete INLP problem of Equation (9) is transformed into the continuous INLP problem of Equation (10) by allowing the problem variables to be real numbers. The discrete set of ({2, 3, . . . , 60}minutes) is now used to set boundary constraints. Thereafter, the method of SQP is selected for solving the continuous frequency setting problem:
where z: L→
is the scalar objective function and constraints c2, . . . , c2L+1 are the boundary constraints ensuring that all h values are within the limits {2−60}. The set of inequality constraints is l={1, 2,3, . . . , 2L+1} and the total number of constraints is m=2L+1.
SQP generates new iterates of an initial guess variable hl=0 by solving inequality constraint Quadratic sub-problems (QP) at each iterate k. The SQP solution method is models the current iteration of solution hk by a quadratic programming QP sub-problem and then uses the minimizer of this sub-problem to define a new iterate hk+1 until convergence.
In the case of inequality constraints and given that z and each constraint ci are continuously differentiable at a point hk, then if hk is a local optimum and the regularity conditions are satisfied at this point there is a Lagrange multiplier vector λk with m elements such that the first order necessary Karush-Kuhn-Tucker (KKT) conditions are satisfied:
Stationary Δh (hk, λk)=0
Primer Feasibility ci(hk) ≧0, ∀i ∈ I={1, 2, 3, . . . , 2L+1} (11)
Dual Feasibility λk,i≧0, ∀i ∈ I
Complementarity λk,ici(hk)=0, ∀i ∈ I
where:
(h, λ)=z(h)−Σi∈Iλici(h) (12)
is the Lagrangian function :
L+m→
of the constrained INLP and at the initial iteration, an initial guess of the Lagrange multipliers λk=0 is also provided.
To model the current iterate solution hk by a quadratic programming QP sub-problem and then use the minimizer of this subproblem to define a new iterate hk+1 until convergence, a linearization of the constraints is provided since QP problems tackle only linear constraints. This can be modeled by using the current iteration values of the vector hk and the Lagrange multiplier λk for finding the minimizer p which is a vector of L elements by solving the following QP sub-problem:
where J(h)T=[Δc1(h), Δc2(h), . . . , Δcm(h)] is the Jacobian matrix of the constraints vector and Δhh2(hk, λk) is the Hessian matrix of the Lagrange function. After solving the above inequality QP problem, the iterate values are updated (hk+1, λk+1)=(hk+pk, λk+1) where pk and λk+1 are the solution and the corresponding Lagrange multiplier of the inequality QP. Iterations then continue until convergence with convergence criterion the step direction stagnation (e.g., reach at an inequality QP sub-problem where its solution returns pP={0, . . . , 0} which indicates that there is no better direction than the current one).
In order to find the optimal solution of the discrete optimization problem where h values belong to the set q={2, 3, 4, . . . , 60} minutes, a Branch and Bound method is employed. The search space consists of all combinations of elements in the set q={2, 3, 4, . . . , 60} from which the planned headways of all bus lined L in the network can take their values. Brute-force cannot be applied even for a mid-sized bus network. The Branch and Bound method progresses by selecting the node in the tree that has the lowest bound value and solving the restricted continuous frequency setting INLP using SQP by introducing additional equality constraints that dictate a number of continuous variables h to be equal to their already assigned integer values for this node.
The solution of the restricted continuous INLP with {h1, . . . , hg} already assigned variable values from set q is to bound this node because if branching continues from this node the newly generated sub-problems would return inferior objective function values. Hence, after each Branch and Bound iteration, entire subspaces are discarded for which it has been determined that they cannot contain the optimal solution. For example, if there are no continuous values of the problem variables that can solve this restricted problem, there would also not be any discrete values that provide a feasible solution.
If after a number of Branch and Bound iterations a node is obtained at which all variables h have assigned discrete values from the set q, then a first possible solution of the discrete INLP is obtained. If, later on, another possible discrete solution of the INLP is found with a lower objective function value, then this becomes the currently chosen discrete INLP solution and the procedure continuous until the branching possibilities have been exhausted.
The frequency setting method according to this embodiment using Branch and Bound with SQP was applied to a case study network in Stockholm, Sweden. For deriving the planned schedules of bus routes, a data processing module for converting GTFS data from .txt formal to sql databases was developed in Python. This facilitates data queries and enables the development of web-based applications providing a front-end to the operational control team or command center. The study area is the bus network of central Stockholm which contains 17 bus lines, L={1, 56, 50, 61, 59, 53, 66, 77, 3, 69, 73, 72, 55, 2, 65, 74, 4}.
First, two lines are selected for detailed analysis in order to enable the enumeration of all solutions and benchmark the proposed approach against brute-force. Second, we apply our method to 17 lines operating in Stockholm inner-city to test its scalability and performance for a real-sized network.
In this example, a small-scale bus frequency setting demonstration uses data from bus lines 1 and 3, two high demand bus lines in the case study network. Detailed AVL and APC data are available for these lines for a three months period, from August to December 2011. Line 1 connects the main eastern harbor to a residential area in the western part of the city through the commercial center. Line 3 serves as a north-south connection through Stockholm's old city, connecting two large medical campuses. The datasets contain a total number of 1,434 trips and the travel times of each line (per direction) are expressed as mean±standard deviation are presented in Table 2. Table 2 presents also the total number of boarding passengers per line per direction and the 90th percentiles of the total round trip travel times.
The planned headway variables are denoted for each line as h={h1, h2} and the bus stations of the bi-directional line 1 are S1={1, 2, 3, 4, . . . , 65} and of line 3 are S2={1, 2, 3, 4, . . . , 51}. For the time period 8:00am-2:00pm, there are homogeneous passenger boarding levels at every bus station which are represented by the mean values: {bl,1, . . . , bl,65 } for bus line 1 and {bl,1, . . . , bl,51} for bus line 3.
Finally, assuming equal importance of all components of the objective function, the weight factors have the following values: δ=80, a1=1, a2=1, a3=1 and the total number of available buses for serving those two bus lines is based on the current fleet size of γ=44. For this small-scale experiment, an exact frequency setting solution can be computed with simple enumeration after |q|L=196 computations. The result of this optimization is presented in
The continuous frequency setting INLP is solved with the SQP algorithmic framework returning solution h*=5.663499, 6.381402 which is the lowest bound of the discrete INLP with z(h*)=5666.51. After three branching iterations presented in
In
The impact of the optimal solution on passengers and the bus operator is investigated by comparing its implications to the current service as well as examining solutions yield for different weight compositions. The average frequencies used in practice in the operations of the demonstration lines are (h1, h2)=(6, 6) minutes, which can be considered as the base case scenario.
Starting from the do-nothing scenario, a one-at-a-time analysis is performed of passenger and bus operator gains by computing the different frequency allocation sets that optimize the i) waiting time variability by setting all other weights to zero: a1=a2=a3=0; ii) the stop-level passenger demand coverage by setting a2=0, a3=0,
iii) the operational (running) costs by setting a1=0, a3=0,
and iv) the number of used buses by setting a1=0, a2=0,
For the scalability and algorithmic convergence tests, the simple enumeration results were compared against i) the Branch and Bound technique with continuous sub-problem optimization with SQP and ii) the sequential genetic algorithm solution method, as shown in
The scalability/convergence tests include bigger parts of the central bus network of Stockholm progressively starting from two bus lines and moving up to the seventeen bus lines of
This metaheuristic multi-start strategy was implemented also for the continuous INLP solutions of
The computational performance tests were implemented on a 2556 MHz processor machine with 1024 MB RAM. For the simple enumeration method, only results from 6 bus lines were able to be computed due to the computational complexity and memory exhaustion. For instance, optimizing the entire central bus network of Stockholm requires |q|L=1417=3.0491347E+19 computations with simple enumeration or 21,461,187 years. In contrast, the proposed Branch and Bound multi-start strategy returns a solution in 55 minutes. This computational time demonstrates its applicability as part of the tactical planning routine. In
In addition,
For the remaining test-case scenarios of {10,12,15,16,17} bus lines, the level of convergence cannot be necessarily confirmed because simple enumeration cannot be used to validate that the Branch and Bound solutions and the discrete sequential genetic algorithm solutions are the global minimizers. The Branch and Bound solution method managed though to compute planned headway solutions that improved the objective function score 0-18% more than the discrete sequential genetic algorithm solutions.
These results from a real-size network demonstrate that the solution methods according to embodiments of the invention converged to the global optimum and had the same accuracy as brute-force on small-sized bus networks. While sequential genetic algorithm has significantly decreased computational costs, as discussed above, the proposed Branch and Bound method can obtain ˜10% higher accuracy in larger-scale scenarios.
As discussed above, historical AVL and APC data were utilized from two bi-directional bus lines in central Stockholm to set the bus frequencies based on several parameters (passenger demand coverage, waiting time variability at stop level, operational costs, cost of utilizing extra buses) by assigning weight factors to them. Studying the sensitivity of the frequency setting solution, the weight factor values of the problem parameters were changed and new frequency setting solutions were re-computed. The analysis showed that, regardless of the criteria used, optimal frequencies were within the range of {4, 10} minutes in this case study. Finally, ranges were computed within which the frequency setting solution does not need to change even if the service operator changed the values of weight factors of some parameters such as passenger demand coverage and waiting time variability.
Embodiments of the present invention can be used for tactical frequency setting by considering the variabilities during bus operations and/or for identifying the weight factor values range that does not affect each proposed frequency setting solution, thereby allowing the service operator to select solutions that are less sensitive to weight factor changes.
While the method described above determines the frequency for each line separately, assuming that vehicles run back and forth on the same route, information on deadheading, can be used in an embodiment to enhance the fleet allocation flexibility which is especially advantageous in case of strongly directional (i.e., asymmetric) demand. Also, in another embodiment for systems where on-board crowding is an important concern, an additional term can be added to the objective function to penalize heavily-loaded vehicles in order to aim for a fleet distribution that will result with a more equal on-board crowding across the network.
In other embodiments, more constraints can be included, such as the availability of bus drivers together with the associated costs and the analysis of weight factor values based on bus operators' preferences.
The frequency settings determined according to embodiments of the present invention can be used by the devices in the command center to centrally change the frequencies and alert the operators of any changes. New settings can be applied, for example, to online timetables, smartphone applications with access to such timetables and electronic displays, for example, at transit stops. Individual notifications can also be sent to users, for example those users known to be effected by any new transit frequencies. Embodiment of the present invention relate to the command center being configured to implement the methods according to embodiments of the invention, and to electronic displays of timetables which are controlled by the methods/command center, and are thereby dynamically updated.
While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive. It will be understood that changes and modifications may be made by those of ordinary skill within the scope of the following claims. In particular, the present invention covers further embodiments with any combination of features from different embodiments described above and below. Additionally, statements made herein characterizing the invention refer to an embodiment of the invention and not necessarily all embodiments.
The terms used in the claims should be construed to have the broadest reasonable interpretation consistent with the foregoing description. For example, the use of the article “a” or “the” in introducing an element should not be interpreted as being exclusive of a plurality of elements. Likewise, the recitation of “or” should be interpreted as being inclusive, such that the recitation of “A or B” is not exclusive of “A and B,” unless it is clear from the context or the foregoing description that only one of A and B is intended. Further, the recitation of “at least one of A, B and C” should be interpreted as one or more of a group of elements consisting of A, B and C, and should not be interpreted as requiring at least one of each of the listed elements A, B and C, regardless of whether A, B and C are related as categories or otherwise. Moreover, the recitation of “A, B and/or C” or “at least one of A, B or C” should be interpreted as including any singular entity from the listed elements, e.g., A, any subset from the listed elements, e.g., A and B, or the entire list of elements A, B and C.
This application claims priority to U.S. Provisional Patent Application No. 62/369,232, filed on Aug. 1, 2016, which is hereby incorporated by reference in its entirety herein.
Number | Date | Country | |
---|---|---|---|
62369232 | Aug 2016 | US |