[go: up one dir, main page]

CN118171789A - A time window low-carbon site selection inventory path optimization solution method and system - Google Patents

A time window low-carbon site selection inventory path optimization solution method and system Download PDF

Info

Publication number
CN118171789A
CN118171789A CN202410121361.5A CN202410121361A CN118171789A CN 118171789 A CN118171789 A CN 118171789A CN 202410121361 A CN202410121361 A CN 202410121361A CN 118171789 A CN118171789 A CN 118171789A
Authority
CN
China
Prior art keywords
cost
solution
time window
carbon
inventory
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
Application number
CN202410121361.5A
Other languages
Chinese (zh)
Inventor
刘丽华
施业琼
庞建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangxi University of Science and Technology
Original Assignee
Guangxi University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangxi University of Science and Technology filed Critical Guangxi University of Science and Technology
Priority to CN202410121361.5A priority Critical patent/CN118171789A/en
Publication of CN118171789A publication Critical patent/CN118171789A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0832Special goods or special handling procedures, e.g. handling of hazardous or fragile goods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0834Choice of carriers
    • G06Q10/08345Pricing
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Mathematical Physics (AREA)
  • Strategic Management (AREA)
  • Operations Research (AREA)
  • Biophysics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Development Economics (AREA)
  • Mathematical Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computational Mathematics (AREA)
  • Software Systems (AREA)
  • Mathematical Optimization (AREA)
  • Evolutionary Biology (AREA)
  • Pure & Applied Mathematics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Algebra (AREA)
  • Physiology (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Genetics & Genomics (AREA)

Abstract

The invention discloses a time window low-carbon site selection inventory path optimization solving method and system, relates to a genetic algorithm, and particularly relates to a low-carbon logistics center site selection inventory path planning model based on the genetic algorithm. In the invention, in the site selection inventory path network, various costs in a supply chain, customer service time punishment costs and carbon emission costs are comprehensively considered, a double-objective optimization model is established by taking total cost minimization and satisfaction maximization as optimization targets, an improved NSGA-II algorithm is utilized to process and obtain a Pareto optimal solution set, and an optimal reference decision scheme is selected by utilizing a Entropy-TOPSIS method. The invention establishes and solves the model for the site selection inventory path problem of the logistics center by considering carbon emission and time window constraint, and the used distributor demand is a random variable which accords with the actual situation, so that the calculation results of inventory cost, transportation cost, carbon cost and customer satisfaction function value are given, and the logistics cost of enterprises is further reduced.

Description

一种时间窗的低碳选址库存路径优化求解方法及系统A time window low-carbon site selection inventory path optimization solution method and system

技术领域Technical Field

本发明涉及遗传算法,具体是基于遗传算法的低碳的物流中心选址库存路径规划模型,特别是一种时间窗的低碳选址库存路径优化求解方法及系统。The present invention relates to a genetic algorithm, in particular to a low-carbon logistics center site selection inventory path planning model based on a genetic algorithm, in particular to a time window low-carbon site selection inventory path optimization solution method and system.

背景技术Background Art

目前,国内外学者已经从多成本、满意度和规划算法方面对物流设施选址和路径问题进行了研究,并取得一定的成果。但是,一般的选址和路径规划模型方案并未考虑了碳排放量,没有同时考虑分销商的时间窗约束。At present, domestic and foreign scholars have studied the location and routing problems of logistics facilities from the perspectives of multi-cost, satisfaction and planning algorithms, and have achieved certain results. However, the general location and routing planning model schemes do not take into account carbon emissions and the time window constraints of distributors.

发明内容Summary of the invention

本发明的发明目的是,针对上述问题,提供一种时间窗的低碳选址库存路径优化求解方法,使用的分销商需求量是随机变量更符合实际情况。The purpose of the present invention is to provide a time window low-carbon site selection inventory path optimization solution method for the above-mentioned problem, in which the distributor demand used is a random variable that is more in line with the actual situation.

为达到上述目的,本发明所采用的技术方案是:In order to achieve the above object, the technical solution adopted by the present invention is:

一种时间窗的低碳选址库存路径优化求解方法,包括以下内容:A time window low-carbon location inventory path optimization solution method includes the following contents:

步骤S1、构建选址库存路径优化模型,该选址库存路径的总成本最小和客户满意度最高的2个目标优化函数为:Step S1: construct a location inventory path optimization model. The two objective optimization functions of the location inventory path with the minimum total cost and the highest customer satisfaction are:

minf1=λ1G+λ2Tc3Wc4Pc5Cc (1);minf 11 G+λ 2 T c3 W c4 P c5 C c (1);

其中,配送中心选址固定建设成本为 Among them, the fixed construction cost of the distribution center site selection is

配送车辆的运输成本为 The transportation cost of the delivery vehicle is

库存成本为 The inventory cost is

时间惩罚成本为max{ET'j-tj,0}表示服务于客户j时提前到达的时间,max{tj-LTj,0}表示服务客户j的延迟时间;The time penalty cost is max{ET' j -t j ,0} represents the advance arrival time when serving customer j, and max{t j -LT j ,0} represents the delay time when serving customer j;

客户节点(i,j)路段配送中的碳排放成本为客户满意度为配送中心的能力约束:车辆运载能力约束:车辆行驶距离约束:配送车辆数量约束:每辆车的配送线路起点和终点都是同一配送中心:每个客户只能被一辆车服务一次:每个分销商都由一辆车负责配送:时间窗约束:发生缺货、运力不足特殊情况下,时间窗约束:配送中心的订购量大于配送中心到分销商的运输量:配送中心到分销商的运输量满足分销商的需求量:xhjzhj≥uj,h∈H;The carbon emission cost of the delivery on the customer node (i, j) is Customer satisfaction is Capacity constraints of distribution centers: Vehicle carrying capacity constraints: Vehicle driving distance constraints: Constraints on the number of delivery vehicles: The starting and ending points of each vehicle’s delivery route are the same delivery center: Each customer can only be served once by a vehicle: Each distributor has a vehicle responsible for delivery: Time window constraints: In special cases of out-of-stock and insufficient transportation capacity, time window constraints: The order quantity from the distribution center is greater than the shipping quantity from the distribution center to the distributor: The transportation volume from the distribution center to the distributor meets the distributor's demand: x hj z hj ≥u j ,h∈H;

一个分销商只由一个配送中心提供服务:建立配送中心才有配送路径: A distributor is served by only one distribution center: Only by establishing a distribution center can we have a distribution route:

步骤S2、采用熵权法得到固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本的权重,分别为λ1、λ2、λ3、λ4及λ5。步骤S2的具体处理流程如下:Step S2: using the entropy weight method to obtain the weights of fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost, which are λ 1 , λ 2 , λ 3 , λ 4 and λ 5 respectively. The specific processing flow of step S2 is as follows:

步骤21、根据固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本,以及设定各成本的预设权重均为1,采用改进NSGA-II算法计算得到目标优化函数(1)的Pareto最优解集A1;步骤22、将Pareto最优解集A1进行正向化,构建正向化矩阵,采用熵权法得出固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本的权重,分别为λ1、λ2、λ3、λ4及λ5Step 21. According to the fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost, and setting the preset weight of each cost to 1, the improved NSGA-II algorithm is used to calculate the Pareto optimal solution set A1 of the objective optimization function (1); Step 22. The Pareto optimal solution set A1 is forward-oriented, a forward-oriented matrix is constructed, and the entropy weight method is used to obtain the weights of the fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost, which are λ 1 , λ 2 , λ 3 , λ 4 and λ 5 respectively.

步骤S3、将各成本的权重代入到目标优化函数(1),采用改进NSGA-II算法计算得到2个目标优化函数(1)和(2)的Pareto最优解集A2。Step S3: Substitute the weight of each cost into the objective optimization function (1), and use the improved NSGA-II algorithm to calculate the Pareto optimal solution set A2 of the two objective optimization functions (1) and (2).

步骤S4、根据Pareto最优解集A2,采用TOPSIS法对Pareto最优解集A2的各个解进行评估并排序,选择排名第一的解作为最优参考方案。步骤S4的具体处理流程如下:Step S4: Based on the Pareto optimal solution set A2, the TOPSIS method is used to evaluate and rank the solutions in the Pareto optimal solution set A2, and the solution ranked first is selected as the optimal reference solution. The specific processing flow of step S4 is as follows:

步骤41、构建评价矩阵并进行归一化处理;Pareto最优解集A2共有t个解,将2个目标函数构建评价指标判断矩阵;步骤42、利用熵权法计算第j个目标的熵权Wj;步骤43、确定每个目标函数的综合权数βj;步骤44、构建加权规范化矩阵;步骤45、确定理想解和负理想解;步骤46、计算得到Pareto最优解集A2中第t个解与最优水平的接近指数Rt,并按降序排序,再选择排名第一的解作为最优参考方案;其中,加权标准化矩阵各指标的最大值和最小值分别为理想解和负理想解与理想解的距离与负理想解的距离 Step 41, construct an evaluation matrix and perform normalization processing; there are t solutions in the Pareto optimal solution set A2, and the two objective functions are used to construct an evaluation index judgment matrix; Step 42, use the entropy weight method to calculate the entropy weight W j of the j-th objective; Step 43, determine the comprehensive weight β j of each objective function; Step 44, construct a weighted normalization matrix; Step 45, determine the ideal solution and the negative ideal solution; Step 46, calculate the proximity index R t between the t-th solution in the Pareto optimal solution set A2 and the optimal level, and sort them in descending order, and then select the solution ranked first as the optimal reference solution; Among them, The maximum and minimum values of each index in the weighted standardization matrix are the ideal solutions and negative ideal solution Distance from the ideal solution Distance to negative ideal solution

其中,改进NSGA-II算法的处理流程如下:Among them, the processing flow of the improved NSGA-II algorithm is as follows:

首先,随机产生规模为N的初始种群,非支配排序后通过遗传算法的选择、交叉、变异三个基本操作得到第一代子代种群;其次,从第二代开始,将父代种群与子代种群合并,进行快速非支配排序,同时对每个非支配层中的个体进行拥挤度计算,根据非支配关系以及个体的拥挤度选取合适的个体组成新的父代种群;最后,通过遗传算法的基本操作产生新的子代种群。改进NSGA-II算法的个体i的动态拥挤距离计算式为:其中,每个目标函数为fm,fm(i+1)为个体排序后目标函数值的最后一位,M为目标函数的个数。First, an initial population of size N is randomly generated. After non-dominated sorting, the first generation of offspring population is obtained through the three basic operations of genetic algorithm selection, crossover, and mutation; secondly, starting from the second generation, the parent population and the offspring population are merged to perform fast non-dominated sorting. At the same time, the crowding degree of individuals in each non-dominated layer is calculated, and appropriate individuals are selected to form a new parent population based on the non-dominated relationship and the crowding degree of the individuals; finally, a new offspring population is generated through the basic operations of the genetic algorithm. The dynamic crowding distance calculation formula of individual i in the improved NSGA-II algorithm is: in, Each objective function is f m , where f m (i+1) is the last digit of the objective function value after the individuals are sorted, and M is the number of objective functions.

由于采用上述技术方案,本发明具有以下有益效果:Due to the adoption of the above technical solution, the present invention has the following beneficial effects:

本发明在选址库存路径网络中,综合考虑供应链中的各项成本、客户服务时间惩罚成本和碳排放成本,以总成本最小化和满意度最大化为优化目标,建立双目标优化模型,利用改进的NSGA-II算法处理得到Pareto最优解集,再利用Entropy-TOPSIS法选择最优的参考决策方案。本发明为物流中心的选址库存路径问题同时考虑碳排放及时间窗约束的模型建立及求解,使用的分销商需求量是随机变量更符合实际情况,给出了库存成本、运输成本、碳成本、客户满意度函数值的计算结果,进一步降低了企业物流成本。In the site selection inventory path network, the present invention comprehensively considers various costs in the supply chain, customer service time penalty costs and carbon emission costs, takes total cost minimization and satisfaction maximization as optimization goals, establishes a dual-objective optimization model, uses the improved NSGA-II algorithm to obtain the Pareto optimal solution set, and then uses the Entropy-TOPSIS method to select the optimal reference decision plan. The present invention establishes and solves the model for the site selection inventory path problem of the logistics center while considering carbon emissions and time window constraints. The distributor demand used is a random variable that is more in line with the actual situation. The calculation results of inventory cost, transportation cost, carbon cost, and customer satisfaction function value are given, which further reduces the logistics cost of the enterprise.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明的求解方法流程图。图2是本发明的多车辆的LIRP供应链图。图3是本发明的时间窗惩罚成本函数图。图4是本发明的客户满意度函数图。图5是本发明的改进NSGA-II算法的基础编码规则示意图。图6是本发明的改进NSGA-II算法的完整的个体编码示意图。图7是本发明的改进NSGA-II算法的初始化单个个体示意图。图8是本发明的改进NSGA-II算法的竞标赛选择流程图。图9是本发明的改进NSGA-II算法的单周期破坏段编码交叉编码示意图。图10是本发明的改进NSGA-II算法的双个体多周期整段交叉编码示意图。图11是本发明的改进NSGA-II算法的单个体周期段交叉编码示意图。图12是本发明的改进NSGA-II算法的单周期基因位互换变异示意图。图13是本发明的改进NSGA-II算法的周期a处增加车辆变异示意图。图14是本发明的改进NSGA-II算法的周期b处减少车辆变异示意图。图15是本发明的改进NSGA-II算法的种群合并与优选流程图。图16是本发明的改进NSGA-II算法流程图。图17是本发明的求解实例的权重为1的Pareto最优解集曲线图。图18是本发明的求解实例的带权重的总成本与满意度的Pareto最优解集曲线图。图19是本发明的求解实例的最优分配方案路线图。图20是本发明的求解实例的碳排放成本与客户满意度随碳配额增加变化趋势示意图。图21是本发明的求解实例的碳排放成本与总成本随碳配额增加变化趋势示意图。图22是本发明的求解实例的碳排放成本随碳配额增加变化趋势图。FIG. 1 is a flow chart of the solution method of the present invention. FIG. 2 is a LIRP supply chain diagram of multiple vehicles of the present invention. FIG. 3 is a time window penalty cost function diagram of the present invention. FIG. 4 is a customer satisfaction function diagram of the present invention. FIG. 5 is a schematic diagram of the basic coding rules of the improved NSGA-II algorithm of the present invention. FIG. 6 is a schematic diagram of the complete individual coding of the improved NSGA-II algorithm of the present invention. FIG. 7 is a schematic diagram of the initialization of a single individual of the improved NSGA-II algorithm of the present invention. FIG. 8 is a flowchart of the competition selection of the improved NSGA-II algorithm of the present invention. FIG. 9 is a schematic diagram of the cross-coding of the single-cycle destruction segment coding of the improved NSGA-II algorithm of the present invention. FIG. 10 is a schematic diagram of the cross-coding of the double-individual multi-cycle whole segment of the improved NSGA-II algorithm of the present invention. FIG. 11 is a schematic diagram of the cross-coding of the single-body cycle segment of the improved NSGA-II algorithm of the present invention. FIG. 12 is a schematic diagram of the single-cycle gene position exchange variation of the improved NSGA-II algorithm of the present invention. FIG. 13 is a schematic diagram of the variation of increasing vehicles at cycle a of the improved NSGA-II algorithm of the present invention. FIG. 14 is a schematic diagram of the variation of reducing vehicles at cycle b of the improved NSGA-II algorithm of the present invention. Figure 15 is a population merging and optimization flowchart of the improved NSGA-II algorithm of the present invention. Figure 16 is a flowchart of the improved NSGA-II algorithm of the present invention. Figure 17 is a Pareto optimal solution set curve with a weight of 1 for the solution example of the present invention. Figure 18 is a Pareto optimal solution set curve with weighted total cost and satisfaction for the solution example of the present invention. Figure 19 is a roadmap of the optimal allocation plan for the solution example of the present invention. Figure 20 is a schematic diagram of the carbon emission cost and customer satisfaction of the solution example of the present invention as the carbon quota increases. Figure 21 is a schematic diagram of the carbon emission cost and total cost of the solution example of the present invention as the carbon quota increases. Figure 22 is a graph of the carbon emission cost of the solution example of the present invention as the carbon quota increases.

具体实施方式DETAILED DESCRIPTION

以下结合附图对发明的具体实施进一步说明。The specific implementation of the invention is further described below with reference to the accompanying drawings.

实施例1Example 1

如图1所示,本发明的时间窗的低碳选址库存路径优化求解方法包括步骤S1-步骤S4,下述将具体说明。As shown in FIG1 , the method for optimizing the low-carbon location inventory path of the time window of the present invention includes steps S1 to S4 , which will be described in detail below.

1、优化模型建立1. Optimization model establishment

本发明从一个工厂到各个备选潜在配送物流中心,配送物流中心再送到各个分销商的物流模式出发,对配送物流中心的选择和订购量,配送物流中心送往分销商的路径优化,为物流中心的选址库存路径问题同时考虑碳排放及时间窗约束的模型建立及求解算法。The present invention starts from a logistics model in which a factory is connected to various potential distribution logistics centers, and the distribution logistics centers then deliver the goods to various distributors. It optimizes the selection and order quantity of the distribution logistics centers, and the path from the distribution logistics centers to the distributors. It establishes a model and a solution algorithm for the site selection and inventory path problem of the logistics center while considering carbon emissions and time window constraints.

在模型建立上需要解决:1、如何考虑时间窗因素是考虑时间惩罚策略;2、如何计算碳排放成本;3、如何建立考虑包含碳排放和时间窗因素的总成本综合优化目标;4、如何合理安排配送路径,降低能耗和碳排放;5、如何设计算法求解该模型。The following issues need to be addressed in model building: 1. How to consider the time window factor and the time penalty strategy; 2. How to calculate the carbon emission cost; 3. How to establish a comprehensive optimization target for the total cost that takes into account carbon emissions and time window factors; 4. How to reasonably arrange the delivery route to reduce energy consumption and carbon emissions; 5. How to design an algorithm to solve the model.

当分销商在工厂平台上下单后,首先配送物流中心会对分销商的订单信息进行分析并执行相应的订购、拣货、包装等操作,然后合理分配并确定每个配送员的配送任务,最后调用一定数量的配送车辆,针对一系列分销商地址安排适当的行车路线,在客户期望的收货时间段内将货物完好的送达。在满足时间窗约束以及指定的约束条件下,从备选配送物流中心中选择确定的配送中心,以及给出工厂到配送物流中心的运输量即配送中心的订购量,然后寻找到多车辆配送从配送中心到各个分销商的运输量和最优或次优路径来满足最小总成本。如图1所示,为多车辆的LIRP供应链图。When the distributor places an order on the factory platform, the distribution logistics center will first analyze the distributor's order information and perform corresponding ordering, picking, packaging and other operations, then reasonably allocate and determine the delivery tasks of each delivery person, and finally call a certain number of delivery vehicles to arrange appropriate driving routes for a series of distributor addresses to deliver the goods intact within the customer's expected delivery time period. Under the time window constraints and specified constraints, a certain distribution center is selected from the alternative distribution logistics centers, and the transportation volume from the factory to the distribution logistics center, that is, the order volume of the distribution center, is given. Then, the transportation volume and optimal or suboptimal path of multi-vehicle distribution from the distribution center to each distributor are found to meet the minimum total cost. As shown in Figure 1, it is a multi-vehicle LIRP supply chain diagram.

为了构建模型数学模型进行以下假设:(1)研究对象为考虑库存的选址路径问题。(2)假设只选用单一品种冷链食品;因冷链食品涉及广泛,各类食品的温控、保质期、易损度都不尽相同。(3)每个客户由单一配送中心来服务。(4)每个开发的配送每个工作日均为其所服务的客户点提供一次配送服务,所有开发的配送中心的年工作天数相同。(5)各客户点的需求独立,为正态分布。(6)假设同一门店的配送车辆是统一规格的。即每辆车的容量、使用年限、油耗,以及运输过程中的车速都是一样的。(7)考虑运输、库存和设施建设中碳排放问题。(8)供应链总碳排放量有限制约束。(9)不关心配送途中所发生的任何突发情况,例如整车生产中心的生产需求改变、交通管制、天气原因等。(10)在配送中考虑时间窗因素,且认为相关联的惩罚成本和时间具有某种线性相关的函数关系。(11)每条配送路线仅由一辆车来为其提供服务,且运输车辆车型相同。(12)任一条配送线路上的客户点需求总和不能超过车辆的载重能力,且配送车辆从配送中心出发完成任务后返回该配送中心。In order to construct the mathematical model, the following assumptions are made: (1) The research object is the location path problem considering inventory. (2) It is assumed that only a single type of cold chain food is selected; because cold chain food involves a wide range of areas, the temperature control, shelf life, and fragility of various types of food are different. (3) Each customer is served by a single distribution center. (4) Each developed distribution center provides one delivery service to the customer point it serves every working day, and all developed distribution centers have the same annual working days. (5) The demand of each customer point is independent and normally distributed. (6) It is assumed that the delivery vehicles of the same store are of uniform specifications. That is, the capacity, service life, fuel consumption, and speed of each vehicle during transportation are the same. (7) Carbon emissions in transportation, inventory, and facility construction are considered. (8) The total carbon emissions of the supply chain are subject to constraints. (9) Any emergencies that occur during delivery are not considered, such as changes in production demand at the vehicle production center, traffic control, weather reasons, etc. (10) The time window factor is considered in delivery, and it is assumed that the associated penalty cost and time have a certain linear correlation function relationship. (11) Each delivery route is served by only one vehicle, and the transport vehicles are of the same model. (12) The total demand of customer points on any delivery route cannot exceed the vehicle's load capacity, and the delivery vehicle departs from the distribution center and returns to the distribution center after completing the task.

接着,需要进行模型参数及其定义,以下是模型参数及符号说明,包括参数含义、决策变量和碳排放系数说明。Next, the model parameters and their definitions are required. The following is a description of the model parameters and symbols, including the meaning of the parameters, decision variables and carbon emission coefficients.

模型参数:Model parameters:

N:一个工厂节点记为N=0;H:配送物流中心潜在位置的集合;J:分销商的集合;K:所有配送车辆集合;gh:潜在配送中心h固定建设成本,h∈H;dij:节点i到节点j之间的距离,i,j∈N∪H∪J;ih:配送物流中心h单位产品的库存持有费用;α:运行缺货的概率,1-α为相应的服务水平;zα:安全库存系数;L:订货提前期;μj:分销商j周期内平均需求;σj:分销商j周期内需求标准差;ch:配送中心h最大仓储容量服务能力;CCAP:供应链上分配到的碳配额;C1:配送车辆固定成本,与车辆载重量和车辆行驶距离无关;FCij:配送车辆的能源消耗费用;Tc:配送车辆的运输成本;[ETj',LTj']:客户满意度函数中分销商j的期望交货时间窗;α1:车辆在时刻ETj'之前到达分销商j的单位时间惩罚成本;α2:车辆在时刻LTj'之后到达分销商j的单位时间惩罚成本;[eTj,lTj]:客户满意度函数中分销商j可接受的配送时间窗;Pc:惩罚成本;ρ:单位距离燃油消耗量;QX:车辆载重量;ρ(Qij):配送车辆从节点i驶向节点j过程中载重Qij,货物的单位距离燃油消耗量;Q0:配送车辆自重;Qk:配送车辆的最大载重量;ρ0:空载时单位距离燃油消耗量;ρ*:满载时单位距离燃油消耗量;Qc:配送中总碳排放量;p2:燃油的单位价格;ω:表示碳排放系数;Cc:碳排放成本;Ce:碳税,消耗单位碳排放的环境成本;D:配送车辆最大行驶距离。N: a factory node is recorded as N=0; H: the set of potential locations of distribution logistics centers; J: the set of distributors; K: the set of all distribution vehicles; g h : the fixed construction cost of potential distribution center h, h∈H; d ij : the distance between node i and node j, i,j∈N∪H∪J; i h : the inventory holding cost of each unit product of distribution logistics center h; α: the probability of out-of-stock operation, 1-α is the corresponding service level; z α : safety stock coefficient; L: order lead time; μ j : the average demand of distributor j during the cycle; σ j : the standard deviation of demand during the cycle of distributor j; c h : the maximum storage capacity service capacity of distribution center h; C CAP : the carbon quota allocated in the supply chain; C 1 : the fixed cost of distribution vehicles, which is independent of vehicle load and vehicle driving distance; FC ij : the energy consumption cost of distribution vehicles; T c : the transportation cost of distribution vehicles; [ET j ',LT j ']: the expected delivery time window of distributor j in the customer satisfaction function; α 1 : the penalty cost per unit time for a vehicle to arrive at distributor j before time ET j '; α 2 : the penalty cost per unit time for a vehicle to arrive at distributor j after time LT j '; [eT j ,lT j ]: the acceptable delivery time window for distributor j in the customer satisfaction function; P c : penalty cost; ρ: fuel consumption per unit distance; Q X : vehicle load; ρ(Q ij ): fuel consumption per unit distance of a delivery vehicle carrying Q ij , goods, when driving from node i to node j; Q 0 : dead weight of the delivery vehicle; Q k : maximum load of the delivery vehicle; ρ 0 : fuel consumption per unit distance when empty; ρ * : fuel consumption per unit distance when fully loaded; Q c : total carbon emissions during delivery; p 2 : unit price of fuel; ω: represents the carbon emission coefficient; C c : carbon emission cost; Ce : carbon tax, the environmental cost of consuming unit carbon emissions; D : maximum driving distance of the delivery vehicle.

模型决策变量:Model decision variables:

xh:从工厂到配送中心DCh的订购量;xhj:配送中心DCh分配给分销商j的运输量;x h : the order quantity from the factory to the distribution center DC h ; x hj : the transportation quantity allocated to distributor j by the distribution center DC h ;

然后,进行目标函数设计,具体如下。Then, the objective function is designed as follows.

(1)配送中心选址固定建设费用为(1) The fixed construction cost of the distribution center site selection is

(2)运输费用(2) Transportation costs

运输成本主要由两部分费用组成,一是配送车辆固定成本即为调度车辆的成本,设为常数C1,包括车辆的固定损耗、配送人员工资等与车辆使用相关的费用,与车辆载重量和车辆行驶距离无关。二是虽然之前有文献如是以单位距离成本乘以距离来衡量车辆行驶运输费用,在正常情况下,车辆行驶的距离越远,承载能力越大,运输成本也越高,但是单位距离成本不如路途中的燃油消耗量容易直接获取得到,另外冷链车辆运输的无论是制冷和运行主要动力都是燃油。因此本发明的运输成本考虑配送车辆的能源消耗费用FCijThe transportation cost is mainly composed of two parts. The first is the fixed cost of the distribution vehicle, which is the cost of dispatching the vehicle, set as a constant C 1 , including the fixed loss of the vehicle, the salary of the distribution staff and other costs related to the use of the vehicle, which is unrelated to the vehicle load and the distance traveled by the vehicle. Second, although there are previous documents that measure the vehicle travel transportation cost by multiplying the unit distance cost by the distance, under normal circumstances, the longer the vehicle travels, the greater the carrying capacity, and the higher the transportation cost, but the unit distance cost is not as easy to obtain directly as the fuel consumption on the road. In addition, the main power of cold chain vehicle transportation, whether it is refrigeration or operation, is fuel. Therefore, the transportation cost of the present invention takes into account the energy consumption cost FC ij of the distribution vehicle.

假设客户节点(i,j)路段的单位距离燃油消耗量ρ与车辆载重量QX成线性关系可表示为:Assuming that the unit distance fuel consumption ρ of the customer node (i, j) section is linearly related to the vehicle load Q X, it can be expressed as:

ρ(QX)=a(Q0+QX)+bρ(Q X )=a(Q 0 +Q X )+b

已知配送车辆自重Q0,最大载重量Qk,由:Given the deadweight Q 0 and the maximum load Q k of the delivery vehicle, we can obtain:

ρ0=aQ0+bρ 0 = aQ 0 + b

ρ*=a(Q0+Qk)+bρ * =a(Q 0 +Q k )+b

得出:It turns out that:

从而可以得出,单位距离车辆燃油消耗ρ(QX)为:It can be concluded that the vehicle fuel consumption per unit distance ρ(Q X ) is:

可以得出节点(i,j)路段配送中所产生的能源费用FCijThe energy cost FC ij generated in the delivery of node (i, j) can be obtained:

其中, in,

因此,配送车辆的运输成本Tc可表示为:Therefore, the transportation cost Tc of the distribution vehicle can be expressed as:

(3)库存费用(3) Inventory costs

订货成本为存货成本为假设各个分销商的需求相互独立,且服从标准正态分布,则配送中心在有订货提前期的需求量即安全库存点为配送中心的订货点为那么库存费用为The ordering cost is The inventory cost is Assuming that the demands of each distributor are independent and follow a standard normal distribution, the demand of the distribution center with order lead time, i.e., the safety stock point, is The order point of the distribution center is Then the inventory cost is

(4)时间窗惩罚成本函数(4) Time Window Penalty Cost Function

惩罚成本与配送时间的关系如图3所示,假设横坐标表示配送时间tj,纵坐标Pj(tj)代表惩罚成本,α1,α212≥0)分别为在时间窗[eTj,ETj']和时间窗[LTj',lTj]的惩罚系数,其中α2≥α1,M表示无限大的惩罚成本,即当配送时间超过客户可接受的时间窗范围,客户会拒收货物,此时惩罚成本为无限大。The relationship between penalty cost and delivery time is shown in Figure 3. Assume that the horizontal axis represents the delivery time t j , the vertical axis P j (t j ) represents the penalty cost, α 1 , α 21 , α 2 ≥ 0) are the penalty coefficients in the time window [eT j , ET j '] and the time window [LT j ', lT j ], respectively, where α 2 ≥ α 1 , M represents infinite penalty cost, that is, when the delivery time exceeds the time window range acceptable to the customer, the customer will refuse to accept the goods, and the penalty cost is infinite at this time.

