A method for site selection and path planning of fresh food e-commerce forward warehouse

By using a multi-objective location path planning model and a fast non-dominated sorting genetic algorithm in fresh food e-commerce, we optimize the location and distribution path of front warehouses, solve the problems of high transportation costs, long delivery time and large product losses, and improve customer satisfaction and product freshness.

CN114897217BActive Publication Date: 2024-09-13FUJIAN UNIV OF TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210385751.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2024-09-13
Estimated Expiration
2042-04-13

AI Technical Summary

Technical Problem

The existing technology in fresh food e-commerce only considers the distribution path and the location of the front warehouse, ignores the connection between the two, increases the difficulty of corporate decision-making, and does not fully consider the customer's requirements for timeliness and product quality, resulting in Transportation costs are high, delivery times are long and merchandise is lost.

Method used

This paper proposes a fresh food e-commerce front warehouse site selection and path planning method, which is based on a system of data preparation, model construction and algorithm solving modules, using a multi-objective site selection path planning model and a fast non-dominated sorting genetic algorithm with an elite strategy. Combining enterprise costs and customer satisfaction, optimize front-end warehouse location and distribution routes.

Benefits of technology

It effectively reduces the transportation and logistics costs of fresh products, shortens the delivery time, improves the freshness of goods, enhances customer satisfaction, and provides fresh food e-commerce companies with decision-making guidance on front-end warehouse location and distribution routes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114897217B
    Figure CN114897217B
Patent Text Reader

Abstract

The present invention proposes a method for site selection and path planning of a fresh food e-commerce forward warehouse, comprising the following steps: step S1, inputting site selection set data and customer demand point set data of candidate forward warehouses in a study area into a data preparation module; step S2, a model construction module constructs a multi-objective site selection path planning model that minimizes enterprise costs and maximizes customer satisfaction based on the forward warehouse site selection set data and customer demand point data, taking enterprise operating costs, customer time windows, and fresh food freshness requirement indicators as premise data; step S3, an algorithm solving module uses a fast non-dominated sorting genetic algorithm with an elite strategy to solve the multi-objective planning model to obtain a forward warehouse site selection path plan; the present invention solves the problems of high fresh product transportation logistics costs, long delivery time, and large commodity losses, and can provide guidance for the site selection and delivery path decision-making of fresh food e-commerce forward warehouses.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fresh food transportation and storage technology, and in particular to a method for site selection and path planning of a fresh food e-commerce forward warehouse. Background Art

[0002] In recent years, the penetration rate of my country's fresh food e-commerce industry has continued to rise, and the fresh food market has developed rapidly. In 2020, the scale of China's fresh food e-commerce market reached 262.84 billion yuan. With the innovation of the terminal delivery model of the fresh food industry, the forward warehouse has been favored by major fresh food e-commerce companies due to its high degree of specialization and proximity to customers, and has become one of the infrastructures for their large-scale layout. The construction of logistics warehouses mostly considers cost factors. However, due to the particularity of fresh products, that is, perishability and difficulty in preservation, corporate decision makers also need to pay attention to consumers' requirements for the timeliness of product delivery and product quality.

[0003] The disadvantages of the prior art are:

[0004] (1) Existing technologies only consider the distribution route and the location of the forward warehouse, ignoring the connection between the two, which increases the difficulty of decision-making for fresh food e-commerce companies.

[0005] (2) Existing technologies do not take into account customers’ requirements in terms of time and product quality, and ignore customer satisfaction, which is not conducive to customer retention and long-term development of fresh food e-commerce platforms. Summary of the invention

[0006] The present invention proposes a method for site selection and route planning of a fresh food e-commerce forward warehouse, which solves the problems of high logistics cost, long delivery time and large commodity loss in fresh food transportation, and can provide guidance for site selection and delivery route decision-making of fresh food e-commerce forward warehouses.

[0007] The present invention adopts the following technical solutions.

[0008] A method for site selection and path planning of a fresh food e-commerce forward warehouse, the method is based on a fresh food e-commerce forward warehouse site selection and path planning system including a data preparation module, a model building module, an algorithm solving module and a database; the forward warehouse is established according to a community selection point, and the surrounding area of ​​less than five kilometers is used as a planned research area, and the method includes the following steps:

[0009] Step S1, inputting the site selection data of candidate forward warehouses in the study area and the customer demand point data into the data preparation module;

