Method and device for solving site selection-path problem of self-picking facilities and heterogeneous requirements
By decomposing the location-route problem of self-pickup facilities and heterogeneous demand into three sub-problems, and using a mixed integer programming model and an adaptive large neighborhood decomposition search algorithm, the time-consuming and uncertain distribution process in the existing technology is solved. problems, achieving efficient and flexible distribution solutions and reducing operating costs.
Patent Information
- Application Number
- CN202410952923.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-09-27
AI Technical Summary
Existing technology is difficult to effectively solve the location-path problem of self-pickup facilities and heterogeneous demand, resulting in a time-consuming and uncertain distribution process, making it difficult to meet the timeliness and flexibility requirements of customers' heterogeneous needs.
By establishing a mixed integer programming model, the location-path problem of self-pickup facilities and heterogeneous demand is decomposed into three sub-problems: location selection of self-pickup facilities, customer allocation and heterogeneous path planning, using greedy allocation rules and adaptive big neighbor Domain decomposition search algorithm, combined with roulette rules for optimization, iteratively obtains the optimal solution, and uses commercial solvers to verify feasibility.
It achieves efficient solution for self-pickup facility location selection and customer allocation, reduces operating costs, is suitable for urban logistics layouts of different scales and parameters, optimizes distribution routes, and improves the timeliness and flexibility of distribution.
Smart Images