由此可以得出时间窗惩罚函数为:From this we can conclude that the time window penalty function is:

那么惩罚成本Pc可由时间惩罚函数进行量化得到,具体表示为:Then the penalty cost Pc can be quantified by the time penalty function, which is specifically expressed as:

其中,max{ET'j-tj,0}表示服务于客户j时提前到达的时间,max{tj-LTj,0}表示服务客户j的延迟时间。Among them, max{ET' j -t j ,0} represents the advance arrival time when serving customer j, and max{t j -LT j ,0} represents the delay time when serving customer j.

(5)碳排放成本函数(5) Carbon emission cost function

碳排放量是燃烧燃油所产生的,配送车辆的燃油消耗不仅与配送车辆行驶距离有关,还与车辆载重量有关。Carbon emissions are generated by burning fuel. The fuel consumption of delivery vehicles is not only related to the distance traveled by the delivery vehicles, but also to the load capacity of the vehicles.

配送中总碳排放量Qc,表示为:The total carbon emissions during distribution, Q c , is expressed as:

因此碳排放成本主要是描述车辆在配送过程中产生碳排放量的环境成本,碳排放成本=碳税*(碳排放量-碳配额),则客户节点(i,j)路段配送中的碳排放成本Cc表示为:Therefore, the carbon emission cost mainly describes the environmental cost of carbon emissions generated by vehicles during the delivery process. Carbon emission cost = carbon tax * (carbon emissions - carbon quota). The carbon emission cost C c in the delivery of the customer node (i, j) section is expressed as:

(6)客户满意度函数(6) Customer Satisfaction Function

假设S=1表示发生缺货、运力不足情况,该特殊情况下客户可接受的配送时间窗为[eTj,lTj],横坐标表示配送时间tj,纵坐标V(tj)代表客户满意度函数,客户满意度与配送时间的关系如图4所示。Assume that S = 1, which means out of stock and insufficient transportation capacity occur. In this special case, the delivery time window acceptable to customers is [eT j , lT j ]. The horizontal axis represents the delivery time t j , and the vertical axis V(t j ) represents the customer satisfaction function. The relationship between customer satisfaction and delivery time is shown in Figure 4.

由此可以得出客户满意度函数为:From this we can derive the customer satisfaction function as:

针对上述目标函数建立总成本最小、客户满意度最高的双目标优化模型如下The dual-objective optimization model of minimizing total cost and maximizing customer satisfaction is established for the above objective function as follows:

minf1=λ1G+λ2Tc3Wc4Pc5Cc (1)minf 1 =λ 1 G+λ 2 T c3 W c4 P c5 C c (1)

目标函数约束条件如下:The objective function constraints are as follows:

(1)配送中心的能力约束为: (1) The capacity constraints of the distribution center are:

(2)车辆运载能力约束为: (2) Vehicle carrying capacity constraints are:

(3)车辆行驶距离约束为: (3) The vehicle driving distance constraint is:

(4)配送车辆数量约束: (4) Constraints on the number of delivery vehicles:

(5)每辆车的配送线路起点和终点都是同一配送中心: (5) The starting point and end point of each vehicle’s delivery route are the same distribution center:

(6)每个客户只能被一辆车服务一次: (6) Each customer can only be served once by one vehicle:

(7)每个分销商都由一辆车负责配送: (7) Each distributor has a vehicle responsible for delivery:

(8)时间窗约束为: (8) The time window constraint is:

(9)发生缺货、运力不足特殊情况下,时间窗约束: (9) Time window constraints in special circumstances such as shortage of goods or insufficient transportation capacity:

(10)配送中心的订购量大于配送中心到分销商的运输量: (10) The order quantity from the distribution center is greater than the transportation quantity from the distribution center to the distributor:

(11)配送中心到分销商的运输量满足分销商的需求量:xhjzhj≥uj,h∈H。(11) The transportation volume from the distribution center to the distributor meets the distributor’s demand: x hj z hj ≥u j ,h∈H.

(12)一个分销商只由一个配送中心提供服务: (12) A distributor is served by only one distribution center:

(13)建立配送中心才有配送路径: (13) Only by establishing a distribution center can we have a distribution route:

2、优化模型求解2. Optimization model solution

2.1改进NSGA-II算法流程步骤2.1 Improved NSGA-II algorithm process steps

如上述,所构建的多目标优化模型中的碳成本、选址成本、运输成本和库存成本总和与客户满意度两个优化目标间是一种相互矛盾的关系,求解该类问题需要应用多目标优化算法。改进的NSGA-II在解决公式化模型方面具有更好的能力,因此可以根据决策者的优先权做出更好的决策。此外,改进的NSGA-II提供了一组帕累托最优解作为最终结果,这为决策者提供了多种选择。NSGA-II的改进设计如下:As mentioned above, the relationship between the sum of carbon cost, site selection cost, transportation cost and inventory cost and the two optimization objectives of customer satisfaction in the constructed multi-objective optimization model is a contradictory one. Solving this type of problem requires the application of a multi-objective optimization algorithm. The improved NSGA-II has a better ability to solve the formulated model, so better decisions can be made according to the decision maker's priorities. In addition, the improved NSGA-II provides a set of Pareto optimal solutions as the final result, which provides decision makers with multiple options. The improved design of NSGA-II is as follows:

(1)编码方案(1) Coding scheme

在遗传算法中,个体代表问题的解决方案,因此结果需要包含以下信息:(i)首周期车辆配送路径方案;首周期车辆配送量方案。(ii)第二周期车辆配送路径方案;第二周期车辆配送量方案。(iii)继续,遗传算法循环迭代,直到第n次迭代。第n周期车辆配送路径问题研究第n周期车辆配送量方案。In the genetic algorithm, individuals represent solutions to the problem, so the result needs to contain the following information: (i) The first-cycle vehicle distribution path solution; the first-cycle vehicle distribution volume solution. (ii) The second-cycle vehicle distribution path solution; the second-cycle vehicle distribution volume solution. (iii) Continue, the genetic algorithm iterates until the nth iteration. The nth-cycle vehicle distribution path problem studies the nth-cycle vehicle distribution volume solution.

基于上述原则,可以得到以下基本编码规则:Based on the above principles, the following basic coding rules can be obtained:

首先,根据周期数将每个个体分成若干段;然后将每段划分为路由段和分发段。路径分段码直接用销售点编号表示车辆配送顺序,配送量分段码直接用对应销售点的配送量表示。First, each individual is divided into several segments according to the number of cycles; then each segment is divided into a routing segment and a distribution segment. The route segment code directly uses the sales point number to represent the vehicle distribution sequence, and the distribution volume segment code directly uses the distribution volume of the corresponding sales point.