[0010] Step S2: The model building module builds a multi-objective site selection path planning model that minimizes enterprise costs and maximizes customer satisfaction based on the forward warehouse site selection set data and customer demand point data, with enterprise operating costs, customer time windows, and fresh food freshness requirement indicators as prerequisite data;

[0011] Step S3: The algorithm solving module uses a fast non-dominated sorting genetic algorithm with an elite strategy to solve the multi-objective planning model and obtain a forward warehouse location path solution.

[0012] The multi-objective location selection path planning model in step S2 is based on the multi-objective location selection path planning model objective function. The forward warehouse delivers to customers with delivery vehicles, which can be expressed as follows:

[0013]

[0014] Among them, formula 1 is the objective function 1, which means minimizing the cost function;

[0015] The cost function includes the following parts: construction cost, operation cost, transportation cost and vehicle use cost of the forward warehouse; O represents the set of candidate forward warehouses; D represents the set of customer demand points; K represents the set of all delivery vehicles; C i1 represents the construction cost of the forward warehouse i; C i2 represents the operating cost of forward warehouse i; C T represents the unit transportation cost of the distribution vehicle; C V represents the fixed cost of the vehicle; y i =1 means that the candidate forward warehouse i is selected, otherwise y i =0;x ijk =1 means vehicle,k,reaches node j from node i, otherwise x ijk =0;d ij represents the distance between node i and node j. Formula (2) is objective 2, which means maximizing average customer satisfaction. n represents the number of customers; λ represents the time satisfaction weight; t i represents the time required for the vehicle to reach node i. The satisfaction function consists of two parts, namely customer time satisfaction (f1) and product freshness satisfaction (f2), and conforms to the following formula:

[0016]

[0017] Formula 3 represents the customer time satisfaction function, where E j Indicates the earliest time of the time window required by the customer; L j The latest time of the customer time window; R j Indicates the time when the customer refuses to accept service;

[0018] Formula 4 represents the freshness function of the product, and μ represents the product deterioration rate;

[0019] Formula 5 represents the customer satisfaction function for the freshness of the product, where G j The upper limit of freshness indicating the highest satisfaction level; W jIndicates the lower limit of freshness with the lowest satisfaction level; l indicates the lowest freshness satisfaction level;

[0020] During the delivery of fresh products, the delivery vehicles must meet the following constraint formula:

[0021]

[0022] The constraint formula 6 represents the vehicle load constraint, and the load of each vehicle during delivery does not exceed its maximum capacity limit; q j represents the demand of customer j; Q k represents the maximum capacity limit of delivery vehicle k;

[0023] Constraint formula seven indicates that a customer is only served once by one vehicle, and it is an in-and-out balance constraint;

[0024] Constraint formula eight indicates that each vehicle has only one service path, which starts from the forward warehouse and returns to the original forward warehouse after delivery.

[0025] The number of customers served by each forward warehouse cannot exceed its capacity constraint, which can be expressed as:

[0026]

[0027] The service range of the forward warehouse is 3 to 5 kilometers. In the research area, each customer has only one forward warehouse to provide services for him. The enterprise is a fresh food e-commerce enterprise, and its enterprise cost budget for building a forward warehouse is expressed as ∑ i∈O C i1 y i ≤B, where B represents the enterprise's budget for building a forward warehouse;

[0028] The time between the delivery vehicle arriving at two consecutive customer demand points satisfies the constraints:

[0029]

[0030] Where M is an infinite positive number; S j represents the service time of customer j; v represents the driving speed of the delivery vehicle;

[0031] The total decision variable constraints of the multi-objective site selection path planning model are:

[0032]

[0033] Constraint formula nine indicates whether vehicle k arrives at point j from point i; constraint formula ten indicates whether forward warehouse i is selected; constraint formula eleven indicates whether forward warehouse i serves customer j.

[0034] When the service range of the current warehouse is within 4 kilometers,

[0035]

[0036] The method further comprises a program register, a data register, a plurality of processors and an electronic device capable of executing the program; the data required for the program execution is stored in the data register, the executable program is stored in the program register, and the program stored in the register is configured to call one or more processors to execute the corresponding program function;

[0037] The database is used to store the information of candidate forward warehouses and customer demand points within the planning area, and store the database information in corresponding data registers.

[0038] In step S3, for the location path planning model of the forward warehouse, a fast non-dominated sorting genetic algorithm with an elite strategy is designed, and an executable program is written and stored in the program register. One or more processors are called to process the data and executable program in the data register and the program register to obtain the final forward warehouse location-path plan.

[0039] The fast non-dominated sorting genetic algorithm with elite strategy comprises the following steps when the genetic algorithm is executed:

[0040] Step A1, initialize the population, set the maximum number of iterations, crossover and mutation probabilities, and set the evolutionary generation Gen=1; in this step, the chromosome code adopts natural number coding, each gene represents a customer, inserts the alternative forward warehouse number into the customer number, and adds a distinguishing code for distinguishing the forward warehouse from the customer number to the forward warehouse number;

[0041] Step A2: determine whether to generate the first generation sub-population, if generated, set the evolutionary number Gen=2; otherwise, perform non-dominated sorting, selection, crossover, and mutation operations on the initial population to generate the first generation population and set the evolutionary number Gen=2; Step A3: merge the parent population and the child population;

[0042] Step A4: determine whether a new parent population is generated. If not, calculate the objective function of the individuals in the population and perform fast non-dominated sorting and crowding calculation, and execute the elite strategy to generate a new parent population; otherwise, proceed to step A5;

[0043] Step A5: performing selection, crossover, and mutation operations on the generated parent population to generate a child population;

[0044] Step A6: Determine whether Genn is less than the maximum evolutionary generation. If so, Genn=Gen+1 and return to step 3; if equal to or greater than the maximum evolutionary generation, terminate the operation;

[0045] In step A2, all population individuals are sorted by fast non-dominated sorting, and the solutions are assigned to different levels. The lower the level, the higher the priority of the solution. The non-dominated sorting of step A2 specifically includes the following steps:

[0046] Step B1: For each individual p in population P, calculate the number of individuals n dominated by p in population P. p , store these individuals dominated by p into the set S p middle;

[0047] Step B2, at this time layer=1;

[0048] Step B3: All n p = 0, saved in the current set F layer middle;

[0049] Step B4: For F layer The dominating set S of each individual p in p , traverse S p For each individual l in the l =n l -1;

[0050] Step B5, set layer=layerr+1; execute loop;

[0051] Step B6: Repeat steps B3 to B5 until all groups of individuals are classified.

[0052] In step A4, if the two calculated solutions belong to the same Pareto front, the priority of the solutions is determined by comparing the crowding degree, and the solution with a large crowding distance is preferentially selected to ensure the diversity of the population. The crowding degree calculation specifically includes the following steps:

[0053] Step C1, sorting the solutions on the same frontier surface in ascending order according to the single objective function value;

[0054] Step C2, setting the crowding distance between two extreme points to infinity;

[0055] Step C3, calculating the distance between two adjacent individuals of each individual on this target and performing normalization processing;

[0056] Step C4, traverse all targets and add the normalized crowding distances;

[0057] The execution steps of the elite strategy include:

[0058] Step D1: First, combine the offspring population Q and the parent population P generated by the tth generation into R t , the population size is 2N;

[0059] Step D2: Perform fast non-dominated sorting on R to generate a series of non-dominated sets Z i and calculate the degree of crowding;

[0060] Step D3: Place Z1 into the new parent population P t+1 If the number of individuals in the population is less than N, then continue to put Z2 into the new parent population P t+1 until added to Z i When the number of individuals in the population exceeds N, then Z i The individuals in the group compare their crowding degree and select the better individuals to join, so that P t+1 The number of individuals reaches N.

[0061] The fresh food e-commerce forward warehouse has the following constraints:

[0062] A. The types and units of goods in the fresh food e-commerce forward warehouse are normalized, that is, the fresh food products in the warehouse are of a single variety, and the freshness varies over time. The embodiment of the present invention only considers a single variety of fresh food products.

[0063] B. The customer demand, delivery time window and freshness requirements corresponding to the fresh food e-commerce forward warehouse are known data. Customer demand will not change within the preset time, and each demand point is delivered by only one forward warehouse.

[0064] C. Each vehicle of the fresh food e-commerce forward warehouse can deliver to multiple customer points within the delivery range, but each customer point only has one vehicle to provide service for it.

[0065] D. Each forward warehouse has a sufficient number of delivery vehicles to provide delivery services, and each forward warehouse uses the same vehicle model.

[0066] The present invention comprehensively considers the cost considerations of the enterprise side and the customer's requirements for time and product quality when selecting the site and delivering the fresh food e-commerce forward warehouse, and combines the multi-objective solution method of the fast non-dominated sorting genetic algorithm with the elite strategy to solve the problems of high logistics cost, long delivery time and large product loss in the transportation of fresh products, and can provide guidance for the site selection and delivery route decision-making of the fresh food e-commerce forward warehouse.