Figure CN118710167A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of management science and technology, and in particular to a solution and device for the location-path problem of self-pickup facilities and heterogeneous demands. Background Art
[0002] In recent years, with the increase of more uncertain factors and the heterogeneity of customer needs, last-mile delivery has become a time-consuming and uncertain process. In addition, in the face of heterogeneous customer needs, the traditional unified delivery model has been unable to meet market demand. On the one hand, time-sensitive goods and functional goods have put forward higher requirements on the storage and access time window and delivery method of products; on the other hand, different customers have different requirements for delivery time, location, and method, which requires delivery companies to design more flexible and diversified delivery models.
[0003] In order to meet the above challenges, logistics companies such as JD.com and Cainiao have deployed more innovative self-pickup facilities, including pickup points and pickup lockers. Pickup points can store a variety of goods. Customers can choose to pick up goods at pickup points when accepting orders, but there is a certain pickup time window and high operating costs. Pickup lockers make up for the shortcoming of the tight pickup time window at pickup points and can meet the characteristics of the living habits of specific groups, but at the same time they limit the types of goods stored. Therefore, the location selection of each pickup facility, customer allocation, and how to plan vehicles for delivery to meet the heterogeneous needs of all customers have become key issues that need to be considered in urban logistics planning, namely the location-routing problem with pickup facilities and heterogeneous demand (LRP-PFHD). Therefore, studying the effective solution of LRP-PFHD has important theoretical and practical significance, but there is little such research in the existing technology. Summary of the invention
[0004] The present invention provides a solution and device for the location-path problem of self-pickup facilities and heterogeneous demands, which is used to effectively solve the LRP-PFHD. The technical solution is as follows:
[0005] On the one hand, a solution to the location-routing problem of self-pickup facilities and heterogeneous demand is provided, including:
[0006] S1. Analyze the characteristics of the location-routing problem LRP-PFHD for self-pickup facilities and heterogeneous demands, and establish a mixed integer programming model of the LRP-PFHD;
[0007] S2. Decomposing the LRP-PFHD into three sub-problems: a self-pickup facility location sub-problem, a customer allocation sub-problem, and a heterogeneous path planning sub-problem;
[0008] S3. Based on the greedy allocation rule, the initial solutions of the three sub-problems are respectively solved, and the three initial solutions constitute the initial solution of the LRP-PFHD;
[0009] S4. According to the sequential encoding and decoding method, various corresponding operators are set for each sub-problem. Based on the adaptive large neighborhood decomposition search algorithm framework, according to the scores of the sub-problem and the operator, according to the roulette rule, a sub-problem is selected for optimization, and the operator corresponding to the sub-problem is selected. The neighborhood transformation operation is performed on the current solution, and the optimal solution is iterated to obtain the optimal solution. During the iteration process, the current parameters and the current solution are input into the mixed integer programming model of the LRP-PFHD, and the feasibility of the current solution is verified by using a commercial solver. If it is not feasible, the operator is reselected to perform the neighborhood transformation operation on the current solution. If feasible, the next iteration is entered.
[0010] On the other hand, a device for solving the location-route problem of self-pickup facilities and heterogeneous demands is provided, comprising:
[0011] Establishing a module for analyzing the characteristics of the location-routing problem (LRP-PFHD) for self-pickup facilities with heterogeneous demands and establishing a mixed integer programming model for the LRP-PFHD;
[0012] A decomposition module, used for decomposing the LRP-PFHD into three sub-problems: a self-pickup facility location selection sub-problem, a customer allocation sub-problem, and a heterogeneous path planning sub-problem;
[0013] A solution module, used for solving the initial solutions of the three sub-problems respectively based on the greedy allocation rule, and the three initial solutions constitute the initial solution of the LRP-PFHD;
[0014] The iterative module is used to set various corresponding operators for each sub-problem according to the sequential encoding and decoding method, select a sub-problem for optimization according to the roulette rule based on the scores of the sub-problem and the operator based on the adaptive large neighborhood decomposition search algorithm framework, select the operator corresponding to the sub-problem, perform neighborhood transformation operation on the current solution, and iterate to obtain the optimal solution. During the iteration process, the current parameters and the current solution are input into the mixed integer programming model of the LRP-PFHD, and the feasibility of the current solution is verified by using a commercial solver. If it is not feasible, the operator is reselected to perform neighborhood transformation operation on the current solution. If it is feasible, the next iteration is entered.
[0015] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement a solution to the site selection-path problem of the above-mentioned self-pickup facilities and heterogeneous demands.
[0016] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement a solution to the site selection-path problem of the above-mentioned self-pickup facilities and heterogeneous demands.
[0017] Compared with the prior art, the above technical solution has at least the following beneficial effects:
[0018] The present invention proposes a solution and device for the site selection-path problem of self-pickup facilities and heterogeneous demands. By making reasonable decisions on the site selection of self-pickup facilities, customer allocation, and heterogeneous path planning, an efficient solution to the problem is achieved. This not only speeds up the problem-solving speed, but is also applicable to problems of different scales and different parameter settings and obtains high-quality and robust solutions. This helps to optimize the site selection-path layout plan in urban logistics decision-making to minimize operating costs and provide insights into the design and operation of urban logistics network layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A flow chart of a solution to the location-path problem of self-pickup facilities and heterogeneous demands provided by an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of the location-path problem LRP-PFHD for self-pickup facilities and heterogeneous demands provided in an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of a destruction operator for the self-pickup facility location sub-problem provided in an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of a repair operator for the self-pickup facility location sub-problem provided in an embodiment of the present invention;
[0024] Figure 5 A schematic diagram of a neighborhood transformation operator for a customer allocation subproblem provided by an embodiment of the present invention;
[0025] Figure 6 A schematic diagram of a destruction operator for a heterogeneous path planning sub-problem provided in an embodiment of the present invention;
[0026] Figure 7 A schematic diagram of a repair operator for a heterogeneous path planning sub-problem provided in an embodiment of the present invention;
[0027] Figure 8 A block diagram of a device for solving the location-path problem of self-pickup facilities and heterogeneous demands provided by an embodiment of the present invention;
[0028] Fig. 9 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] like Figure 1 As shown, an embodiment of the present invention provides a solution to the location-path problem of self-pickup facilities and heterogeneous demands, including:
[0031] S1. Analyze the characteristics of the location-routing problem LRP-PFHD for self-pickup facilities and heterogeneous demands, and establish a mixed integer programming model of the LRP-PFHD;
[0032] S2. Decomposing the LRP-PFHD into three sub-problems: a self-pickup facility location sub-problem, a customer allocation sub-problem, and a heterogeneous path planning sub-problem;
[0033] S3. Based on the greedy allocation rule, the initial solutions of the three sub-problems are respectively solved, and the three initial solutions constitute the initial solution of the LRP-PFHD;
[0034] S4. According to the sequential encoding and decoding method, various corresponding operators are set for each sub-problem. Based on the adaptive large neighborhood decomposition search algorithm framework, according to the scores of the sub-problem and the operator, according to the roulette rule, a sub-problem is selected for optimization, and the operator corresponding to the sub-problem is selected. The neighborhood transformation operation is performed on the current solution, and the optimal solution is iterated to obtain the optimal solution. During the iteration process, the current parameters and the current solution are input into the mixed integer programming model of the LRP-PFHD, and the feasibility of the current solution is verified by using a commercial solver. If it is not feasible, the operator is reselected to perform the neighborhood transformation operation on the current solution. If feasible, the next iteration is entered.
[0035] The location-path problem LRP-PFHD of the self-pickup facility and heterogeneous demand in the embodiment of the present invention is as follows Figure 2 As shown in the figure, there are three distribution methods working together. Goods can be placed at self-pickup facilities (self-pickup points or self-pickup cabinets) or directly delivered by small vehicles dispatched from the central warehouse. The goal is to meet the heterogeneous needs of all customers. Goods include two types: ordinary goods and special goods (such as fresh products, irregularly shaped objects, etc.). Ordinary goods can be placed at self-pickup points and self-pickup cabinets, while special goods can only be placed at self-pickup points. Ordinary vehicles departing from the central warehouse are responsible for delivering ordinary goods to self-pickup points and self-pickup cabinets; functional vehicles departing from the central warehouse are responsible for delivering special goods and can only go to self-pickup points. The optimization goal of the embodiment of the present invention is to minimize the total cost, which includes four parts: the fixed cost of opening a self-pickup facility, the cargo handling cost of the self-pickup facility, the fixed cost of the vehicle, and the path cost. By analyzing the characteristics of LRP-PFHD, the embodiment of the present invention first establishes a mixed integer programming model of LRP-PFHD, and then divides LRP-PFHD into three sub-problems: (1) self-pickup facility location selection sub-problem (2) customer allocation sub-problem (3) heterogeneous path planning sub-problem; then, based on the greedy allocation rule, the initial solutions of the three sub-problems are solved respectively as the initial solutions of LRP-PFHD; finally, according to According to the sequential encoding and decoding method, various corresponding operators are set for each sub-problem. Based on the adaptive large neighborhood decomposition search algorithm framework, according to the scores of the sub-problems and operators, according to the roulette rule, a sub-problem is selected for optimization, and the operator corresponding to the sub-problem is selected. The neighborhood transformation operation is performed on the current solution, and the optimal solution is iterated to obtain the optimal solution. In the iterative process, the current parameters and the current solution are input into the mixed integer programming model of the LRP-PFHD, and the feasibility of the current solution is verified by using a commercial solver. The following is a detailed description of a solution to the location-path problem of self-pickup facilities and heterogeneous demands in an embodiment of the present invention, including:
[0036] S1. Analyze the characteristics of the location-routing problem LRP-PFHD for self-pickup facilities and heterogeneous demands, and establish a mixed integer programming model of the LRP-PFHD;
[0037] Optionally, the mixed integer programming model of the LRP-PFHD is as follows:
[0038] Collections and Indexes:
[0039] {0}Warehouse
[0040] V l The collection of self-service lockers, where l∈{1,…,N l}
[0041] V pThe real node set of the self-pickup point, where p∈{1,2,…,N p}
[0042] A collection of virtual nodes at the pick-up point, including V c The set of customer nodes, where i∈{1,…,N cu}
[0043] K c Functional vehicle set, where k∈{1,…,N c}
[0044] K t A set of common vehicles, where k∈{1,…,N t}
[0045] K s A set of small vehicles, where k∈{1,…,N s}
[0046] G is a set of goods types, where g∈{0,1}
[0047] A edge set
[0048]
[0049] V 0 =V∪{0}
[0050] K=K c ∪K t ∪K s
[0051] parameter:
[0052] The transportation cost of vehicle k from point i to point j is Q vg Storage capacity of self-collection facility v for g types of goods r v The radiation range of the self-pickup facility v
[0053] d ij The distance between node i and node j
[0054] q ig Customer node i’s demand for g types of goods Fixed costs of opening a pick-up facility v k The fixed cost of using each vehicle k Car k has the capacity to load g types of goods
[0055] a vg Unit cost N for handling g types of goods at self-collection facility v c Number of functional vehicles
[0056] N t Number of ordinary vehicles
[0057] N s Number of small vehicles
[0058] N p Number of pick-up points
[0059] N cu Number of customer nodes
[0060] N l Number of self-collection cabinets
[0061] variable:
[0062] The amount of g types of cargo y that vehicle k leaves from point i and arrives at point j v Binary variable, value is 1 if the pick-up facility v is open
[0063] x ij k Binary variable, if car k passes arc (i,j), the value is 1
[0064] z iv Binary variable, value is 1 if customer node i is served by pick-up facility v Binary variable, value 1 if customer node i is delivered by small vehicle k Binary variables, if It is a virtual node of v, then the value is 1
[0065] Model:
[0066]
[0067]
[0068]
[0069] Among them, the objective function (1) represents the minimization of the total cost, which includes the fixed cost of setting up the self-pickup facility, the cargo handling cost of the self-pickup facility, the fixed cost of the vehicle, and the path cost; constraint (2) ensures that each customer node must be served; constraint (3) ensures that the customer node receiving the service of the self-pickup facility must be within the service radius of the self-pickup facility; constraint (4) ensures that the cargo stored in the self-pickup facility does not exceed the upper capacity limit of the corresponding type of cargo; constraints (5)-(10) are flow conservation constraints for the three types of vehicles; constraints (11)-(13) are vehicle quantity restrictions; constraints (14)-(15) limit the nodes that vehicles can pass through; constraints (16)-(19) limit The value range of ; constraints (20)-(23) are load constraints; constraints (24)-(28) define the variable y v With z iv The relationship between them; constraints (29)-(33) are 0-1 variable constraints.
[0070] S2. Decomposing the LRP-PFHD into three sub-problems: a self-pickup facility location sub-problem, a customer allocation sub-problem, and a heterogeneous path planning sub-problem;
[0071] That is, first decide on the location of potential self-pickup facilities (the embodiment of the present invention considers the situation that the locations of potential self-pickup facilities have been determined, and it is necessary to decide whether to open or close these potential self-pickup facilities), then decide how to allocate customer nodes to self-pickup at self-pickup points, self-pickup cabinets, and central warehouse distribution, and finally decide on the delivery routes for ordinary vehicles, functional vehicles, and small vehicles.
[0072] S3. Based on the greedy allocation rule, the initial solutions of the three sub-problems are respectively solved, and the three initial solutions constitute the initial solution of the LRP-PFHD;
[0073] The greedy allocation rule has the characteristic of no backwardness, selects the strategy that can make the solution better at present, considers local optimality but not global optimality, and can usually obtain a near-optimal solution. The embodiment of the present invention allocates in sequence according to the demand size, and each step realizes the optimal strategy, but cannot guarantee global optimality.
[0074] Optionally, in S3, initial solutions to the three sub-problems are respectively obtained based on a greedy allocation rule, specifically including:
[0075] First, traverse the current remaining customer allocation list RCL. The initial RCL is the set of all customer nodes. When the RCL is not empty, find the customer node with the largest demand in the RCL, and select the nearest self-pickup facility to open. If the opened node is the original node or virtual node of the self-pickup point, the corresponding virtual node or original node needs to be opened.
[0076] Since the pick-up point can store both ordinary goods and special goods and can be passed by both ordinary vehicles and functional vehicles at the same time, the embodiment of the present invention sets a corresponding virtual node for the original node of the pick-up point so that the same node can be visited twice.
[0077] Afterwards, when the number of customer nodes served by the self-pickup facility does not reach the minimum value of the self-pickup facility capacity limit and the vehicle capacity limit, the set of feasible customer nodes that are within the service radius of the self-pickup facility and that do not exceed the capacity limit after allocating customer nodes to the self-pickup facility will be allocated to the self-pickup facility in order of total demand;
[0078] When the customer nodes served by this self-service facility reach the upper limit of capacity, and when the remaining RCL is not empty, find the customer node with the largest demand in the remaining RCL, and select the self-service facility closest to it to open, and repeat the above steps;
[0079] If all pick-up facilities are open and cannot accommodate any customer node, and the remaining RCL is not empty, then all remaining customer nodes are assigned to the central warehouse;
[0080] Afterwards, heterogeneous vehicle routes are generated, including:
[0081] For self-pickup facilities, traverse the remaining self-pickup facility list RPL that has not been passed. The initial RPL is the set of all currently open self-pickup facility nodes. When RPL is not empty, calculate the total amount of goods served by the customer nodes of the remaining self-pickup facilities that have not been passed, and allocate them to the vehicles with sufficient capacity in the order of numbers; if the current vehicle does not have enough remaining capacity to pass any self-pickup facility, allocate the self-pickup facility that has not been passed to the next idle vehicle;
[0082] For a customer node, if it has two demands at the same time, it is regarded as two customer nodes in the same geographical location. The two customer nodes only have one demand respectively. The current remaining customer node list UCL that has not been passed is traversed. The initial UCL is the set of all the remaining customer nodes that have not been passed. When UCL is not empty, it is allocated to the small vehicles with sufficient capacity in the current order of numbers. If the currently allocated vehicle does not have enough remaining capacity to pass any customer node, the customer node that has not been passed will be allocated to the next idle small vehicle, thereby generating heterogeneous vehicle paths.
[0083] S4. According to the sequential encoding and decoding method, various corresponding operators are set for each sub-problem. Based on the adaptive large neighborhood decomposition search algorithm framework, according to the scores of the sub-problem and the operator, according to the roulette rule, a sub-problem is selected for optimization, and the operator corresponding to the sub-problem is selected. The neighborhood transformation operation is performed on the current solution, and the optimal solution is iterated to obtain the optimal solution. During the iteration process, the current parameters and the current solution are input into the mixed integer programming model of the LRP-PFHD, and the feasibility of the current solution is verified by using a commercial solver. If it is not feasible, the operator is reselected to perform the neighborhood transformation operation on the current solution. If feasible, the next iteration is entered.
[0084] Optionally, the sequential encoding and decoding in S4 specifically includes:
[0085] Use sequential coding to perform encoding and decoding operations. For the self-pickup facility location subproblem:
[0086] 1 indicates that a pick-up facility is open, and 0 indicates that the pick-up facility is closed;
[0087] For the customer allocation subproblem:
[0088] A customer allocation dictionary CD is set to indicate the current customer allocation. The dictionary key indicates the serial number of the central warehouse, the self-pickup point, and the self-pickup cabinet. If it is a self-pickup facility, including the self-pickup point and the self-pickup cabinet, the first element of the dictionary value indicates whether the current self-pickup facility is open. If it is 1, it means open, and 0 means closed. If it is a central warehouse, the first element of the dictionary value must be 1, and the remaining elements indicate the serial number of the customer assigned to the current self-pickup facility or central warehouse service; in particular, for customer nodes served by the central warehouse, small vehicle delivery is used for service; and for customer nodes served by the self-pickup point original node, the self-pickup point virtual node, and the self-pickup cabinet, the customer self-pickup method is used for distribution, regardless of the vehicle path taken from the self-pickup point and the self-pickup cabinet to the customer point;
[0089] For the heterogeneous path planning subproblem:
[0090] Set the path planning dictionary RD to represent the current path arrangement. The key of the dictionary represents the vehicle number, and the value corresponding to each key is a list of routes, which must start from the central warehouse {0} and eventually arrive at the central warehouse {0}.
[0091] Optionally, various operators corresponding to each sub-problem are set in S4, specifically including:
[0092] The first layer sets various operators for the self-pickup facility location subproblem, including three destruction operators: random facility removal operator, greedy facility removal operator, and minimum utilization rate facility removal operator, and three repair operators: random facility repair operator, greedy facility repair operator, and greedy facility prohibition repair operator.
[0093] The facility random removal operator randomly selects an open self-pickup facility to close. If the self-pickup facility selected to be closed is the original node or virtual node of the self-pickup point, the corresponding virtual node and original node are closed. Figure 3As shown in (a), after closing the second self-pickup cabinet, the first element of the corresponding list is set to 0, and the three customer nodes 13, 11, and 1 originally served by the self-pickup cabinet are removed and placed in the removed customer list; the facility greedy removal operator selects the facility with the smallest cargo capacity among all currently open self-pickup facilities to close, and performs the same operation on the original node and virtual node of the self-pickup point, as shown in Figure 3 As shown in (b), the second self-pickup cabinet with the smallest cargo capacity among all currently open self-pickup facilities is selected for closing, the first element of the corresponding list is set to 0, and the three customer nodes 13, 11, and 1 originally served by the self-pickup cabinet are removed and placed in the removed customer list; the facility minimum utilization rate removal operator calculates the space utilization efficiency of all open self-pickup facilities, selects the facility with the lowest utilization efficiency for removal, and calculates the utilization rate of the original node and the virtual node for the utilization rate of the self-pickup point at the same time, as shown in FIG. Figure 3 As shown in (c), the facility with the lowest space utilization efficiency among all open self-pickup facilities is selected for removal, the first element of the corresponding list is set to 0, and the three customer nodes 13, 11, and 1 originally served by the self-pickup cabinet are removed and placed in the removed customer list; the facility random repair operator randomly selects a closed self-pickup facility to open, and, if the service radius and self-pickup facility capacity restrictions are met, the customer nodes in the removed customer list are placed in the list corresponding to this self-pickup facility. If there are still remaining customer nodes, the customer nodes not assigned to the self-pickup facility are assigned to the self-pickup facility that meets the service radius and self-pickup facility capacity restrictions, as shown in FIG. Figure 4 As shown in (a), the second self-service locker is randomly selected for opening, the first element of the corresponding list is set to 1, and the three customer nodes 13, 11, and 1 in the removed customer list are placed in the list corresponding to the second self-service locker; the facility greedy repair operator selects the facility with the lowest opening cost among the currently closed self-service facilities for opening, and performs the same operation as the facility random repair operator on the customer nodes in the removed customer list, as shown in Figure 4 As shown in (b), the second self-service locker is selected for opening according to the principle of minimum opening cost, the first element of the corresponding list is set to 1, and the three customer nodes 13, 11, and 1 in the removed customer list are placed in the list corresponding to the second self-service locker; the facility greedy prohibition repair operator performs similar operations to the facility greedy repair operator, but if the solution obtained is the same as the result before destruction, the facility with the second lowest opening cost among the currently closed self-service facilities will be selected for opening, such as Figure 4As shown in (c), the second self-service locker is selected for opening according to the principle of lowest opening cost. However, since it is the same as the solution before destruction, the third self-service locker with the second lowest opening cost is selected for opening, and the first element of its corresponding list is set to 1. The three customer nodes 13, 11, and 1 in the removed customer list are placed in the list corresponding to the third self-service locker.
[0094] The second layer sets various operators for the customer allocation subproblem, including two neighborhood transformation operators: random exchange operator and random insertion operator;
[0095] The random exchange operator selects two random customers from the central warehouse and the currently open self-pickup facility services to exchange, provided that the self-pickup facility and total vehicle capacity constraints are met. Figure 5 As shown in (a), when the constraints of facilities and total vehicle capacity are met, customer node 12 is selected to be exchanged with customer node 7; the random insertion operator randomly selects a customer currently served by the central warehouse or self-pickup facility, and when the constraints of self-pickup facilities and total vehicle capacity are met, a self-pickup facility or central warehouse that meets the conditions is randomly selected for insertion. This customer is served by the new self-pickup facility or central warehouse, as shown in Figure 5 As shown in (b), under the condition that the facility and total vehicle capacity constraints are met, customer node 7 originally served by the first self-service cabinet is selected and inserted into the service list of the third self-service cabinet;
[0096] The third layer sets various operators for heterogeneous path planning subproblems, including three destruction operators: path random removal operator, worst path removal operator, and path relevance removal operator, as well as three repair operators: path greedy repair operator, path random repair operator, and path minimum regret value repair operator.
[0097] The path random removal operator randomly removes q customer points in the current vehicle path for small vehicle paths, or removes the self-pickup facility nodes for ordinary vehicles and functional vehicles, and puts them in the removed customer list, such as Figure 6 As shown in (a), the three customer nodes 5, 11, and 9 in the original path planning dictionary are randomly removed and placed in the removed customer list; the worst path removal operator selects a path with the highest path cost among all current paths, removes all customer nodes or self-pickup facility nodes in it, and places them in the removed customer list, as shown in Figure 6As shown in (b), path 1 with the highest path cost among all current paths is selected, and the four customer nodes 2, 4, 7, and 6 of path 1 in the original path planning dictionary are removed and placed in the removed customer list; the path relevance removal operator randomly selects a customer node or a self-pickup facility node to remove, and selects the other q-1 customer nodes or self-pickup facility nodes closest to it to remove, and places them in the removed customer list, as shown in Figure 6 As shown in (c), firstly, customer node 5 in the original path planning dictionary is randomly removed, then two customer nodes 10 and 14 closest to customer node 5 are selected, and the three customer nodes 5, 10, and 14 are placed in the removed customer list; the path greedy repair operator traverses the nodes in the removed customer list, and inserts the remaining nodes into the corresponding type of vehicle path in sequence according to the position with the minimum insertion cost while satisfying the vehicle capacity constraint, as shown in Figure 7 As shown in (a), customer points 5, 11, and 9 in the removed customer list are inserted into the positions with the lowest cost respectively; the path random repair operator randomly inserts all nodes in the current removed customer list into the vehicle path of the corresponding type, as shown in Figure 7 As shown in (b), customer points 2, 12, and 8 in the removed customer list are inserted into random positions respectively; the path minimum regret value repair operator traverses the removed customer list and selects the position with the minimum regret value for insertion. The position with the minimum regret value is the position where the cost difference between the optimal insertion position and the current position is the smallest, as shown in Figure 7 As shown in (c), customer points 5, 11, and 9 in the removed customer list are inserted into the positions corresponding to the minimum regret values in sequence.
[0098] Optionally, in S4, based on the adaptive large neighborhood decomposition search algorithm framework, according to the scores of the subproblems and operators, according to the roulette rule, a subproblem is selected for optimization, and an operator corresponding to the subproblem is selected, and a neighborhood transformation operation is performed on the current solution, and the optimal solution is iteratively obtained, which specifically includes:
[0099] Step 1: Initialize the number of iterations and initial temperature, input algorithm parameters, initialize the scores of each sub-problem, and the operator scores of each sub-problem;
[0100] Step 2: For the initial solution of the LRP-PFHD generated above, calculate the objective function value, and assign the initial solution to the current solution N(c) and the global optimal solution N(b);
[0101] Step 3: According to the scores of the sub-problems, a sub-problem is selected for optimization according to the roulette rule. For the self-pickup facility location sub-problem and the heterogeneous path planning sub-problem, the destruction operator and the repair operator are selected according to the scores of the operators according to the roulette rule. For the customer allocation sub-problem, the neighborhood transformation operator is selected according to the scores of the operators according to the roulette rule.
[0102] Step 4: If the problem selected in the previous step is the self-pickup facility location subproblem, the greedy allocation rule is used to further generate solutions to the customer allocation subproblem and the heterogeneous path planning subproblem; if the problem selected in the previous step is the customer allocation subproblem, the greedy allocation rule is used to further generate solutions to the heterogeneous path planning subproblem; if the problem selected in the previous step is the heterogeneous path planning subproblem, no operation is performed, and the new solution N(t) of the LRP-PFHD is obtained. The commercial solver is used to verify whether the new solution N(t) is feasible. If the new solution N(t) is feasible, the objective function value of the current solution is calculated according to formula (1); if the new solution N(t) is not feasible, return to Step 3 and reselect the corresponding operator according to the currently selected subproblem for operation;
[0103] Step 5: According to the objective function value, judge the quality of the new solution compared with the current solution and the global optimal solution: If the objective function value of the new solution N(t) is smaller than the objective function value of the current solution N(c), the value of the new solution will be assigned to the current solution. In addition, a random number rd∈[0,1] is generated and compared with the acceptance probability P at the current iteration number. c By comparison, the Metropolis criterion of the simulated annealing algorithm accepts inferior solutions to a certain extent, when the generated rd≤P c When N(c)<N(t), the worse new solution N(t) is assigned to the current solution N(c), as shown in the following formula:
[0104]
[0105] Wherein, T represents the current temperature;
[0106] If the objective function value of the current solution N(c) is less than the objective function value of the global optimal solution N(b), the current solution is assigned to the global optimal solution;
[0107] Update the scores of subproblems and operators;
[0108] Step 6: Cool down the system according to the updated score until the temperature reaches the set threshold and then perform the next iteration. When the maximum number of iterations is reached, terminate the algorithm.
[0109] The cooling operation according to the update score includes: according to T τ =ηT τ-1Perform a cooling operation, where η∈[0,1] is the cooling rate, defined by the following formula:
[0110]
[0111] Among them, τ max represents the maximum number of iterations, P i It represents the sum of the scores of the operators or sub-problems used in this iteration in the previous iteration. f It represents the sum of the scores of the operators or sub-problems used in this iteration after this iteration.
[0112] Optionally, the updating subproblem and the score of each operator specifically includes:
[0113] Dynamically and adaptively adjust the scores of subproblems and operators according to the quality of the new current solution;
[0114] Here, the score of each operator is defined as ψ o , initialized to 1, the weight of each operator is defined as ρ o , initialized to 1;
[0115] In each iteration, the score of the operator used is updated according to the quality of the new current solution using the following formula:
[0116]
[0117] Among them, 1≥2≥3≥4;
[0118] Update the weight of the corresponding operator according to the operator's score to ensure that the operator with a higher weight is more likely to be selected in the next iteration. In each iteration, the following formula is used to calculate the weight of each operator:
[0119] ρ o =λρ o +(1-λ)ψ o
[0120] Among them, λ∈[0,1] represents the response factor;
[0121] In each iteration, the roulette wheel rule is used to determine the operator used in the neighborhood transformation process. The roulette wheel rule is: in a certain iteration, the weights of the three destruction operators corresponding to a subproblem are ρ1, ρ2 and ρ3 respectively, then the probability of the first destruction operator being selected is:
[0122]
[0123] The same rules are used to select the remaining destruction operators, repair operators, and neighborhood transformation operators.
[0124] The same strategy is used to update the scores of sub-questions to ensure that sub-questions with larger scores have higher selection probabilities.
[0125] This method of dynamically and adaptively adjusting the scores of operators and subproblems according to the quality of the new solution can further accelerate the convergence of the algorithm and improve the quality of the solution.
[0126] like Figure 8 As shown, the embodiment of the present invention also provides a device for solving the location-path problem of self-pickup facilities and heterogeneous demands, including:
[0127] Establishing a module 810 for analyzing the characteristics of the location-routing problem LRP-PFHD for self-pickup facilities and heterogeneous demands, and establishing a mixed integer programming model of the LRP-PFHD;
[0128] A decomposition module 820, for decomposing the LRP-PFHD into three sub-problems: a self-pickup facility location sub-problem, a customer allocation sub-problem, and a heterogeneous path planning sub-problem;
[0129] A solution module 830, configured to solve the initial solutions of the three sub-problems respectively based on a greedy allocation rule, and the three initial solutions constitute an initial solution of the LRP-PFHD;
[0130] The iteration module 840 is used to set various corresponding operators for each sub-problem according to the sequential encoding and decoding method, select a sub-problem for optimization according to the roulette rule based on the scores of the sub-problem and the operator based on the adaptive large neighborhood decomposition search algorithm framework, and select the operator corresponding to the sub-problem, perform a neighborhood transformation operation on the current solution, and iterate to obtain the optimal solution. During the iteration process, the current parameters and the current solution are input into the mixed integer programming model of the LRP-PFHD, and the feasibility of the current solution is verified by using a commercial solver. If it is not feasible, the operator is reselected to perform a neighborhood transformation operation on the current solution. If it is feasible, the next iteration is entered.
[0131] An embodiment of the present invention provides a device for solving the site selection-path problem of a self-pickup facility and heterogeneous demands. Its functional structure corresponds to a solution to the site selection-path problem of a self-pickup facility and heterogeneous demands provided by an embodiment of the present invention, and will not be repeated here.
[0132] Fig. 9It is a structural diagram of an electronic device 900 provided in an embodiment of the present invention. The electronic device 900 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 901 and one or more memories 902, wherein the memory 902 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 901 to implement the steps of the solution to the site selection-path problem of the above-mentioned self-pickup facilities and heterogeneous demands.
[0133] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, which can be executed by a processor in a terminal to complete the above-mentioned solution to the location-path problem of self-pickup facilities and heterogeneous demand. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0134] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0135] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A solution to the location-routing problem of self-pickup facilities and heterogeneous demand, It is characterized in that include: S1. Analyze the characteristics of the location-routing problem LRP-PFHD for self-pickup facilities and heterogeneous demands, and establish a mixed integer programming model of the LRP-PFHD; S2. Decomposing the LRP-PFHD into three sub-problems: a self-pickup facility location sub-problem, a customer allocation sub-problem, and a heterogeneous path planning sub-problem; S3. Based on the greedy allocation rule, the initial solutions of the three sub-problems are respectively solved, and the three initial solutions constitute the initial solution of the LRP-PFHD; S4. According to the sequential encoding and decoding method, various corresponding operators are set for each sub-problem. Based on the adaptive large neighborhood decomposition search algorithm framework, according to the scores of the sub-problem and the operator, according to the roulette rule, a sub-problem is selected for optimization, and the operator corresponding to the sub-problem is selected. The neighborhood transformation operation is performed on the current solution, and the optimal solution is iterated to obtain the optimal solution. During the iteration process, the current parameters and the current solution are input into the mixed integer programming model of the LRP-PFHD, and the feasibility of the current solution is verified by using a commercial solver. If it is not feasible, the operator is reselected to perform the neighborhood transformation operation on the current solution. If feasible, the next iteration is entered.
2. The method according to claim 1, It is characterized in that The mixed integer programming model of LRP-PFHD is as follows: Collections and Indexes: {0}Warehouse V l The collection of self-service lockers, where l∈{1,…,N l } V p The real node set of the self-pickup point, where p∈{1,2,…,N p } V p The virtual node set of self-pickup point, where p∈{N p +1,N p +2,…,2N p } V c The set of customer nodes, where i∈{1,…,N cu } K c Functional vehicle set, where k∈{1,…,N c } K t A set of common vehicles, where k∈{1,…,N t } K s A set of small vehicles, where k∈{1,…,N s } G is a set of goods types, where g∈{0,1} A edge set In 0 =V∪{0} K=K c ∪K t ∪K s parameter: The transportation cost of vehicle k from point i to point j is Q vg Storage capacity of self-collection facility v for g types of goods r v The radiation range of the self-pickup facility v d ij The distance between node i and node j q ig Customer node i’s demand for g types of goods Fixed costs of opening a pick-up facility v k The fixed cost of using each vehicle k Vehicle k has a loading capacity of g types of cargo vg Unit cost N for handling g types of goods at self-collection facility v c Number of functional vehicles N t Number of ordinary vehicles N s Number of small vehicles N p Number of pick-up points N cu Number of customer nodes N l Number of self-collection cabinets variable: The amount of g types of cargo y that vehicle k leaves from point i and arrives at point j v Binary variable, value is 1 if the pick-up facility v is open Binary variable, if car k passes arc (i,j), then the value is 1z iv Binary variable, value is 1 if customer node i is served by pick-up facility v Binary variable, value 1 if customer node i is delivered by small vehicle k Binary variables, if It is a virtual node of v, then the value is 1 Model: Among them, the objective function (1) represents the minimization of the total cost, which includes the fixed cost of setting up the self-pickup facility, the cargo handling cost of the self-pickup facility, the fixed cost of the vehicle, and the path cost; constraint (2) ensures that each customer node must be served; constraint (3) ensures that the customer node receiving the service of the self-pickup facility must be within the service radius of the self-pickup facility; constraint (4) ensures that the cargo stored in the self-pickup facility does not exceed the upper capacity limit of the corresponding type of cargo; constraints (5)-(10) are flow conservation constraints for the three types of vehicles; constraints (11)-(13) are vehicle quantity restrictions; constraints (14)-(15) limit the nodes that vehicles can pass through; constraints (16)-(19) limit The value range of ; constraints (20)-(23) are load constraints; constraints (24)-(28) define the variable y v With z iv The relationship between them; constraints (29)-(33) are 0-1 variable constraints.
3. The method according to claim 1, It is characterized in that In S3, based on the greedy allocation rule, initial solutions to the three sub-problems are respectively obtained, specifically including: First, traverse the current remaining customer allocation list RCL. The initial RCL is the set of all customer nodes. When the RCL is not empty, find the customer node with the largest demand in the RCL, and select the nearest self-pickup facility to open. If the opened node is the original node or virtual node of the self-pickup point, the corresponding virtual node or original node needs to be opened. Afterwards, when the number of customer nodes served by the self-pickup facility does not reach the minimum value of the self-pickup facility capacity limit and the vehicle capacity limit, the set of feasible customer nodes that are within the service radius of the self-pickup facility and that do not exceed the capacity limit after allocating customer nodes to the self-pickup facility will be allocated to the self-pickup facility in order of total demand; When the customer nodes served by this self-service facility reach the upper limit of capacity, and when the remaining RCL is not empty, find the customer node with the largest demand in the remaining RCL, and select the self-service facility closest to it to open, and repeat the above steps; If all pick-up facilities are open and cannot accommodate any customer node, and the remaining RCL is not empty, then all remaining customer nodes are assigned to the central warehouse; Afterwards, heterogeneous vehicle routes are generated, including: For self-pickup facilities, traverse the remaining self-pickup facility list RPL that has not been passed. The initial RPL is the set of all currently open self-pickup facility nodes. When RPL is not empty, calculate the total amount of goods served by the customer nodes of the remaining self-pickup facilities that have not been passed, and allocate them to the vehicles with sufficient capacity in the order of numbers; if the current vehicle does not have enough remaining capacity to pass any self-pickup facility, allocate the self-pickup facility that has not been passed to the next idle vehicle; For a customer node, if it has two demands at the same time, it is regarded as two customer nodes in the same geographical location. The two customer nodes only have one demand respectively. The current remaining customer node list UCL that has not been passed is traversed. The initial UCL is the set of all the remaining customer nodes that have not been passed. When UCL is not empty, it is allocated to the small vehicles with sufficient capacity in the current order of numbers. If the currently allocated vehicle does not have enough remaining capacity to pass any customer node, the customer node that has not been passed will be allocated to the next idle small vehicle, thereby generating heterogeneous vehicle paths.
4. The method according to claim 1, It is characterized in that The sequential encoding and decoding in S4 specifically includes: Use sequential coding to perform encoding and decoding operations. For the self-pickup facility location subproblem: 1 indicates that a pick-up facility is open, and 0 indicates that the pick-up facility is closed; For the customer allocation subproblem: A customer allocation dictionary CD is set to indicate the current customer allocation. The dictionary key indicates the serial number of the central warehouse, the self-pickup point, and the self-pickup cabinet. If it is a self-pickup facility, including the self-pickup point and the self-pickup cabinet, the first element of the dictionary value indicates whether the current self-pickup facility is open. If it is 1, it means open, and 0 means closed. If it is a central warehouse, the first element of the dictionary value must be 1, and the remaining elements indicate the serial number of the customer assigned to the current self-pickup facility or central warehouse service; in particular, for customer nodes served by the central warehouse, small vehicle delivery is used for service; and for customer nodes served by the self-pickup point original node, the self-pickup point virtual node, and the self-pickup cabinet, the customer self-pickup method is used for distribution, regardless of the vehicle path taken from the self-pickup point and the self-pickup cabinet to the customer point; For the heterogeneous path planning subproblem: Set the path planning dictionary RD to represent the current path arrangement. The key of the dictionary represents the vehicle number, and the value corresponding to each key is a list of routes, which must start from the central warehouse {0} and eventually arrive at the central warehouse {0}.
5. The method according to claim 1, It is characterized in that In S4, various operators are set corresponding to each sub-problem, including: The first layer sets various operators for the self-pickup facility location subproblem, including three destruction operators: random facility removal operator, greedy facility removal operator, and minimum utilization rate facility removal operator, and three repair operators: random facility repair operator, greedy facility repair operator, and greedy facility prohibition repair operator. Among them, the facility random removal operator randomly selects an open self-pickup facility to close. If the self-pickup facility selected for closure is the original node or virtual node of the self-pickup point, the corresponding virtual node and original node are closed; the facility greedy removal operator selects a facility with the smallest cargo capacity among all currently open self-pickup facilities to close, and performs the same operation on the original node and virtual node of the self-pickup point; the facility minimum utilization rate removal operator calculates the space utilization efficiency of all open self-pickup facilities, selects the facility with the lowest utilization efficiency to remove, and calculates the utilization rate of the original node and virtual node of the self-pickup point at the same time; the facility random repair operator randomly selects a closed self-pickup facility to repair The customer nodes in the removed customer list are opened, and if the service radius and the capacity limit of the self-pickup facility are met, the customer nodes in the removed customer list are placed in the list corresponding to the self-pickup facility. If there are still remaining customer nodes, the customer nodes not assigned to the self-pickup facility are assigned to the self-pickup facility that meets the service radius and the capacity limit of the self-pickup facility; the facility greedy repair operator selects the facility with the lowest opening cost among the currently closed self-pickup facilities for opening, and performs the same operation as the facility random repair operator on the customer nodes in the removed customer list; the facility greedy prohibited repair operator performs similar operations as the facility greedy repair operator, but if the solution obtained is the same as the result before destruction, the facility with the second lowest opening cost among the currently closed self-pickup facilities will be selected for opening; The second layer sets various operators for the customer allocation subproblem, including two neighborhood transformation operators: random exchange operator and random insertion operator; The random exchange operator selects two random customers from the customers served by the central warehouse and the currently open self-pickup facility for exchange, provided that the constraints of the self-pickup facility and the total vehicle capacity are met; the random insertion operator randomly selects a customer currently served by the central warehouse or the self-pickup facility, and, provided that the constraints of the self-pickup facility and the total vehicle capacity are met, randomly selects a self-pickup facility or central warehouse that meets the conditions for insertion, and the customer is served by the new self-pickup facility or central warehouse; The third layer sets various operators for heterogeneous path planning subproblems, including three destruction operators: path random removal operator, worst path removal operator, and path relevance removal operator, as well as three repair operators: path greedy repair operator, path random repair operator, and path minimum regret value repair operator. Among them, the path random removal operator randomly removes q customer points in the current vehicle path for small vehicle paths, or removes the self-pickup facility nodes for ordinary vehicles and functional vehicles, and puts them in the removed customer list; the worst path removal operator selects a path with the highest path cost among all current paths, removes all customer nodes or self-pickup facility nodes in it, and puts them in the removed customer list; the path relevance removal operator randomly selects a customer node or self-pickup facility node to remove, and selects the other q-1 customer points or self-pickup facility nodes that are closest to it. The nodes are removed and placed in the removed customer list; the path greedy repair operator traverses the nodes in the removed customer list, and inserts the remaining nodes into the corresponding type of vehicle path in sequence according to the position with the minimum insertion cost while satisfying the vehicle capacity constraint; the path random repair operator randomly inserts all the nodes in the current removed customer list into the corresponding type of vehicle path; the path minimum regret value repair operator traverses the removed customer list and selects the position with the minimum regret value for insertion, and the position with the minimum regret value is the position with the minimum cost difference between the optimal insertion position and the current position.
6. The method according to claim 1, It is characterized in that In the S4, based on the adaptive large neighborhood decomposition search algorithm framework, according to the scores of the subproblems and operators, according to the roulette rule, a subproblem is selected for optimization, and the operator corresponding to the subproblem is selected, and the neighborhood transformation operation is performed on the current solution to iteratively obtain the optimal solution, which specifically includes: Step 1: Initialize the number of iterations and initial temperature, input algorithm parameters, initialize the scores of each sub-problem, and the operator scores of each sub-problem; Step 2: For the initial solution of the LRP-PFHD generated above, calculate the objective function value, and assign the initial solution to the current solution N(c) and the global optimal solution N(b); Step 3: According to the scores of the sub-problems, a sub-problem is selected for optimization according to the roulette rule. For the self-pickup facility location sub-problem and the heterogeneous path planning sub-problem, the destruction operator and the repair operator are selected according to the scores of the operators according to the roulette rule. For the customer allocation sub-problem, the neighborhood transformation operator is selected according to the scores of the operators according to the roulette rule. Step 4: If the problem selected in the previous step is the self-pickup facility location subproblem, the greedy allocation rule is used to further generate solutions to the customer allocation subproblem and the heterogeneous path planning subproblem; if the problem selected in the previous step is the customer allocation subproblem, the greedy allocation rule is used to further generate solutions to the heterogeneous path planning subproblem; if the problem selected in the previous step is the heterogeneous path planning subproblem, no operation is performed, and the new solution N(t) of the LRP-PFHD is obtained. The commercial solver is used to verify whether the new solution N(t) is feasible. If the new solution N(t) is feasible, the objective function value of the current solution is calculated according to formula (1); if the new solution N(t) is not feasible, return to Step 3 and reselect the corresponding operator according to the currently selected subproblem for operation; Step 5: According to the objective function value, judge the quality of the new solution compared with the current solution and the global optimal solution: If the objective function value of the new solution N(t) is smaller than the objective function value of the current solution N(c), the value of the new solution will be assigned to the current solution. In addition, a random number rd∈[0,1] is generated and compared with the acceptance probability P at the current iteration number. c By comparison, the Metropolis criterion of the simulated annealing algorithm accepts inferior solutions to a certain extent, when the generated rd≤P c When N(c)<N(t), the worse new solution N(t) is assigned to the current solution N(c), as shown in the following formula: Wherein, T represents the current temperature; If the objective function value of the current solution N(c) is less than the objective function value of the global optimal solution N(b), the current solution is assigned to the global optimal solution; Update the scores of subproblems and operators; Step 6: Cool down the system according to the updated score until the temperature reaches the set threshold and then perform the next iteration. When the maximum number of iterations is reached, terminate the algorithm. The cooling operation according to the update score includes: according to T τ =ηT τ-1 Perform a cooling operation, where η∈[0,1] is the cooling rate, defined by the following formula: Among them, τ max represents the maximum number of iterations, P i It represents the sum of the scores of the operators or sub-problems used in this iteration in the previous iteration. f It represents the sum of the scores of the operators or sub-problems used in this iteration after this iteration.
7. The method according to claim 6, It is characterized in that The updating subproblem and the score of each operator specifically include: Dynamically and adaptively adjust the scores of subproblems and operators according to the quality of the new current solution; Here, the score of each operator is defined as ψ o , initialized to 1, the weight of each operator is defined as ρ o , initialized to 1; In each iteration, the score of the operator used is updated according to the quality of the new current solution using the following formula: in, 1 ≥ 2 ≥ 3 ≥ 4 ; Update the weight of the corresponding operator according to the operator's score to ensure that the operator with a higher weight is more likely to be selected in the next iteration. In each iteration, the following formula is used to calculate the weight of each operator: r o =lr o +(1-λ)ψ o Among them, λ∈[0,1] represents the response factor; In each iteration, the roulette wheel rule is used to determine the operator used in the neighborhood transformation process. The roulette wheel rule is: in a certain iteration, the weights of the three destruction operators corresponding to a subproblem are ρ 1 , ρ 2 and ρ 3 , then the probability of the first destruction operator being selected is: The same strategy is used to update the scores of sub-questions to ensure that sub-questions with larger scores have higher selection probabilities.
8. A device for solving the location-path problem of self-pickup facilities and heterogeneous demands, It is characterized in that include: Establishing a module for analyzing the characteristics of the location-routing problem (LRP-PFHD) for self-pickup facilities with heterogeneous demands and establishing a mixed integer programming model for the LRP-PFHD; A decomposition module, used for decomposing the LRP-PFHD into three sub-problems: a self-pickup facility location selection sub-problem, a customer allocation sub-problem, and a heterogeneous path planning sub-problem; A solution module, used for solving the initial solutions of the three sub-problems respectively based on the greedy allocation rule, and the three initial solutions constitute the initial solution of the LRP-PFHD; The iterative module is used to set various corresponding operators for each sub-problem according to the sequential encoding and decoding method, select a sub-problem for optimization according to the roulette rule based on the scores of the sub-problem and the operator based on the adaptive large neighborhood decomposition search algorithm framework, select the operator corresponding to the sub-problem, perform neighborhood transformation operation on the current solution, and iterate to obtain the optimal solution. During the iteration process, the current parameters and the current solution are input into the mixed integer programming model of the LRP-PFHD, and the feasibility of the current solution is verified by using a commercial solver. If it is not feasible, the operator is reselected to perform neighborhood transformation operation on the current solution. If it is feasible, the next iteration is entered.
9. An electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction. It is characterized in that The at least one instruction is loaded and executed by the processor to implement a solution to the site selection-routing problem of self-pickup facilities and heterogeneous demands as described in any one of claims 1-7.
10. A computer-readable storage medium, wherein at least one instruction is stored in the storage medium. It is characterized in that The at least one instruction is loaded and executed by the processor to implement a solution to the site selection-routing problem of self-pickup facilities and heterogeneous demands as described in any one of claims 1-7.
Citation Information
Cited By
Unmanned delivery method based on heterogeneous facility joint delivery
CN120146744A