如图5所示,从上到下依次表示第一周期到第三周期的配送路径方案与配送量方案。其中:蓝色(灰度下深灰)基因位表示销售点编码;黄色(灰度下浅灰)基因位表示对应前面该销售点的配送量;绿色(灰度下灰)基因位表示配送中心编码,其对应的配送量位置用inf表示。如图6所示,在一个完整的个体编码中,末端两个红色(灰度下黑色)基因位分别记录了该配送中心在此个体提供的解方案下计算出的目标函数A、B两个函数值。As shown in Figure 5, the distribution path plan and distribution volume plan from the first cycle to the third cycle are shown from top to bottom. Among them: the blue (dark gray under grayscale) gene position represents the sales point code; the yellow (light gray under grayscale) gene position represents the distribution volume corresponding to the previous sales point; the green (gray under grayscale) gene position represents the distribution center code, and its corresponding distribution volume position is represented by inf. As shown in Figure 6, in a complete individual code, the two red (black under grayscale) gene positions at the end respectively record the two function values of the objective function A and B calculated by the distribution center under the solution provided by this individual.

(2)初始化种群(2) Initialize the population

首先,出于算法设计的便利性和运算的效率提高考虑,本模型在设计问题的解前按照配送中心负责的最近原则对销售点进行了划分,其结果是将多配送中心多销售点的LIRP问题转化为了单配送中心多销售点的LIRP问题,在划分之后,每个配送中心负责固定数量的销售点集合,各个配送中心之间互不影响,成本及风险同样可以单独计算,较大程度地降低模型的复杂程度和算法的运算效率。具体划分过程如下:First, for the convenience of algorithm design and the improvement of operation efficiency, this model divides the sales points according to the nearest principle of the distribution center before designing the solution to the problem. As a result, the LIRP problem of multiple distribution centers and multiple sales points is transformed into the LIRP problem of multiple sales points of a single distribution center. After the division, each distribution center is responsible for a fixed number of sales points, and the distribution centers do not affect each other. The costs and risks can also be calculated separately, which greatly reduces the complexity of the model and the operation efficiency of the algorithm. The specific division process is as follows:

对每一个销售点计算其与所有配送中心的直线距离,然后遍历这些距离并搜索最小值,此最短距离对应的配送中心节点即为负责该销售点的配送中心,于是将此销售点加入该配送中心负责节点集合,如此循环遍历过每一个销售点,即得到每一个配送中心对应负责的销售点集合。For each sales point, calculate the straight-line distance between it and all distribution centers, then traverse these distances and search for the minimum value. The distribution center node corresponding to the shortest distance is the distribution center responsible for the sales point. Then add this sales point to the responsible node set of the distribution center. In this way, by traversing each sales point in a loop, we can get the set of sales points that each distribution center is responsible for.

以上即得到了该个体第1周期的编码,具体过程可参照图7,之后再对其按照周期数目(例如设定每个个体包含T个周期)循环,并嵌套种群规模大小(例如种群规模大小为200)循环,最终就得到了一个200行,x列的种群矩阵,在此矩阵中,每行数据代表一个个体,每个个体拥有T个周期段编码与2个函数值基因位。其中,x由下式给出:The above is the code of the first cycle of the individual. The specific process can be referred to Figure 7. Then it is looped according to the number of cycles (for example, each individual is set to contain T cycles), and the population size (for example, the population size is 200) is nested. Finally, a population matrix with 200 rows and x columns is obtained. In this matrix, each row of data represents an individual, and each individual has T cycle segment codes and 2 function value gene bits. Among them, x is given by the following formula:

x=(lengthrouting+lengthshipping quantity)×Tx=(length routing +length shipping quantity )×T

(3)选择交叉变异(3) Select crossover mutation

(i)选择交叉变异(i) Select crossover mutation

锦标赛,根据现有种群,并组织,从所有个体的父代种群中提取优秀个体,加入交配池。这一步骤模拟了自然界中一个物种到繁殖季节时,种群中个体相互竞争性权利的过程,不因遗传优势而优秀的个体无权参与下一代的交叉重组输出,使得随着整个种群朝着不断进化的方向发展,算法也在现有的基础上不断探索更好的解。竞争选择方法整个过程如图8所示。The tournament is organized based on the existing population, and excellent individuals are extracted from the parent population of all individuals and added to the mating pool. This step simulates the process of individuals in a population competing for sexual rights when a species reaches the breeding season in nature. Individuals who are not excellent due to genetic advantages have no right to participate in the crossover and recombination output of the next generation. As the entire population develops in the direction of continuous evolution, the algorithm also continuously explores better solutions on the existing basis. The entire process of the competitive selection method is shown in Figure 8.

(ii)交叉重组策略(ii) Crossover recombination strategy

结合本文建立的模型,算法中交叉重组的主要目标是配送路径的变化、配送量的变化以及配送车辆选择的变化。Combined with the model established in this paper, the main objectives of the cross-reorganization in the algorithm are the change of delivery route, the change of delivery volume and the change of delivery vehicle selection.

a)单周期破坏段的编码交叉:该方法要求每个周期随机选择两个父代个体,并在其路径编码或交付数量编码上随机选择一个交点,此时由于其初始化时的个体编码,所选择的两个周期的编码长度必须相同,只需在两段代码中找到一个交叉路口即可,最后对边界分段所在的路径段或分布段进行交叉编码,并在交叉点之前交换所有非配送中心的位置的代码。图9说明这一过程的示意图。a) Code crossover of single-cycle destruction segments: This method requires randomly selecting two parent individuals in each cycle and randomly selecting an intersection point on their path codes or delivery quantity codes. At this time, due to the individual codes at the time of initialization, the code lengths of the two selected cycles must be the same. It is only necessary to find an intersection in the two codes. Finally, the path segment or distribution segment where the boundary segment is located is cross-coded, and the codes of all non-distribution center locations are exchanged before the intersection. Figure 9 is a schematic diagram of this process.

b)双个体多周期整段交叉:该方法在所有个体周期上随机选择n个周期,以路径段编码或分布段编码的边界为交叉点,直接交换这n个周期上两个父代个体的非配送中心位点的路径段码或分布段码。假设总共有n个周期,选择第1个和第n个周期进行交叉,见图10。b) Double-individual multi-cycle whole-segment crossover: This method randomly selects n cycles from all individual cycles, takes the boundary of the path segment code or distribution segment code as the crossover point, and directly exchanges the path segment code or distribution segment code of the non-distribution center location of the two parent individuals in these n cycles. Assuming there are n cycles in total, select the 1st and nth cycles for crossover, as shown in Figure 10.

c)单个体周期段交叉:此方法要求单个父代个体自我进行交叉重组,具体指单个父代个体将其周期数字随机重排,得到周期随机排列后的序列,然后按照此序列顺序重新填入每个周期的路径段及配送量段编码。此方法相当于重新排列了该个体的周期顺序即得到了子代个体,并未打乱路径段与配送量段编码的搭配,在模型中意味着仅有库存成本与惩罚成本发生了变化,而运输成本并未改变。交叉示意图如图11。c) Single-body cycle segment crossover: This method requires a single parent individual to cross over and recombine itself, specifically, a single parent individual randomly rearranges its cycle numbers to obtain a sequence of randomly arranged cycles, and then re-fills the path segment and delivery volume segment codes of each cycle in this sequence order. This method is equivalent to rearranging the cycle sequence of the individual to obtain the offspring individual, without disrupting the combination of the path segment and delivery volume segment codes. In the model, this means that only the inventory cost and penalty cost have changed, while the transportation cost has not changed. The crossover diagram is shown in Figure 11.

(iii)变异策略(iii) Mutation strategy

变异是遗传算法中跳出局部最优,避免解空间被限制的重要方法,如前文所述,本文建立的模型在产生子代时需要得到这三种搜索方向:配送路径的改变、配送量的改变、配送车辆选择的改变,前文交叉重组的三种方法较为充分地实现了配送路径的改变与配送量的改变,但并没有实现配送车,辆选择的改变,这主要是考虑到配送车辆选择的改变主要针对单个个体,适于变异操作,再结合编码方法,本文给出以下几种变异方法。Mutation is an important method in genetic algorithms to escape from local optimality and avoid the limitation of solution space. As mentioned above, the model established in this paper needs to obtain these three search directions when generating offspring: changes in delivery routes, changes in delivery volume, and changes in delivery vehicle selection. The three methods of cross-recombination mentioned above have more fully realized the changes in delivery routes and delivery volume, but have not realized the changes in delivery vehicle selection. This is mainly because the changes in delivery vehicle selection are mainly for a single individual and are suitable for mutation operations. Combined with the encoding method, this paper gives the following mutation methods.

a)单周期基因位互换变异:此变异方法要求针对一个个体一个周期上的路径段或配送量段编码中任意选择两基因位进行交换,这意味着交换只能发生在同周期内,这主要是因为不同周期内基因位互换时,即使同属于路径段编码,也会出现互换之后路径段出现重复销售点的情况,从根本上讲是由模型限制了每个销售点在每个周期内只允许被访问一次导致的。但在同周期内进行基因位的互换则不会出现这一问题,当然,互换同样只能发生在一段编码中,路径段与配送量段中的基因是不可发生互换的。以上诸多限制使得变异的范围较小,这也是设置变异概率较大的原因之一。其具体交叉流程如图12。a) Single-cycle gene position exchange mutation: This mutation method requires that two gene positions are randomly selected for exchange in the path segment or delivery segment code of an individual in one cycle, which means that the exchange can only occur in the same cycle. This is mainly because when gene positions are exchanged in different cycles, even if they belong to the same path segment code, there will be repeated sales points in the path segment after the exchange. Fundamentally, it is caused by the model limiting that each sales point is only allowed to be visited once in each cycle. However, this problem will not occur when gene positions are exchanged in the same cycle. Of course, the exchange can also only occur in one code, and the genes in the path segment and the delivery segment cannot be exchanged. The above restrictions make the range of variation smaller, which is also one of the reasons for setting a larger variation probability. The specific crossover process is shown in Figure 12.

b)车辆选择变异:此变异方法专注于改变初始化时提供的每个周期配送方案中车辆的选择情况,也即染色体中配送中心基因位的变化。其大致可分为两个方向:增加一辆车、减少一辆车。增加一辆车相当于减少插入点处前一辆车的工作量,分出部分由新加车辆负责,减少一辆车相当于将此车负责配送的工作量增加到删除点处前一辆车上。当然无论是增加车辆还是减少车辆,其发生此类变异的前提都是有可供变异的基因位,具体由如下三种情况。b) Vehicle selection mutation: This mutation method focuses on changing the selection of vehicles in each cycle delivery plan provided at the time of initialization, that is, the change of the distribution center gene position in the chromosome. It can be roughly divided into two directions: adding a vehicle and reducing a vehicle. Adding a vehicle is equivalent to reducing the workload of the previous vehicle at the insertion point, and the separated part is handled by the newly added vehicle. Reducing a vehicle is equivalent to adding the workload of the vehicle to the previous vehicle at the deletion point. Of course, whether adding or reducing vehicles, the premise for such mutation is that there are gene positions available for mutation, which are specifically divided into the following three situations.

情况1:如果某周期段编码中只调用了一辆车,也即路径段及配送量段编码中不存在配送中心基因位,则此段编码不可发生减少车辆的变异,只可发生增加车辆的变异,当此变异发生在周期a处时其示意图如图13。Case 1: If only one vehicle is called in a certain period segment code, that is, there is no distribution center gene position in the path segment and delivery volume segment code, then this segment code cannot undergo a mutation that reduces the number of vehicles, but can only undergo a mutation that increases the number of vehicles. When this mutation occurs in period a, its schematic diagram is shown in Figure 13.

情况2:如果某周期段编码中已经调用了达到车辆数目上限的车辆数,则此段编码不可发生增加车辆的变异,只可发生减少车辆的变异,当此变异发生在周期b处时其示意图如图14。Case 2: If the number of vehicles in a certain period segment code has reached the upper limit of the number of vehicles, then this segment code cannot mutate to increase the number of vehicles, and can only mutate to reduce the number of vehicles. When this mutation occurs in period b, its schematic diagram is shown in Figure 14.