[0067] The present invention constructs a multi-objective site selection path planning model that minimizes enterprise costs and maximizes customer satisfaction based on a set of candidate forward warehouses and a set of customer demand points, taking into account enterprise costs, customer time windows, and freshness requirements; a fast non-dominated sorting genetic algorithm with an elite strategy is used to solve the multi-objective model to obtain the optimal site selection scheme and distribution path scheme for the forward warehouse. In combination with actual conditions, from the perspective of the enterprise, cost requirements are considered, specifically including the construction cost, operating cost, vehicle use cost, and transportation cost of the forward warehouse; from the perspective of the customer, satisfaction requirements are considered in combination with the characteristics of fresh products, including time satisfaction and product freshness satisfaction. At the same time, the fast non-dominated sorting operator in the fast non-dominated sorting genetic algorithm with an elite strategy reduces the algorithm calculation complexity and guides the search to the direction of the Pareto optimal solution set; the design of the individual crowding distance operator makes the calculation results more evenly distributed in the target space, maintaining the diversity of the group; the design of the elite strategy selection operator expands the sampling space and effectively prevents the loss of the Pareto optimal solution. Ultimately, we obtain a set of solutions for the location and delivery routes of fresh food e-commerce forward warehouses that meet the lowest enterprise costs and the highest average customer satisfaction. Decision makers can choose the solution that suits their enterprise based on its specific circumstances.

[0068] The present invention designs a model building module, which can take into account the particularity of fresh products in the model building process, and build a multi-objective site selection-path model from two aspects: enterprise cost and customer requirements on time and product quality.

[0069] The present invention designs an algorithm calculation module, which can use a fast non-dominated sorting genetic algorithm with an elite strategy to reduce the algorithm calculation complexity, expand the sampling space, maintain the diversity of the group, and ultimately obtain a set of fresh food e-commerce forward warehouse site selection and distribution path solutions that meet the lowest enterprise cost and the highest average customer satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:

[0071] Attached Figure 1 It is a schematic diagram of the process of the present invention;

[0072] Attached Figure 2 It is a schematic diagram of the system principle of the present invention;

[0073] Attached Figure 3 It is a flow chart of the fast non-dominated sorting genetic algorithm with elite strategy of the present invention;

[0074] Attached Figure 4 This is a schematic diagram of non-dominated sorting;

[0075] Attached Figure 5 It is a schematic diagram of the congestion calculation;

[0076] Attached Figure 6 It is a schematic diagram of the elite selection strategy; DETAILED DESCRIPTION

[0077] As shown in the figure, a method for site selection and path planning of a fresh food e-commerce forward warehouse is provided. The method is based on a fresh food e-commerce forward warehouse site selection and path planning system including a data preparation module, a model building module, an algorithm solving module and a database; the forward warehouse is established according to a community selection point, and the surrounding area is less than five kilometers as the planned research area. The method includes the following steps:

[0078] Step S1, inputting the site selection data of candidate forward warehouses in the study area and the customer demand point data into the data preparation module;

[0079] Step S2: The model building module builds a multi-objective site selection path planning model that minimizes enterprise costs and maximizes customer satisfaction based on the forward warehouse site selection set data and customer demand point data, with enterprise operating costs, customer time windows, and fresh food freshness requirement indicators as prerequisite data;

[0080] Step S3: The algorithm solving module uses a fast non-dominated sorting genetic algorithm with an elite strategy to solve the multi-objective planning model and obtain a forward warehouse location path solution.

[0081] The multi-objective location selection path planning model in step S2 is based on the multi-objective location selection path planning model objective function. The forward warehouse delivers to customers with delivery vehicles, which can be expressed as follows:

[0082]

[0083] Among them, formula 1 is the objective function 1, which means minimizing the cost function;

[0084] The cost function includes the following parts: construction cost, operation cost, transportation cost and vehicle use cost of the forward warehouse; O represents the set of candidate forward warehouses; D represents the set of customer demand points; K represents the set of all delivery vehicles; C i1 represents the construction cost of the forward warehouse i; C i2 represents the operating cost of forward warehouse i; C T represents the unit transportation cost of the distribution vehicle; C v represents the fixed cost of the vehicle; y i =1 means that the candidate forward warehouse i is selected, otherwise y i =0;x ijk =1 means vehicle k arrives at node j from node i, otherwise x ijk =0;d ijrepresents the distance between node i and node j. Formula (2) is objective 2, which means maximizing average customer satisfaction. n represents the number of customers; λ represents the time satisfaction weight; t i represents the time required for the vehicle to reach node i. The satisfaction function consists of two parts, namely customer time satisfaction (f1) and product freshness satisfaction (f2), and conforms to the following formula:

[0085]

[0086] Formula 3 represents the customer time satisfaction function, where E j Indicates the earliest time of the time window required by the customer; L j The latest time of the customer time window; R j Indicates the time when the customer refuses to accept service;

[0087] Formula 4 represents the freshness function of the product, and μ represents the product deterioration rate;

[0088] Formula 5 represents the customer satisfaction function for the freshness of the product, where G j The upper limit of freshness indicating the highest satisfaction level; W j Indicates the lower limit of freshness with the lowest satisfaction level; l indicates the lowest freshness satisfaction level;

[0089] During the delivery of fresh products, the delivery vehicles must meet the following constraint formula:

[0090]

[0091] The constraint formula 6 represents the vehicle load constraint, and the load of each vehicle during delivery does not exceed its maximum capacity limit; q j represents the demand of customer k; Q k represents the maximum capacity limit of delivery vehicle k;

[0092] Constraint formula seven indicates that a customer is only served once by one vehicle, and it is an in-and-out balance constraint;

[0093] Constraint formula eight indicates that each vehicle has only one service path, which starts from the forward warehouse and returns to the original forward warehouse after delivery.

[0094] The number of customers served by each forward warehouse cannot exceed its capacity constraint, which can be expressed as:

[0095] The service range of the forward warehouse is 3 to 5 kilometers. In the research area, each customer has only one forward warehouse to provide services for him. The enterprise is a fresh food e-commerce enterprise, and its enterprise cost budget for building a forward warehouse is expressed as ∑ i∈O C i1 y i≤B, where B represents the enterprise's budget for building a forward warehouse;

[0096] The time between the delivery vehicle arriving at two consecutive customer demand points satisfies the constraints:

[0097]

[0098] Where M is an infinite positive number; S j indicates the service time of customer j; v represents the driving speed of the delivery vehicle;

[0099] The total decision variable constraints of the multi-objective site selection path planning model are:

[0100]

[0101]

[0102] Constraint formula nine indicates whether vehicle k arrives at point j from point i; constraint formula ten indicates whether forward warehouse i is selected; constraint formula eleven indicates whether forward warehouse i serves customer j.

[0103] When the service range of the current warehouse is within 4 kilometers,

[0104]

[0105] The method further comprises a program register, a data register, a plurality of processors and an electronic device capable of executing the program; the data required for the program execution is stored in the data register, the executable program is stored in the program register, and the program stored in the register is configured to call one or more processors to execute the corresponding program function;

[0106] The database is used to store the information of candidate forward warehouses and customer demand points within the planning area, and store the database information in corresponding data registers.

[0107] In step S3, for the location path planning model of the forward warehouse, a fast non-dominated sorting genetic algorithm with an elite strategy is designed, and an executable program is written and stored in the program register. One or more processors are called to process the data and executable program in the data register and the program register to obtain the final forward warehouse location-path plan.

[0108] The fast non-dominated sorting genetic algorithm with elite strategy comprises the following steps when the genetic algorithm is executed:

[0109] Step A1, initialize the population, set the maximum number of iterations, crossover and mutation probabilities, and set the evolutionary generation Gen=1; in this step, the chromosome code adopts natural number coding, each gene represents a customer, inserts the alternative forward warehouse number into the customer number, and adds a distinguishing code for distinguishing the forward warehouse from the customer number to the forward warehouse number;

[0110] Step A2: determine whether to generate the first generation sub-population, if generated, set the evolutionary number Gen=2; otherwise, perform non-dominated sorting, selection, crossover, and mutation operations on the initial population to generate the first generation population and set the evolutionary number Gen=2; Step A3: merge the parent population and the child population;

[0111] Step A4: determine whether a new parent population is generated. If not, calculate the objective function of the individuals in the population and perform fast non-dominated sorting and crowding calculation, and execute the elite strategy to generate a new parent population; otherwise, proceed to step A5;

[0112] Step A5: performing selection, crossover, and mutation operations on the generated parent population to generate a child population;

