CN112085271B - A Crowdsourcing Model-Based Optimization Method for Collecting Goods in Traditional Industry Clusters - Google Patents
A Crowdsourcing Model-Based Optimization Method for Collecting Goods in Traditional Industry Clusters Download PDFInfo
- Publication number
- CN112085271B CN112085271B CN202010933700.1A CN202010933700A CN112085271B CN 112085271 B CN112085271 B CN 112085271B CN 202010933700 A CN202010933700 A CN 202010933700A CN 112085271 B CN112085271 B CN 112085271B
- Authority
- CN
- China
- Prior art keywords
- truck
- logistics
- cost
- demand
- path
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000005457 optimization Methods 0.000 title claims abstract description 21
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 18
- 230000002068 genetic effect Effects 0.000 claims abstract description 13
- 238000012423 maintenance Methods 0.000 claims description 4
- 238000004458 analytical method Methods 0.000 claims 2
- 230000003111 delayed effect Effects 0.000 claims 1
- 238000012358 sourcing Methods 0.000 claims 1
- 238000007621 cluster analysis Methods 0.000 abstract description 9
- 238000004364 calculation method Methods 0.000 description 3
- 239000004753 textile Substances 0.000 description 2
- 241000531116 Blitum bonus-henricus Species 0.000 description 1
- 235000008645 Chenopodium bonus henricus Nutrition 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000013068 supply chain management Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/047—Optimisation of routes or paths, e.g. travelling salesman problem
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/12—Computing arrangements based on biological models using genetic models
- G06N3/126—Evolutionary algorithms, e.g. genetic algorithms or genetic programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0835—Relationships between shipper or supplier and carriers
- G06Q10/08355—Routing methods
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biophysics (AREA)
- General Physics & Mathematics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Development Economics (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Game Theory and Decision Science (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Biomedical Technology (AREA)
- Artificial Intelligence (AREA)
- Genetics & Genomics (AREA)
- Physiology (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种基于众包模式的传统产业集群集货路径优化方法,属于物流路径优化技术领域。The invention relates to a traditional industrial cluster collection path optimization method based on crowdsourcing mode, and belongs to the technical field of logistics path optimization.
背景技术Background technique
我国经过改革开放之后,形成了一批影响力较大的传统产业集群,如中国(常熟)招商城、南通叠石桥家纺市场等。这些传统产业集群已经成为撬动国内经济增长和现代化建设的重要支点。然而,这些自发形成的传统产业集群社会化物流意识相对薄弱,自营物流比例较高,物流供应链管理滞后等问题普遍存在。同时集群内部物流企业主体较多,规模较小且各自为政,导致了传统产业集群内部物流动线混乱、物流资源浪费。这些问题大大限制了传统产业集群转型升级的发展步伐,传统产业集群的物流体系亟待优化升级。After my country's reform and opening up, a number of traditional industrial clusters with greater influence have been formed, such as China (Changshu) Zhaoshang Mall and Nantong Dieshiqiao Home Textiles Market. These traditional industrial clusters have become an important fulcrum for leveraging domestic economic growth and modernization. However, these spontaneously formed traditional industrial clusters have relatively weak awareness of socialized logistics, high proportion of self-operated logistics, and lagging logistics supply chain management. At the same time, there are many main bodies of logistics enterprises in the cluster, which are small in scale and independent, which leads to the confusion of logistics lines and waste of logistics resources in traditional industrial clusters. These problems greatly limit the pace of development of the transformation and upgrading of traditional industrial clusters, and the logistics system of traditional industrial clusters needs to be optimized and upgraded urgently.
众包模式物流配送是指将本该由专业机构完成的配送工作,转交给企业外的社会大众群体来完成的物流模式,一般是由物流需求方将物流需求发布到专门的公共信息平台上,有服务意愿的物流从业者也将其信息录入到该信息平台上,由平台对资源进行整合,统一派单并进行车辆调度,最后物流从业者与平台结算获得酬劳,如图2所示。众包模式可充分利用社会的闲散物流资源,提高物流配送效率。Crowdsourcing mode logistics distribution refers to the logistics mode in which the distribution work that should be completed by professional institutions is transferred to the social public groups outside the enterprise to complete. Generally, the logistics demander publishes the logistics demand to a special public information platform. Logistics practitioners who are willing to serve also enter their information into the information platform. The platform integrates resources, dispatches orders and dispatches vehicles in a unified manner. Finally, logistics practitioners settle with the platform and get paid, as shown in Figure 2. The crowdsourcing model can make full use of the idle logistics resources of the society and improve the efficiency of logistics distribution.
目前国内外关于运力资源配置、末端配送模式、调度优化的研究已经比较充分,但将众包模式应用到配送方面的研究较少。众包思想可有效整合传统产业集群既有的中小物流企业,基于众包模式对车辆调度进行优化,能实现集群整体的物流效率最优,降低物流成本,对传统产业集群末端物流整合与优化调度具有重要的指导意义。At present, domestic and foreign researches on capacity resource allocation, terminal distribution mode, and scheduling optimization have been relatively sufficient, but there are few studies on the application of crowdsourcing mode to distribution. The idea of crowdsourcing can effectively integrate the existing small and medium-sized logistics enterprises in traditional industrial clusters, and optimize vehicle scheduling based on the crowdsourcing model. has important guiding significance.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的技术问题是:提供一种基于众包模式的传统产业集群集货路径优化方法,该方法能够减少路径优化过程中的计算步骤,提高运算效率,更快速地得到最优集货路径。从而更充分地利用传统产业集群的物流资源,提高物流效率,降低物流成本。The technical problem to be solved by the present invention is: to provide a traditional industrial cluster cargo collection path optimization method based on crowdsourcing mode, which can reduce the calculation steps in the path optimization process, improve the computing efficiency, and obtain the optimal collection of goods more quickly. path. In this way, the logistics resources of traditional industrial clusters can be more fully utilized, the logistics efficiency can be improved, and the logistics cost can be reduced.
本发明为解决上述技术问题采用以下技术方案:The present invention adopts the following technical solutions for solving the above-mentioned technical problems:
一种基于众包模式的传统产业集群集货路径优化方法,包括如下步骤:A method for optimizing the collection path of traditional industrial clusters based on crowdsourcing mode, comprising the following steps:
步骤1,对传统产业集群集货过程中的成本进行分析,建立以总成本最低为目标的目标函数;Step 1, analyze the cost in the process of collecting goods in traditional industrial clusters, and establish an objective function with the lowest total cost as the goal;
所述目标函数如下:The objective function is as follows:
其中,C表示总成本;C1、C2、C3、C4分别表示货车固定成本、货车行驶成本、货车载重成本、时间窗运输惩罚成本;Cg表示单个货车的固定使用与维修保养成本,Xr表示货车r是否被使用,Xr为0-1变量,r=1,…,m,m表示可用货车的数量;Cd表示单个货车空载时行驶单位距离的成本,dri表示货车r到物流需求方i的距离,表示物流需求方i是否是货车r第一个服务的客户,为0-1变量,i=1,…,n,n表示物流需求方的数量;dij表示物流需求方i到物流需求方j的距离,表示货车r是否为物流需求方i服务后立刻为物流需求方j服务,为0-1变量,j=1,…,n+1,j≠i,j=n+1时表示货车将货运回集群物流中心;Cw表示单个货车将单位重量运输单位距离的成本,Wri表示货车r到达物流需求方i取货后车上货物的总重量;Ci表示物流需求方i的惩罚成本,Xi表示物流需求方i是否在约定的时间内得到服务,Xi为0-1变量;Among them, C represents the total cost; C 1 , C 2 , C 3 , and C 4 represent the fixed cost of trucks, truck driving costs, truck weight costs, and time window transportation penalty costs, respectively; C g represents the fixed use and maintenance costs of a single truck , X r represents whether the truck r is used, X r is a 0-1 variable, r=1,...,m, m represents the number of available trucks; C d represents the cost of traveling a unit distance when a single truck is empty, d ri represents The distance from the truck r to the logistics demand side i, Indicates whether the logistics demander i is the first customer served by the truck r, is a 0-1 variable, i=1,...,n, n represents the number of logistics demanders; d ij represents the distance from logistics demander i to logistics demander j, Indicates whether the truck r serves the logistics demander j immediately after serving the logistics demander i, is a 0-1 variable, j=1,...,n+1, j≠i, j=n+1 means that the truck will return the freight to the cluster logistics center; C w means the cost of a single truck transporting the unit weight per unit distance, W ri represents the total weight of the goods on the truck after the truck r arrives at the logistics demander i to pick up the goods; C i represents the penalty cost of the logistics demander i , Xi indicates whether the logistics demander i is served within the agreed time, and Xi is 0 -1 variable;
步骤2,在已知物流需求方位置、物流需求方货运需求量、货车位置、货车额定载货量的情况下,设定约束条件;
步骤3,将货车位置作为聚类中心,采用聚类分析方法对物流需求方进行初始聚类,同时应用贪心思想,确定最低货车数量及对应的货车,同时确定每辆货车对应服务的物流需求方;Step 3: Using the location of the trucks as the clustering center, use the cluster analysis method to initially cluster the logistics demanders, and at the same time apply the greedy idea to determine the minimum number of trucks and the corresponding trucks, and at the same time determine the logistics demanders corresponding to each truck. ;
步骤4,根据步骤3确定的最低货车数量及对应的货车,采用聚类分析方法进行二次聚类,将物流需求方分配给上述确定的货车;Step 4: According to the minimum number of trucks and the corresponding trucks determined in Step 3, secondary clustering is performed by using the cluster analysis method, and the logistics demander is allocated to the trucks determined above;
步骤5,根据步骤4的聚类结果,以总距离最短为目标确定货车的路径,并将上述货车的路径作为遗传算法的初始种群,基于步骤4的聚类结果,以总成本最低为目标采用遗传算法对货车的路径进行优化,优化过程中对货车数量以及每辆货车对应服务的物流需求方进行调整,从而得到总成本最低时所对应的货车数量以及每辆货车的路径,即总成本最低方案;Step 5: According to the clustering result of Step 4, determine the path of the truck with the shortest total distance as the goal, and use the above-mentioned path of the truck as the initial population of the genetic algorithm. Based on the clustering result of Step 4, use the lowest total cost as the goal. The genetic algorithm optimizes the path of the trucks. During the optimization process, the number of trucks and the logistics demand side of the corresponding service of each truck are adjusted, so as to obtain the number of trucks corresponding to the lowest total cost and the path of each truck, that is, the lowest total cost. Program;
步骤6,采用步骤2设定的约束条件对步骤5得到的总成本最低方案进行判别,当步骤5得到的总成本最低方案满足所有的约束条件时,该方案即为最优解;否则,调整每辆货车对应服务的物流需求方以及货车的路径,直至得到最优解。Step 6: Use the constraints set in
作为本发明的一种优选方案,步骤1所述物流需求方i的惩罚成本Ci表示为:As a preferred solution of the present invention, the penalty cost C i of the logistics demander i described in step 1 is expressed as:
其中,Ti表示货车抵达物流需求方i所需的时间,γ1表示货车提前到达提供服务的惩罚系数,γ2表示货车延后到达提供服务的惩罚系数,LTi、ETi分别表示物流需求方i的理想服务时间窗的上、下限,lTi、eTi分别表示物流需求方i能够接受的最大服务时间窗的上、下限。Among them, T i represents the time required for the truck to arrive at the logistics demander i, γ 1 represents the penalty coefficient of the truck arriving in advance to provide services, γ 2 represents the penalty coefficient of the truck arriving late to provide services, LT i and ET i represent the logistics demand, respectively The upper and lower limits of the ideal service time window of party i, lT i and eT i respectively represent the upper and lower limits of the maximum service time window that the logistics demander i can accept.
作为本发明的一种优选方案,步骤2所述约束条件如下:As a preferred solution of the present invention, the constraints described in
约束条件1:至少选择一辆货车为所有的物流需求方提供服务,即 Constraint 1: At least one truck is selected to serve all logistics demanders, that is
约束条件2:最终确定的货车能够完成所有的集货服务,即Qr表示货车r的额定载货量,Qi表示物流需求方i的货运需求量;Constraint 2: The finalized truck can complete all cargo collection services, that is Q r represents the rated cargo capacity of the truck r, and Qi represents the freight demand of the logistics demander i ;
约束条件3:货车r到达物流需求方i取货后车上货物的总重量Wri等于货车r在前一个物流需求方取货后车上货物的总重量加上物流需求方i的货运需求量Qi;Constraint 3: The total weight W ri of the goods on the truck after the truck r arrives at the logistics demander i to pick up the goods is equal to the total weight of the goods on the truck after the truck r picks up the goods from the previous logistics demander plus the freight demand of the logistics demander i Q i ;
约束条件4:货车r的实际集货量不超过其额定载货量,即 表示物流需求方i是否由货车r提供服务,为0-1变量;Constraint 4: The actual cargo volume of the truck r does not exceed its rated cargo capacity, that is Indicates whether the logistics demander i is served by the truck r, is a 0-1 variable;
约束条件5:,最终确定的所有货车的集货总量等于所有物流需求方的货运需求总量,即 Constraint 5: The total amount of goods collected by all trucks finally determined is equal to the total amount of freight demand of all logistics demanders, namely
约束条件6:根据货车提供服务的时间以及物流需求方i能够接受的最大服务时间窗的上、下限,确定物流需求方i的惩罚成本Ci。Constraint 6: Determine the penalty cost C i of the logistics demander i according to the time when the truck provides services and the upper and lower limits of the maximum service time window that the logistics demander i can accept.
本发明采用以上技术方案与现有技术相比,具有以下技术效果:Compared with the prior art, the present invention adopts the above technical scheme, and has the following technical effects:
本发明参考LRP问题的求解步骤,将路径优化问题划分为多个子问题逐步解决,以遗传算法为核心,将聚类分析模型与贪心算法的基本理念结合,得到优质的初始种群,缩短进化过程,减少迭代中的计算步骤,提高了运算效率,更快速地得到最优集货路径。从而更充分地利用传统产业集群的物流资源,提高物流效率,降低物流成本。The invention refers to the solving steps of the LRP problem, divides the path optimization problem into a plurality of sub-problems and solves it step by step, takes the genetic algorithm as the core, combines the cluster analysis model with the basic concept of the greedy algorithm, obtains a high-quality initial population, and shortens the evolution process. The calculation steps in the iteration are reduced, the calculation efficiency is improved, and the optimal cargo collection path can be obtained more quickly. In this way, the logistics resources of traditional industrial clusters can be more fully utilized, the logistics efficiency can be improved, and the logistics cost can be reduced.
附图说明Description of drawings
图1是本发明基于众包模式的传统产业集群集货路径优化方法的流程图。FIG. 1 is a flow chart of the method for optimizing the collection path of traditional industrial clusters based on the crowdsourcing mode of the present invention.
图2是传统产业集群众包物流流程图。Figure 2 is a flow chart of mass-contracting logistics for traditional industries.
图3是本发明基于众包模式传统产业集群的集货流程图。FIG. 3 is a flow chart of the collection of goods in a traditional industry cluster based on the crowdsourcing mode of the present invention.
图4是本发明以遗传算法为核心结合聚类分析与贪心算法的最优集货路径求解基本流程图。FIG. 4 is a basic flow chart of the present invention, which takes genetic algorithm as the core and combines cluster analysis and greedy algorithm to solve the optimal collection path.
具体实施方式Detailed ways
下面详细描述本发明的实施方式,所述实施方式的示例在附图中示出。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but not to be construed as a limitation of the present invention.
如图1所示,为本发明基于众包模式的传统产业集群集货路径优化方法的流程图,该方法包括以下步骤:As shown in Figure 1, it is a flow chart of the method for optimizing the collection path of traditional industrial clusters based on the crowdsourcing mode of the present invention, and the method includes the following steps:
S1、基于众包模式的传统产业集群集货过程中的成本进行分析,以总成本最低为目标函数。S1. Analyze the cost in the process of collecting goods in traditional industrial clusters based on the crowdsourcing model, and take the lowest total cost as the objective function.
基于众包模式的传统产业集群集货过程中的成本,具体包括:货车固定成本货车行驶成本货车载重成本时间窗约束惩罚成本四类,Costs in the process of collecting goods in traditional industrial clusters based on the crowdsourcing model, including: fixed cost of trucks truck driving cost Truck weight cost time window constraint penalty cost four categories,
其中, in,
故其总成本最低目标函数如下所示:Therefore, the minimum total cost objective function is as follows:
其中,Mr为当下集群可用的众包货车的集合,r=1,…,m;Cg表示货车的固定使用与维修保养成本;Xr为0-1变量,表示车辆r是否被应用;Ni为产生货运需求的客户的集合,i=1,…,n;Cd代表货车空载时行驶单位距离的成本;dri表示货车r到客户i的距离;为0-1变量,表示客户i是否是货车r第一个服务的客户;dij表示客户i到客户j的距离;为0-1变量,表示货车r是否为客户i服务后立刻为客户j服务;Cw代表货车将单位重量运输单位距离的成本;Wri代表货车r到达客户i取货后车上货物的总重量;Ci表示客户i的惩罚成本;Xi为0-1变量,表示客户i是否在约定的时间内得到服务;Ti表示货车抵达客户i点所需的时间;γ1表示货车提前到达提供服务的惩罚系数;γ2表示货车延后到达提供服务的惩罚系数;[ETi,LTi]为客户i理想的服务时间窗;[eTi,lTi]为客户i可以接受服务的最大时间窗。i为当下有物流需求的客户,j为当下有物流需求的客户或集群物流中心E,当j=n+1时表示货车最后将货运回集群物流中心,i与j不可代表同一客户,j≠i,i∈Ni,j∈Ni∪E。Among them, M r is the set of crowdsourced trucks available in the current cluster, r=1,...,m; C g represents the fixed use and maintenance cost of the truck; X r is a 0-1 variable, indicating whether the vehicle r is used; Ni is the set of customers who generate freight demand, i =1,...,n; C d represents the cost of traveling a unit distance when the truck is empty; d ri represents the distance from truck r to customer i; is a 0-1 variable, indicating whether customer i is the first customer served by truck r; d ij represents the distance from customer i to customer j; It is a 0-1 variable, indicating whether truck r serves customer j immediately after serving customer i; C w represents the cost of transporting unit weight by the truck per unit distance; W ri represents the total amount of goods on the truck after truck r arrives at customer i to pick up the goods. weight; Ci represents the penalty cost of customer i; X i is a 0-1 variable, indicating whether customer i is served within the agreed time; Ti represents the time it takes for the truck to reach customer i ; γ 1 represents the truck arrives ahead of schedule Penalty coefficient for providing services; γ 2 represents the penalty coefficient for trucks arriving late to provide services; [ET i ,LT i ] is the ideal service time window for customer i; [eT i ,lT i ] is the maximum service time that customer i can accept Time Window. i is a customer with current logistics needs, j is a customer with current logistics needs or cluster logistics center E, when j=n+1, it means that the truck will finally return the goods to the cluster logistics center, i and j cannot represent the same customer, j≠ i, i∈N i , j∈N i ∪E.
S2、在客户需求量、客户位置、众包车辆位置已知的情况下,以客户需求、车辆容量、时间窗要求作为约束。S2. When customer demand, customer location, and crowdsourced vehicle location are known, take customer demand, vehicle capacity, and time window requirements as constraints.
1)至少选择一辆货车为所有的物流需求方提供服务, 1) Select at least one truck to serve all logistics demanders,
2)最终选定的货车有能力满足所有的客户需求,能够完成所有的集货服务,其中Qi表示客户i的货运需求量;Qr表示车辆r的额定载货量。2) The final selected truck has the ability to meet all customer needs and complete all cargo collection services, Where Q i represents the freight demand of customer i; Q r represents the rated cargo capacity of vehicle r.
3)货车r到达客户i取货后车上货物的总重量Wri等于前一个点的总重量加上客户i的货运需求量Qi。3) After the truck r arrives at the customer i to pick up the goods, the total weight W ri of the goods on the truck is equal to the total weight of the previous point plus the freight demand quantity Q i of the customer i .
4)每条路径上的车辆的实际集货量不超过额定载货量,即保证各个货车集货任务分配的合理性,其中为0-1变量,表示客户i是否由货车r提供服务。4) The actual collection volume of the vehicles on each route does not exceed the rated load capacity, that is to ensure the rationality of the distribution of goods collection tasks for each truck, in is a 0-1 variable indicating whether customer i is served by truck r.
5)每辆车的集货总重量等于所有客户的货运需求量,即保证所有的货物都被揽收, 5) The total collection weight of each vehicle is equal to the freight demand of all customers, that is to ensure that all goods are collected,
6)基于时间窗的惩罚成本的约束条件,根据货车提供服务的时间确定客户i的惩罚成本Ci。6) Based on the constraint condition of the penalty cost of the time window, determine the penalty cost C i of the customer i according to the time when the truck provides service.
S3、根据众包模式下的可用货车位置与物流需求方的位置及需求进行匹配,应用聚类分析与贪心算法对车辆与客户进行聚类选择,确定本次路径优化所应用的车辆并安排路线。S3. According to the location of the available trucks in the crowdsourcing mode and the location and demand of the logistics demander, use the cluster analysis and greedy algorithm to select the vehicle and the customer, determine the vehicle used in this route optimization and arrange the route .
首先运用聚类分析进行初始聚类,即将货车附近的客户与货车进行聚类,按照距离有限的原则,将所有的车辆与客户节点进行聚类,一般将距离相近的客户分派给与之相距较近的货车。同时应用贪心思想,确定货车的最低数量并确定车辆的选择方案。接着将确定的货车与客户进行二次聚类,将客户按照距离与货车货运能力聚类分配给上述确定的货车。First, use cluster analysis to perform initial clustering, that is, to cluster the customers near the truck with the truck, and according to the principle of limited distance, cluster all the vehicles and customer nodes, and generally assign customers with similar distances to them. near the truck. At the same time, greedy thinking is applied to determine the minimum number of trucks and determine the choice of vehicles. Next, secondary clustering is performed on the determined trucks and customers, and the customers are clustered according to the distance and the freight capacity of the trucks and are allocated to the above determined trucks.
S4、运用遗传算法,以前一步骤的解为初始种群进行计算,优化路径,并保存此次方案。S4. Using the genetic algorithm, calculate the solution of the previous step as the initial population, optimize the path, and save the plan.
其次要对车辆路径进行选择,按照前面步骤所得的聚类方案,并以总距离最短为目标确定货车路径,这就是遗传算法的初始种群,然后基于目前的聚类方案,以成本最低为目标应用遗传算法进行路径优化,优化过程中对车辆数及车辆选择方案进行调整,计算出最低成本,并将最低成本的方案进行保存。Secondly, select the vehicle path, according to the clustering scheme obtained in the previous steps, and determine the path of the truck with the shortest total distance as the goal, which is the initial population of the genetic algorithm, and then based on the current clustering scheme, with the lowest cost as the target application The genetic algorithm performs path optimization. During the optimization process, the number of vehicles and the vehicle selection scheme are adjusted, the lowest cost is calculated, and the lowest cost scheme is saved.
S5、对得到的不同方案进行验证对比,得出最优路径方案。S5, verifying and comparing the obtained different schemes, and obtaining an optimal path scheme.
最后,对得到的方案进行验证,即对所有约束条件进行一一判别,当满足所有约束条件时即为最优解,否则货车选择方案及行驶路径还需更改,最后通过优化过程中对不同方案的解的比较与选择,得到最优解,得出最后需要的货车选择及路径优化方案。Finally, the obtained scheme is verified, that is, all constraints are judged one by one. When all constraints are met, it is the optimal solution. Otherwise, the truck selection scheme and driving path need to be changed. Finally, through the optimization process, different schemes are evaluated The optimal solution is obtained by the comparison and selection of the solutions, and the final required truck selection and route optimization scheme are obtained.
如图3所示,为满足传统产业集群的物流需求,基于众包模式进行集货。As shown in Figure 3, in order to meet the logistics needs of traditional industrial clusters, goods are collected based on the crowdsourcing model.
根据D家纺产业集群某一时刻的物流需求进行集货路径优化。以D物流园区为中心点,将20个客户的位置放在100*100的坐标系中,相邻两个坐标的距离为1公里,客户位置、物流需求量及最大服务时间窗已知,如表1所示。According to the logistics needs of the D home textile industry cluster at a certain moment, the collection path is optimized. Taking D logistics park as the center point, the positions of 20 customers are placed in the coordinate system of 100*100, and the distance between two adjacent coordinates is 1 km. The customer's location, logistics demand and maximum service time window are known, such as shown in Table 1.
表1Table 1
在坐标系中随机生成5辆位置不同的货车,货车型号一致且额定载货量均为5吨,车辆平均速度为50公里/小时;结合实际情况,设定货车的固定使用与维修保养成本Cg为90元/辆;货车空载时行驶单位距离的成本Cd为3元/公里;货车将单位重量运输单位距离的成本Cw为0.9元/吨公里;将客户i的惩罚成本Ci设置为20元/分钟。Randomly generate 5 trucks with different positions in the coordinate system. The trucks are of the same model and have a rated cargo capacity of 5 tons. The average vehicle speed is 50 km/h. Based on the actual situation, set the fixed use and maintenance cost C of the truck. g is 90 yuan/vehicle; the cost C d of the unit distance traveled by the truck is 3 yuan/km when the truck is empty; the cost C w per unit distance of the truck transporting the unit weight is 0.9 yuan/ton kilometer; the penalty cost C i for customer i is set 20 yuan/minute.
随机生成的车辆位置表2所示,其中编号为0的点为D物流园区。以集货总成本最低为目标函数:The randomly generated vehicle locations are shown in Table 2, where the point numbered 0 is the D logistics park. Taking the lowest total cost of collection as the objective function:
表2Table 2
从客户需求、车辆容量、时间窗角度设置约束。Set constraints from the perspective of customer demand, vehicle capacity, and time windows.
如图4所示,利用结合聚类分析与贪心算法后改进的遗传算法进行求解。先进行初始聚类,接着对初始方案进行路径优化,设定遗传种族的规模为100,迭代次数为200,最终路径优化结果如表3所示。As shown in Figure 4, the improved genetic algorithm is used to solve the problem by combining cluster analysis and greedy algorithm. The initial clustering is performed first, and then the path optimization is performed on the initial scheme. The scale of the genetic race is set to 100 and the number of iterations to 200. The final path optimization results are shown in Table 3.
表3table 3
由表3可知,最后选择编号为1、2、4、5的货车为20个客户提供服务,每辆众包货车装载的货物均未超过额定载货量,每个客户的时间窗需求均得到满足,经过路径优化后的服务总成本为2705.52元。即上述结果即为该传统产业集群最优集货路径。It can be seen from Table 3 that the trucks numbered 1, 2, 4, and 5 were finally selected to serve 20 customers. The goods loaded by each crowdsourcing truck did not exceed the rated cargo capacity, and the time window requirements of each customer were obtained. Satisfaction, the total service cost after path optimization is 2705.52 yuan. That is to say, the above result is the optimal collection path of the traditional industrial cluster.
以上实施例仅为说明本发明的技术思想,不能以此限定本发明的保护范围,凡是按照本发明提出的技术思想,在技术方案基础上所做的任何改动,均落入本发明保护范围之内。The above embodiments are only to illustrate the technical idea of the present invention, and cannot limit the protection scope of the present invention. Any modification made on the basis of the technical solution according to the technical idea proposed by the present invention falls within the protection scope of the present invention. Inside.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010933700.1A CN112085271B (en) | 2020-09-08 | 2020-09-08 | A Crowdsourcing Model-Based Optimization Method for Collecting Goods in Traditional Industry Clusters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010933700.1A CN112085271B (en) | 2020-09-08 | 2020-09-08 | A Crowdsourcing Model-Based Optimization Method for Collecting Goods in Traditional Industry Clusters |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112085271A CN112085271A (en) | 2020-12-15 |
CN112085271B true CN112085271B (en) | 2022-03-11 |
Family
ID=73732672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010933700.1A Active CN112085271B (en) | 2020-09-08 | 2020-09-08 | A Crowdsourcing Model-Based Optimization Method for Collecting Goods in Traditional Industry Clusters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112085271B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113095753B (en) * | 2021-04-06 | 2024-07-02 | 江苏省港口集团信息科技有限公司 | Unmanned integrated card scheduling method based on intelligent management dispatching of containers |
CN112884253B (en) * | 2021-04-12 | 2024-09-03 | 圆通速递有限公司 | Crowd-sourced vehicle-cargo matching method and path optimization method thereof |
CN115456485B (en) * | 2022-11-09 | 2023-03-31 | 湖南省交通科学研究院有限公司 | Typical industry logistics analysis method and system based on truck trajectory |
CN116629736B (en) * | 2023-04-23 | 2025-04-22 | 四川大学 | Crowdsourcing scheduling method and system based on hybrid genetic algorithm and location allocation algorithm |
CN117709825B (en) * | 2024-02-06 | 2024-12-27 | 深圳市嘉宝田网络科技有限公司 | Comprehensive management method and platform for online freight transportation |
CN118536884B (en) * | 2024-04-07 | 2025-01-28 | 湖南省交通科学研究院有限公司 | Freight Logistics Characteristics Analysis Method Based on Highway Network Toll Collection Data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106779570A (en) * | 2017-03-10 | 2017-05-31 | 镇江康飞汽车制造股份有限公司 | A kind of intelligent Cold Chain Logistics path multi-objective optimization algorithm |
CN109034481A (en) * | 2018-07-31 | 2018-12-18 | 北京航空航天大学 | A kind of vehicle routing problem with time windows modeling and optimization method based on constraint planning |
CN110197311A (en) * | 2019-06-12 | 2019-09-03 | 江苏航运职业技术学院 | A kind of logistics distribution paths planning method based on intelligent optimization |
-
2020
- 2020-09-08 CN CN202010933700.1A patent/CN112085271B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106779570A (en) * | 2017-03-10 | 2017-05-31 | 镇江康飞汽车制造股份有限公司 | A kind of intelligent Cold Chain Logistics path multi-objective optimization algorithm |
CN109034481A (en) * | 2018-07-31 | 2018-12-18 | 北京航空航天大学 | A kind of vehicle routing problem with time windows modeling and optimization method based on constraint planning |
CN110197311A (en) * | 2019-06-12 | 2019-09-03 | 江苏航运职业技术学院 | A kind of logistics distribution paths planning method based on intelligent optimization |
Non-Patent Citations (1)
Title |
---|
基于自动快递机的快递配送车辆路径优化研究;覃运梅等;《公路交通科技》;20151031;第32卷(第10期);第135-140页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112085271A (en) | 2020-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112085271B (en) | A Crowdsourcing Model-Based Optimization Method for Collecting Goods in Traditional Industry Clusters | |
CN110110871B (en) | Order allocation method and system | |
CN116402309B (en) | Port collection and distribution vehicle scheduling matching method and system | |
CN107194576B (en) | Dynamic scheduling method for processing newly-added pickup requirement in express delivery process | |
CN109214608B (en) | Vehicle scheduling optimization method | |
CN110097234A (en) | Industrial cigarette transport intelligent dispatching method and system | |
CN108960519B (en) | Method for selecting the shortest transport route based on big data analysis | |
CN109345161A (en) | A Value Stream Oriented Delivery Dispatching Method | |
CN116432386B (en) | Multi-vehicle type schedule design method and system for intelligent public transport system | |
CN101620694A (en) | Logistics transportation decision-making support system and method, and transportation management system | |
CN111985700B (en) | Vehicle carrying bill quantity balancing method and device for determining home delivery | |
CN108510227A (en) | A kind of real-time planning system of vehicle-mounted logistics distribution based on machine learning | |
CN115187169A (en) | Logistics distribution system and method based on collaborative path planning | |
CN112529487B (en) | Vehicle scheduling method, device and storage medium | |
CN112950091A (en) | Vehicle scheduling method, device and storage medium | |
CN117436777A (en) | Multi-type intermodal method and system for intelligent logistics freight transportation | |
Yu et al. | A vehicle routing problem with multiple overlapped batches | |
CN118917766B (en) | An intelligent automatic dispatching and route planning method for errand delivery | |
CN112001646A (en) | Material scheduling method and device, storage medium and electronic equipment | |
CN108985510B (en) | Large-scale intelligent logistics path judgment system based on artificial intelligence | |
CN114626755A (en) | An intelligent scheduling method and system for steel logistics based on Markov decision | |
CN118072521B (en) | Method, system and equipment for cooperatively controlling multi-vehicle-type vehicles and road resources under internet connection | |
Cai et al. | Data-driven empty container repositioning for large scale railway network with fuzzy demands | |
CN118863176A (en) | Intelligent order allocation optimization method for freight platform based on large model | |
CN114298420A (en) | Vehicle scheduling and path planning method and system based on platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |