Bus distribution method under completely crowded condition
By introducing hyperpath structure and gradient projection algorithm, the problem of low computational efficiency of bus balanced assignment model in large-scale networks is solved, realizing efficient path strategy solution and detailed passenger path analysis.
Patent Information
- Application Number
- CN202511621085.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-07
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2045-11-07
AI Technical Summary
Existing public transport equilibrium allocation models are computationally inefficient in large-scale networks, require numerous iterations, have low accuracy, and cannot retain complete information on passenger route selection behavior, making it difficult to meet the actual needs of public transport system analysis and optimization.
A hyperpath structure is introduced to express passenger travel strategies, which are reconstructed into a monotonic VI sequence. A hyperpath traffic loading algorithm is constructed through gradient projection to solve the equilibrium state of the public transport network and obtain the complete traffic distribution.
It improves iteration efficiency, enhances path interpretability and path tracing capabilities, and significantly outperforms existing MSA benchmark algorithms, enabling it to output passenger path strategies quickly and accurately in large-scale networks.
Smart Images

Figure CN121075162A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of public transport network design technology, and in particular to a method for bus allocation under conditions of complete congestion. Background Technology
[0002] The public transport equilibrium allocation model is a core module in public transport network design and operation analysis. It is used to predict passenger route selection behavior and estimate passenger flow distribution across different route segments. In public transport network design, the equilibrium allocation problem for completely congested public transport aims to determine the distribution of passenger flow within the network based on route service frequency (used to predict passenger route selection behavior and estimate passenger flow distribution across different route segments). Passenger route selection is fundamentally influenced by the congestion effects at nodes (i.e., bus stops) and boarding arcs (i.e., route segments) within the transport network. Passengers experience waiting times at stations, and additional queuing delays occur when demand exceeds vehicle capacity. Simultaneously, passengers on the bus bear the costs of congestion due to decreased comfort and extended travel times. The equilibrium state is such that no passenger can reduce their generalized travel costs by unilaterally changing their route selection.
[0003] Therefore, the balanced distribution of fully congested public transport is often regarded as a core component of long-term public transport network planning models, providing key support for strategic decisions such as service design, infrastructure investment, and network optimization.
[0004] In the research and development of balanced allocation of fully congested public transport, DeCea (1993) first proposed the concept of effective departure frequency to characterize the decrease in line frequency caused by boarding congestion, and attempted to solve it by diagonalization method. However, this method is only applicable to partially congested cases that depend on nominal frequency and does not consider strict capacity constraints, so it may produce solutions that exceed the line's carrying capacity.
[0005] Cominetti (2001) further utilized queuing theory to describe the station's flow-based waiting process, modeling the fully congested TEAP as a destination-based fixed-point problem of boarding arc flow, and proved the existence of a solution, but did not propose a specific algorithm. Cepeda et al. (2006) reconstructed this model into a non-convex, non-differentiable gap function optimization problem, and for the first time used the successive mean averaging (MSA) method for heuristic solution, proposing that when the flow exceeds the capacity, the effective frequency should approach zero to prevent oversaturation. Codina (2013) further transformed this model into an equivalent variational inequality (VI) problem in the boarding arc flow space, and proved the existence of an equilibrium solution. Recently, Ren (2021) and Tian (2021) extended the fully congested TEAP to the path segment framework, expanding the research direction for the model's application. However, existing solutions are still mainly frequency-driven models based on MSA. Although these models are simple in form and easy to implement, they have significant limitations at the algorithmic level: on the one hand, the pre-defined monotonically decreasing step size can lead to update vanishing in the later stages of iteration, resulting in slow convergence (Bar-Gera, 2006; Mounce, 2015); on the other hand, in large-scale congested networks, MSA often requires a large number of iterations to achieve acceptable accuracy (Sheffi, 1985). Therefore, solving the problem of balanced bus allocation in fully congested networks still faces considerable challenges in terms of balancing capacity constraints and computational efficiency.
[0006] It is evident that existing public transport equilibrium models generally employ MSA-type algorithms, whose convergence mechanism relies on decreasing step size averaging when solving for equilibrium solutions. This approach fails to incorporate structural information about the public transport network in its design and cannot effectively correct the direction using dual gradient information under capacity constraints. Consequently, as the network size increases, the algorithm's convergence efficiency significantly decreases, the number of iterations grows exponentially, computation time increases, and the accuracy of the solution decreases accordingly. Furthermore, because this type of algorithm updates only based on arc segment flow, it ignores passenger path selection behavior at the policy level, thus failing to retain complete hyperpath information and unable to explicitly output the actual path strategies adopted by passengers.
[0007] In summary, this structural deficiency severely limits the model's ability to characterize path selection behavior, hinders in-depth research on behavioral interpretability and path visualization, and makes it difficult to meet the practical needs of public transportation system analysis and optimization. Summary of the Invention
[0008] The purpose of this invention is to overcome the shortcomings of the prior art and provide a bus allocation method under conditions of complete congestion.
[0009] The objective of this invention is achieved through the following technical solution: This application discloses a bus allocation method under full congestion, comprising: introducing a hyperpath structure in the bus network to express the passenger's travel route selection strategy, wherein the hyperpath is a directed acyclic subgraph including a subset of nodes, a subset of arcs, and an arc usage probability vector; reconstructing the hyperpath flow loading problem into a monotonic VI sequence along the topological node order of the hyperpath to obtain a hyperpath flow loading scheme; constructing a hyperpath flow loading algorithm based on gradient projection, executing hyperpath flow loading to obtain the corresponding arc flow distribution, arc usage probability, and node usage probability of each node in each hyperpath; then solving for the hyperpath flow and arc flow under the equilibrium state of the entire network to obtain the complete flow distribution under each hyperpath in the bus network, which is used to update the hyperpath cost, determine whether the current hyperpath flow solution is in an equilibrium state, and obtain the hyperpath flow and arc flow under the equilibrium state of the entire network.
[0010] The beneficial effects of this invention are: To address the shortcomings of existing methods in terms of iterative efficiency, path interpretability, and path tracing, this invention achieves three improvements through a modeling approach using hyperpaths as decision variables: First, the hyperpath flow loading problem is reconstructed as a monotonic VI sequence along the hyperpath topological node order, thus proposing an efficient hyperpath flow loading scheme. Second, a hyperpath-based VI representation is established to characterize the fully congested bus equilibrium allocation problem with and without capacity constraints. Third, a hyperpath-based column generation algorithm is proposed to solve the fully congested bus equilibrium allocation problem. Numerical experiments show that column generation significantly outperforms existing MSA-based benchmark algorithms on both large and small networks. Attached Figure Description
[0011] Figure 1 A schematic diagram of the algorithmic framework for the VI problem without considering capacity constraints according to some embodiments of this application; Figure 2 This is a schematic diagram of an algorithmic framework for the capacity-constrained VI problem according to some embodiments of this application; Figure 3 This is a schematic diagram of a bus stop according to some embodiments of this application. Detailed Implementation
[0012] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0013] See Figures 1-2This invention provides a bus allocation method under complete congestion, which includes introducing a hyperpath structure in the bus network to express the passenger's travel route selection strategy. The hyperpath is a directed acyclic subgraph, including a subset of nodes, a subset of arcs, and an arc usage probability vector.
[0014] For example, in the passenger distribution problem based on effective departure frequency, it can be known that for a bus network's origin O and destination D, a finite set of bus routes... Connected. For line a, It has in-vehicle travel time ; and an effective departure frequency function The effective departure frequency is determined by the number of passengers boarding the bus. The continuous and strictly monotonically decreasing function reaches the saturation flow of the line. It drops to 0.
[0015] Furthermore, according to the bus co-routing theory, we know that when choosing a route, passengers will select a set of non-empty attracting routes s, s∈A, and take the bus that arrives first; set s constitutes a strategy. The passenger's strategy selection must minimize the expected travel time. Minimum. The expected time is defined as: in, This refers to the waiting time. Select routes for passengers The probability of travel; and This represents the desired in-vehicle travel time.
[0016] To ensure traffic flow conservation, OD (Original Demand) flow (traffic trips) It will be assigned to all possible policies s∈A, and satisfy: ,in This is for the travel flow using strategy s. Each passenger is assigned a probability. Take the route Thus, the total flow of line a is obtained. .
[0017] The passenger distribution equation defined by this formula constitutes a fixed-point problem, the solution of which uniquely corresponds to the line flow vector. According to the Wardrop principle (traveler optimality principle), in an equilibrium state, only by making... The strategy with the minimum value will be selected, and the corresponding equilibrium strategy flow vector will be used. satisfy: In the formula, Let be the flow corresponding to strategy s under equilibrium conditions. The strategy flow solution under equilibrium conditions. For passengers' shortest expected travel time, and .
[0018] Specifically, to describe the flow distribution and equilibrium conditions in the public transport network, combined with Figure 3 The bus network model is defined as follows: the bus network is a directed graph. ,in It is a transfer node Collections and virtual station nodes Union of sets; It is the boarding arc. Disembarkation arc , driving arc and walking arc The union of the two sets. Each bus route that stops at a bus stop corresponds to one set. N ,pass N Constructing the boarding arc and disembarkation arc It depicts the process of passengers getting on and off buses along bus routes and the walking arcs through different transfer nodes. Enables transfers between stations.
[0019] In the public transportation network system of this embodiment, passengers travel strategically, and their routes can be viewed as hyperpaths containing multiple alternative routes. k Hyperpath k for It is a directed graph of a public transport network. Acyclic subgraph, in which , is a subset of the bus network node N; , is a subset of arc set A; A vector of probabilities used for the arc. Are passengers at the node i Select arc The probability of.
[0020] Due to the acyclic nature of hyperpaths, the usage probability of each transfer node and its corresponding arc can be calculated sequentially using its topological order. Let... , Superpath k Use nodes i Sum of arcs The probability of is then: Where o and d are the start and end transfer nodes of hyperpath k, respectively. Let k be the sum of the boarding arc probabilities based on the connection between the previous node i and its j under the superpath k. The total probability of using the starting point o for the superpath k. The total probability of using the endpoint d for the superpath k. The total probability of using the boarding arc (i,j) for the superpath k.
[0021] Based on this, the passenger flow distribution at transfer node i under hyperpath k satisfies a fixed-point problem as shown in the following formula: in, To enter the transfer node on superpath k flow, For the traffic of superpath k, The probability of using node i for superpath k. This refers to the strategy used by hyperpath k at transfer node i. For the reason Assigned to boarding arc The flow rate satisfies the constraints of flow conservation and positive flow. The effective departure frequency is the frequency at which the onboard arc flow is equal to v under the effective departure frequency function.
[0022] when When the solution is the previous formula (i.e., the passenger flow distribution formula), for all transfer points have: in, Assigning the superpath k to the boarding arc , The traffic on the internet, corresponding to For the arc of the vehicle (i,j) n The effective departure frequency; that is, for each transfer node of the superpath k. strategy set Flow rate on each boarding arc and effective departure frequency The ratio is a constant.
[0023] Based on this, the above equation can be equivalently transformed into the following problem VI (variational inequality problem): First, define the feasible region. .
[0024] If and only if The solution to the following VI problem is... The condition for satisfying the above formula (i.e., the ratio of each boarding arc to its corresponding effective departure frequency for each transfer node): Find , so that: in, , It is the flow allocated to the boarding arc (i, j) by the superpath k*. It is the ratio of the flow of the superpath k* through the boarding arc (i, j) to its effective departure frequency, which can be regarded as the waiting cost. .
[0025] Then, based on the above equivalent problem, it is transformed into problem VI, and the GP algorithm is used to efficiently solve the passenger distribution problem. Next, problem VI based on the hyperpath network equilibrium condition is introduced, which includes two cases: considering capacity constraints and not considering capacity constraints.
[0026] Without considering capacity constraints, the equilibrium condition of the superpath network is as follows: The minimum superpath cost to reach destination d from origin o. The set of hyperpaths from the starting point O to the ending point D (in this article, o and d have the same meaning as O and D). For out-of-path costs, Let W be the flow on hyperpath k, and let W be the set of all Od pairs in the public transport network.
[0027] Out-of-path traffic must satisfy the following traffic conservation and non-negativity constraints: in, Let O be the passenger demand starting at point O and ending at point D; the relationship between arc flow and superpath flow is: set up This is the hyperpath traffic vector. This is the correlation matrix between hyperpaths and OD pairs. Let this be the OD demand vector. Therefore, we define... And define the set of feasible hyperpath traffic vectors h as It satisfies: The transformed VI problem is as follows: Superpath traffic in equilibrium state if and only if When solving the following hyperpath-based VI problem, To find the hyperpath network equilibrium condition that satisfies the aforementioned conditions. , so that: in, Indicates a given The hyperpath cost vector below.
[0028] When considering capacity constraints, the equilibrium condition for a capacity-limited network can be expressed as: definition ,in Let be the upper limit (saturation capacity) of the loading arc (i,j). Given the superpath cost under this condition, and the feasible superpath flow that satisfies the capacity constraint. Definition of the set: The equilibrium conditions described above can be equivalently transformed into the following problem VI based on the following proposition: If and only if When solving the following VI problem, Find the equilibrium condition that satisfies the following: , so that: .
[0029] Thus far, all questions concerning the presence or absence of capacity constraints in problem VI have been equivalently transformed using the hyperpath approach.
[0030] In a further embodiment, when using the GP algorithm to solve the passenger distribution problem at transfer node i under hyperpath k, a reference path is introduced to simplify the constraints, thereby improving the computational efficiency of the GP algorithm and overcoming the problems of slow convergence and neglect of network structure in the MSA algorithm; for ease of description, the algorithm is defined as the first algorithm.
[0031] In some embodiments, the boarding arc with the minimum "path cost" at the selected transfer node is chosen. As a reference path, the amount of traffic adjustment from a non-reference path to the reference path is expressed as: Then calculate the waiting cost of the boarding arc (i,j) and compare it with the reference boarding arc. The difference in waiting costs with respect to the first derivative of the boarding arc (i, j) flow rate It can be viewed as the descent step size: in , They are respectively and about and The derivative, Assign the superpath k to the boarding arc Traffic, Current boarding arc cost, Let $i$ be the minimum path cost from node $i$ to node $j$. Then, given the current average boarding arc flow... The GP algorithm then updates the non-reference "path" according to the following formula. Traffic: .
[0032] Based on the definitions and related information of the above parameters, the specific steps of the solution algorithm (i.e., the first algorithm) for solving the passenger distribution problem under the hyperpath structure of the bus network based on the effective departure frequency in this embodiment of the application include the following: S11. Input the strategy used by the superpath k at the transfer node i. The flow of traffic entering transfer node i on superpath k .
[0033] S12. Parameter initialization includes: Calculate the initial effective departure frequency Determine the initial boarding arc flow distribution based on passenger flow distribution. Set the target convergence accuracy Current iteration number l =0; Sets the termination condition for the main loop. ,in: In the formula, For the first In the next iteration, the flow allocated to the boarding arc (i,j) by the hyperpath k, and the corresponding... and For the first l-1 The flow rate allocated to the onboard arc (i,j) by the hyperpath k in the next iteration and the flow rate allocated to the onboard arc (i,j) in the next iteration. l+1 In the next iteration, the superpath k is assigned to the boarding arc. Traffic.
[0034] S13. Perform the main loop, including: S131, For sets Each boarding arc in the middle ( i , j Update the path cost for the boarding arc. , During the update process, if the current boarding arc ( i , j If the path cost is smaller than the previously recorded minimum, then the variable will be... Set as the current boarding arc ( i , jThe cost is the minimum path cost from node i to node j. .
[0035] S132. On this set, for each non-referenced on-arc arc : Calculate update adjustment amount And update That is, the formula mentioned above: S133. Calculate the flow adjustment amount based on the difference between the current boarding arc cost and the reference boarding arc cost. : like but: like but: And update the onboard arc flow. , and effective departure frequency .
[0036] Each loop l +1, stop iteration when the set iteration termination condition is met.
[0037] S14, Output the final onboard arc flow rate. and their corresponding effective departure frequencies .
[0038] Therefore, by using the above algorithm to solve the passenger distribution problem corresponding to each transfer node in the topological order of the hyperpath, the boarding arc flow can be obtained. and their corresponding effective departure frequencies .
[0039] In a further embodiment, the complete hyperpath traffic structure of a passenger in the network is obtained through a hyperpath traffic loading algorithm. For ease of description, this is defined as the second algorithm, which specifically includes: S21, Input superpath topology Hyperpath traffic .
[0040] S22. Initialize the parameters: ; And set the starting point. o corresponding .
[0041] S23. The main loop includes: S231, Calculate the entry node i Traffic ; S232, when i When it is a transfer node: The first algorithm is used to obtain the boarding arc flow at this node. and their corresponding effective departure frequencies Then calculate the probability of using each boarding arc: Update the probability of arc usage and the probability of next node usage: like i When it is not a transfer node: set up Then update the arc usage probability and the next node usage probability: S233. Finally, output the arc flow distribution of the hyperpath. Arc usage probability vector The probability vector of node usage .
[0042] Therefore, the second algorithm is mainly based on the boarding arc flow obtained from the first algorithm. and their corresponding effective departure frequencies The arc flow distribution of the hyperpath is obtained. Arc usage probability vector The probability vector of node usage This allows us to obtain the complete traffic distribution under each superpath in the public transport network.
[0043] In a further embodiment, combining the aforementioned first and second algorithms and the aforementioned VI problem, for the case where capacity constraints are not considered, refer to... Figure 1 To understand, proceed with the following steps: S31A. First, give the judgment index function and set the convergence index for a single OD pair. : And setting relative gap indicators : S32A, Input public transport network G, traffic demand .
[0044] S33A. Initialization includes: initializing the OD travel route selection set. Initialize traffic loading; update arc traffic, cost, and effective departure frequency according to the first and second algorithms, and set the iteration count n=1, with a target convergence accuracy. .
[0045] The following steps are then repeated to adjust network traffic and achieve traffic balance.
[0046] S34A, the main loop includes: S341A, Perform column generation for each OD pair. Search for the minimum cost superpath ;if Add it to This means adding a new column.
[0047] S342A, Construct OD pair subproblems and apply Gaussian methods. The Seidel decomposition strategy constructs a subproblem for each pair of OD pairs (in this embodiment, there is no capacity constraint).
[0048] S35A, adaptive inner loop includes: To solve the OD pair subproblem, for the OD pair subproblem constructed by S341A, while keeping the flow distribution of the remaining OD pairs unchanged, the GP algorithm is used to solve the subproblem, update the hyperpath flow, and update the hyperpath cost using the following formula: Understandably, since the superpath cost function depends on both arc flow and effective departure frequency, and the relationship between the two is implicitly determined by the passenger distribution problem, it cannot be explicitly expressed as a function of arc flow. Therefore, the flow adjustment amount in the GP algorithm cannot be directly derived. A closed expression.
[0049] The convergence criterion for OD pairs is defined as follows: for a single OD pair... Indicators of convergence status (whether the network is in equilibrium) The corresponding calculation formula, when Update the arc flow, cost, and effective departure frequency; otherwise, continue iterating using the GP algorithm.
[0050] The overall convergence is assessed using the relative gap index, which evaluates the convergence of the overall problem (network equilibrium). As stated in the formula above, when If convergence occurs, the loop ends; otherwise, if the iteration count is not met (n=n+1), return to the main loop and continue the above operations.
[0051] S36A, Output Balanced State Overpath Flow Arc flow .
[0052] Furthermore, in order to determine the optimal transfer amount during the superpath flow adjustment process... A binary search is used to determine the optimal transition amount. Specifically, the third algorithm includes the following steps: S41. Enter the reference hyperpath and its corresponding traffic Non-reference superpath k and its corresponding traffic .
[0053] S42. Initialization includes: Based on the hyperpath traffic loading algorithm (i.e., the second algorithm), the hyperpaths 𝑘 and 𝑘 are respectively processed. Perform traffic loading; Update the cost and effective departure frequency of all arcs on both hyperpaths, and calculate the cost of each hyperpath. and ; like Then set the left endpoint l=0 and the right endpoint l=0. ; like Then set .
[0054] Record the initial traffic of the non-reference superpath 𝑘 Initialize traffic transfer volume Historical flow transfer volume And set the target convergence accuracy. .
[0055] S43, Binary Search Main Loop: when Execute in a loop: Based on the second algorithm, the hyperpath k and Perform traffic loading and update the superpath k and Calculate the cost and effective departure frequency of all arcs, and calculate the superpath cost. and .
[0056] like Then update ;like Then update .
[0057] After the loop ends, output the optimal transfer amount. .
[0058] Furthermore, the complete process of using the GP algorithm to solve the OD pair subproblem, i.e., the fourth algorithm, specifically includes the following steps: S51. Input the current superpath solution. .
[0059] S52. Initialization includes: Calculate the initial effective departure frequency For each hyperpath implement: The second algorithm is used to load traffic onto superpath k; the cost and effective departure frequency of all arcs on superpath k are updated, and the superpath cost is calculated. If the cost of superpath k is smaller, then .
[0060] S53. Perform flow adjustment loop, including: For each superpath implement: The optimal transfer amount is solved based on the third algorithm. And update the hyperpath traffic: Based on the second algorithm, the hyperpath k and Perform traffic loading, then update the superpath k and Calculate the cost and effective departure frequency of all arcs, and calculate the superpath cost. and .
[0061] S54. Output the updated hyperpath traffic solution. .
[0062] Therefore, based on the above method, the superpath flow equilibrium solution under the equilibrium condition of the public transport network is obtained. .
[0063] In other embodiments, capacity limitations of bus routes are taken into account, and upper limit constraints are added to all travel arcs belonging to the same route, for example: in, The total flow rate on the travel arc (x, y) It is the upper limit of the capacity of the travel arc (𝑖,𝑗).
[0064] To reflect the additional delay costs caused by limited vehicle capacity, Lagrange multipliers related to capacity constraints are introduced. This allows us to construct a generalized superpath cost that combines delay costs and travel costs. The definition is as follows: In this embodiment, penalty parameters are set under the ALM framework. With the Initialization formula and update rules: in, Solution for the initial travel arc flow rate; This represents the number of arcs in the initial solution that do not satisfy the capacity constraint. A multiplier factor greater than 1 A positive parameter less than 1; The degree of unreliability is used to determine whether the current solution satisfies the capacity constraint.
[0065] Based on this, the generalized cost of an arc is further defined as follows: The degree of convergence of individual OD pairs and the convergence status of the overall problem: like Figure 2 As shown, the solution algorithm combining hyperpath and augmented Lagrange method (ALM) specifically includes: S31B, Input public transport network G, traffic demand .
[0066] S32B, Initialization: Establish a walking arc for each OD pair to satisfy capacity feasibility; Initialize the OD (Operational Destination) route selection set; Initialize traffic loading; Initialize penalty parameters , ride ; Update arc flow, generalized cost, and effective departure frequency; Set the number of iterations n=1, and the target convergence accuracy. ; Secondly, regarding the setting of parameter m=1 to control the number of self-loop iterations, the convergence accuracy of the subproblem objective is... .
[0067] S33B performs a loop to adjust network traffic to achieve traffic balance, including: S331B, Column generation, for each OD pair Search for the minimum generalized cost to reflect the direct impact of capacity constraints on path selection behavior (refer to the aforementioned generalized superpath cost). And the superpath k); if Add it to .
[0068] S332B, Constructing OD pair sub-problems, using Gaussian... Seidel decomposition strategy, constructing subproblems for each pair of OD pairs (without capacity constraints).
[0069] S34B: Perform an adaptive inner loop to solve the OD pair problem with capacity constraints, including: S341B: Adaptively solves the unconstrained OD pair problem with low convergence accuracy based on the GP algorithm, updating the hyperpath flow and generalized hyperpath cost (refer to the aforementioned generalized hyperpath cost). And the superpath k).
[0070] S342 B. Convergence of the solved individual OD pair subproblems Make a judgment based on the aforementioned formula, if it satisfies If the OD pair converges, update the corresponding arc flow, generalized cost, and effective departure frequency, and delete unused hyperpaths.
[0071] S35 B, Subproblem convergence judgment: Perform a convergence judgment on the subproblems as a whole. If This indicates that the subproblem has converged globally, and parameter updates can be performed: update the penalty parameter. With Lagrange multipliers This leads to a new capacity constraint problem.
[0072] S36B, Capacity constraint test to determine infeasibility. and (Given the relationship of boundary values), if Then the superpath traffic solution If the arc flow rate v is not feasible, update the parameter n=n+1, return to the steps of the above loop (the loop after initialization), and continue the above operation.
[0073] S36B, Output Balanced State, Superpath Flow Arc flow .
[0074] Therefore, the process of solving capacity-constrained problems described above involves transforming the original problem with capacity constraints into an approximate subproblem without capacity constraints. By continuously solving these approximate subproblems, a solution that ultimately satisfies the capacity constraints is found. In other words, the implementation steps of "column generation" and "solving OD subproblems without capacity constraints" within the ALM framework are essentially consistent with the framework for algorithms considering no capacity constraints. The main difference lies in the fact that the hyperpath flow and cost updates in the ALM framework are based on generalized path costs to reflect the impact of capacity constraints on path selection behavior.
[0075] Furthermore, when the original problem with capacity constraints is transformed into an approximate subproblem without capacity constraints, the third algorithm updates the hyperpath k and ... during initialization. Calculate the cost and effective departure frequency of all arcs, and calculate the superpath cost. and The cost of the arc in the main loop and the corresponding parameters updated in the main loop, as well as the arc cost in the corresponding content of the fourth algorithm (i.e., the main loop and initialization update of the above parameters), should all be calculated according to the formula: Update to ensure that the superpath cost (corresponding to the generalized superpath cost) is updated in each iteration. It can accurately reflect the impact of capacity constraints on hyperpath selection.
[0076] The above description is merely a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the forms disclosed herein and should not be construed as excluding other embodiments. It can be used in various other combinations, modifications, and environments, and can be altered within the scope of the concept described herein through the above teachings or related technologies or knowledge. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention should be within the protection scope of the appended claims.
Claims
1. A method for bus assignment under full congestion, characterized in that, The application relates to a bus network equilibrium model and a bus network equilibrium algorithm. The application introduces a super-path structure into a bus network to express a passenger trip route selection strategy, wherein the super-path is a directed acyclic graph, and the super-path comprises a node subset, an arc subset and an arc usage probability vector; The super-path flow loading problem is reconstructed into a monotone VI sequence along the node sequence of the super-path topology to obtain a super-path flow loading scheme; The super-path flow loading algorithm is constructed based on the gradient projection, the super-path flow loading is executed, the arc flow distribution, the arc usage probability and the node usage probability of each node of each super-path are obtained, the super-path flow and the arc flow under the network equilibrium state are solved, and then the complete flow distribution of each super-path in the bus network is obtained, which is used to update the super-path cost, to judge whether the current super-path flow solution is in the equilibrium state, and to obtain the super-path flow and the arc flow under the network equilibrium state.
2. The method of claim 1, wherein, The super-path flow loading problem is reconstructed into a monotone VI sequence along the node sequence of the super-path topology to obtain a super-path flow loading scheme. Based on this, the passenger flow distribution at the transfer node i under the super-path k satisfies a fixed point problem as shown in the following formula: in, To enter the transfer node on superpath k flow, For the traffic of superpath k, Let be the probability that hyperpath k passes through transfer node i. This refers to the strategy used by hyperpath k at transfer node i. For the reason Assigned to boarding arc The flow rate satisfies the constraints of flow conservation and positive flow. The effective departure frequency is the frequency at which the arc flow rate equals v under the effective departure frequency function. When is the solution of the passenger flow distribution formula, for all transfer points there is: wherein, is the flow on boarding arc , assigned by super-path k, the corresponding is the effective departure frequency of boarding arc , ; for each node of super-path k, the ratio of the flow and the effective departure frequency on all arcs of strategy set is constant; Based on this, the above formula is equivalently converted into the following VI problem: Defining the feasible region ; iff is the solution to the following VI problem; find such that: wherein , is the flow of super-path k* to boarding arc (i, j), is the ratio of the flow of super-path k* through boarding arc (i, j) to its effective departure frequency, i.e. can be seen as a waiting cost, and .
3. The method of claim 2, wherein, When the capacity constraint is not considered, the super-path network equilibrium condition is: wherein, is the minimum hyperpath cost from origin o to destination d, is the set of hyperpaths from origin o and to destination d, is the hyperpath cost, is the flow on hyperpath k, and W is the set of all origin-destination (od-pair) pairs in the transit network.
4. The method of claim 3, wherein, The super-path flow needs to satisfy the following flow conservation and non-negativity constraint conditions: wherein, is the traffic demand from origin o to destination d; and the relationship between arc flow and super-path flow: wherein, is the probability that super-path k passes through boarding arc (i, j). Let be the super-path flow vector, be the super-path-OD pair incidence matrix, be the OD demand vector; Definitions and the set of feasible hyperpath flow vectors h is defined as which satisfies: The transformed VI problem is: equilibrium state hyperpath flow satisfying the hyperpath network equilibrium conditions described above to find such that: wherein, represents the hyperpath cost vector under a given representation.
5. The method of claim 2, wherein, When the capacity constraint is considered, the super-path network equilibrium condition is: wherein, is the minimum hyperpath cost from origin o to destination d, is the set of hyperpaths from origin o and to destination d, is the hyperpath cost, is the flow on hyperpath k, and W is the set of all od pairs in the transit network.
6. The method of bus assignment under full congestion according to claim 5, wherein, Definitions wherein is the saturation capacity of the boarding arc (i, j), is the super-path cost under this condition, and the feasible super-path flow is defined as the set consisting of ; The above equilibrium condition is equivalently converted into the following VI problem: Superpath traffic Meets balance condition: find such that: .
7. The method of bus assignment under full congestion according to claim 4 or 6, wherein, The super-path flow loading algorithm is constructed based on the gradient projection, the super-path flow loading is executed, the arc flow distribution, the arc usage probability and the node usage probability of each node of each super-path are obtained, the super-path flow and the arc flow under the network equilibrium state are solved, and then the complete flow distribution of each super-path in the bus network is obtained, which is used to update the super-path cost, to judge whether the current super-path flow solution is in the equilibrium state, and to obtain the super-path flow and the arc flow under the network equilibrium state. boarding arcs having minimum path costs at selected transfer nodes As a reference path, the flow adjustment amount from a non-reference path to a reference path is represented as: The difference between the waiting cost of the boarding arc (i, j) and the reference boarding arc The first derivative of the boarding arc (i, j) flow with respect to the waiting cost of the boarding arc (i, j) which can be seen as a descent step: wherein , are respectively and the derivative of and , is the flow allocated by super-path k to the boarding arc , the current arc cost, is the minimum path cost from node i to node j; In the current arc flow Next, the gradient projection algorithm updates the non-reference path flow according to the following formula of the flow: 。 8. The method of claim 1, wherein, According to the topological sequence of the super-path, the usage probability of each transfer node is sequentially calculated from the starting point of the super-path; For the transfer node, the arc usage probability of each arc leaving the node is calculated based on the arc flow and the effective departure frequency output by the gradient projection algorithm; The flow distribution of each arc is calculated based on the node usage probability and the arc usage probability. According to the topological sequence of the super-path, the usage probability of each transfer node is sequentially calculated from the starting point of the super-path; 9. The method of claim 8, wherein, For the transfer node, the arc usage probability of each arc leaving the node is calculated based on the arc flow and the effective departure frequency output by the gradient projection algorithm; is the vector of probabilities for the arcs, is the probability that a passenger chooses arc i at node ; Let , be the super-path k using nodes i and arcs with probabilities respectively, then we have: where o and d are the start and end transfer nodes of super path k, respectively, is the sum of the probabilities of the arcs connected to node i of super path k, is the probability of super path k passing through the start node o, is the probability of super path k using the end node d, is the probability of super path k using arc (i, j) at node i.
10. The method of claim 8, wherein, The flow distribution of each arc is calculated based on the node usage probability and the arc usage probability. According to the boarding arc flow at the node , and its corresponding effective departure frequency , the usage probability of all arcs is calculated: ; wherein is the set of policies for super-path k at node i; The arc usage probability and the next node usage probability are updated: If i Not a transfer node: Setting Then the arc usage probability and the next node usage probability are updated: Finally, output the complete arc flow distribution of the super path , the arc usage probability vector , the node usage probability vector ; wherein the super path k is is a loop-free subgraph of the directed graph of the public transport network .
Citation Information
Patent Citations
Urban rail transit passenger flow distribution method under short-time interruption condition
CN113408926A
Multi-mode traffic network over-path flow distribution method, device, equipment and medium
CN115798217A
Public transport passenger flow distribution method considering capacity constraint
CN116757397A
Bus network departure frequency optimization method, device and equipment and readable storage medium
CN118504856A
Public transport passenger flow distribution method, device and equipment and readable storage medium
CN118551959A