Product-based warehouse network optimization method, device, computer equipment and storage medium
By splitting and disturbing update orders, the warehouse network structure is rebuilt, which solves the problem of low executability of warehouse network solutions caused by ignoring category differences in traditional methods, and achieves more efficient warehouse network optimization.
Patent Information
- Application Number
- CN202010298226.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-04-16
AI Technical Summary
Traditional warehouse network optimization methods ignore the demand differences of different categories in orders, resulting in reduced executability of the final output warehouse network plan.
By obtaining the constraints of the transportation order and the candidate warehouse, the initial warehouse network structure is constructed, and the order is split into sub-orders of a single category, the hierarchical status of the candidate warehouse is updated by disturbance, the warehouse network structure of the sub-orders is rebuilt, and the initial and The updated structure is quality assessed to determine the optimal warehouse network structure.
It fully considers the product category requirements and warehouse service capabilities of transportation orders, improves the executability of the warehouse network structure, and reduces the search space by matching categories and needs, accelerating construction speed and improving efficiency.
Smart Images

Figure CN113537665B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of logistics technology, and in particular to a product-based warehouse network optimization method, device, computer equipment and storage medium. Background Art
[0002] With the rapid development of e-commerce and logistics technology, warehouse operations are gradually becoming digitalized. For example, warehouse management systems are gradually being developed to automatically manage orders and use corresponding digital auxiliary equipment to automatically complete picking operations. Before picking orders for an order, it is usually necessary to determine the supply chain network of the order. The supply chain network of the order is determined by building a suitable warehouse network structure for the order. Traditionally, orders are usually treated as a unified category to build the optimal warehouse network structure for the order.
[0003] However, the traditional approach of treating orders as a unified category ignores the differences in demand for different categories in orders, resulting in reduced feasibility of the final warehouse network solution. Summary of the invention
[0004] Based on this, it is necessary to provide a product category-based warehouse network optimization method, device, computer equipment and storage medium that can improve executability in response to the above technical problems.
[0005] A warehouse network optimization method based on product categories, the method comprising:
[0006] Obtain transportation orders and corresponding candidate warehouses, warehouse constraints and transportation requirements;
[0007] Constructing an initial warehouse network structure according to the candidate warehouses, the warehouse constraints and the transportation requirements;
[0008] Splitting the transport order into sub-orders of a single category according to the product category of the transport order;
[0009] Disturbing and updating the initial hierarchical state of each candidate warehouse in the initial warehouse network structure respectively, and obtaining the updated hierarchical state of each candidate warehouse of each sub-order;
[0010] According to the product category of each of the sub-orders, the updated hierarchical status of each of the candidate warehouses and the transportation demand, respectively construct an updated warehouse network structure for each of the sub-orders;
[0011] The updated warehouse network structure and the initial warehouse network structure of each sub-order are respectively evaluated for quality according to the product category, the warehouse constraints and the transportation requirements of each sub-order to determine the optimal warehouse network structure for each sub-order.
[0012] A warehouse network optimization device based on product categories, the device comprising:
[0013] The acquisition module is used to obtain candidate warehouses, warehouse constraints and transportation requirements corresponding to the transportation order;
[0014] A construction module, used to construct an initial warehouse network structure according to the candidate warehouses, the warehouse constraints and the transportation requirements;
[0015] A splitting module, used for splitting the transport order into sub-orders of a single category according to the product category of the transport order;
[0016] A disturbance module, used for respectively disturbing and updating the initial hierarchical state of each candidate warehouse in the initial warehouse network structure, and obtaining an updated hierarchical state of each candidate warehouse of each sub-order;
[0017] The construction module is further used to construct the updated warehouse network structure of each of the sub-orders according to the product category of each of the sub-orders, the updated hierarchical status of each of the candidate warehouses and the transportation demand;
[0018] An evaluation module is used to perform quality evaluation on the updated warehouse network structure and the initial warehouse network structure of each sub-order according to the product category, warehouse constraints and transportation requirements of each sub-order, and determine the optimal warehouse network structure for each sub-order.
[0019] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above-mentioned product category-based warehouse network optimization methods when executing the computer program.
[0020] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any of the above-mentioned methods for optimizing warehouse networks based on product categories.
[0021] The above-mentioned warehouse network optimization method, device, computer equipment and storage medium based on product categories, after constructing the initial warehouse network structure according to the corresponding candidate warehouses, warehouse constraints and transportation requirements of the acquired transportation orders, split the transportation orders including different product categories into sub-orders by splitting the transportation orders, and then reconstruct the updated warehouse network structure based on the product categories of the sub-orders after disturbing and updating the constructed initial warehouse network structure, and perform quality evaluation on the initial warehouse network structure and the updated warehouse network structure to determine the optimal warehouse network structure, thereby fully considering the actual product category requirements of the transportation order and the service capacity limitations of the candidate warehouses, and improving the executability of the output warehouse network structure. At the same time, the method can reduce the scale of the search space, speed up the construction speed, and thus improve efficiency by matching product categories and requirements instead of the traditional way of building a warehouse network structure by enumerating all potential supply relationships. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is an application environment diagram of a warehouse network optimization method based on product categories in one embodiment;
[0023] Figure 2 It is a flowchart of a warehouse network optimization method based on product categories in one embodiment;
[0024] Figure 3 A schematic diagram of the structure of an initial warehouse network structure in an embodiment;
[0025] Figure 4a It is a flowchart of steps for constructing an update warehouse network structure for each sub-order according to the product category of each sub-order, the update level status of each candidate warehouse, and the transportation demand in one embodiment;
[0026] Figure 4b A schematic diagram of a structure of updating a warehouse network structure in one embodiment;
[0027] Figure 5 A flowchart of the steps of performing quality assessment on the updated warehouse network structure and the initial warehouse network structure of each sub-order according to the product category, warehouse constraint and transportation demand of each sub-order and determining the optimal warehouse network structure of each sub-order in one embodiment;
[0028] Figure 6 It is a structural block diagram of a warehouse network optimization device based on product categories in one embodiment;
[0029] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0031] The warehouse network optimization method based on product category provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. After the terminal 102 receives the transport order input by the user and the candidate warehouse, warehouse constraints and transportation requirements corresponding to the transport order, the terminal 102 can independently implement the above-mentioned warehouse network optimization method based on product categories according to the obtained transport order and the corresponding candidate warehouse, warehouse constraints and transportation requirements. The terminal 102 can also send the transport order and the corresponding candidate warehouse, warehouse constraints and transportation requirements to the server 104, and the server 104 can independently implement the above-mentioned warehouse network optimization method based on product categories.
[0032] Taking the server 104 as an example, specifically, the server 104 obtains the transport order and the corresponding candidate warehouses, warehouse constraints and transport requirements; the server 104 constructs the initial warehouse network structure according to the candidate warehouses, warehouse constraints and transport requirements; the server 104 splits the transport order into sub-orders of a single category according to the product category of the transport order; the server 104 disturbs and updates the initial hierarchical state of each candidate warehouse in the initial warehouse network structure respectively, and obtains the updated hierarchical state of each candidate warehouse of each sub-order; the server 104 constructs the updated warehouse network structure of each sub-order according to the product category of each sub-order, the updated hierarchical state of each candidate warehouse and the transport requirement; the server 104 evaluates the quality of the updated warehouse network structure and the initial warehouse network structure of each sub-order according to the product category, warehouse constraints and transport requirements of each sub-order, and determines the optimal warehouse network structure of each sub-order. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers.
[0033] In one embodiment, Figure 2 As shown in the figure, a warehouse network optimization method based on product categories is provided. Figure 1 The server in the example is used to illustrate the following steps:
[0034] Step S202, obtaining the transport order and the corresponding candidate warehouses, warehouse constraints and transport requirements.
[0035] Among them, the transport order is the order voucher sent by the user to the supplier. The transport order includes the products ordered by the user, which are the products to be transported for the supplier. The warehouse is a storage facility. The warehouse in this embodiment is used to store the products to be transported. The candidate warehouse is to select some warehouses that match the transport order from all warehouses. The candidate warehouse is selected and determined by the staff of the supplier according to the transport order. Warehouse constraints refer to the constraints on the warehouses of the warehouse network structure to be constructed, including the constraints on the number of warehouses of the warehouse network structure to be constructed, the constraints on the number of warehouses at different warehouse levels, etc. The transportation requirements include requirements such as transportation timeliness and operating costs. Both the warehouse constraints and the transportation requirements are input by the staff.
[0036] Specifically, after the user sends a transportation order to the supplier, the supplier's staff determines the candidate warehouses, warehouse constraints and transportation requirements according to the transportation order, and then inputs the transportation order and the corresponding candidate warehouses, warehouse constraints and transportation requirements into the terminal through the terminal's input device. The terminal sends the obtained transportation order and the corresponding candidate warehouses, warehouse constraints and transportation requirements to the corresponding server through the network.
[0037] Step S204: construct an initial warehouse network structure based on candidate warehouses, warehouse constraints and transportation requirements.
[0038] Specifically, after the server obtains the candidate warehouses, warehouse constraints and transportation requirements, it first assigns an initial hierarchical state to each candidate warehouse according to the warehouse constraints, and each candidate warehouse obtains the initial hierarchical state. For example, suppose there are 10 candidate warehouses in total, and the warehouse constraints require 2 warehouses as central warehouses and 3 warehouses as regional warehouses. The server randomly selects 5 warehouses from the 10 candidate warehouses, determines 2 of them as central warehouses and the other 3 as regional warehouses. The 5 candidate warehouses that are not selected are temporarily designated as unused warehouses. Among them, the hierarchical state refers to the warehouse level of each candidate warehouse, and the warehouse level includes central warehouse, regional warehouse, etc. The initial hierarchical state is the initial warehouse level assigned to the candidate warehouse by the warehouse constraints. For example, the initial hierarchical state of any candidate warehouse can be a central warehouse, a regional warehouse, or a warehouse that is not selected. Among them, the central warehouse is the warehouse of the upper level of the regional warehouse.
[0039] Then, when the server determines the initial hierarchical status of each candidate warehouse, the structural framework of the initial warehouse network structure can be directly determined. The server determines the supply and replenishment relationship between each candidate warehouse based on the transportation demand. According to the supply and replenishment relationship, the supply chain of each candidate warehouse is constructed to obtain the constructed initial warehouse network structure. For example, assuming that the transportation demand includes transportation time, the transportation time requirement is that the warehouse with the shortest transportation time is used as the supply and replenishment warehouse. When the server constructs the supply chain of each candidate warehouse, it is based on the warehouse with the shortest transportation time. Figure 3 As shown, a schematic diagram of the structure of an initial warehouse network structure is provided, referring to Figure 3 The initial warehouse network structure includes four levels: 2 supplier factories, 2 central warehouses, 4 regional warehouses, and multiple customers. The supply chains of the four levels are determined according to transportation requirements. For example, the first central warehouse has the shortest transportation time to replenish the first regional warehouse, so a supply chain is built between the first regional warehouse and the first central warehouse. When the supply chains between all levels are built, the constructed warehouse network structure is obtained.
[0040] In one embodiment, step S204 includes: determining the initial hierarchical state of each candidate warehouse according to the first adaptation algorithm and warehouse constraints; and constructing an initial warehouse network structure according to the initial hierarchical state of each candidate warehouse and transportation requirements.
[0041] Specifically, the basic idea of the FirstFit algorithm (first adaptation algorithm) is to assign a suitable state to each candidate point one by one. When each candidate point has a state, an initial solution is formed. Specifically in this embodiment, the initial hierarchical state is assigned to the candidate warehouses one by one according to the order in which the staff inputs the candidate warehouses and according to the warehouse constraints. For example, the first candidate warehouse and the second candidate warehouse are determined as central warehouses, the third candidate warehouse, the fourth candidate warehouse and the fifth candidate warehouse are determined as regional warehouses, and the last five candidate warehouses input are temporarily determined as warehouses that are not selected. In this embodiment, the initial hierarchical state of each candidate warehouse is determined by the FirstFit algorithm, which saves the server allocation time and improves the construction efficiency.
[0042] Step S206 , splitting the transport order into sub-orders of a single category according to the product category of the transport order.
[0043] Among them, product category refers to the type of products to be transported in the transport order, such as frozen products, non-frozen products, etc.
[0044] Specifically, the products to be transported in the transport order are divided according to their categories, and the products to be transported belonging to the same category are divided into one category to obtain a sub-order of a single category. In other words, the products included in the sub-order only include products of one product category. For example, the products to be transported in a transport order can be divided into three categories according to their categories, that is, three sub-orders can be obtained.
[0045] Step S208, respectively disturb and update the initial hierarchical state of each candidate warehouse in the initial warehouse network structure to obtain the updated hierarchical state of each candidate warehouse of each sub-order.
[0046] Specifically, the disturbance update corresponds to the concept of neighborhood space search in the neighborhood search, that is, the state of some candidate warehouses of the current solution is modified to obtain the candidate warehouse state of the new solution. Specifically in this embodiment, the initial hierarchical state of each candidate warehouse of the current initial warehouse network structure is modified, and the modified hierarchical state is the updated hierarchical state of each candidate warehouse, and then the updated warehouse network structure can be obtained according to the updated hierarchical state. Since the transport order is divided into multiple sub-orders in this embodiment, the initial warehouse network structure constructed for the transport order is the initial warehouse network structure of all sub-orders. Then, when the initial hierarchical state of the candidate warehouse in the initial warehouse network structure is disturbed and updated, the disturbance update is performed multiple times according to the number of sub-orders to obtain the updated hierarchical state corresponding to each sub-order. For example, there are 3 sub-orders, that is, the initial hierarchical state of the candidate warehouse in the initial warehouse network structure is disturbed and updated 3 times, and 3 disturbed updated hierarchical states can be obtained. The results of these 3 disturbance updates correspond to one sub-order respectively.
[0047] The specific implementation of perturbing the initial hierarchical state of each candidate warehouse can define the corresponding perturbation strategy according to the actual scenario requirements. Different perturbation strategies defined for different scenarios have different degrees of perturbation. However, it should be understood that no matter how the perturbation strategy is defined, it is necessary to follow a common goal, that is, the perturbation update should have a greater possibility of improving the quality of the solution. In this embodiment, the perturbation strategy includes two strategies: hierarchical state change and hierarchical state exchange. The strategy of hierarchical state change is to directly modify the initial hierarchical state of the candidate warehouse, and the strategy of hierarchical state exchange is to exchange the initial hierarchical states of multiple candidate warehouses.
[0048] Step S210 , constructing the updated warehouse network structure of each sub-order according to the product category of each sub-order, the updated hierarchical status of each candidate warehouse and the transportation demand.
[0049] After the disturbance update obtains the updated hierarchical status, since the hierarchical status of each candidate warehouse has changed, for example, the original central warehouse may be disturbed and updated to become a regional warehouse or a warehouse that is not selected. Therefore, the server reconstructs the warehouse network structure according to the product category of each sub-order, the updated hierarchical status of the candidate warehouse corresponding to the sub-order, and the transportation demand, and obtains the updated warehouse network structure corresponding to each sub-order.
[0050] In one embodiment, Figure 4a As shown, step S210 includes:
[0051] Step S402, determine the structural layer according to the update level status of the candidate warehouse to obtain the warehouse network structural framework.
[0052] Step S404, determining the supply and replenishment relationship of each candidate warehouse in each structural layer according to product categories and transportation requirements.
[0053] Step S406, constructing the supply and replenishment chain of each candidate warehouse in the warehouse network structure framework according to the determined supply and replenishment relationship, and obtaining an updated warehouse network structure.
[0054] Specifically, in this embodiment, the principle of constructing an updated warehouse network structure is roughly the same as constructing an initial warehouse network structure based on the initial hierarchical state and transportation demand, except that restrictions on sub-order product categories are added when constructing the updated warehouse network structure. That is, after the server determines the structural framework of the updated warehouse network structure corresponding to each sub-order based on the updated hierarchical state of each candidate warehouse corresponding to each sub-order obtained by the disturbance update, the server needs to consider not only the transportation demand but also the product category corresponding to the sub-order when determining the supply and replenishment relationship between each candidate warehouse. At the same time, the supply and replenishment relationship between the candidate warehouses is determined based on the transportation demand and the product category, and then the supply chain of each candidate warehouse is constructed to obtain the constructed updated warehouse network structure.
[0055] For example, assuming that the transportation demand includes transportation time, and the transportation time requirement is that the warehouse with the shortest transportation time is used as the replenishment warehouse, and the product category corresponding to the sub-order is a frozen product, when the server constructs the supply chain of each candidate warehouse, it not only selects the warehouse with the shortest transportation time from the candidate warehouses based on the transportation time, but also considers whether the selected warehouse supports frozen products. Therefore, the supply warehouse determined for the sub-order can only select the candidate warehouse with the shortest transportation time from the product category that supports the sub-order. For example, assuming that there are four candidate warehouses, namely, warehouses 1, 2, 3, and 4, and the product categories include four categories of products, namely, SKU-1, SKU-2, SKU-3, and SKU-4. Among them, warehouse 1 supports SKU-1 and SKU-2, warehouse 2 supports SKU-2, warehouse 3 supports SKU-3, and warehouse 4 supports SKU-2 and SKU-3. When the product category corresponding to a sub-order in the transportation order required by the customer is SKU-3, when selecting a supply warehouse for the customer's sub-order to build a supply chain, only warehouse 3 and warehouse 4 can be considered.
[0056] like Figure 4b As shown, a schematic diagram of the structure of the updated warehouse network structure is provided, referring to Figure 4b , the updated warehouse network structure includes four levels, including 2 supplier factories, 2 central warehouses, 4 regional warehouses and multiple customers. The supply chains of the four levels are determined according to product categories and transportation requirements. For example, the transportation order of the first customer includes 2 types of sub-orders after splitting, namely SKU-1 and SKU-2. When building a supply chain for this customer, the first regional warehouse supports SKU-1, and the supply chain can be built to establish a supply and replenishment relationship between the first regional warehouse and the first customer. Similarly, in addition to supporting SKU-1, the first regional warehouse also supports SKU-3, so the first regional warehouse can also establish a supply and replenishment relationship with the second customer who needs SKU-3 products. The principles of building supply relationships between suppliers and central warehouses, between central warehouses and regional warehouses, and between central warehouses and customers are the same, so I will not go into details here.
[0057] Step S212, performing quality assessment on the updated warehouse network structure and the initial warehouse network structure of each sub-order according to the product category, warehouse constraints and transportation requirements of each sub-order, and determining the optimal warehouse network structure for each sub-order.
[0058] Among them, quality assessment refers to the process of evaluating whether the warehouse network structure meets the quality requirements. Whether the quality of the warehouse network structure meets the quality requirements is determined by whether the warehouse network structure supports the product categories of each sub-order and meets the warehouse constraints and transportation requirements.
[0059] Specifically, the updated warehouse network structure and the initial warehouse network structure are evaluated in a hierarchical manner according to the product categories, warehouse constraints and transportation requirements of each sub-order. Each warehouse network structure is evaluated at each level to obtain an evaluation value. When comparing the quality of two warehouse network structures, the evaluation values of the two warehouse network structures are compared level by level. The higher the evaluation value, the higher the quality. When the evaluation values of the higher level are equal, the evaluation values of the next level are further compared. The level of hierarchical evaluation can be set according to the actual goal pursued. For example, when the evaluation related to the product constraint is higher than the evaluation related to the constraint, the level of the product category can be set higher than the warehouse constraint. When the evaluation related to the constraint is higher than the evaluation related to the demand, the level of the warehouse constraint can be set higher than the level of the transportation demand. That is, first ensure that the warehouse network structure supports the product category for the sub-order, then pursue whether the constraint is met, and finally pursue the optimization of the target demand. Assume that the product category is evaluated as the first level, the warehouse constraint is evaluated as the second level, and the transportation demand is evaluated as the third level. The server first evaluates the updated warehouse network structure and the initial warehouse network structure by product category to obtain the first-level evaluation value of the updated warehouse network structure and the initial warehouse network structure. When the first-level evaluation values of the updated warehouse network structure and the initial warehouse network structure are equal, the updated warehouse network structure and the initial warehouse network structure are evaluated at the second level according to the warehouse constraints to obtain the second-level evaluation values of the updated warehouse network structure and the initial warehouse network structure. When the second-level evaluation values of the updated warehouse network structure and the initial warehouse network structure are equal, the updated warehouse network structure and the initial warehouse network structure are evaluated at the third level according to the transportation demand, and the quality of the updated warehouse network structure and the initial warehouse network structure is compared according to the third-level evaluation values to determine the optimal warehouse network structure.
[0060] The above-mentioned warehouse network optimization method based on product categories, after constructing the initial warehouse network structure according to the corresponding candidate warehouses, warehouse constraints and transportation requirements of the acquired transportation orders, splits the transportation orders including different product categories into sub-orders by splitting the transportation orders, and then reconstructs and updates the warehouse network structure based on the product categories of the sub-orders after disturbing and updating the constructed initial warehouse network structure, and performs quality evaluation on the initial warehouse network structure and the updated warehouse network structure to determine the optimal warehouse network structure, thereby fully considering the actual product category requirements of the transportation orders and the service capacity limitations of the candidate warehouses, and improving the executability of the output warehouse network structure. At the same time, this method can reduce the scale of the search space, speed up the construction speed, and thus improve efficiency by matching product categories and requirements instead of the traditional method of enumerating all potential supplies to build the warehouse network structure.
[0061] In one embodiment, Figure 5 As shown, step S212 includes:
[0062] Step S502: perform quality assessment on the updated warehouse network structure and the initial warehouse network structure according to the warehouse constraint conditions, and obtain constraint assessment values of the updated warehouse network structure and the initial warehouse network structure respectively.
[0063] Specifically, quality evaluation of the warehouse network structure according to the warehouse constraint condition refers to evaluating whether the warehouse network structure satisfies the warehouse constraint condition. Since the warehouse constraint condition may contain constraints on the number of warehouses at multiple different levels, there may be multiple constraint evaluation values. For example, the warehouse constraint condition includes constraints on the number of central warehouses and constraints on the number of regional warehouses. Therefore, the constraint evaluation value includes the central warehouse constraint evaluation value and the regional warehouse constraint evaluation value.
[0064] In this embodiment, the constraint evaluation value is represented by a 01 variable. Assume that X CDC represents the constraint evaluation value of the central warehouse, with X RDC Represents the regional warehouse constraint evaluation value. When the number of central warehouses (regional warehouses) in the warehouse network structure meets the constraints on the number of central warehouses (regional warehouses) in the constraints, for example, when the number of central warehouses (regional warehouses) is 2 and the warehouse network structure includes exactly 2 central warehouses (regional warehouses), X CDC (X RDC ) assigns the variable 1, otherwise assigns the variable 0. CDC and X RDC When both are 1, it means that the warehouse network structure fully satisfies the warehouse constraints. CDC or X RDC When it is 0, it means that the warehouse network structure does not fully meet the warehouse constraints. CDC or X RDC The value formula of is as follows:
[0065]
[0066]
[0067] Among them, NUM C Indicates the specified central warehouse quantity constraint, NUM R Indicates the specified regional warehouse quantity constraint, NUM CDC Indicates the number of central warehouses actually used in the warehouse network structure, NUM RDC Indicates the number of regional warehouses actually used in the warehouse network structure. When the number of central warehouses (regional warehouses) actually used is equal to the constraint of the specified number of central warehouses (regional warehouses), the constraint evaluation value (X CDC and X RDC ) assigns the variable 1, otherwise assigns the variable 0. When comparing the updated warehouse network structure with the initial warehouse network structure using the constraint evaluation value, the X of the two warehouse network structures are compared. CDC and X RDCThe assignment variables are used to determine the warehouse network structure with high constraint quality.
[0068] Step S504: perform quality assessment on the updated warehouse network structure and the initial warehouse network structure according to the transportation demand, and obtain demand assessment values of the updated warehouse network structure and the initial warehouse network structure respectively.
[0069] Among them, the transportation demand includes transportation time and operation cost, and the obtained demand evaluation value includes time evaluation value and cost evaluation value.
[0070] In one embodiment, obtaining the timeliness evaluation value includes: determining the transportation timeliness of the updated warehouse network structure and the initial warehouse network structure respectively, and obtaining the timeliness evaluation values of the updated warehouse network structure and the initial warehouse network structure respectively.
[0071] The transport efficiency of the warehouse network structure refers to the time required for transport and distribution of the transport order by the supply chain in the warehouse network structure. The transport efficiency includes the transport efficiency achievement rate, which is the ratio of the number of orders completed within the upper limit of the transport efficiency requirement to the total number of orders.
[0072] Specifically, when the server determines the transportation time of the updated warehouse network structure and the initial warehouse network structure, it calculates the transportation time actually required to complete the transportation order with the updated warehouse network structure or the initial warehouse network structure. Figure 4b Taking the warehouse network structure shown as an example, when the sub-order belongs to the transportation order of the first customer, the transportation warehouse corresponding to the first customer order can be determined as the first central warehouse and the first regional warehouse according to the warehouse network structure. That is, the server calculates the actual transportation time required for transportation based on the distance between the first central warehouse and the first regional warehouse, the distance between the first regional warehouse and the customer, and the speed of the transportation vehicle used for transportation. Then the number of orders completed within the specified upper limit of the transportation time requirement is compared with the total number of orders to obtain the transportation time achievement rate, thereby obtaining the time evaluation value. In this embodiment, the time evaluation value can be directly represented by the transportation time achievement rate. For example, if the transportation time achievement rate obtained by calculating the ratio is 90%, the time evaluation value is 90%. The warehouse network structure with better time quality is determined by directly comparing the time evaluation values of the updated warehouse network structure and the initial warehouse network structure. Alternatively, the time evaluation value can also be represented by the assignment variable 01, and the time evaluation value assignment formula is as follows:
[0073]
[0074] Among them, X SLA is the timeliness evaluation value, SLA SATISFIEDIt indicates the delivery time efficiency rate (i.e. the number of orders completed within the delivery time efficiency limit divided by the total number of orders), and SLA indicates the specified delivery time efficiency limit. For example, if the specified delivery time efficiency limit SLA is 24 hours, then if more than 90% of the orders are delivered within 24 hours, then SLA SATISFIED >90%, then X SLA Assign a value of 1. Otherwise, when the actual delivery time of more than 10% of the orders is greater than 24 hours, it means that the delivery time achievement rate is less than 90%, so X SLA The value is assigned to 0. The warehouse network structure with better timeliness quality is determined by directly comparing the variable values of the timeliness evaluation values of the updated warehouse network structure and the warehouse network structure to be disturbed.
[0075] In one embodiment, obtaining the cost evaluation value includes: determining the operating costs of the updated warehouse network structure and the initial warehouse network structure respectively, and obtaining the cost evaluation values of the updated warehouse network structure and the initial warehouse network structure respectively.
[0076] The operating cost of the warehouse network structure refers to the cost incurred when the supply chain in the warehouse network structure delivers the transportation order. The operating cost includes transportation cost, inventory-related cost, and operation and operation-related cost.
[0077] Specifically, when the server determines the operating cost of updating the warehouse network structure and the initial warehouse network structure, it calculates the transportation cost, inventory-related cost, and operation and operation-related cost when completing the transportation order with the updated warehouse network structure or the initial warehouse network structure. The total cost obtained by summing up the transportation cost, inventory-related cost, and operation and operation-related cost is the operating cost, which is the cost evaluation value of updating the warehouse network structure or the initial warehouse network structure. For example, assuming COST TRANS Indicates transportation cost, COST STOCK Indicates inventory-related costs, expressed as COST OPERATION represents the cost related to operation and operation, then the cost assessment value is (COST TRANS +COST STOCK +COST OPERATION ). When comparing two warehouse network structures by cost evaluation value, the larger the cost evaluation value, the higher the operating cost generated by the warehouse network structure and the worse the cost quality.
[0078] For example, Figure 4bTaking the warehouse network structure shown as an example, when the sub-order belongs to the transportation order of the first customer, according to the warehouse network structure, it can be determined that the transportation warehouse corresponding to the sub-order of the first customer is the first central warehouse and the first regional warehouse. That is, the server obtains the total inventory-related costs and the total operation and running-related costs of the first central warehouse and the first regional warehouse, and at the same time calculates the transportation costs of transporting the products in the transportation order from the first central warehouse to the first regional warehouse and then to the first customer. The total inventory-related costs, the total operation and running-related costs and the calculated transportation costs are added together to obtain the operating costs of completing the transportation order with the warehouse network structure. Among them, the transportation cost server can calculate it through the transportation pricing mode. Different transportation pricing modes use different parameters to calculate the transportation cost, and the calculated transportation costs are different. The transportation pricing mode server selected for each transportation order is determined according to the transportation mode specified by the user. The transportation pricing mode includes but is not limited to "weight distance pricing mode", "special vehicle transportation mode" and "logistics product distribution transportation mode". When the transportation mode specified by the transportation order is physical express delivery, its corresponding transportation pricing mode is the pricing formula of the logistics product distribution transportation mode.
[0079] In addition, in one embodiment, determining the transportation cost includes: obtaining the transportation mode of each supply stage of the transportation order corresponding to the warehouse-network structure; determining the transportation pricing mode of each supply stage according to the transportation mode; calculating the transportation cost of each supply stage according to each transportation pricing mode; and summing the transportation cost of each supply stage to obtain the transportation cost of the warehouse-network structure.
[0080] Specifically, during the transportation process, different transportation modes may be used in different supply stages, and thus the transportation pricing modes used in each supply stage are also different. For example, if the current stage is from the regional warehouse to the customer, and the user specifies the "logistics express" transportation mode, then the transportation cost of this supply stage should be calculated based on the transportation pricing mode corresponding to the "logistics express" transportation mode. Alternatively, if the current stage is from the central warehouse to the regional warehouse, and the user specifies the "full truck transportation" mode for transportation, then the transportation cost of this supply stage should be calculated using the transportation pricing mode corresponding to the "full truck transportation" mode.
[0081] Therefore, when calculating the transportation cost, the transportation mode specified by the user for each supply stage of the transportation order can be obtained. According to the transportation mode, the transportation pricing mode that should be used for calculating the transportation cost of each supply stage is determined. Then, the transportation cost of the supply stage is calculated according to the pricing parameters corresponding to each transportation pricing mode, and the sum of the transportation costs of each supply stage is the total transportation cost. The transportation cost calculated according to each supply stage is added to the operating cost to obtain the cost evaluation value.
[0082] In this embodiment, the transportation pricing modes corresponding to various transportation modes include but are not limited to "weight distance pricing mode", "special vehicle transportation mode" and "logistics product distribution transportation mode".
[0083] The transportation cost of the "weight-distance pricing model" is cost = weight (transportation weight) * distance (transportation distance) * price (transportation price per unit weight per unit distance). The transportation weight refers to the weight of the product being transported. The transportation distance is the distance between the demand points involved in the supply stage, such as the distance from the central warehouse to the regional warehouse, and the distance from the regional warehouse to the customer. The demand points involved in the supply stage are directly determined based on the supply chain of the customer corresponding to the transportation order in the warehouse network structure.
[0084] The transportation cost of "special car transportation method" cost = NV (number of vehicles used) * distance (transportation distance) * price (unit distance cost of each vehicle).
[0085] The transportation cost of "logistics product distribution transportation mode" is cost = basePrice + (weight-baseWeight) * weightPrice. Among them, basePrice represents the first weight price, weight represents the transportation weight (the weight of the transported product), baseWeight represents the first weight, and weightPrice represents the additional weight price.
[0086] In this embodiment, the transportation cost is calculated by considering multiple transportation modes in each supply stage, and the consideration of transportation cost is refined, thereby optimizing the transportation cost of the warehouse network structure and reducing the operating cost of the warehouse network structure.
[0087] Step S506, performing quality evaluation on the updated warehouse network structure and the initial warehouse network structure according to product categories, and obtaining product evaluation values of the updated warehouse network structure and the initial warehouse network structure respectively.
[0088] Specifically, when evaluating the quality of the warehouse network structure based on product categories, it is only necessary to determine whether the candidate warehouse in the supply chain established by the warehouse network structure for the sub-order matches the product category corresponding to the sub-order. The product evaluation value can also be represented by the variable 01. When the product category matches, the product evaluation value is assigned to the variable 1, and when the product category does not match, the variable is assigned to 0. For example, Figure 4b As an example, assume that a sub-order is the first customer's transportation order. Figure 4bThe updated warehouse network structure can determine that the supply chain built for this sub-order is from the first central warehouse to the first regional warehouse to the first customer. Therefore, when evaluating quality based on product categories, it is only necessary to determine whether the product categories supported by the first central warehouse and the first regional warehouse include the product categories of this sub-order. When included, a product evaluation value of variable 1 is obtained, and when not included, a product evaluation value of variable 0 is obtained. Subsequently, the warehouse network structure with better product quality is determined by comparing the product evaluation values of the two warehouse network structures, specifically variables 1 and 0.
[0089] Step S508, based on the constraint evaluation value, the demand evaluation value and the product evaluation value, compare and determine the best warehouse network structure from the updated warehouse network structure and the initial warehouse network structure.
[0090] Specifically, since the quality assessment is a hierarchical assessment, when the quality assessment includes conditions of multiple different dimensions, the number of levels of the hierarchical assessment can be determined according to the number of dimensions. That is, product categories, transportation requirements, and warehouse constraints can be divided into three levels of assessment, and the final quality assessment can obtain three evaluation values: constraint evaluation value, timeliness evaluation value, and product evaluation value. Finally, the optimal warehouse network structure is determined based on the comparison of these three evaluation values. It should be understood that since the hierarchical assessment is specifically compared step by step according to the level level, that is, after the comparison of the evaluation value of one level is completed, it is compared based on the evaluation value of the next level. Therefore, the multiple evaluation values obtained are of different levels, and the specific level relationship of each evaluation value depends on the actual demand configuration.
[0091] For example, assuming that the actual pursuit of constraint conditions can set the level of constraint evaluation value to the highest, the server will give priority to the constraint evaluation value for quality comparison. The actual pursuit of transportation needs can set the demand evaluation value to the highest, and the server will give priority to the demand evaluation value for quality comparison. And the actual pursuit of product category needs can set the product evaluation value to the highest, and the server will give priority to the product evaluation value for quality comparison. Assuming that the current product evaluation value level> constraint evaluation value level> demand evaluation value level, then based on the product evaluation value, constraint evaluation value and demand evaluation value, when comparing and determining the best warehouse network structure from the updated warehouse network structure and the initial warehouse network structure, first compare the updated warehouse network structure and the initial warehouse network structure according to the product evaluation value. When the quality of the updated warehouse network structure and the initial warehouse network structure is determined to be equal according to the comparison of the product evaluation value, the updated warehouse network structure and the initial warehouse network structure are compared according to the constraint evaluation value. When the quality of the updated warehouse network structure and the initial warehouse network structure is determined to be equal according to the comparison of the constraint evaluation value, the updated warehouse network structure and the initial warehouse network structure are compared according to the demand evaluation value.
[0092] When the quality of the updated warehouse network structure is determined to be better than the initial warehouse network structure based on the product evaluation value, constraint evaluation value and demand evaluation value, the updated warehouse network structure is determined to be the optimal warehouse network structure. Alternatively, when the quality of the updated warehouse network structure is determined to be worse than the initial warehouse network structure based on the product evaluation value, constraint evaluation value and demand evaluation value, the initial warehouse network structure is determined to be the optimal warehouse network structure.
[0093] The meanings of the various symbols involved in the quality assessment in this embodiment are shown in Table 1 below.
[0094] Table 1, Symbol meaning table
[0095]
[0096]
[0097] Taking the above table as an example, the evaluation level of the hierarchical quality evaluation in this embodiment is preferably: C>X CDC >X RDC >X SLA >(COST TRANS +COST STOCK +COST OPERATION )>SLA AVERAGE That is, the hierarchical evaluation is carried out in order from high to low according to the level order to determine the best warehouse network structure.
[0098] In this embodiment, a warehouse network structure with better quality is determined through quality evaluation, thereby ensuring that a warehouse network structure with better quality is finally obtained.
[0099] In one embodiment, step S208 includes:
[0100] Step S1, obtaining preset disturbance strategies and the use probability of each disturbance strategy.
[0101] Step S2, generating a corresponding probability random number for each disturbance strategy, and selecting a use strategy from each disturbance strategy according to each probability random number.
[0102] Step S3, disturb and update the initial hierarchical state of each candidate warehouse in the initial warehouse network structure according to the usage strategy to obtain the updated hierarchical state of each candidate warehouse.
[0103] Specifically, due to the different requirements of different problem scenarios, different perturbation strategies are applicable to different problem scenarios. Therefore, after the perturbation strategy is set, the probability of using the perturbation strategy is configured according to the corresponding scenario, that is, the usage probability of different perturbation strategies in different scenarios is configured. When the server starts to perturb and update the hierarchical state, the preset perturbation strategy and the usage probability of each perturbation strategy are obtained. According to the current problem scenario, a certain number of perturbation strategies (not exceeding the number of perturbation strategy types) are randomly selected from each perturbation strategy according to the usage probability, and the selected perturbation strategies are combined and applied to obtain the updated warehouse network structure after perturbation. For example, for problem scenarios with a relatively small search space (i.e., the optimization space is not large), a perturbation strategy with a slightly smaller degree of perturbation can be assigned a greater probability of use, thereby increasing the depth of the search. When the search space is relatively large (i.e., the optimization space is relatively large), a perturbation strategy with a larger degree of perturbation can be assigned a greater probability of use, so that the breadth of the search is improved.
[0104] After obtaining the usage probability of the perturbation strategy, a corresponding number of probability random numbers are generated according to the number of perturbation strategies. For example, three perturbation strategies randomly generate three probability random numbers, and each perturbation strategy corresponds to a probability random number. The probability random number means that the range of the random number is consistent with the probability range. Since the probability is usually represented by 0% to 100%, the range of the random number generated by this implementation is between 0 and 1, that is, the probability random number. After the probability random number is generated, the probability random number is compared with the corresponding usage probability. When the probability random number falls within the usage probability range, it means that the perturbation strategy corresponding to the usage probability needs to be selected as the usage strategy this time. For example, the usage probability of the perturbation strategy is 50%. When the generated probability random number is 0 to 0.5, it means that it falls into the range, otherwise it does not fall into the range. Therefore, since each perturbation strategy has a corresponding probability random number, there may be multiple perturbation strategies selected for a perturbation update.
[0105] It should be understood that when no perturbation strategy is selected according to the probability random number, random numbers can be generated multiple times for selection. Alternatively, the perturbation strategy with the highest probability of use can be directly selected as the use strategy, which can be configured according to the actual situation. In addition, since the perturbation update method based on the basic idea of neighborhood search is a heuristic method, this kind of parameter tuning for the problem always takes time and is inevitable. Therefore, a specific fixed probability of use value cannot be given. In order to be more efficient, it should be configured accordingly for the actual problem being processed.
[0106] In one embodiment, the disturbance strategy includes a hierarchical state change strategy. Step S3 includes: randomly selecting a preset number of candidate warehouses as state change warehouses; performing a hierarchical state change on the initial hierarchical state of each state change warehouse to obtain an updated hierarchical state of each state change warehouse; and performing a hierarchical state change on the initial hierarchical state of the unselected candidate warehouses according to the warehouse constraint conditions to obtain an updated hierarchical state of the unselected candidate warehouses.
[0107] Specifically, the strategy for changing the hierarchical status is a strategy for modifying the hierarchical status of candidate warehouses in the current warehouse network structure, and the number of candidate warehouses whose status is modified is determined by a preset number. In this embodiment, the strategy for changing the hierarchical status includes a strategy for modifying the hierarchical status of a candidate warehouse, and this strategy is called the Change strategy. That is, the preset number is 1, which means that the server randomly selects a candidate warehouse as the modified candidate warehouse for hierarchical status modification. For example, changing a "central warehouse" to a "regional warehouse", changing a "not selected" candidate warehouse to a "central warehouse", or changing a "regional warehouse" to a "not selected" candidate warehouse, and so on.
[0108] The strategy for changing the hierarchical status can also include a strategy for modifying the hierarchical status of multiple candidate warehouses, which is called a Pillar Change strategy. It can be understood as a strategy for modifying the hierarchical status of a group of candidate warehouses. The number of candidate warehouses included in the group can be defined by itself, that is, the preset number is greater than 1. For example, the preset number is 3, which means that a group includes 3 candidate warehouses. Then, the server randomly selects 3 candidate warehouses and modifies the hierarchical status of these 3 candidate warehouses. Since the Pillar Change strategy modifies more candidate warehouses than the Change strategy, the disturbance degree of the Pillar Change strategy is greater than that of the Change strategy.
[0109] In addition, after the hierarchical status of a preset number of candidate warehouses is modified, the initial hierarchical status of the remaining unselected candidate warehouses is randomly modified according to the warehouse constraints to ensure that the updated hierarchical status after the disturbance update satisfies the warehouse constraints. For example, when a "central warehouse" is changed to a "regional warehouse", the number of central warehouses and regional warehouses in the warehouse constraints is not satisfied. At this time, there is one more regional warehouse and one less central warehouse. Therefore, a candidate warehouse that has not been selected and whose status is not a central warehouse is randomly selected and its status is modified to a central warehouse. When the candidate warehouse selected to be modified as a central warehouse is a regional warehouse, the warehouse constraints have been satisfied after the modification, and the disturbance here ends. When the candidate warehouse selected to be modified as a central warehouse is a candidate that is not selected, the status after the modification is one more regional warehouse and one less unselected candidate warehouse, then a candidate warehouse that has not been selected and whose status is a regional warehouse is selected and its status is modified to a unselected candidate warehouse.
[0110] In another embodiment, the disturbance strategy includes a hierarchical state swap strategy. Step S3 includes: randomly selecting a preset number of candidate warehouses to form a state hierarchical swap group; swapping the initial hierarchical states of the candidate warehouses in the two state hierarchical swap groups to obtain an updated hierarchical state of each candidate warehouse.
[0111] Specifically, the strategy for swapping the hierarchical status is a strategy for swapping the hierarchical status of candidate warehouses in the current warehouse network structure, and the number of candidate warehouses whose status is swapped is determined by a preset number. In this embodiment, the strategy for swapping the hierarchical status includes a strategy for swapping the hierarchical status of any two candidate warehouses, and this strategy is called the Swap strategy. That is, the preset number is 2, which means that the server randomly selects 2 candidate warehouses as the swapped candidate warehouses for swapping the hierarchical status. For example, swap the hierarchical status of a "central warehouse" and a "regional warehouse", or swap the hierarchical status of a "not selected" and a "regional warehouse", and so on. The Swap strategy has a greater degree of disturbance than the Change strategy.
[0112] The strategy for swapping the hierarchical status can also include a strategy for swapping the hierarchical status of two groups of candidate warehouses, which is called the Pillar Swap strategy. It can be understood as a strategy for swapping the hierarchical status of two groups of candidate warehouses. The number of candidate warehouses included in each group can be defined by itself, but the number of candidate warehouses between the two groups is equal, that is, the preset number is greater than 1. For example, the preset number is 3, which means that one group includes 3 candidate warehouses. Then, the server randomly selects 6 candidate warehouses and divides the 6 candidate warehouses into 2 groups, each with 3 candidate warehouses. Then the hierarchical status of the candidate warehouses in the two groups is exchanged. Since the disturbance degree of the Pillar Swap strategy is greater than that of the Pillar Change strategy, the Change strategy and the Swap strategy. And because the disturbance strategy is a swap strategy, the warehouse constraints can always be met. In this example, the hierarchical status of the unselected candidate warehouses does not need to be modified, and the original hierarchical status is maintained.
[0113] When the search space is small (i.e. the optimization space is not large), a larger probability of use can be assigned to the Change strategy and the Swap strategy to increase the depth of the search. When the search space is large (i.e. the optimization space is large), a larger probability of use can be assigned to the Pillar Change strategy and the Pillar Swap strategy to increase the breadth of the search.
[0114] In this embodiment, by configuring the probability of using different disturbance strategies in different scenarios, the warehouse network structure construction in different scenarios can have better performance, so as to find the optimal warehouse network structure as quickly as possible and improve efficiency.
[0115] In one embodiment, after step S210, the method further includes:
[0116] Step S214, determining the warehouse network structure to be disturbed of each sub-order from the updated warehouse network structure and the warehouse network structure to be disturbed of each sub-order respectively.
[0117] Step S216, respectively disturb and update the hierarchical status of each candidate warehouse in the warehouse network structure to be disturbed of each sub-order, and construct the disturbed warehouse network structure of each sub-order according to the hierarchical status after disturbance and update, the product category and transportation demand of each sub-order.
[0118] Step S218, respectively perform quality assessment on the disturbed warehouse-network structure and the warehouse-network structure to be disturbed of each sub-order, and determine the optimal warehouse-network structure and the new warehouse-network structure to be disturbed of each sub-order.
[0119] Step S220: When the quality of the currently determined optimal warehouse-network structure of the sub-order is better than the existing optimal warehouse-network structure corresponding to the sub-order, the currently determined optimal warehouse-network structure is updated to the existing optimal warehouse-network structure of the sub-order, and the number of disturbance updates corresponding to the sub-order is reset to zero, and the process returns to step S216 until the quality of the currently determined optimal warehouse-network structure is worse than the existing optimal warehouse-network structure corresponding to the sub-order and the number of disturbance updates meets the preset requirements, and the existing optimal warehouse-network structure is output.
[0120] Step S222: When the quality of the currently determined optimal warehouse-network structure of the sub-order is inferior to the existing optimal warehouse-network structure of the sub-order and the number of disturbance updates does not meet the preset requirements, return to step S216 until the quality of the currently determined optimal warehouse-network structure is inferior to the existing optimal warehouse-network structure corresponding to the sub-order and the number of disturbance updates meets the preset requirements, and then output the existing optimal warehouse-network structure.
[0121] Specifically, according to the basic idea of neighborhood search, when the current solution is modified to obtain a new solution, it is generally hoped that the new solution will be of better quality than the original solution. Therefore, if the new solution is of better quality than the current solution, the new solution will replace the original solution as the optimal solution, and the new solution will be used as the starting point of the next iteration, that is, the current solution of the next iteration. This process is repeated so that the quality of the solution becomes better and better until the preset termination condition is reached.
[0122] Specifically in this embodiment, after the warehouse network structure with higher quality is determined as the best warehouse network structure from the updated warehouse network structure and the warehouse network structure to be disturbed corresponding to each sub-order through quality evaluation, the warehouse network structure to be disturbed can also be determined from the updated warehouse network structure and the structure to be disturbed corresponding to the sub-order through the result of quality evaluation, that is, the warehouse network structure used for the next disturbance is obtained. Then, the disturbance strategy is selected to perform disturbance update on the hierarchical state of the candidate warehouses in the warehouse network structure to be disturbed. After the new hierarchical state of each candidate warehouse is obtained by disturbance update of the warehouse network structure to be disturbed, a new warehouse network structure is constructed according to the product category and transportation demand of the sub-order, and the warehouse network structure is used as the obtained disturbed warehouse network structure. Among them, the principle of disturbance update of the warehouse network structure to be disturbed is the same as the principle of disturbance update of the initial warehouse network structure. And the principle of constructing the disturbed warehouse network structure is also the same as the principle of constructing the updated warehouse network structure, which will not be repeated here.
[0123] After the disturbed warehouse network structure is obtained, the quality of the disturbed warehouse network structure and the warehouse network structure to be disturbed is evaluated. Similarly, the quality of the disturbed warehouse network structure and the warehouse network structure to be disturbed of the sub-order is evaluated based on the product category, warehouse constraints and transportation requirements of the sub-order. When it is determined that the quality of the disturbed warehouse network structure is better than that of the warehouse network structure to be disturbed, the disturbed warehouse network structure is used as the high-quality warehouse network structure and the new warehouse network structure to be disturbed. The existing best warehouse network structure corresponding to the sub-order is obtained. Since the high-quality warehouse network structure and the existing best warehouse network structure of the currently determined sub-order have both been quality evaluated, it can be directly judged whether the quality of the currently determined high-quality warehouse network structure is better than the existing best warehouse network structure based on the results of the quality evaluation.
[0124] When the quality of the currently determined high-quality warehouse network structure is better than the existing best warehouse network structure, it means that the current iterative update has found a better warehouse network structure. Then, the server starts a new round of perturbation iteration. The currently determined high-quality warehouse network structure is updated as the best warehouse network structure corresponding to the existing sub-order, and the quality of the next determined high-quality warehouse network structure is compared with the currently determined best warehouse network structure. At the same time, since a new round of iterations has been started, the number of perturbation updates is reset to zero, and the perturbation update step is returned to start a new round of iterations to find a warehouse network structure with better quality than the currently determined best warehouse network structure.
[0125] When the quality of the currently determined high-quality warehouse network structure is inferior to the existing best warehouse network structure of the sub-order and the number of disturbance updates does not meet the preset requirements, it means that no better warehouse network structure has been found, but the iteration has not stopped. Therefore, the step of disturbing and updating the warehouse network structure to be disturbed is returned until the quality of the currently determined best warehouse network structure is inferior to the existing best warehouse network structure and the number of disturbance updates meets the preset requirements, and the existing best warehouse network structure is output. That is, when the quality of the currently determined high-quality warehouse network structure is compared with the existing best warehouse network structure, and it is determined that the quality of the currently determined high-quality warehouse network structure is inferior to the existing best warehouse network structure, the server further determines whether the current number of disturbance updates reaches the preset number. When the number of disturbance updates also reaches the preset number of updates, it means that the iteration termination condition configured for a round of iteration is met, and the existing best warehouse network structure can be directly output as the constructed warehouse network structure. Otherwise, when the number of disturbance updates does not reach the preset number, it means that the current round of iteration has not met the configured iteration termination condition, and it can directly return to step S216 to continue to perform disturbance updates in this round without starting a new round of iteration.
[0126] It can be seen that the iteration termination condition set in this embodiment is to stop the iteration when a solution better than the existing optimal solution is not found in the preset number of iterations. In this embodiment, compared with the traditional iteration condition of directly setting a fixed number of iterations, this iteration termination condition can not only find a near-optimal solution at an appropriate time, but also further improve the quality of the solution, and ensure that the final output is a high-quality warehouse network structure as much as possible.
[0127] In one embodiment, step S214 also includes: when the quality assessment determines that the quality of the disturbed warehouse-network structure is better than the warehouse-network structure to be disturbed, the disturbed warehouse-network structure is used as the new warehouse-network structure to be disturbed; when the quality assessment determines that the quality of the disturbed warehouse-network structure is worse than the warehouse-network structure to be disturbed, the acceptance probability of the disturbed warehouse-network structure is determined according to the simulated annealing algorithm; and according to the acceptance probability of the disturbed warehouse-network structure, the optimal warehouse-network structure is determined from the disturbed warehouse-network structure and the warehouse-network structure to be disturbed.
[0128] Specifically, when it is determined through quality assessment that the quality of the disturbed warehouse-network structure is better than that of the warehouse-network structure to be disturbed, it means that the current disturbed structure is a better structure, and the disturbed warehouse-network structure can be directly used as a high-quality warehouse-network structure and as a new warehouse-network structure to be disturbed. When it is determined through quality assessment that the quality of the disturbed warehouse-network structure is inferior to that of the warehouse-network structure to be disturbed, the structure to be disturbed is a high-quality warehouse-network structure. Certain strategies can be used to decide whether to use the disturbed warehouse-network structure as a new warehouse-network structure to be disturbed. This embodiment is based on the idea of a simulated annealing algorithm to evaluate and determine whether to accept the disturbed warehouse-network structure as a new warehouse-network structure to be disturbed. The simulated annealing algorithm is derived from the solid annealing principle in the metallurgical field and is a probability-based algorithm. The calculation formula for the probability of acceptance is as follows:
[0129]
[0130] T t =u*T t-1
[0131] Among them, Pro is the probability of acceptance, T is a variable, t represents the number of iterations, and u is the rate of decrease of T value. As the iteration proceeds, the value of T gradually decreases, and this process simulates the annealing process in the metallurgical industry. That is, as the iteration proceeds, the probability of acceptance of the warehouse network structure with poor quality gradually decreases. The rate of decrease of T value u can be adjusted according to the actual problem characteristics. For example, the rate of decrease u every 100 iterations can be assigned to 0.95. That is, T t =0.95*T t-1. A and B are evaluation values set according to the pursuit of actual problem scenarios. A represents the evaluation value of the warehouse network structure to be disturbed, and B represents the evaluation value of the disturbed warehouse network structure. For example, for the selected optimal warehouse network structure, cost optimization is more pursued. A is the cost evaluation value of the warehouse network structure to be disturbed, and B is the evaluation value of the disturbed warehouse network structure. For the selected optimal warehouse network structure, the timeliness issue is more pursued. A can be the actual transportation timeliness (or transportation timeliness achievement rate) of the warehouse network structure to be disturbed, and B can be the actual transportation timeliness (or transportation timeliness achievement rate) of the disturbed warehouse network structure. When the acceptance probability of the disturbed warehouse network structure is calculated, a probability random number is also generated to compare with the acceptance probability to determine whether to accept the updated warehouse network structure as the new disturbed warehouse network structure.
[0132] According to the calculation formula of Pro, when the current updated warehouse network structure is the first disturbed warehouse network structure, the preset deceleration rate is used as the acceptance probability of the disturbed warehouse network structure. When the current disturbed warehouse network structure is not the first disturbed warehouse network structure, the acceptance probability of the previous disturbed warehouse network structure corresponding to the current disturbed warehouse network structure is obtained; the acceptance probability of the current disturbed warehouse network structure is calculated according to the preset deceleration rate and the acceptance probability of the previous disturbed warehouse network structure.
[0133] In addition, in this embodiment, the acceptable warehouse network structure or disturbance strategy range can also be limited based on the taboo search algorithm. This embodiment can avoid iterative disturbance update from falling into local optimum by adopting certain strategies, such as simulated annealing algorithm and taboo search algorithm to determine whether to accept the updated warehouse network structure.
[0134] It should be understood that although Figure 2 The steps in the flowcharts of 4-5 are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 , at least part of the steps in 4-5 may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0135] In one embodiment, Figure 6 As shown, a warehouse network optimization device based on product categories is provided, including: an acquisition module 602, a construction module 604, a splitting module 606, a disturbance module 608, and an evaluation module 610, wherein:
[0136] The acquisition module 602 is used to acquire candidate warehouses, warehouse constraints and transportation requirements corresponding to the transportation order.
[0137] The construction module 604 is used to construct an initial warehouse network structure according to candidate warehouses, warehouse constraints and transportation requirements.
[0138] The splitting module 606 is used to split the transport order into sub-orders of a single category according to the product category of the transport order.
[0139] The disturbance module 608 is used to disturb and update the initial hierarchical state of each candidate warehouse in the initial warehouse network structure respectively, and obtain the updated hierarchical state of each candidate warehouse of each sub-order.
[0140] The construction module 604 is also used to construct the updated warehouse network structure of each sub-order according to the product category of each sub-order, the updated hierarchical status of each candidate warehouse and the transportation demand.
[0141] The evaluation module 610 is used to perform quality evaluation on the updated warehouse network structure and the initial warehouse network structure of each sub-order according to the product category, warehouse constraints and transportation requirements of each sub-order, and determine the optimal warehouse network structure for each sub-order.
[0142] In one embodiment, the construction module 604 is also used to determine the structural layer according to the updated hierarchical status of the candidate warehouse to obtain the warehouse network structural framework; determine the supply and replenishment relationship of each candidate warehouse in each structural layer according to the product category and transportation demand; construct the supply and replenishment chain of each candidate warehouse in the warehouse network structural framework according to the determined supply and replenishment relationship to obtain an updated warehouse network structure.
[0143] In one embodiment, the evaluation module 610 is also used to perform quality evaluation on the updated warehouse network structure and the initial warehouse network structure according to warehouse constraints, and obtain constraint evaluation values of the updated warehouse network structure and the initial warehouse network structure respectively; perform quality evaluation on the updated warehouse network structure and the initial warehouse network structure according to transportation requirements, and obtain demand evaluation values of the updated warehouse network structure and the initial warehouse network structure respectively; perform quality evaluation on the updated warehouse network structure and the initial warehouse network structure according to product categories, and obtain product evaluation values of the updated warehouse network structure and the initial warehouse network structure respectively; based on the constraint evaluation values, demand evaluation values and product evaluation values, compare and determine the optimal warehouse network structure from the updated warehouse network structure and the initial warehouse network structure.
[0144] In one embodiment, the warehouse network optimization device based on product categories also includes an iteration module, which is used to determine the warehouse network structure to be disturbed of each sub-order from the updated warehouse network structure and the warehouse network structure to be disturbed of each sub-order; disturb and update the hierarchical status of each candidate warehouse in the warehouse network structure to be disturbed of each sub-order, and construct the disturbed warehouse network structure of each sub-order according to the hierarchical status after disturbance update, the product category of each sub-order and the transportation demand; perform quality evaluation on the disturbed warehouse network structure and the warehouse network structure to be disturbed of each sub-order, and determine the optimal warehouse network structure and the new warehouse network structure to be disturbed of each sub-order; when the quality of the currently determined optimal warehouse network structure of the sub-order is better than the existing optimal warehouse network structure corresponding to the sub-order, update the currently determined optimal warehouse network structure to the existing optimal warehouse network structure of the sub-order. The method further comprises the following steps: determining a warehouse network structure, resetting the number of disturbance updates corresponding to the sub-order to zero, and returning to the step of respectively disturbing and updating the hierarchical status of each candidate warehouse in the warehouse network structure to be disturbed of each sub-order, until the quality of the currently determined best warehouse network structure is inferior to the existing best warehouse network structure corresponding to the sub-order and the number of disturbance updates meets the preset requirements, and then outputting the existing best warehouse network structure; when the quality of the currently determined best warehouse network structure of the sub-order is inferior to the existing best warehouse network structure of the sub-order and the number of disturbance updates does not meet the preset requirements, returning to the step of respectively disturbing and updating the hierarchical status of each candidate warehouse in the warehouse network structure to be disturbed of each sub-order, until the quality of the currently determined best warehouse network structure is inferior to the existing best warehouse network structure corresponding to the sub-order and the number of disturbance updates meets the preset requirements, and then outputting the existing best warehouse network structure.
[0145] In one embodiment, the iteration module is also used to use the perturbed warehouse-network structure as a new warehouse-network structure to be disturbed when the quality assessment determines that the quality of the perturbed warehouse-network structure is better than the warehouse-network structure to be disturbed; when the quality assessment determines that the quality of the perturbed warehouse-network structure is worse than the warehouse-network structure to be disturbed, determine the acceptance probability of the perturbed warehouse-network structure according to the simulated annealing algorithm; and determine a new warehouse-network structure to be disturbed from the perturbed warehouse-network structure and the warehouse-network structure to be disturbed according to the acceptance probability of the perturbated warehouse-network structure.
[0146] In one embodiment, the iteration module is also used to obtain a preset deceleration rate; when the current disturbance warehouse network structure is the first disturbance warehouse network structure, the preset deceleration rate is used as the acceptance probability of the disturbance warehouse network structure; when the current disturbance warehouse network structure is not the first disturbance warehouse network structure, the acceptance probability of the previous disturbance warehouse network structure corresponding to the current disturbance warehouse network structure is obtained; the acceptance probability of the current disturbance warehouse network structure is calculated according to the preset deceleration rate and the acceptance probability of the previous disturbance warehouse network structure.
[0147] In one embodiment, the construction module 604 is also used to determine the initial hierarchical state of each candidate warehouse according to the first adaptation algorithm and warehouse constraints; and to construct an initial warehouse network structure according to the initial hierarchical state of each candidate warehouse and transportation requirements.
[0148] For the specific definition of the warehouse network optimization device based on product categories, please refer to the definition of the warehouse network optimization method based on product categories above, which will not be repeated here. Each module in the above-mentioned warehouse network optimization device based on product categories can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0149] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as transportation orders, candidate warehouses, warehouse constraints and transportation requirements. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a warehouse network optimization method based on product categories is implemented.
[0150] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0151] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0152] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0153] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0154] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0155] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A warehouse network optimization method based on product categories, characterized in that: The method comprises: Obtain transportation orders and corresponding candidate warehouses, warehouse constraints and transportation requirements; Constructing an initial warehouse network structure according to the candidate warehouses, the warehouse constraints and the transportation requirements; Splitting the transport order into sub-orders of a single category according to the product category of the transport order; Disturbing and updating the initial hierarchical state of each candidate warehouse in the initial warehouse network structure respectively, and obtaining the updated hierarchical state of each candidate warehouse of each sub-order; According to the product category of each of the sub-orders, the updated hierarchical status of each of the candidate warehouses and the transportation demand, respectively construct an updated warehouse network structure for each of the sub-orders; The updated warehouse-network structure and the initial warehouse-network structure of each sub-order are quality evaluated according to the product category, the warehouse constraints and the transportation requirements of each sub-order, and the optimal warehouse-network structure of each sub-order is determined, wherein the product category, the warehouse constraints and the transportation requirements correspond to an evaluation level respectively, and the optimal warehouse-network structure is determined by comparing the evaluation values of each evaluation level step by step according to the grade of each evaluation level.
2. The method according to claim 1, characterized in that The updating warehouse network structure of each sub-order is constructed according to the product category of each sub-order, the updated hierarchical status of each candidate warehouse and the transportation demand, including: Determine the structural layer according to the updated hierarchical status of the candidate warehouse to obtain the warehouse network structural framework; Determine the supply and replenishment relationship of each candidate warehouse in each structural layer according to the product category and the transportation demand; A supply and replenishment chain of each candidate warehouse in the warehouse network structure framework is constructed according to the determined supply and replenishment relationship to obtain an updated warehouse network structure.
3. The method according to claim 1, characterized in that The step of respectively evaluating the updated warehouse network structure and the initial warehouse network structure of each sub-order according to the product category, the warehouse constraint condition and the transportation demand of each sub-order to determine the optimal warehouse network structure of each sub-order includes: According to the warehouse constraint conditions, quality evaluation is performed on the updated warehouse network structure and the initial warehouse network structure respectively, and constraint evaluation values of the updated warehouse network structure and the initial warehouse network structure are obtained respectively; According to the transportation demand, quality evaluation is performed on the updated warehouse network structure and the initial warehouse network structure respectively, so as to obtain demand evaluation values of the updated warehouse network structure and the initial warehouse network structure respectively; Performing quality evaluation on the updated warehouse network structure and the initial warehouse network structure respectively according to the product category, and obtaining product evaluation values of the updated warehouse network structure and the initial warehouse network structure respectively; Based on the constraint evaluation value, the demand evaluation value and the product evaluation value, an optimal warehouse network structure is determined by comparing the updated warehouse network structure and the initial warehouse network structure.
4. The method according to claim 1, characterized in that: The method further comprises: Determining the warehouse network structure to be disturbed of each of the sub-orders from the updated warehouse network structure and the warehouse network structure to be disturbed of each of the sub-orders respectively; Disturb and update the hierarchical state of each candidate warehouse in the warehouse network structure to be disturbed of each sub-order respectively, and construct the disturbed warehouse network structure of each sub-order respectively according to the hierarchical state after disturbance and update, the product category of each sub-order and the transportation demand; Performing quality assessment on the disturbed warehouse network structure and the warehouse network structure to be disturbed of each of the sub-orders, respectively, and determining a high-quality warehouse network structure and a new warehouse network structure to be disturbed of each of the sub-orders; When the quality of the currently determined high-quality warehouse network structure of the sub-order is better than the existing optimal warehouse network structure corresponding to the sub-order, the currently determined high-quality warehouse network structure is updated to the existing optimal warehouse network structure of the sub-order, and the number of disturbance updates corresponding to the sub-order is reset to zero, and the step of respectively disturbing and updating the warehouse network structure to be disturbed of each sub-order is returned until the quality of the currently determined high-quality warehouse network structure is inferior to the existing optimal warehouse network structure corresponding to the sub-order and the number of disturbance updates meets the preset requirements, and the existing optimal warehouse network structure is output; When the quality of the currently determined high-quality warehouse network structure of the sub-order is inferior to the existing optimal warehouse network structure of the sub-order and the number of disturbance updates does not meet the preset requirements, return to the step of disturbing and updating the warehouse network structure to be disturbed of each sub-order respectively, until the quality of the currently determined high-quality warehouse network structure is inferior to the existing optimal warehouse network structure corresponding to the sub-order and the number of disturbance updates meets the preset requirements, and output the existing optimal warehouse network structure.
5. The method according to claim 4, characterized in that The determining the warehouse network structure to be disturbed of each of the sub-orders from the updated warehouse network structure and the warehouse network structure to be disturbed of each of the sub-orders respectively includes: When the quality assessment determines that the quality of the disturbed warehouse-network structure is better than that of the warehouse-network structure to be disturbed, the disturbed warehouse-network structure is used as a new warehouse-network structure to be disturbed; When the quality assessment determines that the quality of the disturbed warehouse-network structure is inferior to that of the warehouse-network structure to be disturbed, determining the acceptance probability of the disturbed warehouse-network structure according to a simulated annealing algorithm; According to the acceptance probability of the disturbed warehouse-network structure, a new warehouse-network structure to be disturbed is determined from the disturbed warehouse-network structure and the warehouse-network structure to be disturbed.
6. The method according to claim 5, characterized in that The determining the acceptance probability of the disturbed warehouse network structure according to the simulated annealing algorithm includes: Get the preset decrement rate; When the current disturbed warehouse network structure is the first disturbed warehouse network structure, the preset decreasing rate is used as the acceptance probability of the disturbed warehouse network structure; When the current disturbance warehouse network structure is not the first disturbance warehouse network structure, obtaining the acceptance probability of the previous disturbance warehouse network structure corresponding to the current disturbance warehouse network structure; The acceptance probability of the current disturbed warehouse network structure is calculated according to the preset decreasing rate and the acceptance probability of the last disturbed warehouse network structure.
7. The method according to claim 1, characterized in that The constructing an initial warehouse network structure according to the candidate warehouses, the warehouse constraints and the transportation requirements includes: Determining the initial hierarchical state of each of the candidate warehouses according to the first adaptation algorithm and the warehouse constraints; An initial warehouse network structure is constructed according to the initial hierarchical status of each candidate warehouse and the transportation demand.
8. A warehouse network optimization device based on product categories, characterized in that: The device comprises: The acquisition module is used to obtain candidate warehouses, warehouse constraints and transportation requirements corresponding to the transportation order; A construction module, used to construct an initial warehouse network structure according to the candidate warehouses, the warehouse constraints and the transportation requirements; A splitting module, used for splitting the transport order into sub-orders of a single category according to the product category of the transport order; A disturbance module, used for respectively disturbing and updating the initial hierarchical state of each candidate warehouse in the initial warehouse network structure, and obtaining an updated hierarchical state of each candidate warehouse of each sub-order; The construction module is further used to construct the updated warehouse network structure of each of the sub-orders according to the product category of each of the sub-orders, the updated hierarchical status of each of the candidate warehouses and the transportation demand; An evaluation module is used to perform quality evaluation on the updated warehouse network structure and the initial warehouse network structure of each sub-order according to the product category, the warehouse constraints and the transportation requirements of each sub-order, and determine the optimal warehouse network structure for each sub-order, wherein the product category, the warehouse constraints and the transportation requirements correspond to an evaluation level respectively, and the optimal warehouse network structure is determined by comparing the evaluation values of each evaluation level step by step according to the grade of each evaluation level.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Intelligent warehousing method, device and computer-readable storage medium
CN109359759A
Article ex-warehouse method and device
CN110197350A