[0113] Step A6: Determine whether Gen is less than the maximum evolutionary generation. If so, Gen = Gen + 1 and return to step 3; if equal to or greater than the maximum evolutionary generation, terminate the operation;

[0114] In step A2, all population individuals are sorted by fast non-dominated sorting, and the solutions are assigned to different levels. The lower the level, the higher the priority of the solution. The non-dominated sorting of step A2 specifically includes the following steps:

[0115] Step B1: For each individual p in population P, calculate the number of individuals n dominated by p in population P. p , store these individuals dominated by p into the set S p middle;

[0116] Step B2, at this time layer=1;

[0117] Step B3: All n p = 0, saved in the current set F layer middle;

[0118] Step B4: For F layer The dominating set S of each individual p in p , traverse S p For each individual l in the l =n l -1;

[0119] Step B5, set layer=layer+1; execute loop;

[0120] Step B6: Repeat steps B3 to B5 until all groups of individuals are classified.

[0121] In step A4, if the two calculated solutions belong to the same Pareto front, the priority of the solutions is determined by comparing the crowding degree, and the solution with a large crowding distance is preferentially selected to ensure the diversity of the population. The crowding degree calculation specifically includes the following steps:

[0122] Step C1, sorting the solutions on the same frontier surface in ascending order according to the single objective function value;

[0123] Step C2, setting the crowding distance between two extreme points to infinity;

[0124] Step C3, calculating the distance between two adjacent individuals of each individual on this target and performing normalization processing;

[0125] Step C4, traverse all targets and add the normalized crowding distances;

[0126] The execution steps of the elite strategy include:

[0127] Step D1: First, combine the offspring population Q and the parent population P generated by the tth generation into R t , the population size is 2N;

[0128] Step D2: R t Perform fast non-dominated sorting to generate a series of non-dominated sets Z i and calculate the degree of crowding;

[0129] Step D3: Place Z1 into the new parent population P t+1 If the number of individuals in the population is less than N, then continue to put Z2 into the new parent population P t+1 until added to Z i When the number of individuals in the population exceeds N, then Z i The individuals in the group compare their crowding degree and select the better individuals to join, so that P t+1 The number of individuals reaches N.

[0130] The fresh food e-commerce forward warehouse has the following constraints:

[0131] A. The types and units of goods in the fresh food e-commerce forward warehouse are normalized, that is, the fresh food products in the warehouse are of a single variety, and the freshness varies over time. The embodiment of the present invention only considers a single variety of fresh food products.

[0132] B. The customer demand, delivery time window and freshness requirements corresponding to the fresh food e-commerce forward warehouse are known data. Customer demand will not change within the preset time, and each demand point is delivered by only one forward warehouse.

[0133] C. Each vehicle of the fresh food e-commerce forward warehouse can deliver to multiple customer points within the delivery range, but each customer point only has one vehicle to provide service for it.

[0134] D. Each forward warehouse has a sufficient number of delivery vehicles to provide delivery services, and each forward warehouse uses the same vehicle model.

[0135] Embodiment 1:

[0136] In step A2, the non-dominated sorting is as follows: Figure 4 As shown in the figure, for multiple objective functions and all of them are minimum value problems (in this embodiment, "1-F2" is used to convert the maximum value problem into the minimum value), each point in the figure corresponds to a location-path solution. For point c, the two objective function values ​​of points a and b are both better, so point c is dominated by points a and b, that is, nc=2, S a ={c, d, e}. Traverse each individual p and calculate the n corresponding to all individuals p and S p , sort according to the above steps until all individuals are divided into corresponding levels and F1 takes precedence over F2.

[0137] Embodiment 2:

[0138] In step A4, Figure 5 As shown: The crowding distance of point a is the sum of the side lengths of the rectangle formed by its two adjacent points as vertices on the same level.

Claims

