A bus schedule optimization method and system considering multiple objectives and scenarios
By building a passenger demand model and a scenario-wide model, we collaboratively optimize bus enterprise costs and passenger waiting costs, and adjust bus schedules to solve the problem of traditional timetables being unable to adapt to changing passenger flows and achieve rapid recovery and recovery of the bus system under interference scenarios. Resource optimization.
Patent Information
- Application Number
- CN202310625887.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-05-30
AI Technical Summary
Traditional bus schedules are unable to adapt to changing passenger flow demands, and especially in interference scenarios, the backlog and congestion cannot be evacuated in time, resulting in an impact on bus service levels and a waste of resources.
Construct a passenger demand model and a scenario-wide model, and collaboratively optimize bus enterprise costs and arrival passenger waiting costs, adjust the departure time interval of the bus schedule, and consider multi-objective and multi-scenario optimization methods.
It improves bus operation efficiency and service levels, enables timely evacuation of backlogged passenger flow in interference scenarios, and quickly restores the bus system.
Smart Images

Figure CN116702967B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a bus schedule optimization method and system considering multiple objectives and multiple scenarios. Background Art
[0002] In current urban road public transportation, many cities use departure timetables with equal time intervals. Because of their single form, they often cannot adapt to changing passenger flow demands. Passenger congestion during peak hours can easily have an adverse impact on the level of bus service, while low passenger load during non-peak hours will lead to a waste of public resources. The departure timetables of some cities only distinguish between peak and non-peak hours, but when interference occurs, such as sudden traffic accidents, sports events, holiday travel, and bad weather, passenger flow is prone to backlog congestion and cannot be evacuated in time. Traditional bus departure timetables cannot meet passenger flow demands in interference scenarios.
[0003] Most related studies start from the perspective of enterprises and passengers, and optimize the timetable based on non-interference scenarios. However, in reality, interference scenarios such as traffic accidents of varying degrees and types often occur, and fixed departure timetables cannot be applied to changing scenarios. In view of this, it is of great practical significance to establish a general expression model that can describe multiple types of scenarios. In addition to improving the existing departure timetable based on daily passenger flow data, it is also important to consider the optimization of departure timetables and vehicle allocation scale under interference scenarios. Summary of the invention
[0004] To this end, the technical problem to be solved by the present invention is to more comprehensively consider the various influencing factors of variables, propose constraints that are more in line with actual conditions, and build a general model that can describe multiple scenarios, and innovatively propose a bus schedule optimization method and system under interference scenarios.
[0005] In order to solve the above problems, an embodiment of the present invention provides a bus schedule optimization method considering multiple objectives and multiple scenarios, the method comprising:
[0006] S1: Constructing a passenger demand model and a scenario general model, wherein the passenger demand model includes passenger characteristics, bus enterprise costs, and waiting costs for passengers arriving at the station;
[0007] S2: Based on the constructed passenger demand model and scenario general model, with the average departure interval, arrival stop time, and vehicle full load rate as constraints, the bus company cost and the passenger waiting cost at the station are collaboratively optimized to obtain the optimal cost;
[0008] S3: Adjust the departure time intervals of different periods of the bus schedule according to the optimal cost.
[0009] Preferably, the method for constructing the passenger demand model is:
[0010] The passenger characteristics are:
[0011] Using random process represents the number of random passengers who arrive at platform i from time t0 to t and whose destination is platform j;
[0012] The probability that a passenger arrives at platform i from time t0 to time t and the destination is platform j is:
[0013]
[0014] Among them, i,j represent the platform number of a certain bus line in a certain direction. represents the number of passengers accumulated from the initial time to time t, with platform i as the departure station and platform j as the destination station, n i,j represents a certain number of passengers, Q i,j (t) represents the passenger arrival function;
[0015] The cost of the public transport enterprise is:
[0016]
[0017] Among them, M c represents the cost of the bus company, r represents the bus departure time, R k represents the number of time slots for line k, represents the end time of the rth period of line k, represents the average departure interval of line k in the rth period, represents the operating cost of a single bus in the rth period of route k, and T represents the bus operation time;
[0018] The waiting cost for passengers arriving at the station is:
[0019] M p =M t ·W
[0020] Among them, M p represents the waiting cost of passengers arriving at the station, M t represents the waiting time of passengers arriving at the station, and W represents the GDP per capita.
[0021] Preferably, the waiting time M of the arriving passengers is t It obeys the non-homogeneous Poisson distribution, and the calculation formula is:
[0022]
[0023] Among them, r represents the bus departure time, R k represents the number of time slots for line k, represents the passenger flow of section S in the rth period, It represents the average departure interval of line k in the rth period.
[0024] Preferably, the method for constructing a general scenario model is:
[0025] The vector X = (x1, x2, x3, x4) represents the type of imbalance. The specific value represents the degree of imbalance. x1, x2, x3, and x4 represent the time when the imbalance scenario occurs. Occurrence site i(y), occurrence degree The occurrence time Δt is calculated as follows:
[0026]
[0027] Among them, k represents the bus line number, r represents the bus departure time, r∈(r s ,r e ), where r s ,r e They are the departure times of the first and last buses respectively, and S represents the section number.
[0028] Preferably, the average departure interval, the parking time at the station, and the vehicle full load rate are used as constraints, which are specifically expressed as follows:
[0029] The constraint formula of the average departure interval is:
[0030]
[0031]
[0032]
[0033] Among them, k represents the bus line number, r represents the bus departure time, r∈(r s ,r e ), where r s ,r e are the departure times of the first and last buses, V represents the maximum number of passengers a vehicle can carry, and V 0.125 This means that the effective area occupied by each standing passenger is 0.125 m 2 The vehicle is limited to carry a certain number of passengers at the time, V 0.35 This means that the effective area occupied by each standing passenger is 0.35m 2 The vehicle is limited to the number of passengers at that time. represents the end time of the rth period of line k, represents the passenger flow of section S in the rth period, represents the average departure interval of line k in the rth period;
[0034] The constraint formula of the arrival parking time is:
[0035]
[0036] Among them, i represents the platform number of a certain bus line in a certain direction, k represents the bus line number, represents the stopping time of bus line k at platform i;
[0037] The constraint formula of the vehicle load factor is:
[0038]
[0039] in, represents the passenger flow of section S in the rth time period, V represents the maximum number of passengers allowed by the vehicle, and n represents the departure frequency.
[0040] Preferably, the cost of the bus company and the cost of passengers waiting for the bus at the station are collaboratively optimized to obtain the optimal cost:
[0041] The weighted cost of the bus company and the waiting cost of passengers at the station is used as the optimization objective function. The optimization objective function F is expressed as follows:
[0042]
[0043] Among them, M c represents the cost of the bus company, M p represents the waiting cost of passengers arriving at the station, Ω represents the combination coefficient of the optimization objective function, k represents the bus line number, k=1,2…,K-1,K.
[0044] Preferably, the average full load rate of the line is selected as an indicator for judging the characteristics of the passenger flow period, and is used as the combination coefficient Ω of the optimization objective function. The calculation formula of the combination coefficient Ω is:
[0045]
[0046] Among them, n represents the departure frequency, i represents the platform number of a certain bus line in a certain direction, and k represents the bus line number. represents the passenger flow of section S in the rth period, represents the average departure interval of line k in the rth period, represents the end time of the rth period of line k, V 0.125 This means that the effective area occupied by each standing passenger is 0.125 m 2 The vehicle is limited to carry a certain number of passengers at that time, and L represents the mileage of the bus.
[0047] The embodiment of the present invention further provides a bus schedule optimization system considering multiple objectives and multiple scenarios, the system comprising:
[0048] Model building unit, used to build passenger demand model and scenario general model, the passenger demand model includes passenger characteristics, bus enterprise costs and passenger waiting costs at the station
[0049] The cost optimization module is based on the constructed passenger demand model and scenario general model, and uses the average departure interval, arrival parking time, and vehicle full load rate as constraints to coordinately optimize the bus company cost and the waiting cost of passengers arriving at the station to obtain the optimal cost.
[0050] The adjustment module is used to adjust the departure time intervals of different periods of the bus schedule according to the optimal cost.
[0051] An embodiment of the present invention also provides an electronic device, which includes a processor, a memory and a bus system, wherein the processor and the memory are connected through the bus system, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement any of the above-mentioned bus schedule optimization methods considering multiple objectives and multiple scenarios.
[0052] An embodiment of the present invention further provides a computer storage medium storing a computer software product, wherein the computer software product includes several instructions for enabling a computer device to execute any one of the above-mentioned bus schedule optimization methods considering multiple objectives and multiple scenarios.
[0053] It can be seen from the above technical solutions that the present invention has the following advantages:
[0054] The present invention provides a bus schedule optimization method and system that considers multiple objectives and scenarios. By constructing a passenger demand model and a scenario-general model, the costs of bus companies and the waiting costs of passengers at the station are collaboratively optimized, which can not only improve the operating efficiency of bus companies, but also play a positive role in the service level of bus companies. The introduction of a scenario-general model can clearly describe and locate the time, location, degree, and duration of interference, so that when interference occurs and backlogs occur, passengers can be evacuated in time, so that the affected bus system can be quickly restored. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the implementation cases of the present invention or the technical solutions in the prior art, the following is a brief description of the drawings required for use in the embodiments. By referring to the drawings, the features and advantages of the present invention will be more clearly understood. The drawings are schematic and should not be understood as limiting the present invention in any way. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0056] Figure 1A flowchart of a bus schedule optimization method considering multiple objectives and multiple scenarios provided in an embodiment;
[0057] Figure 2 This is a schematic diagram of the results before optimization of the non-interference scenario in the embodiment;
[0058] Figure 3 This is a schematic diagram of the optimization result of the non-interference scenario in the embodiment;
[0059] Figure 4 This is a schematic diagram of the results before optimization of the non-interference scene comparison test in the embodiment;
[0060] Figure 5 This is a schematic diagram of the results of the non-interference scene comparison test after optimization in the embodiment;
[0061] Figure 6 This is a schematic diagram of the results before the interference scenario optimization in the embodiment;
[0062] Figure 7 This is a schematic diagram of the interference scenario optimization result in the embodiment;
[0063] Figure 8 A block diagram of a bus schedule optimization system considering multiple objectives and multiple scenarios provided in an embodiment. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0065] Embodiment 1
[0066] like Figure 1 As shown, an embodiment of the present invention proposes a bus schedule optimization method considering multiple objectives and multiple scenarios, and the method includes:
[0067] S1: Constructing a passenger demand model and a scenario general model, wherein the passenger demand model includes passenger characteristics, bus enterprise costs, and waiting costs for passengers arriving at the station;
[0068] S2: Based on the constructed passenger demand model and scenario general model, with the average departure interval, arrival stop time, and vehicle full load rate as constraints, the bus company cost and the passenger waiting cost at the station are collaboratively optimized to obtain the optimal cost;
[0069] S3: Adjust the departure time intervals of different periods of the bus schedule according to the optimal cost.
[0070] The present invention provides a bus schedule optimization method that considers multiple objectives and multiple scenarios. By constructing a passenger demand model and a scenario-general model, the bus company cost and the waiting cost of passengers at the station are collaboratively optimized, which can not only improve the operating efficiency of the bus company, but also play a positive role in the service level of the bus company. The introduction of the scenario-general model can clearly describe and locate the time, location, degree, and duration of interference, so that when interference occurs and backlogs occur, passengers can be evacuated in time, so that the affected bus system can be quickly restored.
[0071] Furthermore, in step S1, a passenger demand model and a scenario general model are constructed, wherein the passenger demand model includes passenger characteristics, bus enterprise costs, and waiting costs for passengers arriving at the station.
[0072] Specifically, since the characteristics of passengers arriving at a station within a period of time are usually dynamic and uncertain, it is more reasonable and effective to model the passenger demand as some statistical distribution (such as Poisson distribution). We assume that the arrival of passengers at each station i and destination j is a random counting process. By definition, the Poisson process has independent increments, and the arrival of passengers in any time period is a non-negative random variable, that is, where t,τ∈[t0,t end ], and because the arrival of passengers is allowed to occur more likely at some times than at other times, a non-homogeneous Poisson distribution can be used Represented, and then using a random process represents the number of random passengers arriving at platform i from time t0 to time t and whose destination is platform j, given the passenger arrival function Q i,j (t), where i∈[1,I],j∈(i,I]. Therefore, the probability that a passenger arrives at platform i from time t0 to t and that his destination is platform j is:
[0073]
[0074] Among them, i,j represents the platform number of a certain bus line in a certain direction. represents the number of passengers accumulated from the initial time to time t, with platform i as the departure station and platform j as the destination station, n i,j represents a certain number of passengers, Q i,j (t) represents the passenger arrival function.
[0075] random variable The expectation is a function of the estimated passenger arrivals Q i,j (t), that is:
[0076]
[0077] The cross-sectional passenger flow refers to the total passenger flow passing through a specific bus line in one direction, observed at a specific station during a specific period of time. The calculation formula is as follows:
[0078]
[0079] in, represents the passenger flow of section S in the rth period, represents the number of passengers boarding the bus at station i in the rth period, represents the number of people getting off at station i in the rth period.
[0080] The cost of bus companies is:
[0081]
[0082] Among them, M c represents the cost of the bus company, r represents the bus departure time, R k represents the number of time slots for line k, represents the end time of the rth period of line k, represents the average departure interval of line k in the rth period, represents the operating cost of a single bus in the rth period of line k, and T represents the bus running time.
[0083] Considering the vehicle purchase cost C1, labor cost C2, charging cost C3, and maintenance cost C4, without affecting the problem analysis, the costs other than the enterprise line operation, such as advertising, are not considered. The enterprise line operation cost calculation formula is:
[0084]
[0085]
[0086] C2=α×W
[0087]
[0088] C4=β×L
[0089] Among them, A represents the purchase cost of the bus, d represents the depreciation rate of the bus, Y represents the service life of the bus, α represents the passenger-to-vehicle ratio (the total number of personnel required for each bus), W represents per capita GDP, L represents the mileage of the bus, E represents the industrial electricity price, and β represents the maintenance cost per unit mileage.
[0090] The premise for calculating the waiting time is that the passenger arrivals follow a non-homogeneous Poisson distribution. The waiting time is affected by the passenger flow and the departure interval. The calculation formula is as follows:
[0091]
[0092] Among them, r represents the bus departure time, R k represents the number of time slots for line k, represents the passenger flow of section S in the rth period, It represents the average departure interval of line k in the rth period.
[0093] The per capita GDP of the area where the bus line is located is converted into a unit time value, and the waiting time of passengers is converted into expenses. The waiting cost of passengers arriving at the station is:
[0094]
[0095] Among them, M p represents the waiting cost of passengers arriving at the station, M t represents the waiting time of passengers arriving at the station, and W represents the GDP per capita.
[0096] The vector X = (x1, x2, x3, x4) represents the type of imbalance. The specific value represents the degree of imbalance. x1, x2, x3, and x4 represent the time when the imbalance scenario occurs. Occurrence site i(y), occurrence degree The occurrence time Δt is calculated as follows:
[0097]
[0098] Among them, k represents the bus line number, r represents the bus departure time, r∈(r s ,r e ), where r s ,r e They are the departure times of the first and last buses respectively, and S represents the section number.
[0099] Furthermore, in step S2, the average departure interval, the arrival parking time, and the vehicle full load rate are used as constraint conditions, which are specifically expressed as follows:
[0100] In order to avoid the problem of too long waiting time for passengers due to too large departure interval and too small departure interval causing waste of resources, the maximum and minimum departure interval constraints of vehicles are set. The constraint formula of the average departure interval is:
[0101]
[0102]
[0103]
[0104] Among them, k represents the bus line number, r represents the bus departure time, r∈(r s ,r e ), where r s ,r e are the departure times of the first and last buses, V represents the maximum number of passengers a vehicle can carry, and V 0.125 This means that the effective area occupied by each standing passenger is 0.125 m 2 The vehicle is limited to carry a certain number of passengers at the time, V 0.35 This means that the effective area occupied by each standing passenger is 0.35m 2 The vehicle is limited to the number of passengers at that time. represents the end time of the rth period of line k, represents the passenger flow of section S in the rth period, It represents the average departure interval of line k in the rth period.
[0105] In reality, two vehicles often arrive at the station at the same time due to unreasonable departure intervals. The arrival time of the rear vehicle should be set later than the departure time of the front vehicle. The constraint formula for the stop time at the station is:
[0106]
[0107] Among them, i represents the platform number of a certain bus line in a certain direction, k represents the bus line number, It represents the stopping time of bus line k at platform i.
[0108] Considering that the setting of departure interval is negatively correlated with the vehicle load factor, a reasonable departure interval usually requires a constraint on the vehicle load factor, and the number of people in the vehicle cannot be too small or too crowded. The constraint formula for the vehicle load factor is:
[0109]
[0110] in, represents the passenger flow of section S in the rth time period, V represents the maximum number of passengers allowed by the vehicle, and n represents the departure frequency.
[0111] The weighted cost of the bus company and the waiting cost of passengers at the station is used as the optimization objective function. The optimization objective function F is expressed as follows:
[0112]
[0113] Among them, M c represents the cost of the bus company, M prepresents the waiting cost of passengers arriving at the station, Ω represents the combination coefficient of the optimization objective function, k represents the bus line number, k=1,2…,K-1,K.
[0114] The average full load rate of the line is selected as an indicator for judging the characteristics of the passenger flow period. The optimization method is characterized in that the average full load rate of the line is selected as an indicator for judging the characteristics of the passenger flow period, and it is used as the combination coefficient Ω of the optimization objective function. The calculation formula of the combination coefficient Ω is:
[0115]
[0116] Among them, n represents the departure frequency, i represents the platform number of a certain bus line in a certain direction, and k represents the bus line number. represents the passenger flow of section S in the rth period, represents the average departure interval of line k in the rth period, represents the end time of the rth period of line k, V 0.125 This means that the effective area occupied by each standing passenger is 0.125 m 2 The vehicle is limited to carry a certain number of passengers at that time, and L represents the mileage of the bus.
[0117] The vehicle's limited passenger capacity V is related to the number of passenger seats P and the effective standing area. The formula is as follows: Take S2 = 0.125m 2 When the passenger is most accepting.
[0118]
[0119] Among them, S1 represents the effective area for standing passengers in the car, and S2 represents the effective area occupied by each standing passenger.
[0120] Furthermore, in step S3, the departure time intervals of different time periods in the bus schedule are adjusted according to the optimal cost.
[0121] Embodiment 2
[0122] 1. Optimization of bus schedule in non-interference scenarios
[0123] The present invention takes Beijing Bus Route 145 (formerly Bus Route 15) as an example. The route has 20 stations and a total length of 15.9 kilometers. The upward operation time is 05:30-22:00, and the downward operation time is 06:30-23:00. The original departure schedule is set by a time-division method, with peak and non-peak times of 8 minutes / vehicle and 15 minutes / vehicle respectively.
[0124] Vehicles have a service life, and their value will gradually be converted into transportation costs during their service life. The purchase cost of each vehicle is 600,000 yuan. When the service life of the vehicle is calculated in years, the depreciation rate is 0.1, and the vehicle service life is 10 years. The depreciation cost of the bus is calculated to be 6 yuan per hour.
[0125] In 2015, Beijing's GDP per capita was 113,100 yuan. Beijing's No. 145 bus operates 16.5 hours a day. According to the Labor Law, each person works 8 hours a day, and a driver works 166.6 hours a month. Therefore, the ratio of the number of drivers to the number of buses required for each bus is 365 / (166.6×12)=0.183. Referring to the relevant enterprise standards, the ratio of drivers, managers and other personnel to vehicles is 0.3. Therefore, the total number of personnel required for each bus is 0.483, and the daily labor cost for each bus is 19 yuan / hour. The industrial electricity price is 0.85 yuan / kWh, and 20 kWh is consumed per 100 kilometers, so the charging cost is 2.7 yuan / hour. The maintenance cost includes tire costs and other maintenance costs. The tire wear cost per unit mileage is 0.02 yuan / km, and the other maintenance costs are 0.16 yuan / km, that is, the maintenance cost coefficient is 0.18, and the maintenance cost is 2.9 yuan / hour.
[0126] The present invention collects the maximum cross-sectional passenger flow data of Beijing Bus Route 145 during the operation time of 5 working days from August 17 to August 21, 2015 every 15 minutes, and takes the average value to obtain the maximum cross-sectional passenger flow of Beijing Bus Route 145 in each period, as shown in the following Table 1:
[0127] Table 1
[0128]
[0129]
[0130] The example selected Beijing No. 145 bus route for research. The unreasonable schedule of Beijing No. 145 bus route was re-edited under the condition of non-interference operation. The results before and after optimization are as follows: Figure 2 , Figure 3 shown.
[0131] From the passenger flow distribution, we can see that the passenger flow during the morning and evening peak hours reaches the maximum value of the day, which is 3-4 times that of the off-peak hours. Before optimization, the operating cost of the bus company and the waiting cost of passengers arriving at the station were 40,392 yuan and 9,070 yuan respectively. Comparing the simulation results with the actual situation, the operating cost of the bus company and the waiting cost of passengers arriving at the station after optimization were 34,333 yuan and 9,928 yuan respectively. Taking the combination coefficient of the objective function as 0.7, the total cost was 27,121 yuan, which was 12.5% lower than the 30,995 yuan before optimization. At the same time, the number of vehicles was reduced from 80 vehicles / day to 70 vehicles / day, a decrease of 10%. The optimization results are significant.
[0132] As for the construction of optimization model, the existing research mainly has the problem of single influencing factors of objective function and incomplete constraint conditions. The model constructed by this invention is compared with the typical model in the existing research. The results are as follows: Figure 4 , Figure 5 This study considers the waiting cost and the operating cost of the vehicle from the perspective of passengers, and the employee cost and the operating cost of different vehicle models from the perspective of the company, and finally uses the genetic algorithm to solve the problem of reducing the total cost by 5%. The present invention uses the same passenger flow input data and considers the vehicle purchase cost, labor cost, charging cost, and maintenance cost more comprehensively from the perspective of the operating cost of the public transportation enterprise. The method constructed based on the present invention can achieve an effect of reducing the total cost by 11.5%.
[0133] 2. Bus schedule optimization under interference scenarios
[0134] In response to the disturbances suffered by bus routes under interference conditions, the present invention uses a method of adjusting the vehicle departure schedule to restore interference, so as to reduce the negative impact on passengers and bus companies. Taking the football match held at the "National Stadium" stop of Beijing Bus Route 145 as an example, the stop is used as an interference point. At 19:00, the entrance passenger flow increases to 8 times the original, and lasts for half an hour. At 8:45, the football match ends, and the exit passenger flow increases to 8 times the original, and lasts for half an hour, that is, X = (19:00, 1, 8, 30), X = (20:45, 1, 8, 30) respectively. As shown in Table 2 (Interference scenario parameter settings), Figure 6 shown.
[0135] Table 2
[0136]
[0137] When passenger flow increases suddenly, the departure timetable for non-interference scenarios cannot evacuate passengers in time, which may cause passenger backlog and affect passenger travel and road safety. On the basis of balancing the departure timetable for non-interference periods, reduce the departure time interval from the 13th to the 17th period, especially when the passenger flow reaches the peak, adjust the departure interval to 7 minutes, so that the backlog of passengers can quickly return to normal. Figure 7 The timetable adjustment in this scenario is mainly aimed at quickly recovering from the interference and minimizing the waiting time of passengers. The simulation results show that this solution can reduce the waiting cost of passengers arriving at the station by 46.2%.
[0138] Embodiment 3
[0139] like Figure 8 As shown, the present invention provides a bus schedule optimization system considering multiple objectives and multiple scenarios, and the system includes:
[0140] A model building unit 10, used to build a passenger demand model and a scenario general model;
[0141] The cost optimization module 20, based on the constructed passenger demand model and scenario general model, takes the average departure interval, the arrival parking time, and the vehicle full load rate as constraints, and coordinately optimizes the bus company cost and the passenger waiting cost at the arrival station to obtain the optimal cost;
[0142] The adjustment module 30 is used to adjust the departure time intervals of different periods of the bus schedule according to the optimal cost.
[0143] The system is used to implement the above-mentioned bus schedule optimization method considering multiple objectives and multiple scenarios. In order to avoid redundancy, it will not be described here.
[0144] An embodiment of the present invention also provides an electronic device, which includes a processor, a memory and a bus system, wherein the processor and the memory are connected through the bus system, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement the above-mentioned bus schedule optimization method considering multiple objectives and multiple scenarios.
[0145] An embodiment of the present invention also provides a computer storage medium, which stores a computer software product. The computer software product includes several instructions for enabling a computer device to execute the above-mentioned bus schedule optimization method considering multiple objectives and multiple scenarios.
[0146] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
[0147] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0148] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0149] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0150] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.
Claims
1. A bus schedule optimization method considering multiple objectives and scenarios, It is characterized in that The method comprises: S1: Constructing a passenger demand model and a scenario general model, wherein the passenger demand model includes passenger characteristics, bus enterprise costs, and waiting costs for passengers arriving at the station; Among them, the method of constructing a general scenario model is: Use vector X=(x 1 ,x 2 ,x 3 ,x 4 ) indicates the type of imbalance, and the specific value indicates the degree of imbalance. 1 、x 2 、x 3 、x 4 Represents the time when the imbalance scenario occurs Occurrence site i(y), occurrence degree The occurrence time Δt is calculated as follows: Among them, k represents the bus line number, r represents the bus departure time, r∈(r s ,r e ), where r s ,r e They are the departure times of the first and last buses, respectively, and S represents the section number; S2: Based on the constructed passenger demand model and scenario general model, with the average departure interval, arrival stop time, and vehicle full load rate as constraints, the bus company cost and the passenger waiting cost at the station are collaboratively optimized to obtain the optimal cost; Among them, the constraints are the average departure interval, the stop time at the station, and the vehicle full load rate, which are specifically expressed as follows: The constraint formula of the average departure interval is: Among them, k represents the bus line number, r represents the bus departure time, r∈(r s ,r e ), where r s ,r e are the departure times of the first and last buses, V represents the maximum number of passengers a vehicle can carry, and V 0.125 This means that the effective area occupied by each standing passenger is 0.125 m 2 The vehicle is limited to carry a certain number of passengers at the time, V 0.35 This means that the effective area occupied by each standing passenger is 0.35m 2 The vehicle is limited to the number of passengers at that time. represents the end time of the rth period of line k, represents the passenger flow of section S in the rth period, represents the average departure interval of line k in the rth period; The constraint formula of the arrival parking time is: Among them, i represents the platform number of a certain bus line in a certain direction, k represents the bus line number, represents the stopping time of bus line k at platform i; The constraint formula of the vehicle load factor is: in, represents the passenger flow of section S in the rth period, V represents the number of passengers allowed by the vehicle, and n represents the departure frequency; S3: Adjust the departure time intervals of different periods of the bus schedule according to the optimal cost.
2. According to the bus schedule optimization method considering multiple objectives and multiple scenarios according to claim 1, It is characterized in that The method to construct the passenger demand model is: The passenger characteristics are: Using random process Denotes the passenger from time t 0 The number of random passengers who arrive at platform i and whose destination is platform j at t; Passengers from time t 0 The probability of arriving at station i at time t and the destination being station j is: Among them, i,j represent the platform number of a certain bus line in a certain direction. represents the number of passengers accumulated from the initial time to time t, with platform i as the departure station and platform j as the destination station, n i,j represents a certain number of passengers, Q i,j (t) represents the passenger arrival function; The cost of the public transport enterprise is: Among them, M c represents the cost of the bus company, r represents the bus departure time, R k represents the number of time slots for line k, represents the end time of the rth period of line k, represents the average departure interval of line k in the rth period, represents the operating cost of a single bus in the rth period of route k, and T represents the bus operation time; The waiting cost for passengers arriving at the station is: M p =M t ·W Among them, M p represents the waiting cost of passengers arriving at the station, M t represents the waiting time of passengers arriving at the station, and W represents the GDP per capita.
3. According to the bus schedule optimization method considering multiple objectives and multiple scenarios as described in claim 2, It is characterized in that The waiting time M of the arriving passengers t It obeys the non-homogeneous Poisson distribution, and the calculation formula is: Among them, r represents the bus departure time, R k represents the number of time slots for line k, represents the passenger flow of section S in the rth period, It represents the average departure interval of line k in the rth period.
4. According to the bus schedule optimization method considering multiple objectives and multiple scenarios as described in claim 1, It is characterized in that The method of collaboratively optimizing the bus company costs and the waiting costs of passengers at the station to obtain the optimal cost is: The weighted cost of the bus company and the waiting cost of passengers at the station is used as the optimization objective function. The optimization objective function F is expressed as follows: Among them, M c represents the cost of the bus company, M p represents the waiting cost of passengers arriving at the station, Ω represents the combination coefficient of the optimization objective function, k represents the bus line number, k=1,2…,K-1,K.
5. According to the bus schedule optimization method considering multiple objectives and multiple scenarios according to claim 4, It is characterized in that The average full load rate of the line is selected as an indicator for judging the characteristics of the passenger flow period, and is used as the combination coefficient Ω of the optimization objective function. The calculation formula of the combination coefficient Ω is: Among them, n represents the departure frequency, i represents the platform number of a certain bus line in a certain direction, and k represents the bus line number. represents the passenger flow of section S in the rth period, represents the average departure interval of line k in the rth period, represents the end time of the rth period of line k, V 0.125 This means that the effective area occupied by each standing passenger is 0.125 m 2 The vehicle is limited to carry a certain number of passengers at that time, and L represents the mileage of the bus.
6. A bus schedule optimization device considering multiple objectives and multiple scenarios, It is characterized in that The device is used to implement the bus schedule optimization method considering multiple objectives and multiple scenarios as described in any one of claims 1 to 5, comprising: A model building unit, used to build a passenger demand model and a scenario general model, wherein the passenger demand model includes passenger characteristics, bus enterprise costs, and waiting costs for passengers arriving at the station; The cost optimization module is based on the constructed passenger demand model and scenario general model, and uses the average departure interval, arrival parking time, and vehicle full load rate as constraints to coordinately optimize the bus company cost and the waiting cost of passengers arriving at the station to obtain the optimal cost. The adjustment module is used to adjust the departure time intervals of different periods of the bus schedule according to the optimal cost.
7. An electronic device, It is characterized in that The electronic device includes a processor, a memory and a bus system, the processor and the memory are connected through the bus system, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement the bus schedule optimization method considering multiple objectives and multiple scenarios as described in any one of claims 1 to 5.
8. A computer storage medium, It is characterized in that The computer storage medium stores a computer software product, and the computer software product includes several instructions for enabling a computer device to execute the bus schedule optimization method considering multiple objectives and multiple scenarios as described in any one of claims 1 to 5.