情况3:如果某周期段编码中调用车辆数目大于1而小于数目上限,则此段编码可任意发生车辆选择变异。Case 3: If the number of vehicles called in a certain period segment code is greater than 1 but less than the upper limit, then this segment code can arbitrarily change the vehicle selection.

之所以提出如上限制,是因为现有个体的染色体在初始化时已经确定了编码长度,变异如打破此长度限制则会导致整个种群的染色体素乱,只有路径段编码末尾存在非上限个数冗余位(也即上述限制中第三种情况)时,才提供了任意发生车辆选择变异的空间。增加一辆车可以将后续编码后移,去掉一个冗余位;减少一辆车可以将后续编码前移,增加一个冗余位。当然其后的配送量段编码需要根据路径段编码作出相应调整。The above restrictions are proposed because the chromosomes of existing individuals have determined the coding length when they are initialized. If the mutation breaks this length limit, the chromosomes of the entire population will be disordered. Only when there are non-upper limit redundant bits at the end of the path segment code (that is, the third case in the above restrictions), there is room for any vehicle selection mutation. Adding a vehicle can move the subsequent coding backward and remove a redundant bit; reducing a vehicle can move the subsequent coding forward and add a redundant bit. Of course, the subsequent delivery segment coding needs to be adjusted accordingly according to the path segment coding.

(4)种群合并与优选(4) Population merging and optimization

通过前文所述我们可以知道经过选择交叉变异流程之后,根据最初种群筛选出一个父代种群和一个由父代种群交配生成的子代种群,但在算法的实际使用过程中,我们所需要求解的问题常常是非常复杂的,这意味着个体的优秀是由其染色体上全部基因共同组成得到的较优解,而不能够证明优秀个体的全部染色体都是优秀的,或者说其优秀是由某一部分染色体带来的,因此在两个优秀个体进行交叉重组及变异之后,只能说有较大概率得到更优的个体,但并不能完全确保产出更优个体,为了解决这个问题,NSGA-II算法引入了精英选择策略,具体操作是将前文操作得到的子代种群与最初种群进行合并,从而得到一个规模扩大为原来两倍的中间种群,再对此种群进行非支配排序和拥挤度计算操作,最后自上而下取非支配排序靠前的个体填满设定的种群规模,如此才最终得到了繁衍后的第二代种群。其流程如图15。From the above, we know that after the selection, crossover and mutation process, a parent population and a child population generated by mating of the parent population are selected according to the initial population. However, in the actual use of the algorithm, the problems we need to solve are often very complex, which means that the excellence of an individual is a better solution obtained by the combination of all genes on its chromosomes, but it cannot be proved that all chromosomes of an excellent individual are excellent, or that its excellence is brought by a certain part of the chromosomes. Therefore, after two excellent individuals undergo crossover, recombination and mutation, it can only be said that there is a greater probability of obtaining a better individual, but it cannot be completely guaranteed that a better individual will be produced. In order to solve this problem, the NSGA-II algorithm introduces an elite selection strategy. The specific operation is to merge the child population obtained by the previous operation with the initial population, so as to obtain an intermediate population with a size twice the original size, and then perform non-dominated sorting and crowding calculation operations on this population, and finally take the individuals with the highest non-dominated sorting from top to bottom to fill the set population size, so as to finally obtain the second generation population after reproduction. Its process is shown in Figure 15.

(5)拥挤度计算(5) Crowding calculation

在算法中,个体的优劣由拥挤算子来判断。然而,由此产生的拥挤算子可能会偏离个体的实际密度。如果是这样,高密度个体可能在下一代中被保留,导致局部最优。为了提高个体分布的均匀性,使种群分布多样化,增强了全局搜索能力,引入了动态拥挤距离其算法如下:In the algorithm, the quality of individuals is judged by the crowding operator. However, the resulting crowding operator may deviate from the actual density of individuals. If so, high-density individuals may be retained in the next generation, leading to a local optimum. In order to improve the uniformity of individual distribution, diversify the population distribution, and enhance the global search capability, the dynamic crowding distance is introduced. The algorithm is as follows:

1).令参数nd=0,n∈1...N.1). Let parameter n d = 0, n∈1...N.

2).for每个目标函数fm2).for each objective function f m :

①根据该目标函数对该等级的个体进行排序,记为个体目标函数值fm的最大值,为个体目标函数值fm的最小值。②对于排序后两个边界的拥挤度1d和Nd置为∞。③然后,根据公式计算个体i的动态拥挤距离:其中,fm(i+1)为个体排序后目标函数值的最后一位,M为目标函数的个数。① Sort the individuals of this level according to the objective function, record is the maximum value of the individual objective function value f m , is the minimum value of the individual objective function value f m . ② For the crowding degree 1 d and N d of the two boundaries after sorting, set them to ∞. ③ Then, calculate the dynamic crowding distance of individual i according to the formula: in, f m (i+1) is the last digit of the objective function value after the individuals are sorted, and M is the number of objective functions.

3).结束。3). End.

因此,改进NSGA-II算法流程步骤为:首先,随机产生规模为N的初始种群,非支配排序后通过遗传算法的如上所述的选择(selection)、交叉(crossover)、变异(mutation)三个基本操作得到第一代子代种群;其次,从第二代开始,将父代种群与子代种群合并,进行快速非支配排序,同时对每个非支配层中的个体利用拥挤距离公式进行拥挤度计算,根据非支配关系以及个体的拥挤度选取合适的个体组成新的父代种群;最后,通过遗传算法的基本操作产生新的子代种群:依此类推,直到满足程序结束的条件(Gen是否小于最大代数)。该算法的流程如图16所示。Therefore, the improved NSGA-II algorithm process steps are as follows: first, randomly generate an initial population of size N, and after non-dominated sorting, obtain the first generation of offspring population through the three basic operations of selection, crossover, and mutation of the genetic algorithm as described above; second, starting from the second generation, merge the parent population with the offspring population, perform fast non-dominated sorting, and use the crowding distance formula to calculate the crowding degree of individuals in each non-dominated layer, and select appropriate individuals to form a new parent population based on the non-dominated relationship and the crowding degree of the individuals; finally, generate a new offspring population through the basic operations of the genetic algorithm: and so on, until the condition for the end of the program is met (whether Gen is less than the maximum number of generations). The process of the algorithm is shown in Figure 16.

2.2双目标决策2.2 Dual-objective decision-making

利用Entropy-TOPSIS方法,通过计算Pareto解集中各个解与最优水平的接近指数来确定最优参考方案,从而帮助决策者选择一个均衡多个目标的Pareto解作为最优参考解。The Entropy-TOPSIS method is used to determine the optimal reference solution by calculating the proximity index of each solution in the Pareto solution set to the optimal level, thereby helping decision makers select a Pareto solution that balances multiple objectives as the optimal reference solution.

因此,优化模型求解方法流程如下:Therefore, the optimization model solution process is as follows:

首先,对于成本而言它们是具有相同的量纲的,可以利用熵权法对固定成本、运输成本、库存成本、时间窗惩罚成本、碳排放量成本等5个成本赋予权重,分别记为λ1、λ2、λ3、λ4及λ5。熵权法的计算步骤如下:First, for costs, they have the same dimension. The entropy weight method can be used to assign weights to the five costs, namely, fixed cost, transportation cost, inventory cost, time window penalty cost, and carbon emission cost, which are recorded as λ 1 , λ 2 , λ 3 , λ 4 , and λ 5 . The calculation steps of the entropy weight method are as follows:

(1)判断输入的矩阵中是否存在负数,如果有则要重新标准化到非负区间。假设有Parero最优解集中有t个解,5个评价指标(即5个成本数据,并且进行正向化(极大化))构成的正向化矩阵如下:(1) Determine whether there are negative numbers in the input matrix. If there are, re-normalize it to a non-negative interval. Assume that there are t solutions in the Parero optimal solution set, and the forward matrix composed of 5 evaluation indicators (i.e. 5 cost data, and forward (maximization)) is as follows:

那么,对其标准化的矩阵记为Z,Z中的每一个元素: Then, the standardized matrix is recorded as Z, and each element in Z is:

判断Z矩阵中是否存在着负数,如果存在的话,需要对X使用另外一种标准化方法。对矩阵X进行一次标准化得到矩阵,其标准化的公式为:Determine whether there are negative numbers in the Z matrix. If so, another standardization method needs to be used for X. Standardize the matrix X once to get The matrix is standardized as follows:

(2)计算第j项指标下第i样本所占的比重,并将其看作相对熵计算中用到的概率。有t个评价对象,5个评价指标,且经过了上一步处理得到的非负矩阵为:(2) Calculate the proportion of the i-th sample under the j-th indicator and regard it as the probability used in the relative entropy calculation. There are t evaluation objects and 5 evaluation indicators. The non-negative matrix obtained after the previous step is:

计算概率矩阵P,其中P中每一个元素pij的计算公式如下:Calculate the probability matrix P, where the calculation formula for each element p ij in P is as follows:

容易验证:即保证了每一个指标所对于的概率和为1.Easy to verify: That is to ensure that the probability of each indicator is 1.

(3)计算每个指标的信息熵,并计算信息效用值,并归一化得到每个指标的熵权对于第j个指标而言,其信息熵的计算公式为:(3) Calculate the information entropy of each indicator, calculate the information utility value, and normalize it to obtain the entropy weight of each indicator. For the jth indicator, the calculation formula for its information entropy is:

(4)信息效用值得定义:dj=1-ej,那么信息效用值越大,其对应的信息就越多。将信息效用值进行归一化,得到每个指标的熵权:(4) Information utility is worth defining: d j = 1-e j , then the larger the information utility value is, the more information it corresponds to. The information utility value is normalized to obtain the entropy weight of each indicator:

然后,将所得权重代入到目标函数f1中,再重新利用改进NSGA-II算法计算Pareto最优解集。以2个优化目标为评估指标,引入熵权法,计算2个指标的客观权重,有效减弱Pareto最优解集中两端较不可靠的解对客观赋权的影响。Then, the obtained weights are substituted into the objective function f 1 , and the improved NSGA-II algorithm is used again to calculate the Pareto optimal solution set. Taking the two optimization objectives as evaluation indicators, the entropy weight method is introduced to calculate the objective weights of the two indicators, which effectively weakens the influence of the less reliable solutions at both ends of the Pareto optimal solution set on the objective weighting.

最后,采用TOPSIS法对Pareto最优解集的各个解进行评估并排序。下面将给出Entropy-TOPSIS方法进行选择最优方案的具体步骤。Finally, the TOPSIS method is used to evaluate and rank the solutions of the Pareto optimal solution set. The following will give the specific steps of the Entropy-TOPSIS method to select the optimal solution.

Step1:构建评价矩阵并进行归一化处理。Pareto最优解集共有t个解,将2个目标函数构建评价指标判断矩阵。Step2:利用熵权法计算第j个目标的熵权Wj。Step3:确定每个目标函数的综合权数βj。Step4:构建加权规范化矩阵。Step5:确定理想解和负理想解。分别用加权标准化矩阵中个指标的最大值和最小值表示理想解和负理想解Step6:计算得到Pareto最优解集合中第t个解与最优水平的接近指数Rt,并按降序排序(Rt越大,与最优水平越接近):其中,与理想解的距离d+与负理想解的距离d- Step 1: Construct an evaluation matrix and perform normalization. There are t solutions in the Pareto optimal solution set. The two objective functions are used to construct an evaluation index judgment matrix. Step 2: Use the entropy weight method to calculate the entropy weight W j of the jth objective. Step 3: Determine the comprehensive weight β j of each objective function. Step 4: Construct a weighted normalization matrix. Step 5: Determine the ideal solution and the negative ideal solution. The maximum and minimum values of the indicators in the weighted normalization matrix are used to represent the ideal solution. and negative ideal solution Step 6: Calculate the closeness index R t of the t-th solution in the Pareto optimal solution set to the optimal level, and sort it in descending order (the larger the R t , the closer it is to the optimal level): Among them, the distance to the ideal solution is d + : Distance d - from the negative ideal solution:

3、决策案例3. Decision-making Case