1. A method for site selection and path planning of a fresh food e-commerce forward warehouse, characterized by: The method includes a data preparation module, a model building module, an algorithm solving module and a database of a fresh food e-commerce forward warehouse site selection-path planning system; the forward warehouse is established according to the community selection point, and the surrounding area of ​​less than five kilometers is used as the planned research area, and the method includes the following steps: Step S1, inputting the site selection data of candidate forward warehouses in the study area and the customer demand point data into the data preparation module; Step S2: The model building module builds a multi-objective site selection path planning model that minimizes enterprise costs and maximizes customer satisfaction based on the forward warehouse site selection set data and customer demand point data, with enterprise operating costs, customer time windows, and fresh food freshness requirement indicators as prerequisite data; Step S3: the algorithm solving module uses a fast non-dominated sorting genetic algorithm with an elite strategy to solve the multi-objective planning model and obtain a forward warehouse location path solution; The multi-objective location selection path planning model in step S2 is based on the multi-objective location selection path planning model objective function. The forward warehouse delivers to customers with delivery vehicles, which can be expressed as follows: Among them, formula 1 is the objective function 1, which means minimizing the cost function; The cost function includes the following parts: construction cost, operation cost, transportation cost and vehicle use cost of the forward warehouse; O represents the set of candidate forward warehouses; D represents the set of customer demand points; K represents the set of all delivery vehicles; C i1 represents the construction cost of the forward warehouse i; C i2 represents the operating cost of forward warehouse i; C T represents the unit transportation cost of the distribution vehicle; C v represents the fixed cost of the vehicle; y i =1 means that the candidate forward warehouse i is selected, otherwise y i =0;x ijk =1 means vehicle k arrives at node j from node i, otherwise x ijk =0;d ij represents the distance between node i and node j; formula (2) is objective 2, which means maximizing average customer satisfaction; n represents the number of customers; λ represents the time satisfaction weight; t i represents the time required for the vehicle to reach node i; the satisfaction function consists of two parts, namely customer time satisfaction f1 and product freshness satisfaction f2, and conforms to the following formula Formula 3 represents the customer time satisfaction function, where E j Indicates the earliest time of the time window required by the customer; L j The latest time of the customer time window; R j Indicates the time when the customer refuses to accept service; Formula 4 represents the freshness function of the product, and μ represents the product deterioration rate; Formula 5 represents the customer satisfaction function for the freshness of the product, where G j The upper limit of freshness indicating the highest satisfaction level; W j Indicates the lower limit of freshness with the lowest satisfaction level; l indicates the lowest freshness satisfaction level; During the delivery of fresh products, the delivery vehicles must meet the following constraint formula: The constraint formula 6 represents the vehicle load constraint, and the load of each vehicle during delivery does not exceed its maximum capacity limit; q j represents the demand of customer j; Q k represents the maximum capacity limit of delivery vehicle k; Constraint formula seven indicates that a customer is only served once by one vehicle, and it is an in-and-out balance constraint; Constraint formula eight indicates that each vehicle has only one service path, which starts from the forward warehouse and returns to the original forward warehouse after delivery. The number of customers served by each forward warehouse cannot exceed its capacity constraint, which can be expressed as:

2. A method for site selection and path planning of a fresh food e-commerce forward warehouse according to claim 1, characterized in that: The service range of the forward warehouse is 3 to 5 kilometers. In the research area, each customer has only one forward warehouse to provide services for him. The enterprise is a fresh food e-commerce enterprise, and its enterprise cost budget for building a forward warehouse is expressed as ∑ i∈O C i1 y i ≤B, where B represents the enterprise's budget for building a forward warehouse; The time between the delivery vehicle arriving at two consecutive customer demand points satisfies the constraints: Where M is an infinite positive number; S j represents the service time of customer j; v represents the driving speed of the delivery vehicle; The total decision variable constraints of the multi-objective site selection path planning model are: Constraint formula nine indicates whether vehicle k arrives at point j from point i; constraint formula ten indicates whether forward warehouse i is selected; constraint formula eleven indicates whether forward warehouse i serves customer j; When the service range of the current warehouse is within 4 kilometers, 3. A method for site selection and path planning of a fresh food e-commerce forward warehouse according to claim 1, characterized in that: The method also includes a program register, a data register, a plurality of processors and an electronic device capable of executing the program; the data required for the execution of the program is stored in the data register, the executable program is stored in the program register, and the program stored in the register is configured to call one or more processors to execute its corresponding program function; the database is used to store the information of the alternative forward warehouses and customer demand points within the planning area, and the database information is stored in the corresponding data register.

4. A method for site selection and path planning of a fresh food e-commerce forward warehouse according to claim 3, characterized in that: In step S3, for the location path planning model of the forward warehouse, a fast non-dominated sorting genetic algorithm with an elite strategy is designed, and an executable program is written and stored in the program register; One or more processors are called to process the data and executable programs in the data registers and program registers, so as to obtain the final forward warehouse location-path plan.

