CN108537491A - A kind of fresh agricultural products Distribution path optimization method, storage medium - Google Patents
A kind of fresh agricultural products Distribution path optimization method, storage medium Download PDFInfo
- Publication number
- CN108537491A CN108537491A CN201810389282.7A CN201810389282A CN108537491A CN 108537491 A CN108537491 A CN 108537491A CN 201810389282 A CN201810389282 A CN 201810389282A CN 108537491 A CN108537491 A CN 108537491A
- Authority
- CN
- China
- Prior art keywords
- delivery
- fresh agricultural
- distribution
- time
- vehicle
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000005457 optimization Methods 0.000 title claims abstract description 27
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 13
- 230000002068 genetic effect Effects 0.000 claims abstract description 10
- 230000035772 mutation Effects 0.000 claims description 11
- 238000000137 annealing Methods 0.000 claims description 9
- 230000035945 sensitivity Effects 0.000 claims description 8
- 108090000623 proteins and genes Proteins 0.000 claims description 7
- 210000000349 chromosome Anatomy 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 6
- 230000003044 adaptive effect Effects 0.000 abstract description 2
- 238000012913 prioritisation Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 10
- 235000013305 food Nutrition 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 2
- 238000002922 simulated annealing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 235000012055 fruits and vegetables Nutrition 0.000 description 1
- 235000013372 meat Nutrition 0.000 description 1
- 238000010845 search algorithm Methods 0.000 description 1
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/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
-
- 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
- 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/02—Agriculture; Fishing; Forestry; Mining
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- Tourism & Hospitality (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Quality & Reliability (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Operations Research (AREA)
- Animal Husbandry (AREA)
- Life Sciences & Earth Sciences (AREA)
- Agronomy & Crop Science (AREA)
- Game Theory and Decision Science (AREA)
- Marine Sciences & Fisheries (AREA)
- Mining & Mineral Resources (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明属于物流配送领域,具体涉及一种生鲜农产品配送路径优化方法、存储设备。The invention belongs to the field of logistics distribution, and in particular relates to a method for optimizing distribution routes of fresh agricultural products and a storage device.
背景技术Background technique
随着社会经济的快速发展和居民生活水平的不断改善,人们对生鲜农产品的品质要求越来越高。生鲜农产品主要包含果蔬、水产、肉类、花卉等,具有易腐易损、保质期限短等特性,这就对生鲜农产品的流通环节提出了更高的控制要求。因此,如何科学、合理地安排配送路线,以保证生鲜农产品的鲜活度、提高配送效率、降低配送成本,是生鲜农产品物流配送环节中面临的重要问题之一。With the rapid development of social economy and the continuous improvement of residents' living standards, people have higher and higher requirements for the quality of fresh agricultural products. Fresh agricultural products mainly include fruits and vegetables, aquatic products, meat, flowers, etc., which are perishable and fragile, and have a short shelf life, which puts forward higher control requirements for the circulation of fresh agricultural products. Therefore, how to scientifically and rationally arrange distribution routes to ensure the freshness of fresh agricultural products, improve distribution efficiency, and reduce distribution costs is one of the important issues faced in the logistics and distribution of fresh agricultural products.
目前,国内外学者围绕生鲜农产品物流配送路径优化问题进行了大量的研究工作。有些方法在综合考虑配送距离、车辆固定成本、生鲜损耗等多种因素的基础上,建立了带有时间窗的生鲜物流配送车辆路径问题;有些方法利用模糊隶属度函数表示配送点顾客满意度,建立了配送成本最小化、顾客满意度最大化的多目标配送路径优化模型;以上研究均假设配送车辆的行驶时间和运输费用仅与配送路程相关,忽视了不同的道路状况对车辆行驶速度和配送成本的影响。针对时变条件下的冷链物流配送路径优化模型,还有些方法考虑了动态行车速度,改进禁忌搜索算法寻找配送服务质量与配送成本之间的平衡点。还有些方法根据不同时间段内各配送路段的通行情况,构建了冷链物流配送优化模型,设计混合遗传算法对该模型进行求解。还有些方法结合实时交通信息,对同城冷链物流配送的路径优化进行研究。上述研究虽然在优化过程中考虑了配送车辆行驶速度的时变性,但并未建立不同的道路状况与配送优化模型之间的联系。At present, domestic and foreign scholars have carried out a lot of research work on the optimization of logistics distribution path of fresh agricultural products. Some methods have established the vehicle routing problem of fresh food logistics distribution with a time window on the basis of comprehensive consideration of various factors such as distribution distance, vehicle fixed cost, and fresh food loss; some methods use fuzzy membership function to express customer satisfaction at distribution points degree, and established a multi-objective distribution route optimization model that minimizes distribution costs and maximizes customer satisfaction; the above studies all assume that the travel time and transportation costs of distribution vehicles are only related to the distribution distance, ignoring the impact of different road conditions on vehicle speed. and delivery costs. For the cold chain logistics distribution route optimization model under time-varying conditions, there are some methods that consider the dynamic driving speed and improve the tabu search algorithm to find the balance point between the distribution service quality and the distribution cost. There are also some methods that build an optimization model of cold chain logistics distribution according to the traffic conditions of each delivery section in different time periods, and design a hybrid genetic algorithm to solve the model. There are also some methods combined with real-time traffic information to study the path optimization of intra-city cold chain logistics distribution. Although the above studies considered the time-varying speed of delivery vehicles in the optimization process, they did not establish the connection between different road conditions and the delivery optimization model.
发明内容Contents of the invention
本发明提供一种考虑道路状态的生鲜农产品配送路径优化方法,以解决现有技术存在的问题。The invention provides a method for optimizing distribution routes of fresh agricultural products in consideration of road conditions, so as to solve the problems existing in the prior art.
本发明采用以下技术方案:The present invention adopts following technical scheme:
一种生鲜农产品配送路径优化方法,包括:A method for optimizing distribution routes of fresh agricultural products, comprising:
(1)以最小化运输成本和最大化获取顾客对物流服务的满意度为目标,建立生鲜农产品配送的路径优化目标模型:(1) With the goal of minimizing transportation costs and maximizing customer satisfaction with logistics services, the path optimization target model for fresh agricultural product distribution is established:
s.t.s.t.
其中,Z1表示配送成本,Z2表示顾客满意度;N表示配送点数量,k表示第k辆车,i表示第i配送点,j表示第j配送点,tij表示第k辆车从第i配送点到第j配送点的时间,表示配送点i的需求量,表示单位生鲜农产品的价格,表示,表示生鲜农产品对时间的敏感度,C3表示时间窗惩罚成本,ti表示车辆到达配送点i的时间;Among them, Z1 represents the delivery cost, Z2 represents customer satisfaction; N represents the number of distribution points, k represents the kth vehicle, i represents the i-th distribution point, j represents the j-th distribution point, t ij represents the k-th vehicle from the The time from delivery point i to delivery point j, Indicates the demand of delivery point i, Indicates the price of a unit of fresh agricultural products, express, Indicates the sensitivity of fresh agricultural products to time, C 3 indicates the time window penalty cost, and t i indicates the time when the vehicle arrives at delivery point i;
表示配送车辆的运营成本; Indicates the operating cost of the delivery vehicle;
vk为0-1变量,当第k辆车被使用时,vk为1,否则vk为0;v k is a 0-1 variable, when the kth car is used, v k is 1, otherwise v k is 0;
xijk为0-1变量,当第k辆车从配送点i行驶到配送点j时,xijk为1,否则,x ijk is a 0-1 variable, when the kth vehicle travels from delivery point i to delivery point j, x ijk is 1, otherwise,
xijk为0;x ijk is 0;
(2)使用遗传算法求解模型,得到生鲜农产品的配送方案。(2) Use the genetic algorithm to solve the model to obtain the distribution plan of fresh agricultural products.
所述用于求解模型的遗传算法包括以下步骤:The genetic algorithm for solving the model includes the following steps:
S1:假设种群大小为L,即L个可行解,第l个个体表示为其中,rn(0<rn<1)是个体的基因信息,由随机函数产生;S1: Suppose the population size is L, that is, there are L feasible solutions, and the lth individual is expressed as Among them, r n (0<r n <1) is the genetic information of the individual, which is generated by a random function;
其中是基因个数,等于配送点数量和所需的最大配送车辆数的总和:in is the number of genes, which is equal to the sum of the number of delivery points and the maximum number of delivery vehicles required:
S2:构建适应度函数:S2: Build fitness function:
W(g)=w0·aw g g=1,2,…,gmax W(g)=w 0 ·a w g g=1,2,…,g max
其中,Fl表示第l个个体的适应度,l=1,2,…L;Z1和Z2分别是第l个个体对应的配送成本和顾客满意度;W(g)表示退火温度函数,与种群代数g相关;w0=gmax表示初始退火温度,gmax表示种群最大进化代数;aw是退火温度系数;Among them, F 1 represents the fitness of the l-th individual, l=1, 2,...L; Z 1 and Z 2 are the delivery cost and customer satisfaction corresponding to the l-th individual respectively; W(g) represents the annealing temperature function , is related to the population algebra g; w 0 = g max represents the initial annealing temperature, and g max represents the maximum evolutionary generation of the population; a w is the annealing temperature coefficient;
S3:个体选择:采用轮盘赌法则从种群中选择优秀的个体进行交叉操作和变异操作:S3: Individual selection: Use the roulette wheel rule to select excellent individuals from the population for crossover and mutation operations:
交叉概率pc表示为The crossover probability p c is expressed as
其中,Fmax表示当前种群中的最大适应度;表示种群的平均适应度;F′表示相互配对个体间的较高适应度值;k'1和k'2表示交叉参数;Among them, F max represents the maximum fitness in the current population; Represents the average fitness of the population; F' represents the higher fitness value between paired individuals; k' 1 and k' 2 represent the crossover parameters;
第l个个体的变异概率pl,m定义为The mutation probability p l,m of the lth individual is defined as
其中,Fl表示第l个个体的适应度;k'3和k'4表示变异参数。算法采用高斯变异实现变异运算;Among them, F 1 represents the fitness of the lth individual; k' 3 and k' 4 represent the variation parameters. The algorithm uses Gaussian mutation to realize the mutation operation;
S4:解码:染色体解码过程中,算法对染色体中的各个基因进行对比,并按照从小到大的顺序获取其在数组中的位置数值,当数值大于配送点数量时,该数值变为0;当有0值相邻时,进行去重操作,得到配送路径方案。S4: Decoding: During the chromosome decoding process, the algorithm compares each gene in the chromosome, and obtains its position value in the array in ascending order. When the value is greater than the number of delivery points, the value becomes 0; when When there are 0 values adjacent to each other, the deduplication operation is performed to obtain the delivery route plan.
所述车辆运输成本C1表示为:The vehicle transportation cost C1 is expressed as:
其中,N是配送点数量;表示单位时间的车辆行驶成本;dij是配送点i到配送点j的距离;是配送车辆的平均行驶速度;ζcon是不同天气状况下、不同时段对车辆速度的影响率,sun,rain,snow,fog分别表示晴天、雨天、雪天、雾天:Among them, N is the number of distribution points; Indicates the vehicle driving cost per unit time; d ij is the distance from delivery point i to delivery point j; is the average driving speed of the delivery vehicle; ζ con is the influence rate of the vehicle speed under different weather conditions and at different time periods, sun, rain, snow, and fog represent sunny days, rainy days, snowy days, and foggy days respectively:
生鲜货损成本表示如下:The loss cost of fresh goods is expressed as follows:
其中,表示配送点i的需求量;表示单位生鲜农产品的价格;表示生鲜农产品质量对时间的敏感度,取值越大,产品质量对时间的敏感度越低;tik表示第k辆车到达配送点i的时间。in, Indicates the demand of distribution point i; Indicates the price of a unit of fresh agricultural products; Indicates the sensitivity of the quality of fresh agricultural products to time, The larger the value, the lower the sensitivity of product quality to time; t ik represents the time when the kth vehicle arrives at delivery point i.
时间窗惩罚成本表示为:The time window penalty cost is expressed as:
其中,M为一个正数;αc,βc(αc,βc<0)是权值参数;Among them, M is a positive number; α c , β c (α c , β c <0) are weight parameters;
和是顾客拒绝的配送时间范围; and is the delivery time range that the customer rejects;
是顾客的理想配送时间范围; is the customer's ideal delivery time frame;
和是顾客可接受的配送时间范围。 and is the acceptable shipping time frame for the customer.
配送点i的顾客满意度成本表示为:The customer satisfaction cost of delivery point i is expressed as:
其中,参数为权值参数。Among them, the parameter is the weight parameter.
一种存储介质,该存储介质内部存储计算机程序,所述计算机程序被处理器读取时,执行上述的方法。A storage medium stores a computer program inside, and when the computer program is read by a processor, the above-mentioned method is executed.
本发明的有益效果:Beneficial effects of the present invention:
(1)建立了不同天气状况、不同时段下的车速特征模型;(1) The vehicle speed characteristic model under different weather conditions and different time periods is established;
(2)建立了生鲜农产品的时间窗惩罚成本函数;(2) The time window penalty cost function of fresh agricultural products is established;
(3)构建了生鲜农产品配送路径的多目标优化模型;(3) Constructed a multi-objective optimization model for the delivery route of fresh agricultural products;
(4)系统能够根据配送时的道路状况制定配送路线,从而达到配送成本最小,顾客满意度最大的目标。(4) The system can formulate delivery routes according to the road conditions during delivery, so as to achieve the goal of minimum delivery cost and maximum customer satisfaction.
附图说明Description of drawings
图1为本发明的流程图。Fig. 1 is a flowchart of the present invention.
图2为解码过程示意图。Figure 2 is a schematic diagram of the decoding process.
具体实施方式Detailed ways
下面结合附图和具体实施方式对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
由于在实际配送过程中,天气状况、早晚高峰期、特殊节日等因素直接影响配送车辆的行驶速度,进而导致配送成本和顾客满意度发生变化。因此,本发明根据不同天气状况、不同时段下的车速特征,在综合考虑路况、时间窗、生鲜损耗等因素下,提出一种生鲜农产品的配送方案,该配送方案使配送成本最小,顾客满意度最大。In the actual delivery process, factors such as weather conditions, morning and evening peak hours, and special festivals directly affect the speed of delivery vehicles, which in turn leads to changes in delivery costs and customer satisfaction. Therefore, according to different weather conditions and vehicle speed characteristics at different time periods, the present invention proposes a distribution plan for fresh agricultural products under comprehensive consideration of factors such as road conditions, time windows, and fresh food loss. Maximum satisfaction.
具体步骤如下:Specific steps are as follows:
1)首先,各个需求点将自己的位置坐标、所需配送的货物量和所要求的配送时间范围等信息提交给系统。1) First, each demand point submits information such as its location coordinates, the quantity of goods to be delivered, and the required delivery time range to the system.
2)以最小化配送成本和最大化顾客满意度为优化目标,建立了生鲜农产品配送路径多目标优化模型。2) To minimize the distribution cost and maximize customer satisfaction as the optimization goal, a multi-objective optimization model for the distribution route of fresh agricultural products was established.
详细说明如下:The details are as follows:
①车辆运输成本①Vehicle transportation cost
车辆运输成本C1包括车辆使用过程中的运营成本和行驶成本,表示为The vehicle transportation cost C 1 includes the operating cost and driving cost during the use of the vehicle, expressed as
其中,k表示第k辆车,N是配送点数量;表示配送车辆的运营成本,主要包含车辆的固定损耗成本和驾驶员的工资成本;vk是0-1变量,当第k辆车被使用时,vk为1,否则,vk为0;表示单位时间的车辆行驶成本;xijk是0-1变量,当第k辆车从配送点i行驶到配送点j时,xijk为1,否则,xijk为0;dij是配送点i到配送点j的距离;是配送车辆的平均行驶速度;ζcon(con=sun,rain,snow,fog)是不同天气状况下(晴天、雨天、雪天、雾天)、不同时段对车辆速度的影响率,分别由式(2)~式(5)表示,Among them, k represents the kth vehicle, and N is the number of distribution points; Indicates the operating cost of the delivery vehicle, mainly including the fixed loss cost of the vehicle and the driver's salary cost; v k is a 0-1 variable, when the kth vehicle is used, v k is 1, otherwise, v k is 0; Indicates the vehicle driving cost per unit time; x ijk is a 0-1 variable, when the kth vehicle travels from delivery point i to delivery point j, x ijk is 1, otherwise, x ijk is 0; d ij is delivery point i The distance to delivery point j; is the average driving speed of the delivery vehicle; ζ con (con=sun, rain, snow, fog) is the influence rate of different weather conditions (sunny, rainy, snowy, foggy) and different time periods on the vehicle speed, which are respectively expressed by the formula (2)~Equation (5) expresses,
其中,t表示车辆行驶在24个小时中的某个时间。Among them, t represents a certain time in 24 hours when the vehicle travels.
②生鲜货损成本②Fresh goods loss cost
生鲜农产品容易受到温度、时间等因素的影响,在配送过程中会产生货损成本。考虑到生鲜农产品采用冷链物流进行运输,温度相对稳定,其货损成本C2可以表示为Fresh agricultural products are easily affected by factors such as temperature and time, and damage costs will be incurred during the distribution process. Considering that fresh agricultural products are transported by cold chain logistics and the temperature is relatively stable, the cargo damage cost C2 can be expressed as
其中,表示配送点i的需求量;表示单位生鲜农产品的价格;表示生鲜农产品质量对时间的敏感度,取值越大,产品质量对时间的敏感度越低;tik表示第k辆车到达配送点i的时间。in, Indicates the demand of distribution point i; Indicates the price of a unit of fresh agricultural products; Indicates the sensitivity of the quality of fresh agricultural products to time, The larger the value, the lower the sensitivity of product quality to time; t ik represents the time when the kth vehicle arrives at delivery point i.
③时间窗惩罚成本③Time window penalty cost
时间窗的设立是要求配送车辆在顾客规定的时间范围内到达。根据顾客对服务时间的要求是否严格,时间窗可分为硬时间窗和软时间窗。不同于硬时间窗,软时间窗允许配送车辆在顾客规定的时间范围外到达,但是需要支付一定的惩罚费用,并且规定车辆到达顾客的时间距离规定的时间范围越远,支付的惩罚费用越高。为了贴合实际配送情况,本发明采用软时间窗,构建生鲜农产品配送的时间窗惩罚成本函数,如式(7)所示。The establishment of the time window is to require the delivery vehicle to arrive within the time range specified by the customer. According to whether customers have strict requirements on service time, the time window can be divided into hard time window and soft time window. Different from the hard time window, the soft time window allows the delivery vehicle to arrive outside the time range specified by the customer, but a certain penalty fee needs to be paid, and the farther the vehicle arrives at the customer from the specified time range, the higher the penalty fee paid . In order to fit the actual delivery situation, the present invention uses a soft time window to construct a time window penalty cost function for the delivery of fresh agricultural products, as shown in formula (7).
其中,M是一个较大的正数;αc,βc(αc,βc<0)是权值参数,取值依赖于顾客对配送时间的需求。式(7)表示,和是顾客拒绝的配送时间范围,配送车辆在该时段内到达时,需要支付较大的惩罚费用;是顾客的理想配送时间范围,配送车辆在该时段内到达时,不支付任何惩罚费用;和是顾客可接受的配送时间范围,配送车辆在该时间段内到达时,支付一定的惩罚费用。根据生鲜农产品的易腐易损特性,配送车辆在范围到达时(早于理想配送时间),并不会对产品质量和销售带来较大影响,惩罚费用随时间呈线性变化;但是,配送车辆在范围到达时(晚于理想配送时间),将缩短产品的剩余保质时间,从而对产品的质量和销售带来较大影响,惩罚费用随时间呈指数变化。Among them, M is a large positive number; α c , β c (α c , β c <0) are weight parameters, and the value depends on the customer's demand for delivery time. Equation (7) expresses, and It is the delivery time range that the customer rejects. When the delivery vehicle arrives within this time period, a large penalty fee needs to be paid; It is the customer's ideal delivery time range, and no penalty fee will be paid when the delivery vehicle arrives within this time period; and It is the delivery time range acceptable to the customer. When the delivery vehicle arrives within this time period, a certain penalty fee will be paid. According to the perishable and fragile characteristics of fresh agricultural products, distribution vehicles When the range arrives (earlier than the ideal delivery time), it will not have a great impact on product quality and sales, and the penalty fee changes linearly with time; however, the delivery vehicle is in When the range arrives (later than the ideal delivery time), the remaining shelf life of the product will be shortened, which will have a greater impact on the quality and sales of the product, and the penalty fee will change exponentially with time.
④顾客满意度④Customer Satisfaction
顾客满意度是指顾客对物流服务的满意程度,反映了生鲜农产品的物流服务水平。在物流配送环节中,影响顾客满意度的主要因素是配送车辆到达配送点的时间。因此,配送点i的顾客满意度函数表示为,Customer satisfaction refers to the degree of customer satisfaction with logistics services, reflecting the logistics service level of fresh agricultural products. In the link of logistics distribution, the main factor affecting customer satisfaction is the time when the delivery vehicle arrives at the delivery point. Therefore, the customer satisfaction function of delivery point i is expressed as,
其中,权值参数的取值依赖于顾客对配送时间的需求。Among them, the weight parameter The value of depends on the customer's demand for delivery time.
⑤模型建立⑤ Model establishment
本发明以配送成本最小化和顾客满意度最大化为优化目标,建立生鲜农产品配送路径多目标优化模型:The present invention takes the minimization of distribution costs and the maximization of customer satisfaction as optimization goals, and establishes a multi-objective optimization model for distribution routes of fresh agricultural products:
在上述优化问题中,约束条件式(11)~式(12)表示配送车辆从配送中心出发,对配送点进行服务后,返回配送中心;约束条件式(13)~式(14)表示每个配送点只能被配送车辆服务一次;约束条件式(15)对配送车辆的装载容量进行约束,其中,是配送车辆的最大装载容量,yik是0-1变量,当配送点i由第k辆车配送时,yik为1,否则,yik为0。ti表示车辆到达配送点i的时间。In the above optimization problem, constraint condition formula (11) ~ formula (12) means that the distribution vehicle departs from the distribution center and returns to the distribution center after serving the distribution points; constraint condition formula (13) ~ formula (14) means that each The delivery point can only be served by the delivery vehicle once; the constraint condition (15) constrains the loading capacity of the delivery vehicle, where, is the maximum loading capacity of the distribution vehicle, y ik is a 0-1 variable, when the distribution point i is delivered by the kth vehicle, y ik is 1, otherwise, y ik is 0. t i represents the time when the vehicle arrives at delivery point i.
本发明的模型求解时,结合模拟退火思想,使用基于自适应的遗传算法求解,获取配送路径优化方案。When the model of the present invention is solved, combined with the idea of simulated annealing, an adaptive genetic algorithm is used to solve the problem, and an optimal distribution route scheme is obtained.
详细方法如下:The detailed method is as follows:
①编码和初始化种群① Coding and initializing the population
采用随机数组对可行解进行编码:假设种群大小为L,即L个可行解,第l个个体表示为其中,rn(0<rn<1)是个体的基因信息,由随机函数产生;是基因个数,等于配送点数量和理论上所需的最大配送车辆数的总和。A random array is used to encode feasible solutions: assuming that the population size is L, that is, L feasible solutions, the lth individual is expressed as Among them, r n (0<r n <1) is the genetic information of the individual, which is generated by a random function; is the number of genes, which is equal to the sum of the number of distribution points and the theoretically required maximum number of distribution vehicles.
例如,配送网络中有4个配送点,理论上所需的最大配送车辆数为4,进行编码后的个体表示为:[0.25,0.32,0.41,0.40,0.36,0.68,0.16,0.88]。For example, there are 4 distribution points in the distribution network, and the theoretically required maximum number of distribution vehicles is 4, and the encoded individual is expressed as: [0.25, 0.32, 0.41, 0.40, 0.36, 0.68, 0.16, 0.88].
②适应度计算② Calculation of fitness
本发明结合模拟退火构建适应度函数Fl The present invention combines simulated annealing to construct the fitness function F l
W(g)=w0·aw g g=1,2,…,gmax (17)W(g)=w 0 ·a w g g=1,2,...,g max (17)
其中,Fl表示第l个个体的适应度,l=1,2,…L;Z1和Z2分别是第l个个体对应的配送成本和顾客满意度;W(g)表示退火温度函数,与种群代数g相关;在式(17)中,w0=gmax表示初始退火温度,gmax表示种群最大进化代数;aw是退火温度系数。Among them, F 1 represents the fitness of the l-th individual, l=1, 2,...L; Z 1 and Z 2 are the delivery cost and customer satisfaction corresponding to the l-th individual respectively; W(g) represents the annealing temperature function , is related to the population algebra g; in formula (17), w 0 =g max represents the initial annealing temperature, and g max represents the maximum evolutionary generation of the population; a w is the annealing temperature coefficient.
③个体选择③Individual choice
本发明采用轮盘赌法则从种群中选择优秀的个体进行交叉和变异。The invention adopts the roulette wheel rule to select excellent individuals from the population for crossover and mutation.
④交叉操作④Cross operation
本发明定义交叉概率pc表示为The present invention defines the crossover probability p c as
其中,Fmax表示当前种群中的最大适应度;表示种群的平均适应度;F′表示相互配对个体间的较高适应度值;k'1和k'2表示交叉参数。法采用算术交叉实现交叉运算。Among them, F max represents the maximum fitness in the current population; Represents the average fitness of the population; F' represents the higher fitness value among paired individuals; k' 1 and k' 2 represent the crossover parameters. The method uses arithmetic crossover to realize the crossover operation.
⑤变异操作⑤ mutation operation
本发明定义第l个个体的变异概率pl,m定义为The present invention defines the mutation probability p l,m of the lth individual as
其中,Fl表示第l个个体的适应度;k'3和k'4表示变异参数。算法采用高斯变异实现变异运算。Among them, F 1 represents the fitness of the lth individual; k' 3 and k' 4 represent the variation parameters. The algorithm uses Gaussian mutation to realize the mutation operation.
⑥解码⑥ decoding
染色体解码过程中,算法对染色体中的各个基因进行对比,并按照从小到大的顺序获取其在数组中的位置数值,当数值大于配送点数量时,该数值变为0;当有0值相邻时,进行去重操作,得到配送路径方案(最优配送路径是指配送成本最低和顾客满意度最大的需求点排序),其中0代表配送中心,其他数字代表不同的配送点。例如,个体[0.25,0.32,0.41,0.40,0.36,0.68,0.16,0.88]解码后表示为[2,3,0,4,0,1,0],由此可得:配送路径分别为0-2-3-0;0-4-0;0-1-0。解码过程下图2所示。During the chromosome decoding process, the algorithm compares each gene in the chromosome, and obtains its position value in the array in ascending order. When the value is greater than the number of delivery points, the value becomes 0; When adjacent, de-duplicate operations are performed to obtain the delivery route plan (the optimal delivery route refers to the ordering of demand points with the lowest delivery cost and the highest customer satisfaction), where 0 represents the distribution center, and other numbers represent different distribution points. For example, the individual [0.25, 0.32, 0.41, 0.40, 0.36, 0.68, 0.16, 0.88] is decoded and expressed as [2, 3, 0, 4, 0, 1, 0], thus: the delivery paths are 0 -2-3-0; 0-4-0; 0-1-0. The decoding process is shown in Figure 2 below.
本发明还提供一种存储介质,该存储介质内部存储计算机程序,计算机程序被处理器读取时,执行本发明的路径优化方法。该存储介质为现有的存储介质,该存储介质可连接在处理器中或者属于处理器中的存储器。The present invention also provides a storage medium, which stores a computer program inside. When the computer program is read by a processor, the path optimization method of the present invention is executed. The storage medium is an existing storage medium, and the storage medium may be connected to the processor or belong to a memory in the processor.
以上所述的仅是本发明的优选实施方式,应当指出,对于本领域的技术人员来说,在不脱离本发明整体构思前提下,还可以作出若干改变和改进,这些也应该视为本发明的保护范围。What has been described above is only the preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, some changes and improvements can be made without departing from the overall concept of the present invention, and these should also be regarded as the present invention. scope of protection.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810389282.7A CN108537491A (en) | 2018-04-27 | 2018-04-27 | A kind of fresh agricultural products Distribution path optimization method, storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810389282.7A CN108537491A (en) | 2018-04-27 | 2018-04-27 | A kind of fresh agricultural products Distribution path optimization method, storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108537491A true CN108537491A (en) | 2018-09-14 |
Family
ID=63478434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810389282.7A Pending CN108537491A (en) | 2018-04-27 | 2018-04-27 | A kind of fresh agricultural products Distribution path optimization method, storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108537491A (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542141A (en) * | 2018-12-25 | 2019-03-29 | 广州好高冷科技有限公司 | A kind of incubator transport online management platform |
CN109858752A (en) * | 2018-12-27 | 2019-06-07 | 安庆师范大学 | Dynamic based on roll stablized loop takes out the method and device of dispatching |
CN109919359A (en) * | 2019-02-01 | 2019-06-21 | 陕西科技大学 | A Vehicle Path Planning Method Based on ADP Algorithm |
CN110782073A (en) * | 2019-10-08 | 2020-02-11 | 国药集团医药物流有限公司 | Series-point transportation model for single-point loading and multi-point unloading |
CN110851755A (en) * | 2019-09-29 | 2020-02-28 | 口碑(上海)信息技术有限公司 | Method and device for acquiring delivery path information and electronic equipment |
CN111080214A (en) * | 2020-01-02 | 2020-04-28 | 汉口北进出口服务有限公司 | Logistics distribution path determining method and device and storage medium |
CN111126904A (en) * | 2019-12-16 | 2020-05-08 | 西南交通大学 | ArcGIS-based dangerous goods transportation management method |
CN111160623A (en) * | 2019-12-09 | 2020-05-15 | 合肥工业大学 | Method, system and storage medium for determining the location of an urban fresh food distribution center |
CN111260119A (en) * | 2020-01-10 | 2020-06-09 | 浙江工商大学 | Product inventory control and distribution route planning method |
CN111553532A (en) * | 2020-04-28 | 2020-08-18 | 闽江学院 | A method and system for optimizing the route of an urban express vehicle |
CN112257978A (en) * | 2020-09-16 | 2021-01-22 | 北京豆牛网络科技有限公司 | Method and device for intelligently scheduling agricultural product resources |
CN112434849A (en) * | 2020-11-19 | 2021-03-02 | 上海交通大学 | Dangerous goods transportation path dynamic planning method based on improved multi-objective algorithm |
CN112580865A (en) * | 2020-12-15 | 2021-03-30 | 北京工商大学 | Mixed genetic algorithm-based takeout delivery path optimization method |
CN113011817A (en) * | 2021-03-18 | 2021-06-22 | 广州市华溢饮食服务有限公司 | Agricultural product transportation monitoring method and device, computer equipment and storage medium |
CN114048924A (en) * | 2021-11-29 | 2022-02-15 | 合肥工业大学 | Multi-distribution center location-distribution path planning method based on hybrid genetic algorithm |
CN115734926A (en) * | 2020-06-30 | 2023-03-03 | 旭化成株式会社 | Apparatus, method and program |
CN116050971A (en) * | 2023-02-01 | 2023-05-02 | 安徽农业大学 | Multi-temperature co-distribution platform based on Internet of Things technology |
CN116629480A (en) * | 2023-07-19 | 2023-08-22 | 济南餐农网络科技有限公司 | Food material distribution system and distribution method |
CN117010670A (en) * | 2023-10-07 | 2023-11-07 | 普迪智能装备有限公司 | Intelligent logistics distribution system and method |
CN117371886A (en) * | 2023-12-08 | 2024-01-09 | 深圳市深信信息技术有限公司 | Agricultural product intelligent distribution method and system based on cloud computing |
CN118171981A (en) * | 2024-02-29 | 2024-06-11 | 西南交通大学 | Logistics distribution network optimization method |
CN118569768A (en) * | 2024-06-19 | 2024-08-30 | 广州淘猫供应链物流科技有限公司 | Logistics distribution path optimization method |
CN118657462A (en) * | 2024-06-13 | 2024-09-17 | 哈尔滨商业大学 | A cold chain logistics and transportation management system and method for agricultural products |
CN119539364A (en) * | 2024-11-07 | 2025-02-28 | 江南大学 | Integrated scheduling method for picking and distribution of fresh agricultural products based on co-evolutionary algorithm |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105046365A (en) * | 2015-07-29 | 2015-11-11 | 余意 | Method and device for route optimization of logistics delivery vehicle |
CN106251012A (en) * | 2016-07-28 | 2016-12-21 | 广东工业大学 | The path calculation method of a kind of band weak rock mass logistics transportation scheduling and device |
-
2018
- 2018-04-27 CN CN201810389282.7A patent/CN108537491A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105046365A (en) * | 2015-07-29 | 2015-11-11 | 余意 | Method and device for route optimization of logistics delivery vehicle |
CN106251012A (en) * | 2016-07-28 | 2016-12-21 | 广东工业大学 | The path calculation method of a kind of band weak rock mass logistics transportation scheduling and device |
Non-Patent Citations (3)
Title |
---|
兰辉等: "考虑道路通行状况的冷链物流配送路径优化", 《大连海事大学学报》 * |
贾现召等: "实时路况下同城生鲜农产品配送路径优化", 《江苏农业科学》 * |
邵举平等: "生鲜农产品配送中带时窗的VRP模型与算法", 《工业工程与管理》 * |
Cited By (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542141A (en) * | 2018-12-25 | 2019-03-29 | 广州好高冷科技有限公司 | A kind of incubator transport online management platform |
CN109542141B (en) * | 2018-12-25 | 2023-04-18 | 广州好高冷科技有限公司 | Online management platform for transportation of heat preservation boxes |
CN109858752A (en) * | 2018-12-27 | 2019-06-07 | 安庆师范大学 | Dynamic based on roll stablized loop takes out the method and device of dispatching |
CN109919359B (en) * | 2019-02-01 | 2024-06-04 | 武汉天之然知识产权运营有限公司 | Vehicle path planning method based on ADP algorithm |
CN109919359A (en) * | 2019-02-01 | 2019-06-21 | 陕西科技大学 | A Vehicle Path Planning Method Based on ADP Algorithm |
CN110851755A (en) * | 2019-09-29 | 2020-02-28 | 口碑(上海)信息技术有限公司 | Method and device for acquiring delivery path information and electronic equipment |
CN110782073A (en) * | 2019-10-08 | 2020-02-11 | 国药集团医药物流有限公司 | Series-point transportation model for single-point loading and multi-point unloading |
CN111160623A (en) * | 2019-12-09 | 2020-05-15 | 合肥工业大学 | Method, system and storage medium for determining the location of an urban fresh food distribution center |
CN111126904A (en) * | 2019-12-16 | 2020-05-08 | 西南交通大学 | ArcGIS-based dangerous goods transportation management method |
CN111126904B (en) * | 2019-12-16 | 2023-01-03 | 西南交通大学 | ArcGIS-based dangerous goods transportation management method |
CN111080214A (en) * | 2020-01-02 | 2020-04-28 | 汉口北进出口服务有限公司 | Logistics distribution path determining method and device and storage medium |
CN111260119A (en) * | 2020-01-10 | 2020-06-09 | 浙江工商大学 | Product inventory control and distribution route planning method |
CN111260119B (en) * | 2020-01-10 | 2024-01-19 | 浙江工商大学 | Product inventory control and distribution path planning method |
CN111553532B (en) * | 2020-04-28 | 2022-12-09 | 闽江学院 | Method and system for optimizing urban express vehicle path |
CN111553532A (en) * | 2020-04-28 | 2020-08-18 | 闽江学院 | A method and system for optimizing the route of an urban express vehicle |
CN115734926A (en) * | 2020-06-30 | 2023-03-03 | 旭化成株式会社 | Apparatus, method and program |
CN112257978A (en) * | 2020-09-16 | 2021-01-22 | 北京豆牛网络科技有限公司 | Method and device for intelligently scheduling agricultural product resources |
CN112434849B (en) * | 2020-11-19 | 2022-03-11 | 上海交通大学 | Dynamic Planning Method of Dangerous Goods Transportation Path Based on Improved Multi-objective Algorithm |
CN112434849A (en) * | 2020-11-19 | 2021-03-02 | 上海交通大学 | Dangerous goods transportation path dynamic planning method based on improved multi-objective algorithm |
CN112580865A (en) * | 2020-12-15 | 2021-03-30 | 北京工商大学 | Mixed genetic algorithm-based takeout delivery path optimization method |
CN113011817A (en) * | 2021-03-18 | 2021-06-22 | 广州市华溢饮食服务有限公司 | Agricultural product transportation monitoring method and device, computer equipment and storage medium |
CN114048924A (en) * | 2021-11-29 | 2022-02-15 | 合肥工业大学 | Multi-distribution center location-distribution path planning method based on hybrid genetic algorithm |
CN116050971A (en) * | 2023-02-01 | 2023-05-02 | 安徽农业大学 | Multi-temperature co-distribution platform based on Internet of Things technology |
CN116629480B (en) * | 2023-07-19 | 2023-10-27 | 济南餐农网络科技有限公司 | Food material distribution system and distribution method |
CN116629480A (en) * | 2023-07-19 | 2023-08-22 | 济南餐农网络科技有限公司 | Food material distribution system and distribution method |
CN117010670A (en) * | 2023-10-07 | 2023-11-07 | 普迪智能装备有限公司 | Intelligent logistics distribution system and method |
CN117010670B (en) * | 2023-10-07 | 2024-06-07 | 普迪智能装备有限公司 | Intelligent logistics distribution system and method |
CN117371886A (en) * | 2023-12-08 | 2024-01-09 | 深圳市深信信息技术有限公司 | Agricultural product intelligent distribution method and system based on cloud computing |
CN117371886B (en) * | 2023-12-08 | 2024-04-02 | 深圳市深信信息技术有限公司 | Agricultural product intelligent distribution method and system based on cloud computing |
CN118171981A (en) * | 2024-02-29 | 2024-06-11 | 西南交通大学 | Logistics distribution network optimization method |
CN118171981B (en) * | 2024-02-29 | 2025-03-11 | 西南交通大学 | A method for optimizing logistics distribution network |
CN118657462A (en) * | 2024-06-13 | 2024-09-17 | 哈尔滨商业大学 | A cold chain logistics and transportation management system and method for agricultural products |
CN118569768A (en) * | 2024-06-19 | 2024-08-30 | 广州淘猫供应链物流科技有限公司 | Logistics distribution path optimization method |
CN119539364A (en) * | 2024-11-07 | 2025-02-28 | 江南大学 | Integrated scheduling method for picking and distribution of fresh agricultural products based on co-evolutionary algorithm |
CN119539364B (en) * | 2024-11-07 | 2025-06-13 | 江南大学 | Integrated scheduling method for picking and distribution of fresh agricultural products based on co-evolutionary algorithm |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108537491A (en) | A kind of fresh agricultural products Distribution path optimization method, storage medium | |
Chen et al. | Vehicle routing problem of contactless joint distribution service during COVID-19 pandemic | |
CN111967668A (en) | Cold chain logistics path optimization method based on improved ant colony algorithm | |
CN112766614B (en) | Dynamic vehicle path optimization method based on two-stage heuristic algorithm | |
CN103699982A (en) | Logistics distribution control method with soft time windows | |
CN107918849A (en) | A kind of intelligent scheduling device and method of electronic logistics van | |
CN117422357A (en) | Cold chain logistics distribution path optimization method based on improved ant colony algorithm | |
CN109685426A (en) | A kind of fresh Cold Chain Logistics delivery system and method based on shared refrigerator | |
CN113919557A (en) | A logistics route optimization method and system based on adaptive NSGAII | |
CN110363455A (en) | A route planning method and system for item collection | |
CN111178591A (en) | Cold chain logistics product refrigeration transportation quality optimization management system based on big data | |
CN114926109A (en) | Warehouse site selection method | |
CN115222327A (en) | Urban cold chain logistics vehicle route optimization method, system and storage medium | |
CN118171789A (en) | A time window low-carbon site selection inventory path optimization solution method and system | |
CN117993586A (en) | Cold chain distribution optimization method and system based on improved genetic algorithm | |
Wang et al. | Two‐Stage Solution for Meal Delivery Routing Optimization on Time‐Sensitive Customer Satisfaction | |
Wang et al. | Research on optimization of distribution route for cold chain logistics cooperative distribution of fresh e-commerce based on price discount | |
CN111553532A (en) | A method and system for optimizing the route of an urban express vehicle | |
CN117113608B (en) | A cold chain logistics network node layout method and equipment | |
Hu | Hopfield artificial neural network-based optimization method for selecting nodes of fresh agricultural products international logistics network. | |
CN118586568A (en) | A comprehensive cold chain supply chain network optimization method, system, device and storage medium | |
CN118171981A (en) | Logistics distribution network optimization method | |
CN116957457A (en) | Transport optimal route based on AI | |
CN116911438A (en) | Network cargo transportation platform truck cargo intelligent matching method based on maximum and minimum ant colony algorithm | |
CN111563659B (en) | Multi-ant colony system-based multi-target supply chain configuration method |
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 |