如上述给出了优化模型构建及求解过程说明,下述将以具体实际案例进行决策结果进一步说明。应用MATLAB2021a编程软件进行实验,系统是Windows 10家庭中文版,硬件环境是11th Gen Intel(R)Core(TM)i7-1165G7@2.80GHz,内存16G(The algorithm wasexecuted on a laptop,with an Intel(R)Core T○M(TM)i7-8550U CPU@1.80GHz1.99GHz processor and 8GB RAM of memory.)。参数设置如下:迭代次数500,种群大小200.As described above, the optimization model construction and solution process are described. The following will further illustrate the decision results with specific actual cases. The MATLAB2021a programming software was used for the experiment. The system is Windows 10 Home Chinese version. The hardware environment is 11th Gen Intel(R)Core(TM)i7-1165G7@2.80GHz and memory is 16G (The algorithm was executed on a laptop, with an Intel(R)Core TM(TM)i7-8550U CPU@1.80GHz1.99GHz processor and 8GB RAM of memory.). The parameter settings are as follows: number of iterations 500, population size 200.

以山东省济南市某企业为例,根据企业的具体发展情况和优化需求,对其物流配送网络进行优化布局。W企业主要经营品类包括果蔬、禽蛋奶类产品等,业务覆盖S市多个城区。力求科学规划物流配送系统,有效提高供应效率,保证产品质量。关于工厂、潜在配送中心和分销商的信息见下表1和表2。在8个潜在配送中心和40个分销商上进行了实验。每辆车额定负荷为300,碳限额供应链上分配到的碳配额CCAP=200,库存持有成本ih=4,运行缺货的概率α=0.05,安全库存系数zα=0.95,订货提前期L=7天,单位订货价为p=9元,配送车辆固定成本C1=100,单位时间惩罚成本α1=60,α2=90,空载时单位距离燃油消耗量ρ0=0.122,汽车的数量K=16,满载时单位距离燃油消耗量ρ*=0.388,碳排放系数ω=0.0028,碳税Ce=0.0075,运输车辆的最大行驶距离D=1600公里运输期间的平均速度为50km/h,额定载重为200。目标函数(1)中各权重均设为1。因此,改进NSGA-II得到的Pareto最优解集结果如图17所示。Taking an enterprise in Jinan City, Shandong Province as an example, the logistics distribution network is optimized according to the specific development situation and optimization needs of the enterprise. The main business categories of W enterprise include fruits and vegetables, poultry, eggs and dairy products, and its business covers multiple urban areas in S City. Strive to scientifically plan the logistics distribution system, effectively improve supply efficiency and ensure product quality. Information about factories, potential distribution centers and distributors is shown in Tables 1 and 2 below. Experiments were conducted on 8 potential distribution centers and 40 distributors. The rated load of each vehicle is 300, the carbon quota allocated to the carbon quota supply chain C CAP = 200, the inventory holding cost i h = 4, the probability of out-of-stock operation α = 0.05, the safety stock coefficient z α = 0.95, the order lead time L = 7 days, the unit order price is p = 9 yuan, the fixed cost of the distribution vehicle C 1 = 100, the unit time penalty cost α 1 = 60, α 2 = 90, the unit distance fuel consumption when empty ρ 0 = 0.122, the number of cars K = 16, the unit distance fuel consumption when fully loaded ρ * = 0.388, the carbon emission coefficient ω = 0.0028, the carbon tax Ce = 0.0075, the maximum driving distance of the transport vehicle D = 1600 kilometers, the average speed during transportation is 50 km/h, and the rated load is 200. All weights in the objective function (1) are set to 1. Therefore, the Pareto optimal solution set obtained by the improved NSGA-II is shown in Figure 17.

表1:工厂和备选配送中心信息Table 1: Factory and alternative distribution center information

表2:分销商信息distributor informationTable 2: Distributor information

从Pareto解集中可看出:From the Pareto solution set, we can see that:

(i).总成本和客户满意度两个目标之间存在一定的相关性。(i) There is a certain correlation between the two objectives of total cost and customer satisfaction.

(ii).随着总成本的增加,客户满意度总体呈上升趋势,在物流配送网络优化过程中,通常企业在追求低成本时,无法保证客户服务水平和配送效率,客户满意度往往较低,配送时间(从惩罚成本可以看处配送时间)较长。(ii) As total costs increase, customer satisfaction generally shows an upward trend. In the process of optimizing the logistics distribution network, enterprises usually cannot guarantee customer service levels and distribution efficiency when pursuing low costs. Customer satisfaction is often low and delivery time (delivery time can be seen from penalty costs) is longer.

(iii).在追求较高客户满意度时,为了尽可能满足客户的期望时间窗,通常会以增加总成本为代价,而由于调度安排的需要,配送时间可能也会增加。因此企业需要结合库存能力、配送能力和分销商实际需求,针对公司的经营策略和市场定位,综合权衡物流成本和客户满意度选择合适的决策方案。(iii) In pursuit of higher customer satisfaction, in order to meet the customer's expected time window as much as possible, the total cost is usually increased, and the delivery time may also increase due to the need for scheduling. Therefore, enterprises need to combine inventory capacity, distribution capacity and the actual needs of distributors, and comprehensively weigh logistics costs and customer satisfaction to choose the appropriate decision-making plan based on the company's business strategy and market positioning.

因此,企业需要结合库存能力、配送能力,以及经销商的实际需求,根据公司的经营战略和市场定位,综合权衡物流成本,以及客户满意度来选择正确的决策方案。Therefore, companies need to combine inventory capacity, distribution capacity, and the actual needs of dealers, and choose the correct decision-making plan based on the company's business strategy and market positioning, comprehensively weighing logistics costs, and customer satisfaction.

根据上面的数值试验可以得到固定成本,运输成本,库存成本,时间窗惩罚成本,碳排放量成本Pareto最优解集。将这些成本的解集进行正向化,构成正向化矩阵X,利用熵权法得出固定成本,运输成本,库存成本,时间窗惩罚成本,碳排放量成本的权重为:According to the above numerical experiments, we can get the Pareto optimal solution set of fixed cost, transportation cost, inventory cost, time window penalty cost, and carbon emission cost. These cost solution sets are forward-oriented to form the forward-oriented matrix X. The weights of fixed cost, transportation cost, inventory cost, time window penalty cost, and carbon emission cost are obtained by using the entropy weight method:

λ1=0.0035,λ2=0.0013,λ3=0.0681,λ4=0.8746,λ5=0.0524λ 1 =0.0035, λ 2 =0.0013, λ 3 =0.0681, λ 4 =0.8746, λ 5 =0.0524

根据建立的模型的解决方案集,可以观察到所需的最大车辆数量为11。为了优化成本和时间,车辆数量从16辆减少到11辆,车辆使用的固定费用节省31%的费用。Based on the solution set of the established model, it can be observed that the maximum number of vehicles required is 11. To optimize cost and time, the number of vehicles is reduced from 16 to 11, saving 31% of the fixed cost of vehicle usage.

然后,将得到的权重重新融入到模型中,生成新的Pareto最优解集。优化的结果如图18所示,其中展示了考虑更新车辆约束的新的帕累托最优解集。Then, the obtained weights are reintegrated into the model to generate a new Pareto optimal solution set. The optimization result is shown in Figure 18, which shows the new Pareto optimal solution set considering the updated vehicle constraints.

由新的Pareto最优解集构造新的两个目标函数为指标的正向化矩阵X,利用Entropy-TOPSIS法得到Pareto最优解集中次序前10的决策见下表3。A new forward matrix X with two objective functions as indicators is constructed from the new Pareto optimal solution set. The Entropy-TOPSIS method is used to obtain the top 10 decisions in the Pareto optimal solution set, as shown in Table 3 below.

表3:帕累托最优解集中的前10个解Table 3: The first 10 solutions in the Pareto optimal solution set

将排名第一的解作为LIRP供应链的最佳解,如下表4所示,如图19所示为最优分配方案路线图。The solution ranked first is taken as the best solution for the LIRP supply chain, as shown in Table 4 below. Figure 19 shows the optimal allocation solution roadmap.

表4:最佳方案Table 4: Best Practices

最佳方案中运输成本比平均运输成本少129.46,减少了7.01%;库存成本比平均库存成本少4,减少了0.2%;时间窗惩罚成本少80.66,减少了52.71%,碳排放量成本少6.15,减少4.29%。In the best solution, the transportation cost is 129.46 less than the average transportation cost, a reduction of 7.01%; the inventory cost is 4 less than the average inventory cost, a reduction of 0.2%; the time window penalty cost is 80.66 less, a reduction of 52.71%; and the carbon emission cost is 6.15 less, a reduction of 4.29%.

为了确保在任何解决方案下碳配额的不足或充分条件,我们设置较小的值(20kg)作为不足碳配额,20kg为步长进行增加,以较大的值(280kg)作为充足碳配额,以分别进行试验。图20显示了碳排放成本(carbon emission cost)、总成本(total cost)随碳配额(carbon quotas)变化情况下变化趋势。图21显示了碳排放成本和客户满意度(satisfication)随碳配额增加的变化趋势。图22显示了碳排放成本随碳配额增加的变化趋势图。从趋势图中可以明显看出,碳配额是一个影响碳排放和经济成本目标差异的关键变量,而对客户满意度的影响相对较小。从图22可以看出,随着碳配额从20增加到280,经济成本降低。In order to ensure the insufficient or sufficient conditions of carbon quotas under any solution, we set a smaller value (20kg) as the insufficient carbon quota, increase it in steps of 20kg, and use a larger value (280kg) as the sufficient carbon quota to conduct experiments respectively. Figure 20 shows the trend of carbon emission cost and total cost with the change of carbon quotas. Figure 21 shows the trend of carbon emission cost and customer satisfaction with the increase of carbon quotas. Figure 22 shows the trend of carbon emission cost with the increase of carbon quotas. It can be clearly seen from the trend chart that carbon quota is a key variable that affects the difference between carbon emission and economic cost targets, while the impact on customer satisfaction is relatively small. As can be seen from Figure 22, as the carbon quota increases from 20 to 280, the economic cost decreases.

因此,如上述,本发明在选址库存路径网络中,综合考虑供应链中的各项成本、客户服务时间惩罚成本和碳交易机制,以总成本最小化和满意度最大化为优化目标,建立LIRP双目标优化模型,根据多目标问题特点,本申请设计了改进的NSGA-II算法,通过决策算例试验,验证了所建模型和算法的有效性。最后,由于配送总成本及客户满意度之间存在一定的相关性,利用Entropy-TOPSIS法为决策者权衡两者关系,综合考量选择最优的参考决策方案。在实际应用中,配送网络需面对较大规模数据信息,智能算法将针对大规模算例进一步高效优化。Therefore, as mentioned above, the present invention comprehensively considers various costs in the supply chain, customer service time penalty costs and carbon trading mechanisms in the site selection inventory path network, takes total cost minimization and satisfaction maximization as optimization goals, and establishes a LIRP dual-objective optimization model. According to the characteristics of multi-objective problems, this application designs an improved NSGA-II algorithm, and verifies the effectiveness of the constructed model and algorithm through decision-making case experiments. Finally, since there is a certain correlation between the total distribution cost and customer satisfaction, the Entropy-TOPSIS method is used to weigh the relationship between the two for decision makers, and comprehensively consider and select the optimal reference decision plan. In practical applications, the distribution network needs to face large-scale data information, and the intelligent algorithm will further optimize the large-scale examples efficiently.