5. A method for site selection and path planning of a fresh food e-commerce forward warehouse according to claim 1, characterized in that: The fast non-dominated sorting genetic algorithm with elite strategy comprises the following steps when the genetic algorithm is executed: Step A1, initialize the population, set the maximum number of iterations, crossover and mutation probabilities, and set the evolutionary generation Gen = 1; In this step, the chromosome code adopts natural number coding, each gene represents a customer, the alternative forward warehouse number is inserted into the customer number, and a distinguishing code for distinguishing the forward warehouse from the customer number is added to the forward warehouse number; Step A2: determine whether to generate the first generation subpopulation, if generated, set the evolutionary number Gen=2; otherwise, perform non-dominated sorting, selection, crossover, and mutation operations on the initial population to generate the first generation population and set the evolutionary number Gen=2; Step A3, merging the parent population and the offspring population; Step A4: determine whether a new parent population is generated. If not, calculate the objective function of the individuals in the population and perform fast non-dominated sorting and crowding calculation, and execute the elite strategy to generate a new parent population; otherwise, proceed to step A5; Step A5: performing selection, crossover, and mutation operations on the generated parent population to generate a child population; Step A6: Determine whether Gen is less than the maximum evolutionary generation. If so, Gen=Gen+1 and return to step 3; if equal to or greater than the maximum evolutionary generation, terminate the operation.

6. A method for site selection and path planning of a fresh food e-commerce forward warehouse according to claim 5, characterized in that: In step A2, all population individuals are sorted by fast non-dominated sorting, and the solutions are assigned to different levels. The lower the level, the higher the priority of the solution. The non-dominated sorting of step A2 specifically includes the following steps: Step B1: For each individual p in population P, calculate the number of individuals n dominated by p in population P. p , store these individuals dominated by p into the set S p middle; Step B2, at this time layer=1; Step B3: All n p = 0, saved in the current set F layer middle; Step B4: For F layer The dominating set S of each individual p in p , traverse S p Each individual l in the l =n l -1; Step B5, set layer=layer+1; execute loop; Step B6: Repeat steps B3 to B5 until all groups of individuals are classified.

7. A method for site selection and path planning of a fresh food e-commerce forward warehouse according to claim 5, characterized in that: In step A4, if the two calculated solutions belong to the same Pareto front, the priority of the solutions is determined by comparing the crowding degree, and the solution with a large crowding distance is preferentially selected to ensure the diversity of the population; the crowding degree calculation specifically includes the following steps: Step C1, sorting the solutions on the same frontier surface in ascending order according to the single objective function value; Step C2, setting the crowding distance between two extreme points to infinity; Step C3, calculating the distance between two adjacent individuals of each individual on this target and performing normalization processing; Step C4, traverse all targets and add the normalized crowding distances; The steps for executing the elite strategy include: Step D1: First, combine the offspring population Q and the parent population P generated by the tth generation into R t , the population size is 2N; Step D2: R t Perform fast non-dominated sorting to generate a series of non-dominated sets Z i and calculate the degree of crowding; Step D3: Place Z1 into the new parent population P t+1 If the number of individuals in the population is less than N, then continue to put Z2 into the new parent population P t+1 until added to Z i When the number of individuals in the population exceeds N, then Z i The individuals in the group compare their crowding degree and select the better individuals to join, so that P t+1 The number of individuals reaches N.

8. A method for site selection and path planning of a fresh food e-commerce forward warehouse according to claim 1, characterized in that: The fresh food e-commerce forward warehouse has the following constraints: A. The types and units of goods in the fresh food e-commerce forward warehouse are normalized, that is, the variety of fresh products in the warehouse is single, and the freshness varies over time; B. The customer demand, delivery time window and freshness requirements of the fresh food e-commerce forward warehouse are known data. Customer demand will not change within the preset time. Each demand point is delivered by only one forward warehouse. C. Each vehicle of the fresh food e-commerce forward warehouse can deliver to multiple customer points within the delivery range, but each customer point is only served by one vehicle; D. Each forward warehouse has a sufficient number of delivery vehicles to provide delivery services, and each forward warehouse uses the same vehicle model.

Citation Information

Patent Citations

  • Algorithm for solving multi-target time window heterogeneous model addressing-path problem

    CN107092977A

  • Fresh food e-commerce warehouse site selection system and method under community structure

    CN110705793A

  • Cold-chain logistics path optimization method based on improved ant colony algorithm

    CN111967668A

  • Multi-distribution center site selection-distribution path planning method based on hybrid genetic algorithm

    CN114048924A

  • Optimization of Warehouse Layout Based on Customizable Goals

    US20180068255A1