Logistics network optimization method and system
By dividing the distribution area in the logistics network, constructing the distribution objective function and using the particle swarm algorithm to optimize the distribution plan, the uncertainty problem of non-fixed distribution points is solved, and the distribution efficiency of the logistics network and user receipt time are improved.
Patent Information
- Application Number
- CN202411056823.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-01
AI Technical Summary
Due to the uncertainty in the existing logistics network when dealing with non-fixed distribution points, it is difficult for logistics centers to efficiently plan distribution plans, resulting in goods being detained for a long time or being unable to be delivered in time, and users receiving goods taking longer.
By obtaining the location of the logistics center and distribution point information, the distribution area is divided, the distribution objective function is constructed, the particle swarm algorithm is used to optimize the distribution plan, and the route of non-fixed distribution points is reconstructed to adjust the transportation vehicle route to meet the demand.
It improves the rationality of goods distribution at non-fixed distribution points and fixed distribution points, improves the distribution efficiency of the logistics network, and shortens the user's receiving time.
Smart Images

Figure CN118735076A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of logistics, and in particular relates to a logistics network optimization method and system. Background Art
[0002] A logistics network refers to a complex system consisting of a series of transportation nodes, routes and hubs, which is responsible for the efficient flow of goods and services. An efficient logistics network can ensure that products reach consumers safely, quickly and cost-effectively from their place of production.
[0003] The logistics network is the core of modern supply chain management. It involves multiple links such as logistics planning, transportation management, warehousing, and distribution. By optimizing and integrating various transportation resources, it achieves the smooth flow of goods from suppliers to consumers.
[0004] At present, the existing logistics network still has the following problems when distributing goods: the various distribution points that the logistics center is responsible for are mainly divided into fixed distribution points and non-fixed distribution points. Among them, the fixed distribution points are for the customer demands such as the quantity of goods distributed and the delivery time remain unchanged or change periodically, and the logistics center can easily grasp the distribution plan for such customers; while the non-fixed distribution points are for the customer demands such as the quantity of goods distributed and the delivery time are randomly generated and have uncertainty. For example, the goods purchased online by users in a certain community, due to the uncertainty of non-fixed distribution points, the logistics center cannot efficiently plan the distribution plan for these goods, which in turn causes such goods to be stranded in the logistics center for a long time or cannot be delivered in time, so that users cannot receive the goods for a long time. Summary of the invention
[0005] The purpose of the present invention is to provide a logistics network optimization method and system to solve the problem that the non-fixed distribution points in the existing logistics network have uncertainty, which leads to the inability of the logistics center to efficiently plan the distribution plan for these goods, thereby causing such goods to be stranded in the logistics center for a long time or unable to be delivered in time, and the user cannot receive the goods for a long time.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present invention provides a logistics network optimization method, the method comprising: Obtain the location of each logistics center, the number of transport vehicles equipped by each logistics center, and the delivery points of each cargo to be delivered, wherein the delivery points include fixed delivery points and non-fixed delivery points; Divide the distribution points according to the location of each logistics center and determine the distribution points that each logistics center is responsible for; Based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the delivery time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center, the distribution objective function of each logistics center is constructed; Solving the distribution objective function of each logistics center based on a preset optimization algorithm to obtain the best distribution plan for each logistics center, wherein the best distribution plan for each logistics center includes: a first distribution route from the logistics center to multiple fixed distribution points; The optimal distribution plan of each logistics center is reconstructed based on the non-fixed distribution points among the distribution points that each logistics center is responsible for. The reconstruction operation includes: modifying the first distribution route or creating a second distribution route from the logistics center to at least one non-fixed distribution point.
[0007] Preferably, the distribution points are divided according to the location of each logistics center, and the distribution points that each logistics center is responsible for are determined, including: Obtain the delivery time requirements for each cargo to be delivered and the round-trip time requirements for each logistics center; Determine the delivery cycle of each cargo to be delivered based on the delivery time requirements of each cargo to be delivered and the round-trip time requirements of each logistics center; In the same delivery cycle, all delivery points are clustered to obtain at least one delivery cluster group and at least one central delivery point of the delivery cluster group; The distribution points that each logistics center is responsible for are determined according to the distances between the central distribution point of at least one distribution cluster group and the locations of each logistics center.
[0008] Preferably, in the same delivery cycle, all delivery points are clustered to obtain at least one delivery cluster group and at least one central delivery point of the delivery cluster group, including: Select k distribution points from n distribution points as the center points, and the remaining nk distribution points as non-center points; Calculate the distance between each non-central point and each central point. Each non-central point has k distances. For any non-central point, select a minimum distance from the k distances of the non-central point, and add the non-central point and the central point corresponding to the minimum distance to the same cluster; perform the screening operation on each non-central point to obtain k clusters; Select any non-central point to perform a replacement operation on any central point to form a new central point, and calculate the cost value of the replacement cost function of the new central point; If the cost value is lower than the preset value, the replacement operation is retained; if the cost value is higher than the preset value, the replacement operation is abandoned; Repeatedly select any non-center point to replace any center point to form a new center point, and calculate the cost value of the replacement cost function of the new center point; if the cost value is lower than the preset value, retain the replacement operation; if the cost value is higher than the preset value, abandon the replacement operation; until every non-center point is selected, k distribution clustering groups are obtained, and the center point of each distribution clustering group is used as the central distribution point of the distribution clustering group.
[0009] Preferably, the calculation expression of the distance between each non-central point and each central point is: ; In the formula, For the i The non-central point and j The distance between the center points, For the i The non-central point and j The distance between the center points, For the i The non-central point and j The time distance between the center points, is the weight value, where i =1,2,…,nk, j =1,2,…,k.
[0010] Preferably, the optimal distribution plan of each logistics center is reconstructed based on the non-fixed distribution points among the distribution points that each logistics center is responsible for, including: Among the non-fixed distribution points that each logistics center is responsible for, determine whether each non-fixed distribution point meets the preset conditions; When any non-fixed delivery point meets the preset conditions, two fixed delivery points adjacent to the non-fixed delivery point are found, and the first delivery route between the adjacent fixed delivery points is modified so that the non-fixed delivery point is added to the first delivery route; All non-fixed delivery points that do not meet the preset conditions are counted, and delivery routes for all non-fixed delivery points that do not meet the preset conditions are newly created to obtain a second delivery route.
[0011] Preferably, the preset conditions are determined based on the capacity of the transport vehicle, the round-trip time requirements of the logistics center, and the appearance time and location of the non-fixed delivery point.
[0012] Preferably, based on the location of each logistics center, the fixed delivery points among the delivery points that the logistics center is responsible for, the delivery time requirements of each fixed delivery point, and the number of transport vehicles equipped by each logistics center, a delivery objective function of each logistics center is constructed, including: Determine the decision variables based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the delivery time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center; The distribution objective function of each logistics center is constructed based on the decision variables, the transportation cost of the transport vehicles of each logistics center, the transportation penalty cost of the transport vehicles and the fixed cost of each logistics center; Among them, the expression of the distribution objective function of each logistics center is: ; In the formula, is the distribution objective function of the mth logistics center, is the transportation cost of the transport vehicle of the mth logistics center, is the transportation penalty cost of the transport vehicle of the m-th logistics center, is the fixed cost of the m-th logistics center; among them, the transportation penalty cost of the transport vehicle of the m-th logistics center Used to characterize whether a vehicle is late or early at a delivery point.
[0013] Preferably, the preset optimization algorithm is a particle swarm algorithm; solving the distribution objective function of each logistics center based on the preset optimization algorithm to obtain the best distribution plan for each logistics center includes: For the distribution objective function of any logistics center, the decision variables are used as the input information of the particle swarm optimization algorithm to initialize the historical optimal position of each particle and the optimal position of the population; Calculate the fitness value of each particle based on the distribution objective function of the logistics center; Update the historical optimal position and the population optimal position based on the fitness value of each particle; Update the speed and position of each particle based on the reward and punishment rules, and calculate the fitness value of each particle after the update; Repeat the process of updating the historical optimal position and the optimal position of the population based on the fitness value of each particle; update the speed and position of each particle based on the reward and punishment rules, and calculate the fitness value of each updated particle; until global convergence, the global optimal particle position of the distribution objective function of the logistics center is obtained, and the global optimal particle position is used as the best distribution plan for the logistics center.
[0014] Preferably, the update expression for updating the speed of each particle based on the reward and punishment rule is: ; The update expression for updating the position of each particle based on the reward and punishment rule is: ; In the formula, is the number ofl The speed of a particle, In the t+1th iteration l The position of a particle, In the tth iteration l The position of a particle, is the number of l The speed of a particle, is a dynamic weight function based on reward and punishment rules. For the l The historical optimal position of a particle, is the optimal position of the population at the tth iteration, and are the first coefficient and the second coefficient respectively, and are all random numbers in the interval [0,1].
[0015] In a second aspect, the present invention provides a logistics network optimization system, the system is used to implement the above-mentioned logistics network optimization method, the system comprises: A parameter acquisition module is used to obtain the location of each logistics center, the number of transport vehicles equipped by each logistics center, and the distribution points of each cargo to be distributed, wherein the distribution points include fixed distribution points and non-fixed distribution points; The distribution determination module is used to divide the distribution points according to the location of each logistics center and determine the distribution points that each logistics center is responsible for; Function construction module, used to construct the distribution objective function of each logistics center based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the delivery time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center; A function solving module, used to solve the distribution objective function of each logistics center based on a preset optimization algorithm to obtain the best distribution plan for each logistics center, wherein the best distribution plan for each logistics center includes: a first distribution route from the logistics center to multiple fixed distribution points; The plan reconstruction module is used to reconstruct the optimal distribution plan of each logistics center based on the non-fixed distribution points among the distribution points that each logistics center is responsible for. The reconstruction operation includes: modifying the first distribution route or creating a second distribution route from the logistics center to at least one non-fixed distribution point.
[0016] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned logistics network optimization method when executing the computer program.
[0017] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned logistics network optimization method when executed by a processor.
[0018] Beneficial effects: The present invention first divides all the distribution points according to the location of each logistics center, divides the distribution points into the areas that each logistics center is responsible for, and then constructs the distribution objective function of each logistics center with respect to the fixed distribution points, and then uses a preset optimization algorithm to solve the distribution objective function. The first distribution route of all the fixed distribution points can be planned first, and then the first distribution route is reconstructed according to the non-fixed distribution points that each logistics center is responsible for, and the non-fixed distribution points are added to the first distribution route or the second distribution route of the non-fixed distribution points is recreated; therefore, the present invention can improve the rationality of goods distribution between non-fixed distribution points and fixed distribution points, improve the distribution efficiency of the logistics network and shorten the user delivery time of non-fixed distribution points. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings: Figure 1 is a flow chart of a logistics network optimization method provided by one embodiment of the present invention; Figure 2 It is a block diagram of a logistics network optimization system provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.
[0021] Embodiment 1 Figure 1 is a flow chart of a logistics network optimization method provided by an embodiment of the present invention, such as Figure 1 As shown, this embodiment provides a logistics network optimization method, the method comprising: Step S10: Acquire the location of each logistics center, the number of transport vehicles equipped in each logistics center, and the delivery points of each cargo to be delivered, wherein the delivery points include fixed delivery points and non-fixed delivery points.
[0022] In this embodiment, the fixed delivery point is where the customer requirements such as the quantity of goods delivered and the delivery time remain unchanged or change periodically, for example: newspapers and magazines shipped to bookstores, goods required by a supermarket, etc., the delivery time required by these customers is relatively constant, and the customer's demand for goods is also relatively unchanged, and the location of each customer is regarded as a fixed delivery point; the non-fixed delivery point is where the customer requirements such as the quantity of goods delivered and the delivery time are randomly generated and have uncertainty, and the location of the customer's community can be regarded as a non-fixed delivery point.
[0023] Step S20: Divide the distribution points according to the location of each logistics center and determine the distribution points that each logistics center is responsible for.
[0024] In this embodiment, the locations of various logistics centers in a region are fixed. Therefore, it is necessary to divide all fixed distribution points and non-fixed distribution points according to the locations of various logistics centers, and divide each distribution point into the area where the corresponding logistics center is located.
[0025] Specifically, the distribution points are divided according to the location of each logistics center, and the distribution points that each logistics center is responsible for are determined, including: Step S201: Obtain the delivery time requirements of each cargo to be delivered and the round-trip time requirements of each logistics center; Step S202: Determine the delivery cycle of each cargo to be delivered according to the delivery time requirement of each cargo to be delivered and the round-trip time requirement of each logistics center; Step S203: In the same delivery cycle, cluster all delivery points to obtain at least one delivery cluster group and at least one central delivery point of the delivery cluster group; Step S204: Determine the distribution points that each logistics center is responsible for based on the distances between the central distribution point of at least one distribution cluster group and the locations of each logistics center.
[0026] In this embodiment, the delivery time requirements for each cargo to be delivered at a fixed delivery point are determined based on customer demand. Customers of these cargoes have a clear delivery time period, and the cargoes need to be delivered within this time period. As for customers at non-fixed delivery points, such as goods purchased online by users, most customers of these cargoes do not require a delivery time. Therefore, the logistics center needs to specify the retention time for these cargoes, such as 12 to 36 hours, and the cargoes need to be delivered within this time period, which can effectively avoid the retention of the cargoes of these customers.
[0027] In step S203, specifically, within the same delivery cycle, all delivery points are clustered to obtain at least one delivery cluster group and at least one central delivery point of the delivery cluster group, including: Step S2031: Select k delivery points from n delivery points as central points, and the remaining nk delivery points as non-central points; Step S2032: Calculate the distances between each non-central point and each central point, and each non-central point has k corresponding distances; Step S2033: for any non-central point, a minimum distance is selected from the k distances of the non-central point, and the non-central point and the central point corresponding to the minimum distance are added to the same cluster; the screening operation is performed on each non-central point to obtain k clusters; Step S2034: select any non-central point to perform a replacement operation on any central point to form a new central point, and calculate the cost value of the replacement cost function of the new central point; Step S2035: if the cost value is lower than the preset value, retain the replacement operation; if the cost value is higher than the preset value, abandon the replacement operation; Step S2036: Repeat steps S2034 to S2035, that is, select any non-center point to perform a replacement operation on any center point to form a new center point, and calculate the cost value of the replacement cost function of the new center point; if the cost value is lower than the preset value, retain the replacement operation; if the cost value is higher than the preset value, abandon the replacement operation; until every non-center point is selected, k distribution clustering groups are obtained, and the center point of each distribution clustering group is used as the central distribution point of the distribution clustering group.
[0028] In this embodiment, the calculation expression of the distance between each non-central point and each central point is: ; In the formula, For the i The non-central point and j The distance between the center points, For the i The non-central point and j The distance between the center points, For the i The non-central point and j The time distance between the center points, is the weight value, where i =1,2,…,nk, j =1,2,…,k; where the position distance and time distance are Euclidean distance, Manhattan distance or cosine similarity distance.
[0029] In this embodiment, the present invention improves the clustering effect of distribution points by considering two dimensions, namely, the spatial location and distribution time between distribution points, and reasonably allocates responsible distribution points to each logistics center to improve the distribution efficiency of the logistics network.
[0030] In this embodiment, the expression of the cost function is: ; In the formula, is the cost function, which represents the total cost of the current clustering result. k is the number of clusters, C l For the l Clusters, X q For the l The first q data points (non-center point), m For the l The central data point (center point) within the cluster, min dis () is the minimum distance function, which can be the Euclidean distance.
[0031] Step S30: construct a distribution objective function for each logistics center based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the distribution time requirements of each fixed distribution point and the number of transport vehicles equipped by each logistics center.
[0032] In this embodiment, in order to improve the efficiency of the distribution path planning of each distribution point in the logistics network, specifically, based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the distribution time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center, the distribution objective function of each logistics center is constructed, including: Step S301: Determine decision variables according to the location of each logistics center, the fixed delivery points among the delivery points that the logistics center is responsible for, the delivery time requirements of each fixed delivery point, and the number of transport vehicles equipped by each logistics center; Step S302: constructing the distribution objective function of each logistics center based on the decision variables, the transportation cost of the transportation vehicles of each logistics center, the transportation penalty cost of the transportation vehicles and the fixed cost of each logistics center.
[0033] In this embodiment, the decision variables include: the first decision variable X k , indicating whether transport vehicle k is selected; the second decision variable X mik , indicating that a transport vehicle k transports goods from a logistics center m to a fixed distribution point i. The third decision variable X ijk , indicating that a transport vehicle k transports goods to a fixed delivery point j after arriving at the fixed delivery point i.
[0034] At the same time, the constraints of the objective function are constructed based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the delivery time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center. The constraints include: Vehicle constraints: The number of transport vehicles cannot exceed 80% of the total number of vehicles equipped in each logistics center. There must be spare transport vehicles for delivery at non-fixed points; Round-trip constraint: Transportation must be carried out within the round-trip time requirements of each logistics center; Time constraint: the time of arrival at a fixed delivery point cannot exceed or be earlier than the preset range. Usually, the preset range is slightly larger than the delivery time requirement of the delivery point. For example, if the customer requires delivery between 10:00 and 10:30, the preset range is 9:50 and 10:40. When the transport vehicle arrives earlier than the preset range (i.e. arrives early), the customer at the delivery point will not be able to receive the goods, which will result in a long wait and waste of delivery time.
[0035] Among them, the expression of the distribution objective function of each logistics center is: ; In the formula, is the distribution objective function of the mth logistics center, is the transportation cost of the transport vehicle of the mth logistics center, is the transportation penalty cost of the transport vehicle of the m-th logistics center, is the fixed cost of the m-th logistics center; among them, the transportation penalty cost of the transport vehicle of the m-th logistics center Used to characterize whether a vehicle is late or early at a delivery point.
[0036] Step S40: Solving the distribution objective function of each logistics center based on a preset optimization algorithm to obtain the best distribution plan for each logistics center, wherein the best distribution plan for each logistics center includes: a first distribution route from the logistics center to multiple fixed distribution points.
[0037] In this embodiment, the preset optimization algorithm is a particle swarm algorithm; based on the preset optimization algorithm, the distribution objective function of each logistics center is solved to obtain the optimal distribution plan for each logistics center, including: Step S401: For the distribution objective function of any logistics center, the decision variables are used as the input information of the particle swarm optimization algorithm to initialize the historical optimal position and the optimal position of the population of each particle; Step S402: Calculate the fitness value of each particle based on the distribution objective function of the logistics center; Step S403: updating the historical optimal position and the population optimal position based on the fitness value of each particle; Step S404: updating the speed and position of each particle based on the reward and penalty rules, and calculating the fitness value of each particle after the update; Step S405: Repeat the process of updating the historical optimal position and the population optimal position based on the fitness value of each particle; updating the speed and position of each particle based on the reward and punishment rules, and calculating the fitness value of each particle after the update; until global convergence, the global optimal particle position of the distribution objective function of the logistics center is obtained, and the global optimal particle position is used as the best distribution plan for the logistics center.
[0038] In this embodiment, the update expression for updating the speed of each particle based on the reward and penalty rule is: ; The update expression for updating the position of each particle based on the reward and punishment rule is: ; In the formula, is the number of l The speed of a particle, In the t+1th iteration l The position of a particle, In the tth iteration l The position of a particle, is the number of l The speed of a particle, is a dynamic weight function based on reward and punishment rules. For the l The historical optimal position of a particle, is the optimal position of the population at the tth iteration, and are the first coefficient and the second coefficient respectively, and are all random numbers in the interval [0,1].
[0039] In this embodiment, the dynamic weight function constructed based on the reward and punishment rules The expression is: ; In the formula, w max is the maximum value of the weight, w min is the minimum value of the weight, D j (t) is the distance function, w max The value is 0.9. w min The value is 0.1, the distance function Dj (t) is: ; Where M is the population size of the particle swarm algorithm, P gj For the t The global optimal j Dimensional location, X ij ( t ) is the i The particle in t In the iteration j Dimension location.
[0040] In this embodiment, when the particle is close to the global optimal position of the population, the distance function D j (t) is close to zero, With a small value, the position update mainly relies on local search, which is equivalent to its reward. When the particle is far away from the optimal position of the global particle and the population, The update position depends on the global search, which is equivalent to a penalty. The present invention can better avoid particles from converging to the local optimal solution through dynamic adaptive control weights.
[0041] Step S50: reconstructing the best distribution plan for each logistics center based on the non-fixed distribution points among the distribution points that each logistics center is responsible for, wherein the reconstruction operation includes: modifying the first distribution route or creating a second distribution route from the logistics center to at least one non-fixed distribution point.
[0042] In this embodiment, the optimal distribution plan of each logistics center is reconstructed based on the non-fixed distribution points among the distribution points that each logistics center is responsible for, including: Step S501: among the non-fixed delivery points that each logistics center is responsible for, determining whether each non-fixed delivery point meets a preset condition; Step S502: when any non-fixed delivery point meets the preset conditions, two fixed delivery points adjacent to the non-fixed delivery point are searched, and the first delivery route between the adjacent fixed delivery points is modified so that the non-fixed delivery point is added to the first delivery route; Step S503: Count all non-fixed delivery points that do not meet the preset conditions, create new delivery routes for all non-fixed delivery points that do not meet the preset conditions, and obtain a second delivery route.
[0043] In this embodiment, the preset conditions are determined based on the capacity of the transport vehicle, the round-trip time requirement of the logistics center, and the appearance time and location of the non-fixed delivery point.
[0044] That is, when a non-fixed delivery point appears, the transport vehicle on the first delivery route closest to the non-fixed delivery point still has a certain capacity to deliver the goods of the non-fixed delivery point. After the non-fixed delivery point is added to the first delivery route, the transport vehicle cannot exceed the preset range of the delivery time of the next fixed delivery point after passing the non-fixed delivery point; and after the non-fixed delivery point is added to the first delivery route, the transport vehicle cannot arrive later than the arrival time specified by the logistics center.
[0045] If the non-fixed delivery point cannot meet the above-mentioned preset conditions, it is necessary to re-establish a second delivery route for the non-fixed delivery point and use a spare transport vehicle to deliver goods to the non-fixed delivery point.
[0046] Therefore, the present invention first divides all the distribution points according to the location of each logistics center, divides the distribution points into the areas that each logistics center is responsible for, and then constructs the distribution objective function of each logistics center with respect to the fixed distribution points, and then uses the preset optimization algorithm to solve the distribution objective function. The first distribution route of all the fixed distribution points can be planned first, and then the first distribution route is reconstructed according to the non-fixed distribution points that each logistics center is responsible for, and the non-fixed distribution points are added to the first distribution route or the second distribution route of the non-fixed distribution points is recreated; therefore, the present invention can improve the rationality of goods distribution between non-fixed distribution points and fixed distribution points, improve the distribution efficiency of the logistics network and shorten the user receipt time of non-fixed distribution points.
[0047] Embodiment 2 Figure 2 is a block diagram of a logistics network optimization system provided by an embodiment of the present invention, such as Figure 2 As shown, this embodiment provides a logistics network optimization system, which is used to implement the logistics network optimization method of embodiment 1, and the system includes: A parameter acquisition module is used to obtain the location of each logistics center, the number of transport vehicles equipped by each logistics center, and the distribution points of each cargo to be distributed, wherein the distribution points include fixed distribution points and non-fixed distribution points; The distribution determination module is used to divide the distribution points according to the location of each logistics center and determine the distribution points that each logistics center is responsible for; Function construction module, used to construct the distribution objective function of each logistics center based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the delivery time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center; A function solving module, used to solve the distribution objective function of each logistics center based on a preset optimization algorithm to obtain the best distribution plan for each logistics center, wherein the best distribution plan for each logistics center includes: a first distribution route from the logistics center to multiple fixed distribution points; The plan reconstruction module is used to reconstruct the optimal distribution plan of each logistics center based on the non-fixed distribution points among the distribution points that each logistics center is responsible for. The reconstruction operation includes: modifying the first distribution route or creating a second distribution route from the logistics center to at least one non-fixed distribution point.
[0048] This embodiment also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the logistics network optimization method of the first embodiment when executing the computer program.
[0049] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the logistics network optimization method of the first embodiment is implemented.
[0050] The present invention first divides all the distribution points according to the location of each logistics center, divides the distribution points into the areas that each logistics center is responsible for, and then constructs the distribution objective function of each logistics center with respect to the fixed distribution points, and then uses a preset optimization algorithm to solve the distribution objective function. The first distribution route of all the fixed distribution points can be planned first, and then the first distribution route is reconstructed according to the non-fixed distribution points that each logistics center is responsible for, and the non-fixed distribution points are added to the first distribution route or the second distribution route of the non-fixed distribution points is recreated; therefore, the present invention can improve the rationality of goods distribution between non-fixed distribution points and fixed distribution points, improve the distribution efficiency of the logistics network and shorten the user delivery time of non-fixed distribution points.
[0051] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0052] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0053] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A logistics network optimization method, characterized in that: The method comprises: Obtain the location of each logistics center, the number of transport vehicles equipped by each logistics center, and the delivery points of each cargo to be delivered, wherein the delivery points include fixed delivery points and non-fixed delivery points; Divide the distribution points according to the location of each logistics center and determine the distribution points that each logistics center is responsible for; Based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the delivery time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center, the distribution objective function of each logistics center is constructed; Solving the distribution objective function of each logistics center based on a preset optimization algorithm to obtain the best distribution plan for each logistics center, wherein the best distribution plan for each logistics center includes: a first distribution route from the logistics center to multiple fixed distribution points; The optimal distribution plan of each logistics center is reconstructed based on the non-fixed distribution points among the distribution points that each logistics center is responsible for. The reconstruction operation includes: modifying the first distribution route or creating a second distribution route from the logistics center to at least one non-fixed distribution point.
2. The logistics network optimization method according to claim 1, characterized in that: The distribution points are divided according to the location of each logistics center, and the distribution points that each logistics center is responsible for are determined, including: Obtain the delivery time requirements for each cargo to be delivered and the round-trip time requirements for each logistics center; Determine the delivery cycle of each cargo to be delivered based on the delivery time requirements of each cargo to be delivered and the round-trip time requirements of each logistics center; In the same delivery cycle, all delivery points are clustered to obtain at least one delivery cluster group and at least one central delivery point of the delivery cluster group; The distribution points that each logistics center is responsible for are determined according to the distances between the central distribution point of at least one distribution cluster group and the locations of each logistics center.
3. The logistics network optimization method according to claim 2, characterized in that: In the same delivery cycle, all delivery points are clustered to obtain at least one delivery cluster group and at least one central delivery point of the delivery cluster group, including: Select k distribution points from n distribution points as the center points, and the remaining nk distribution points as non-center points; Calculate the distance between each non-central point and each central point. Each non-central point has k distances. For any non-central point, select a minimum distance from the k distances of the non-central point, and add the non-central point and the central point corresponding to the minimum distance to the same cluster; perform the screening operation on each non-central point to obtain k clusters; Select any non-central point to perform a replacement operation on any central point to form a new central point, and calculate the cost value of the replacement cost function of the new central point; If the cost value is lower than the preset value, the replacement operation is retained; if the cost value is higher than the preset value, the replacement operation is abandoned; Repeatedly select any non-center point to replace any center point to form a new center point, and calculate the cost value of the replacement cost function of the new center point; if the cost value is lower than the preset value, retain the replacement operation; if the cost value is higher than the preset value, abandon the replacement operation; until every non-center point is selected, k distribution clustering groups are obtained, and the center point of each distribution clustering group is used as the central distribution point of the distribution clustering group.
4. The logistics network optimization method according to claim 3, characterized in that: The calculation expression of the distance between each non-central point and each central point is: ; In the formula, For the i The non-central point and j The distance between the center points, For the i The non-central point and j The distance between the center points, For the i The non-central point and j The time distance between the center points, is the weight value, where i =1,2,…,nk, j =1,2,…,k.
5. The logistics network optimization method according to claim 1, characterized in that: Reconstruct the optimal distribution plan for each logistics center based on the non-fixed distribution points in the distribution points that each logistics center is responsible for, including: Among the non-fixed distribution points that each logistics center is responsible for, determine whether each non-fixed distribution point meets the preset conditions; When any non-fixed delivery point meets the preset conditions, two fixed delivery points adjacent to the non-fixed delivery point are found, and the first delivery route between the adjacent fixed delivery points is modified so that the non-fixed delivery point is added to the first delivery route; All non-fixed delivery points that do not meet the preset conditions are counted, and delivery routes for all non-fixed delivery points that do not meet the preset conditions are newly created to obtain a second delivery route.
6. The method for optimizing the logistics network according to claim 5, characterized in that: The preset conditions are determined based on the capacity of the transport vehicle, the round-trip time requirements of the logistics center, and the appearance time and location of the non-fixed distribution point.
7. The method for optimizing the logistics network according to claim 1, characterized in that: Based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the delivery time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center, the distribution objective function of each logistics center is constructed, including: Determine the decision variables based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the delivery time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center; The distribution objective function of each logistics center is constructed based on the decision variables, the transportation cost of the transport vehicles of each logistics center, the transportation penalty cost of the transport vehicles and the fixed cost of each logistics center; Among them, the expression of the distribution objective function of each logistics center is: ; In the formula, is the distribution objective function of the mth logistics center, is the transportation cost of the transport vehicle of the mth logistics center, is the transportation penalty cost of the transport vehicle of the m-th logistics center, is the fixed cost of the m-th logistics center; among them, the transportation penalty cost of the transport vehicle of the m-th logistics center Used to characterize whether a vehicle is late or early at a delivery point.
8. The method for optimizing the logistics network according to claim 1, characterized in that: The preset optimization algorithm is a particle swarm algorithm; Based on the preset optimization algorithm, the distribution objective function of each logistics center is solved to obtain the optimal distribution plan for each logistics center, including: For the distribution objective function of any logistics center, the decision variables are used as the input information of the particle swarm optimization algorithm to initialize the historical optimal position of each particle and the optimal position of the population; Calculate the fitness value of each particle based on the distribution objective function of the logistics center; Update the historical optimal position and the population optimal position based on the fitness value of each particle; Update the speed and position of each particle based on the reward and punishment rules, and calculate the fitness value of each particle after the update; Repeat the process of updating the historical optimal position and the optimal position of the population based on the fitness value of each particle; update the speed and position of each particle based on the reward and punishment rules, and calculate the fitness value of each updated particle; until global convergence, the global optimal particle position of the distribution objective function of the logistics center is obtained, and the global optimal particle position is used as the best distribution plan for the logistics center.
9. The method for optimizing the logistics network according to claim 8, characterized in that: The update expression for updating the speed of each particle based on the reward and punishment rule is: ; The update expression for updating the position of each particle based on the reward and punishment rule is: ; In the formula, is the number of l The speed of a particle, In the t+1th iteration l The position of a particle, In the tth iteration l The position of a particle, is the number of l The speed of a particle, is a dynamic weight function based on reward and punishment rules. For the l The historical optimal position of a particle, is the optimal position of the population at the tth iteration, and are the first coefficient and the second coefficient respectively, and are all random numbers in the interval [0,1].
10. A logistics network optimization system, the system being used to implement the logistics network optimization method according to any one of claims 1 to 9, characterized in that: The system comprises: A parameter acquisition module is used to obtain the location of each logistics center, the number of transport vehicles equipped by each logistics center, and the distribution points of each cargo to be distributed, wherein the distribution points include fixed distribution points and non-fixed distribution points; The distribution determination module is used to divide the distribution points according to the location of each logistics center and determine the distribution points that each logistics center is responsible for; Function construction module, used to construct the distribution objective function of each logistics center based on the location of each logistics center, the fixed distribution points among the distribution points that the logistics center is responsible for, the delivery time requirements of each fixed distribution point, and the number of transport vehicles equipped by each logistics center; A function solving module, used to solve the distribution objective function of each logistics center based on a preset optimization algorithm to obtain the best distribution plan for each logistics center, wherein the best distribution plan for each logistics center includes: a first distribution route from the logistics center to multiple fixed distribution points; The plan reconstruction module is used to reconstruct the optimal distribution plan of each logistics center based on the non-fixed distribution points among the distribution points that each logistics center is responsible for. The reconstruction operation includes: modifying the first distribution route or creating a second distribution route from the logistics center to at least one non-fixed distribution point.
Citation Information
Cited By
Logistics distribution path optimization method and system based on traffic flow prediction
CN119204377A