本发明从低碳经济和市场竞争的角度来看,物流中心的选址库存和车辆路径问题必须关注碳排放和时间窗约束,将考虑将碳排放量与燃油消耗量以及行驶路程建立相关关系,最后根据碳交易机制建立碳排放成本函数。提出了满足客户需求正态分布及时间窗约束的多目标0-1混合非线性规划模型。以减少碳排放为目标,节约企业物流成本,同时从时间上提高客户体验。该模型采用改进的带精英策略的非支配排序遗传算法(NSGA-II)求解。考虑成本因素、不允库存短缺、碳排放等因素,以及在考虑客户需求的条件下的随机变量,采用熵权法得到固定成本总成本、运输成本、库存成本、惩罚成本和碳排放成本的权重,从而建立了选址库存路径问题的非线性规划模型。并利用MATLAB软件编译混合智能算法,得到配送中心的最优订单量、配送中心的位置、配送中心的配送车辆数量和路径分配。给出了库存成本、运输成本、碳成本、客户满意度函数值的计算结果,进一步降低了企业物流成本。由于IMNSGA-II是一个帕累托最优解集,决策者需要从中选择合适的策略,需要给出一个客观的排序。使用Entropy-TOPSIS方法,通过给出解集的排序,为决策者提供客观的选择。From the perspective of low-carbon economy and market competition, the site selection inventory and vehicle path problems of the logistics center must pay attention to carbon emissions and time window constraints. The carbon emissions will be considered to be correlated with fuel consumption and driving distance, and finally the carbon emission cost function will be established according to the carbon trading mechanism. A multi-objective 0-1 hybrid nonlinear programming model that meets the normal distribution of customer demand and time window constraints is proposed. With the goal of reducing carbon emissions, the logistics cost of the enterprise is saved, and the customer experience is improved in terms of time. The model is solved by an improved non-dominated sorting genetic algorithm (NSGA-II) with an elite strategy. Considering cost factors, non-allowed inventory shortages, carbon emissions and other factors, as well as random variables under the condition of considering customer demand, the entropy weight method is used to obtain the weights of the total fixed cost, transportation cost, inventory cost, penalty cost and carbon emission cost, thereby establishing a nonlinear programming model for the site selection inventory path problem. The hybrid intelligent algorithm is compiled using MATLAB software to obtain the optimal order quantity of the distribution center, the location of the distribution center, the number of distribution vehicles of the distribution center and the path allocation. The calculation results of the inventory cost, transportation cost, carbon cost and customer satisfaction function value are given, which further reduces the logistics cost of the enterprise. Since IMNSGA-II is a Pareto optimal solution set, decision makers need to choose appropriate strategies from it and need to give an objective ranking. The Entropy-TOPSIS method is used to provide objective choices for decision makers by giving a ranking of the solution set.

实施例2Example 2

基于前述实施例1该选址库存路径优化求解方法的步骤S1-步骤S4,可组成一种时间窗的低碳选址库存路径优化求解系统,简要说明如下,未尽说明请参见前述实施例1。该选址库存路径优化求解系统,包括服务器等,具体包括处理器及存储器等,存储器上存储有计算机程序,其被处理器执行以实现如该选址库存路径优化求解方法的步骤S1-步骤S4。Based on the steps S1 to S4 of the location inventory path optimization solution method in the aforementioned embodiment 1, a low-carbon location inventory path optimization solution system for a time window can be formed, which is briefly described as follows. For any incomplete description, please refer to the aforementioned embodiment 1. The location inventory path optimization solution system includes a server, etc., specifically a processor and a memory, etc., and a computer program is stored on the memory, which is executed by the processor to implement the steps S1 to S4 of the location inventory path optimization solution method.

该选址库存路径优化求解系统包括:构建模型模块:用于构建选址库存路径优化模型,该选址库存路径的总成本最小和客户满意度最高的2个目标优化函数(1)和(2);获得权重模块:用于采用熵权法得到固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本的权重,分别为λ1、λ2、λ3、λ4及λ5;获得解集模块:用于将各成本的权重代入到目标优化函数(1),采用改进NSGA-II算法计算得到2个目标优化函数(1)和(2)的Pareto最优解集A2;选定解模块:用于根据Pareto最优解集A2,采用TOPSIS法对Pareto最优解集A2的各个解进行评估并排序,选择排名第一的解作为最优参考方案。The site selection inventory path optimization solution system includes: a model building module: used to build a site selection inventory path optimization model, which has two objective optimization functions (1) and (2) of minimizing the total cost and maximizing customer satisfaction; a weight obtaining module: used to obtain the weights of fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost by using the entropy weight method, which are λ 1 , λ 2 , λ 3 , λ 4 and λ 5 respectively; a solution set obtaining module: used to substitute the weight of each cost into the objective optimization function (1), and use the improved NSGA-II algorithm to calculate the Pareto optimal solution set A2 of the two objective optimization functions (1) and (2); a solution selection module: used to evaluate and rank each solution of the Pareto optimal solution set A2 by using the TOPSIS method according to the Pareto optimal solution set A2, and select the solution ranked first as the optimal reference solution.

需要指出的是,上述实施例的实例可以根据实际需要优选一个或两个以上相互组合,而多个实例采用一套组合技术特征的附图说明,在此就不一一展开说明。It should be pointed out that the examples of the above-mentioned embodiments can be preferably combined with one or more of them according to actual needs, and multiple examples use a set of illustrations of combined technical features, which will not be described one by one here.

上述说明是针对本发明较佳可行实施例的详细说明和例证,但这些描述并非用以限定本发明所要求保护范围,凡本发明所提示的技术教导下所完成的同等变化或修饰变更,均应属于本发明所涵盖专利保护范围。The above descriptions are detailed descriptions and illustrations of the preferred embodiments of the present invention, but these descriptions are not intended to limit the scope of protection required by the present invention. All equivalent changes or modified modifications achieved under the technical teachings suggested by the present invention should fall within the scope of patent protection covered by the present invention.

Claims (10)

