当前位置:网站首页>Mathematical modeling -- bus scheduling optimization
Mathematical modeling -- bus scheduling optimization
2022-07-29 02:04:00 【abcwsp】
This paper identifies the peak period of Gaoping by establishing a profit threshold model , Comprehensively consider the allocation of bus line resources and passenger waiting time , Establish a multi-objective optimization model , Optimize the bus scheduling scheme through artificial immune algorithm , Predict the passenger flow by establishing a gradient lifting tree model , So as to predict “ peak ” and “ Flat peak ” period .
Considering that citizens' travel is not “ uniform ” Of ,“ peak ” The need for representation refers to the period when there are more passengers , For the convenience of handling , We will spend some time Δ T \varDelta T ΔT The difference between the total operating revenue and the total operating cost within the is not less than a given “ threshold ” Time period of . The key to the problem is how to establish the relationship between time and operation revenue and cost, as well as the choice of threshold , This group establishes a net profit threshold model , The concept of traffic index is introduced as the basis for threshold selection , Thus, it reasonably defines “ peak ” And “ Flat peak ” The division basis of .\par
Net profit threshold model
Considering the cost of operating buses, there are many factors , Including variable costs over a period of time C ~ \widetilde{C} C—— Fuel consumption 、 Wear factor, etc , And fixed costs C ‾ \overline{C} C—— Driver's salary and car purchase expenses , Here we consider to distinguish peak period or peak period , This group first divides the departure time into several tight intervals , Observe whether the net profit of each division reaches the threshold :
Ω = [ T 0 , T 1 ] ∪ [ T 1 , T 2 ] ∪ ⋯ ∪ [ T N − 1 , T N ] \varOmega =\left[ T_0,T_1 \right] \cup \left[ T_1,T_2 \right] \cup \cdots \cup \left[ T_{N-1},T_N \right] Ω=[T0,T1]∪[T1,T2]∪⋯∪[TN−1,TN]
The division interval length is : Δ T = T n − T n − 1 \varDelta T=T_n-T_{n-1} ΔT=Tn−Tn−1
Set the first i i i The travel time of the shift is recorded as : [ t i , t i + t t o t a l ] [t_i ,t_i +t_{total}] [ti,ti+ttotal], Therefore, each shift is divided into areas by sampling [ T n , T n + 1 ] \left[ T_{n},T_{n+1} \right] [Tn,Tn+1] The cost consumed on is c n i c_{n}^{i} cni:
c n i = { [ min ( T n + 1 , t i + 1 ) − max ( T n , t i ) ] ⋅ v ⋅ f T n ⩽ t i + 1 a n d T n + 1 ⩾ t i 0 T n > t i + 1 o r T n + 1 < t i c_{n}^{i}=\begin{cases} \left[ \min \left( T_{n+1},t_{i+1} \right) -\max \left( T_n,t_i \right) \right] \cdot v\cdot f\,\, \qquad T_n\leqslant t_{i+1}\,\,and\,\,T_{n+1}\geqslant t_i\,\, \\ 0 \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \quad \,\, T_n>t_{i+1}\,\,or\,\, T_{n+1}<t_i\\ \end{cases} cni={ [min(Tn+1,ti+1)−max(Tn,ti)]⋅v⋅fTn⩽ti+1andTn+1⩾ti0Tn>ti+1orTn+1<ti
among , The first i i i The starting time of the bus is t i t_i ti:
t i = T 0 + ( i − 1 ) Δ t i − 1 t_i=T_0+\left( i-1 \right) \varDelta t_{i-1} ti=T0+(i−1)Δti−1
Then sample and divide the area [ T n , T n + 1 ] \left[ T_{n},T_{n+1} \right] [Tn,Tn+1] The total cost of variable costs consumed on is :
Δ C ~ N = ∑ i = 1 M c N i \varDelta \widetilde{C}_N=\sum_{i=1}^M{c_{N}^{i}} ΔCN=i=1∑McNi
therefore , Sample and divide the area [ T n , T n + 1 ] [ T_{n},T_{n+1}] [Tn,Tn+1] Total cost consumed on C C C by :
Δ C = Δ C ~ + Δ C ‾ \varDelta C=\varDelta \widetilde{C}+\varDelta \overline{C} ΔC=ΔC+ΔC
Considering that the influencing factor of income is the arrival rate of passengers , Set the first j j j The arrival rate of passengers at stations over time is r j r_j rj, hypothesis r j r_j rj Subject to uniform distribution ( people / minute ), Then sample and divide the area $ \left[ T_{n},T_{n+1} \right]$ The total income on the is :
Δ I = P ⋅ ∑ Δ t Δ t ⋅ r j \varDelta I=P\cdot \sum_{\varDelta t}{\varDelta t \cdot r_j } ΔI=P⋅Δt∑Δt⋅rj
problem 2 Model building
Suppose the arrival rate of passengers follows a uniform distribution, that is :
r j ∼ U ( t j − 1 , t j ) r_j \sim U\left( t_{j-1},t_j \right) rj∼U(tj−1,tj)
The average waiting time of passengers is :
t ˉ = t i − t i − 1 2 \bar{t}=\frac{t_i-t_{i-1}}{2} tˉ=2ti−ti−1
Set the first i i i The departure time of each train is T i T_i Ti, The first i i i Cars arrive ( Or leave ) The first j j j The time of standing is : T i j T_i^j Tij be :
T i j = { T i + ∑ n = 2 j d n j > 1 T i j = 1 T_{i}^j =\begin{cases} T_i+\sum_{n=2}^j{d_n}\,\,\quad \qquad j>1 \\ T_i\,\, \qquad \qquad \quad \qquad j=1\\ \end{cases} Tij={ Ti+∑n=2jdnj>1Tij=1
Considering the time interests of customers 、 Service satisfaction , Introduce waiting overtime rate W T WT WT Show the convenience of the client :
W T = Waiting time exceeds 15 The total number of people in minutes The total number of people on board during the dispatching period WT=\frac{\text{ Waiting time exceeds }15\text{ The total number of people in minutes }}{\text{ The total number of people on board during the dispatching period }} WT= The total number of people on board during the dispatching period Waiting time exceeds 15 The total number of people in minutes
That is to say :
W T = ∑ T i j ∑ h = 1 h i j { W i j ( h ) ∣ W T i j ( h ) ⩾ 15 } ∑ T i j P i ( T i j ) WT=\frac{\sum\limits_{T_{i}^j}{\sum\limits_{h=1}^{h_{ij}}{\left\{ W_{i}^j \left( h \right) |WT_{ij}\left( h \right) \geqslant 15 \right\}}}}{\sum\limits_{T_{i}^j}{P_i\left( T_{i}^j \right)}} WT=Tij∑Pi(Tij)Tij∑h=1∑hij{ Wij(h)∣WTij(h)⩾15}
In style W i j ( h ) W_{i}^j (h) Wij(h) Show the third i i i The car arrives at j j j When standing , The station has been waiting h h h Vehicles , The number of people who still haven't got on the bus , Let these people have waited for :
W T i j ( h ) = T i j − T i − h j , W i j ( 0 ) = U i j WT_{i}^j\left( h \right) =T_{i}^j-T_{i-h}^j,W_{i}^j \left( 0 \right) =U_{ij} WTij(h)=Tij−Ti−hj,Wij(0)=Uij
In style U i j U_{i}^j Uij It means that T i − 1 j T_{i-1}^j Ti−1j To T i j T_{i}^j Tij Within the time frame , The number of new people waiting at the station :
W W i j ( 0 ) = ∫ T i − 1 j T i j u i ( t ) d t WW_{i}^{j}\left( 0 \right) =\int_{T_{i-1}^{j}}^{T_{i}^{j}}{u_i\left( t \right) dt} WWij(0)=∫Ti−1jTijui(t)dt
set up h i j h_{ij} hij It means the first one k k k Cars arrive j j j When standing , The number of waiting vehicles for the longest waiting passengers at the station , Is the first i i i The car left the j j j The number of passengers on the train at the station can be expressed as :
P i ( T i j ) = { a i j + ∑ r = 0 h i j W i j ( r ) , h i j ∗ = 0 , M , h i j ∗ > 0. P_i\left( T_{i}^{j} \right) =\begin{cases} a_{ij}+\sum_{r=0}^{h_{ij}}{W_{i}^{j}}\left( r \right) ,& \qquad h_{ij}^{*}=0,\\ M,& \qquad h_{ij}^{*}>0.\\ \end{cases} Pi(Tij)={ aij+∑r=0hijWij(r),M,hij∗=0,hij∗>0.
among a i j a_{ij} aij For the first time i i i The car arrives at j j j Post station , Wait for the passengers to get off , The number of remaining passengers on the train :
a i j = max { ( P k ( T i j − 1 ) − D j ) , 0 } a_{ij}=\max \left\{ \left( P_k\left( T_{i}^{j-1} \right) -D_j \right) \text{,}0 \right\} aij=max{ (Pk(Tij−1)−Dj),0}
In style D j D_j Dj For in the j j j Number of passengers getting off at the station .
set up M M M It is the maximum number of people carried by the vehicle , Then the number of passengers that can be accommodated at this time is recorded as :
b i j = M − a i j b_{ij}=M-a_{ij} bij=M−aij
Based on the queuing principle of first come, first get on , In the k + 1 k+1 k+1 The car arrives at j j j Standing time , The maximum number of times you still have to wait for a vehicle h i j ∗ h_{ij}^{*} hij∗:
h i j ∗ = max { h ∣ ∑ r = 0 h i j W i j ( r ) ⩽ b i j } , h_{ij}^{*}=\max \left\{ h|\sum_{r=0}^{h_{ij}}{W_{ij}\left( r \right)}\leqslant b_{ij} \right\} , hij∗=max⎩⎨⎧h∣r=0∑hijWij(r)⩽bij⎭⎬⎫,



边栏推荐
- Day01 job
- 抓包工具Charles使用
- FPGA实现10M多功能信号发生器
- Talk about possible problems when using transactions (@transactional)
- [UE4] replay game playback for ue4.26
- Have you ever encountered the situation that the IP is blocked when crawling web pages?
- 规划数学期末模拟考试一
- Monadic linear function perceptron: Rosenblatt perceptron
- 数学建模——派出所选址
- Use POI to export excel file, image URL to export file, image and excel file to export compressed package
猜你喜欢

Stonedb invites you to participate in the open source community monthly meeting!
![[the road of Exile - Chapter III]](/img/f8/3d1dfabaacf030450c1576fe543cfa.png)
[the road of Exile - Chapter III]

JS 定时器setInterval clearInterval 延时器setTimeOut 异步 动画

移动通信——基于卷积码的差错控制系统仿真模型

为什么 BI 软件都搞不定关联分析
![[web technology] 1395 esbuild bundler HMR](/img/74/be75c8f745f18b374ed15c8e1b4466.png)
[web technology] 1395 esbuild bundler HMR
![[observation] ranked first in SaaS of pure public cloud in three years, and yonsuite's](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[observation] ranked first in SaaS of pure public cloud in three years, and yonsuite's "flywheel effect"
![[the road of Exile - Chapter 7]](/img/3c/8b4b7c40367b8b68d0361d9ca4013a.png)
[the road of Exile - Chapter 7]
![[UE4] replay game playback for ue4.26](/img/c3/1c7b30797f46dbd323cac4d158600f.png)
[UE4] replay game playback for ue4.26

数学建模——公交调度优化
随机推荐
[observation] ranked first in SaaS of pure public cloud in three years, and yonsuite's "flywheel effect"
[the road of Exile - Chapter 6]
druid. IO custom real-time task scheduling policy
Talk about possible problems when using transactions (@transactional)
JVM learning minutes
Wonderful use of data analysis
【流放之路-第三章】
Day01作业
【流放之路-第八章】
Add graceful annotations to latex formula; "Data science" interview questions collection of RI Gai; College Students' computer self-study guide; Personal firewall; Cutting edge materials / papers | sh
How to deal with the DDoS attack on the game server and how to defend it?
MySQL high performance optimization notes (including 578 pages of notes PDF document), collected
Comprehensive explanation of "search engine crawl"
数据平台数据接入实践
科研环境对人的影响是很大的
E-commerce keyword research helps data collection
【流放之路-第四章】
Explanation of yocto project directory structure
With the explosive growth of digital identity in 2022, global organizations are facing greater network security
Semiconductor chip industry chain