1.一种时间窗的低碳选址库存路径优化求解方法,其特征在于,包括以下内容:1. A time window low-carbon site selection inventory path optimization solution method, characterized by including the following contents: 步骤S1、构建选址库存路径优化模型,该选址库存路径的总成本最小和客户满意度最高的2个目标优化函数为:Step S1: construct a location inventory path optimization model. The two objective optimization functions of the location inventory path with the minimum total cost and the highest customer satisfaction are: minf1=λ1G+λ2Tc3Wc4Pc5Cc (1);minf 11 G+λ 2 T c3 W c4 P c5 C c (1); 其中,配送中心选址固定建设成本为 Among them, the fixed construction cost of the distribution center site selection is 配送车辆的运输成本为 The transportation cost of the delivery vehicle is 库存成本为 The inventory cost is 时间惩罚成本为max{ETj'-tj,0}表示服务于客户j时提前到达的时间,max{tj-LTj,0}表示服务客户j的延迟时间;The time penalty cost is max{ET j '-t j ,0} represents the advance arrival time when serving customer j, and max{t j -LT j ,0} represents the delay time when serving customer j; 客户节点(i,j)路段配送中的碳排放成本为 The carbon emission cost of the delivery on the customer node (i, j) is 客户满意度为 Customer satisfaction is 配送中心的能力约束: Capacity constraints of distribution centers: 车辆运载能力约束: Vehicle carrying capacity constraints: 车辆行驶距离约束: Vehicle driving distance constraints: 配送车辆数量约束: Constraints on the number of delivery vehicles: 每辆车的配送线路起点和终点都是同一配送中心: The starting and ending points of each vehicle’s delivery route are the same delivery center: 每个客户只能被一辆车服务一次: Each customer can only be served once by a vehicle: 每个分销商都由一辆车负责配送: Each distributor has a vehicle responsible for delivery: 时间窗约束: Time window constraints: 发生缺货、运力不足特殊情况下,时间窗约束: In special cases of out-of-stock and insufficient transportation capacity, time window constraints: 配送中心的订购量大于配送中心到分销商的运输量: The order quantity from the distribution center is greater than the shipping quantity from the distribution center to the distributor: 配送中心到分销商的运输量满足分销商的需求量:xhjzhj≥uj,h∈H;The transportation volume from the distribution center to the distributor meets the distributor's demand: x hj z hj ≥u j ,h∈H; 一个分销商只由一个配送中心提供服务: A distributor is served by only one distribution center: 建立配送中心才有配送路径: Only by establishing a distribution center can we have a distribution route: 步骤S2、采用熵权法得到固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本的权重,分别为λ1、λ2、λ3、λ4及λ5Step S2: using the entropy weight method to obtain the weights of fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost, which are λ 1 , λ 2 , λ 3 , λ 4 and λ 5 respectively; 步骤S3、将各成本的权重代入到目标优化函数(1),采用改进NSGA-II算法计算得到2个目标优化函数(1)和(2)的Pareto最优解集A2;Step S3, substituting the weight of each cost into the objective optimization function (1), and using the improved NSGA-II algorithm to calculate the Pareto optimal solution set A2 of the two objective optimization functions (1) and (2); 步骤S4、根据Pareto最优解集A2,采用TOPSIS法对Pareto最优解集A2的各个解进行评估并排序,选择排名第一的解作为最优参考方案。Step S4: According to the Pareto optimal solution set A2, the TOPSIS method is used to evaluate and rank the solutions of the Pareto optimal solution set A2, and the solution ranked first is selected as the optimal reference solution. 2.根据权利要求1所述的一种时间窗的低碳选址库存路径优化求解方法,其特征在于:所述步骤S2的具体处理流程如下:2. The method for optimizing the low-carbon inventory path in a time window according to claim 1 is characterized in that the specific processing flow of step S2 is as follows: 步骤21、根据固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本,以及设定各成本的预设权重均为1,采用改进NSGA-II算法计算得到目标优化函数(1)的Pareto最优解集A1;Step 21, based on the fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost, and setting the preset weight of each cost to be 1, the improved NSGA-II algorithm is used to calculate the Pareto optimal solution set A1 of the objective optimization function (1); 步骤22、将Pareto最优解集A1进行正向化,构建正向化矩阵,采用熵权法得出固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本的权重,分别为λ1、λ2、λ3、λ4及λ5Step 22: Forward the Pareto optimal solution set A1, construct a forward matrix, and use the entropy weight method to obtain the weights of fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost, which are λ 1 , λ 2 , λ 3 , λ 4 and λ 5 respectively. 3.根据权利要求1所述的一种时间窗的低碳选址库存路径优化求解方法,其特征在于:所述步骤S4的具体处理流程如下:3. The method for optimizing the low-carbon inventory path in a time window according to claim 1, wherein the specific processing flow of step S4 is as follows: 步骤41、构建评价矩阵并进行归一化处理;Pareto最优解集A2共有t个解,将2个目标函数构建评价指标判断矩阵;Step 41, construct an evaluation matrix and perform normalization processing; the Pareto optimal solution set A2 has t solutions in total, and the two objective functions are used to construct an evaluation index judgment matrix; 步骤42、利用熵权法计算第j个目标的熵权WjStep 42: Calculate the entropy weight W j of the j-th target using the entropy weight method; 步骤43、确定每个目标函数的综合权数βjStep 43, determining the comprehensive weight β j of each objective function; 步骤44、构建加权规范化矩阵;Step 44, construct a weighted normalization matrix; 步骤45、确定理想解和负理想解;Step 45, determine the ideal solution and the negative ideal solution; 步骤46、计算得到Pareto最优解集A2中第t个解与最优水平的接近指数Rt,并按降序排序,再选择排名第一的解作为最优参考方案;其中,加权标准化矩阵各指标的最大值和最小值分别为理想解和负理想解与理想解的距离与负理想解的距离 Step 46: Calculate the closeness index R t between the t-th solution in the Pareto optimal solution set A2 and the optimal level, sort them in descending order, and then select the solution ranked first as the optimal reference solution; wherein, The maximum and minimum values of each index in the weighted standardization matrix are the ideal solutions and negative ideal solution Distance from the ideal solution Distance to negative ideal solution 4.根据权利要求1所述的一种时间窗的低碳选址库存路径优化求解方法,其特征在于:所述改进NSGA-II算法的处理流程如下:4. The method for optimizing the low-carbon inventory path selection in a time window according to claim 1 is characterized in that the processing flow of the improved NSGA-II algorithm is as follows: 首先,随机产生规模为N的初始种群,非支配排序后通过遗传算法的选择、交叉、变异三个基本操作得到第一代子代种群;其次,从第二代开始,将父代种群与子代种群合并,进行快速非支配排序,同时对每个非支配层中的个体进行拥挤度计算,根据非支配关系以及个体的拥挤度选取合适的个体组成新的父代种群;最后,通过遗传算法的基本操作产生新的子代种群。Firstly, an initial population of size N is randomly generated. After non-dominated sorting, the first generation offspring population is obtained through the three basic operations of selection, crossover and mutation of genetic algorithm. Secondly, starting from the second generation, the parent population and the offspring population are merged to perform fast non-dominated sorting. At the same time, the crowding degree of individuals in each non-dominated layer is calculated, and suitable individuals are selected to form a new parent population according to the non-dominated relationship and the crowding degree of individuals. Finally, a new offspring population is generated through the basic operations of genetic algorithm. 5.根据权利要求4所述的一种时间窗的低碳选址库存路径优化求解方法,其特征在于:所述改进NSGA-II算法的个体i的动态拥挤距离计算式为:其中,5. A time window low-carbon location inventory path optimization solution method according to claim 4, characterized in that: the dynamic crowding distance calculation formula of individual i in the improved NSGA-II algorithm is: in, 每个目标函数为fm,fm(i+1)为个体排序后目标函数值的最后一位,M为目标函数的个数。 Each objective function is f m , where f m (i+1) is the last digit of the objective function value after the individuals are sorted, and M is the number of objective functions. 6.一种时间窗的低碳选址库存路径优化求解系统,其特征在于,包括以下内容:6. A time window low-carbon site selection inventory path optimization solution system, characterized by including the following contents: 构建模型模块:用于构建选址库存路径优化模型,该选址库存路径的总成本最小和客户满意度最高的2个目标优化函数为:Model building module: used to build a location inventory path optimization model. The two objective optimization functions of the location inventory path with the minimum total cost and the highest customer satisfaction are: minf1=λ1G+λ2Tc3Wc4Pc5Cc (1);minf 11 G+λ 2 T c3 W c4 P c5 C c (1); 其中,配送中心选址固定建设成本为 Among them, the fixed construction cost of the distribution center site selection is 配送车辆的运输成本为 The transportation cost of the delivery vehicle is 库存成本为 The inventory cost is 时间惩罚成本为max{ETj'-tj,0}表示服务于客户j时提前到达的时间,max{tj-LTj,0}表示服务客户j的延迟时间;The time penalty cost is max{ET j '-t j ,0} represents the advance arrival time when serving customer j, and max{t j -LT j ,0} represents the delay time when serving customer j; 客户节点(i,j)路段配送中的碳排放成本为 The carbon emission cost of the delivery on the customer node (i, j) is 客户满意度为 Customer satisfaction is 配送中心的能力约束: Capacity constraints of distribution centers: 车辆运载能力约束: Vehicle carrying capacity constraints: 车辆行驶距离约束: Vehicle driving distance constraints: 配送车辆数量约束: Constraints on the number of delivery vehicles: 每辆车的配送线路起点和终点都是同一配送中心: The starting and ending points of each vehicle’s delivery route are the same delivery center: 每个客户只能被一辆车服务一次: Each customer can only be served once by a vehicle: 每个分销商都由一辆车负责配送: Each distributor has a vehicle responsible for delivery: 时间窗约束: Time window constraints: 发生缺货、运力不足特殊情况下,时间窗约束: In special cases of out-of-stock and insufficient transportation capacity, time window constraints: 配送中心的订购量大于配送中心到分销商的运输量: The order quantity from the distribution center is greater than the shipping quantity from the distribution center to the distributor: 配送中心到分销商的运输量满足分销商的需求量:xhjzhj≥uj,h∈H;The transportation volume from the distribution center to the distributor meets the distributor's demand: x hj z hj ≥u j ,h∈H; 一个分销商只由一个配送中心提供服务: A distributor is served by only one distribution center: 建立配送中心才有配送路径: Only by establishing a distribution center can we have a distribution route: 获得权重模块:用于采用熵权法得到固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本的权重,分别为λ1、λ2、λ3、λ4及λ5Obtaining weight module: used to obtain the weights of fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost by using entropy weight method, which are λ 1 , λ 2 , λ 3 , λ 4 and λ 5 respectively; 获得解集模块:用于将各成本的权重代入到目标优化函数(1),采用改进NSGA-II算法计算得到2个目标优化函数(1)和(2)的Pareto最优解集A2;Solution set acquisition module: used to substitute the weight of each cost into the objective optimization function (1), and use the improved NSGA-II algorithm to calculate the Pareto optimal solution set A2 of the two objective optimization functions (1) and (2); 选定解模块:用于根据Pareto最优解集A2,采用TOPSIS法对Pareto最优解集A2的各个解进行评估并排序,选择排名第一的解作为最优参考方案。Solution selection module: It is used to evaluate and sort the solutions of Pareto optimal solution set A2 using TOPSIS method, and select the solution ranked first as the optimal reference solution. 7.根据权利要求6所述的一种时间窗的低碳选址库存路径优化求解系统,其特征在于:所述获得权重模块的具体处理流程如下:7. A time window low-carbon site selection inventory path optimization solution system according to claim 6, characterized in that: the specific processing flow of the weight acquisition module is as follows: 步骤21、根据固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本,以及设定各成本的预设权重均为1,采用改进NSGA-II算法计算得到目标优化函数(1)的Pareto最优解集A1;Step 21, based on the fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost, and setting the preset weight of each cost to be 1, the improved NSGA-II algorithm is used to calculate the Pareto optimal solution set A1 of the objective optimization function (1); 步骤22、将Pareto最优解集A1进行正向化,构建正向化矩阵,采用熵权法得出固定建设成本、运输成本、库存成本、时间窗惩罚成本及碳排放量成本的权重,分别为λ1、λ2、λ3、λ4及λ5Step 22: Forward the Pareto optimal solution set A1, construct a forward matrix, and use the entropy weight method to obtain the weights of fixed construction cost, transportation cost, inventory cost, time window penalty cost and carbon emission cost, which are λ 1 , λ 2 , λ 3 , λ 4 and λ 5 respectively. 8.根据权利要求6所述的一种时间窗的低碳选址库存路径优化求解系统,其特征在于:所述选定解模块的具体处理流程如下:8. The low-carbon location inventory path optimization solution system for a time window according to claim 6 is characterized in that: the specific processing flow of the selected solution module is as follows: 步骤41、构建评价矩阵并进行归一化处理;Pareto最优解集A2共有t个解,将2个目标函数构建评价指标判断矩阵;Step 41, construct an evaluation matrix and perform normalization processing; the Pareto optimal solution set A2 has t solutions in total, and the two objective functions are used to construct an evaluation index judgment matrix; 步骤42、利用熵权法计算第j个目标的熵权WjStep 42: Calculate the entropy weight W j of the j-th target using the entropy weight method; 步骤43、确定每个目标函数的综合权数βjStep 43, determining the comprehensive weight β j of each objective function; 步骤44、构建加权规范化矩阵;Step 44, construct a weighted normalization matrix; 步骤45、确定理想解和负理想解;Step 45, determine the ideal solution and the negative ideal solution; 步骤46、计算得到Pareto最优解集A2中第t个解与最优水平的接近指数Rt,并按降序排序,再选择排名第一的解作为最优参考方案;其中,加权标准化矩阵各指标的最大值和最小值分别为理想解和负理想解与理想解的距离与负理想解的距离 Step 46: Calculate the closeness index R t between the t-th solution in the Pareto optimal solution set A2 and the optimal level, sort them in descending order, and then select the solution ranked first as the optimal reference solution; wherein, The maximum and minimum values of each index in the weighted standardization matrix are the ideal solutions and negative ideal solution Distance from the ideal solution Distance to negative ideal solution 9.根据权利要求6所述的一种时间窗的低碳选址库存路径优化求解系统,其特征在于:所述改进NSGA-II算法的处理流程如下:9. The low-carbon location inventory path optimization solution system of time window according to claim 6 is characterized in that: the processing flow of the improved NSGA-II algorithm is as follows: 首先,随机产生规模为N的初始种群,非支配排序后通过遗传算法的选择、交叉、变异三个基本操作得到第一代子代种群;其次,从第二代开始,将父代种群与子代种群合并,进行快速非支配排序,同时对每个非支配层中的个体进行拥挤度计算,根据非支配关系以及个体的拥挤度选取合适的个体组成新的父代种群;最后,通过遗传算法的基本操作产生新的子代种群。Firstly, an initial population of size N is randomly generated. After non-dominated sorting, the first generation offspring population is obtained through the three basic operations of selection, crossover and mutation of genetic algorithm. Secondly, starting from the second generation, the parent population and the offspring population are merged to perform fast non-dominated sorting. At the same time, the crowding degree of individuals in each non-dominated layer is calculated, and suitable individuals are selected to form a new parent population according to the non-dominated relationship and the crowding degree of individuals. Finally, a new offspring population is generated through the basic operations of genetic algorithm. 10.根据权利要求9所述的一种时间窗的低碳选址库存路径优化求解系统,其特征在于:所述改进NSGA-II算法的个体i的动态拥挤距离计算式为:ndi=nd/lg(1/Vi);其中,10. A time window low-carbon location inventory path optimization solution system according to claim 9, characterized in that: the dynamic crowding distance calculation formula of individual i in the improved NSGA-II algorithm is: n di = n d / lg (1/V i ); wherein, 每个目标函数为fm,fm(i+1)为个体排序后目标函数值的最后一位,M为目标函数的个数。 Each objective function is f m , where f m (i+1) is the last digit of the objective function value after the individuals are sorted, and M is the number of objective functions.
CN202410121361.5A 2024-01-29 2024-01-29 A time window low-carbon site selection inventory path optimization solution method and system Pending CN118171789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410121361.5A CN118171789A (en) 2024-01-29 2024-01-29 A time window low-carbon site selection inventory path optimization solution method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410121361.5A CN118171789A (en) 2024-01-29 2024-01-29 A time window low-carbon site selection inventory path optimization solution method and system

Publications (1)

Publication Number Publication Date
CN118171789A true CN118171789A (en) 2024-06-11

Family

ID=91355426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410121361.5A Pending CN118171789A (en) 2024-01-29 2024-01-29 A time window low-carbon site selection inventory path optimization solution method and system

Country Status (1)

Country Link
CN (1) CN118171789A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119379115A (en) * 2024-12-31 2025-01-28 山东科技大学 Modified red mud ratio optimization method and system based on strength, cost and carbon emission

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119379115A (en) * 2024-12-31 2025-01-28 山东科技大学 Modified red mud ratio optimization method and system based on strength, cost and carbon emission

Similar Documents

Publication Publication Date Title
Wang et al. A genetic simulated annealing algorithm for parallel partial disassembly line balancing problem
CN112884404B (en) An intelligent supply chain inventory transfer optimization and abnormality early warning system
CN109919541B (en) A Modeling and Solving Method for Multilevel Locating Inventory Routing Problem
Ren et al. Improved ant colony optimization for the vehicle routing problem with split pickup and split delivery
Zhao et al. Distribution Route Optimization for Electric Vehicles in Urban Cold Chain Logistics for Fresh Products under Time‐Varying Traffic Conditions
CN113222291B (en) Three-dimensional loading optimization method based on space region division model
Zhou et al. An adaptive artificial bee colony algorithm enhanced by Deep Q-Learning for milk-run vehicle scheduling problem based on supply hub
Li et al. A multi-objective model for cold chain logistics considering customer satisfaction
CN115965172B (en) A route optimization algorithm, system and equipment for secondary distribution vehicles of refined oil
CN106097055A (en) Enterprise order processing method under personalized customization demand
CN114926109A (en) Warehouse site selection method
CN110309436A (en) A collaborative site selection method and system for an automobile service network considering the choice behavior of car owners
Wang et al. Collaborative multicenter reverse logistics network design with dynamic customer demands
CN111553507A (en) Optimization method of China-Europe container transportation scheme based on multi-commodity flow
CN118171789A (en) A time window low-carbon site selection inventory path optimization solution method and system
Duan et al. Combined configuration of container terminal berth and quay crane considering carbon cost
CN115495859B (en) A warehouse network planning method based on genetic algorithm
CN116187643A (en) Method and system for generating integrated coal supply chain scheduling plan
Liu et al. Optimization of cold chain distribution route with mixed time window considering customer priority
CN117993586A (en) Cold chain distribution optimization method and system based on improved genetic algorithm
Wang et al. Optimization of distribution path considering cost and customer satisfaction under new retail modes
CN118608029A (en) Vehicle-cargo matching method and system for LTL special lines
CN117933513A (en) Vehicle path determining method and system for simultaneously taking and delivering goods in common delivery mode
Yuyang et al. The joint procurement model and algorithm for small and medium enterprises
Yang et al. Research on optimization strategy of cold-chain logistics car scheduling

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