CN115936576A - Distribution balancing method and device for warehouse - Google Patents

Distribution balancing method and device for warehouse Download PDF

Info

Publication number
CN115936576A
CN115936576A CN202211530707.4A CN202211530707A CN115936576A CN 115936576 A CN115936576 A CN 115936576A CN 202211530707 A CN202211530707 A CN 202211530707A CN 115936576 A CN115936576 A CN 115936576A
Authority
CN
China
Prior art keywords
distribution
responsible
warehouse
warehouses
allocation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211530707.4A
Other languages
Chinese (zh)
Inventor
周超越
高振羽
庄晓天
吴盛楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Shangke Information Technology Co Ltd
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Shangke Information Technology Co Ltd
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Shangke Information Technology Co Ltd, Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Shangke Information Technology Co Ltd
Priority to CN202211530707.4A priority Critical patent/CN115936576A/en
Publication of CN115936576A publication Critical patent/CN115936576A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本公开涉及一种仓库的配送均衡方法、装置和非易失性计算机可读存储介质,涉及物流技术领域。该均衡方法,包括:以满足仓库中货物的最低保有量、负责配入的仓库之间的配送量均衡、配送的有效提前期VLT最小或者负责配出的仓库之间的配送量均衡中的至少一项为均衡目标,建立均衡模型,均衡模型包含至少一个关于仓库配送信息的决策变量,均衡模型用于配置仓库配送信息。本公开的技术方案能够提高均衡性能。

Figure 202211530707

The present disclosure relates to a warehouse distribution balance method, device and non-volatile computer-readable storage medium, and relates to the field of logistics technology. The balancing method includes: satisfying the minimum inventory of goods in the warehouse, balancing the distribution volume between the warehouses responsible for distribution, minimizing the effective lead time VLT of distribution, or at least One is the equilibrium goal, establishing an equilibrium model, which contains at least one decision variable about warehouse distribution information, and the equilibrium model is used to configure warehouse distribution information. The technical solution of the present disclosure can improve equalization performance.

Figure 202211530707

Description

仓库的配送均衡方法和装置Warehouse distribution balancing method and device

技术领域Technical Field

本公开涉及物流技术领域,特别涉及一种仓库的配送均衡方法、仓库的配送均衡装置和非易失性计算机可读存储介质。The present disclosure relates to the field of logistics technology, and in particular to a warehouse distribution balancing method, a warehouse distribution balancing device, and a non-volatile computer-readable storage medium.

背景技术Background Art

物流服务公司为B端客户提供供应链服务,即仓储、配送、运输产品。物流服务公司可以为客户提供仓储服务,将客户的货物存放在物流服务公司在全国的仓库中,以覆盖各区域中的客户需求,并提供配送服务。Logistics service companies provide supply chain services to B-end customers, namely warehousing, distribution, and transportation of products. Logistics service companies can provide warehousing services to customers, store customers' goods in logistics service companies' warehouses across the country to cover customer needs in various regions, and provide distribution services.

由于不同区域客户的需求可能不同,因此各仓库可能会发生供需不均的情况。例如,某个商品在仓库A发生了缺货,但在仓库B却可能产生积压。这样一来,仓库A所覆盖的消费者要么无法购买该商品,因而B端客户会损失销售利润;或者消费者成功下单,但是商品会从其他区域的仓库(如仓库B)发货,从而造成更高的物流费用和更长的履约时间。Since the needs of customers in different regions may be different, there may be uneven supply and demand in each warehouse. For example, a certain product may be out of stock in warehouse A, but there may be a backlog in warehouse B. In this case, consumers covered by warehouse A will either be unable to purchase the product, so the B-end customer will lose sales profit; or consumers will successfully place an order, but the product will be shipped from a warehouse in another region (such as warehouse B), resulting in higher logistics costs and longer fulfillment time.

因此,为了增加B端客户的销售利润,降低供应链的配送成本,并提升配送时效,希望仓库出现缺货或商品积压之前,对多个仓库之间的商品执行库存均衡计划。可见,仓库之间的均衡从根本上说是为了平衡库存供给和消耗。Therefore, in order to increase the sales profit of B-end customers, reduce the distribution cost of the supply chain, and improve the delivery efficiency, it is hoped that before the warehouse is out of stock or the goods are overstocked, the inventory balancing plan between multiple warehouses will be implemented. It can be seen that the balance between warehouses is fundamentally to balance the supply and consumption of inventory.

在相关技术中,以最小化仓储涉及到的各种成本为目标,对多个仓库进行均衡。In the related art, multiple warehouses are balanced with the goal of minimizing various costs involved in warehousing.

发明内容Summary of the invention

本公开的发明人发现上述相关技术中存在如下问题:很多成本无法获取或者难以准确估计,均衡模型与实际情况不符,导致均衡性能下降。The inventors of the present disclosure have discovered that the above-mentioned related technologies have the following problems: many costs cannot be obtained or are difficult to accurately estimate, and the balancing model does not conform to the actual situation, resulting in a decrease in balancing performance.

鉴于此,本公开提出了一种仓库的配送均衡技术方案,能够提高均衡性能。In view of this, the present disclosure proposes a warehouse distribution balancing technical solution that can improve balancing performance.

根据本公开的一些实施例,提供了一种仓库的配送均衡方法,包括:以满足仓库中货物的最低保有量、负责配入的仓库之间的配送量均衡、配送的有效提前期VLT(ValidLead Time,有效提前期)最小或者负责配出的仓库之间的配送量均衡中的至少一项为均衡目标,建立均衡模型,均衡模型包含至少一个关于仓库配送信息的决策变量,均衡模型用于配置仓库配送信息。According to some embodiments of the present disclosure, a method for balancing distribution of a warehouse is provided, including: taking at least one of satisfying the minimum inventory of goods in the warehouse, balancing the distribution quantity between warehouses responsible for incoming distribution, minimizing the effective lead time VLT (Valid Lead Time) of distribution, or balancing the distribution quantity between warehouses responsible for outgoing distribution as a balancing target, establishing a balancing model, the balancing model including at least one decision variable regarding warehouse distribution information, and the balancing model being used to configure the warehouse distribution information.

在一些实施例中,建立均衡模型包括:根据多个仓库中货物的最低保有量是否被满足、负责配入的仓库之间是否均衡、VLT或者负责配出的仓库之间是否均衡中的至少一项,建立均衡模型的目标函数,目标函数包括至少一个决策变量。In some embodiments, establishing the equilibrium model includes: establishing an objective function of the equilibrium model based on at least one of whether the minimum inventory of goods in multiple warehouses is met, whether the warehouses responsible for incoming distribution are balanced, and whether the VLT or warehouses responsible for outgoing distribution are balanced, and the objective function includes at least one decision variable.

在一些实施例中,均衡方法还包括:以最小化目标函数的值为求解目标,对均衡模型进行求解,以确定至少一个决策变量的值;根据至少一个决策变量的值,对各仓库的配送信息进行配置。In some embodiments, the balancing method further includes: solving the balancing model with the value of minimizing the objective function as the solution target to determine the value of at least one decision variable; and configuring the distribution information of each warehouse according to the value of at least one decision variable.

在一些实施例中,建立均衡模型的目标函数包括:根据多个仓库中货物的最低保有量是否被满足,建立第一目标项,根据负责配入的仓库之间是否均衡,建立第二目标项,根据VLT建立第三目标项,根据负责配出的仓库之间是否均衡,建立第四目标项;根据第一目标项、第二目标项、第三目标项和第四目标项的加权和,建立目标函数。In some embodiments, establishing the objective function of the equilibrium model includes: establishing a first objective item based on whether the minimum inventory of goods in multiple warehouses is met, establishing a second objective item based on whether the warehouses responsible for incoming distribution are balanced, establishing a third objective item based on VLT, and establishing a fourth objective item based on whether the warehouses responsible for outgoing distribution are balanced; establishing an objective function based on the weighted sum of the first objective item, the second objective item, the third objective item and the fourth objective item.

在一些实施例中,根据多个仓库中货物的最低保有量是否被满足,建立第一目标项包括:根据配入货物后,库存无法满足最低保有量的负责配入的仓库的数量,建立第一目标项。In some embodiments, establishing the first target item based on whether the minimum inventory of goods in multiple warehouses is met includes: establishing the first target item based on the number of warehouses responsible for distribution whose inventory cannot meet the minimum inventory after the goods are distributed.

在一些实施例中,根据负责配入的仓库之间是否均衡,建立第二目标项包括:根据配送后各负责配入的仓库之间目标库存的满足情况的差异,建立第二目标项。In some embodiments, establishing the second target item based on whether the warehouses responsible for distribution are balanced includes: establishing the second target item based on the difference in satisfaction of target inventory between the warehouses responsible for distribution after delivery.

在一些实施例中,建立第二目标项包括:根据任一个负责配入的仓库的现货量、配入需求量和实际配入量,确定目标库存的满足情况,目标库存的满足情况与现货量和配入需求量之和负相关,与现货量和实际配入量之和正相关。In some embodiments, establishing the second target item includes: determining the target inventory satisfaction status based on the spot quantity, allocation demand and actual allocation quantity of any warehouse responsible for allocation, and the target inventory satisfaction status is negatively correlated with the sum of the spot quantity and the allocation demand, and positively correlated with the sum of the spot quantity and the actual allocation quantity.

在一些实施例中,根据VLT建立第三目标项包括:根据具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT,确定第三目标项。In some embodiments, establishing the third target item according to the VLT includes: determining the third target item according to a plurality of VLTs between a warehouse responsible for incoming distribution and a warehouse responsible for outgoing distribution that have a distribution relationship.

在一些实施例中,确定第三目标项包括:根据各VLT与多个VLT 中的最大值之间的差异,确定第三目标项。In some embodiments, determining the third target term includes determining the third target term according to a difference between each VLT and a maximum value among the plurality of VLTs.

在一些实施例中,根据负责配出的仓库之间是否均衡,建立第四目标项包括:根据配送后各负责配出的仓库之间剩余库存信息的差异,建立第四目标项。In some embodiments, establishing the fourth target item based on whether the warehouses responsible for distribution are balanced includes: establishing the fourth target item based on the difference in remaining inventory information between the warehouses responsible for distribution after delivery.

在一些实施例中,建立第四目标项包括:根据配送后任一个负责配出的仓库的现货量与配出量的差异和所有负责配出的仓库的现货量的最大值,确定剩余库存信息,剩余库存信息与现货量与配出量的差异正相关,与现货量的最大值负相关。In some embodiments, establishing the fourth target item includes: determining the remaining inventory information based on the difference between the spot quantity and the allocated quantity of any warehouse responsible for allocation after delivery and the maximum spot quantity of all warehouses responsible for allocation, the remaining inventory information is positively correlated with the difference between the spot quantity and the allocated quantity, and negatively correlated with the maximum spot quantity.

在一些实施例中,第一目标项的权重大于第二目标项,第二目标项的权重大于第三目标项,第三目标项大于第四目标项。In some embodiments, the weight of the first target item is greater than that of the second target item, the weight of the second target item is greater than that of the third target item, and the third target item is greater than that of the fourth target item.

在一些实施例中,第二目标项的权重根据负责配入的仓库的数量确定,第四目标项的权重根据负责配入的仓库的数量和具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT的最大值确定。In some embodiments, the weight of the second target item is determined based on the number of warehouses responsible for incoming distribution, and the weight of the fourth target item is determined based on the number of warehouses responsible for incoming distribution and the maximum value of multiple VLTs between the warehouses responsible for incoming distribution and the warehouses responsible for outgoing distribution that have a distribution relationship.

在一些实施例中,建立均衡模型包括下面的至少一项:根据负责配入的仓库的现货量、实际配入量、最低保有量、配入需求量,以及配送后库存量是否满足最低保有量,确定第一约束条件;根据负责配出的仓库的实际配出量不超过配出需求量,确定第二约束条件;根据负责配人的仓库的实际配入量不超过配入需求量,确定第三约束条件;根据负责配出的仓库对具有配送关系的负责配入的仓库的配出量不超过所有负责配入的仓库的配入需求量的最大值,确定第四约束条件;根据所有负责配出的仓库的配出需求量的加权和、所有负责配出的仓库的实际配出量的加权和、均衡需求量,以及所有负责配出的仓库的配出需求量是否满足,确定第五约束条件,均衡需求量包括所有负责配出的仓库的配出需求量的加权和、所有负责配入的仓库的配入需求量的加权中的最大值;根据所有负责配入的仓库的配入需求量的加权和、所有负责配出的仓库的实际配出量的加权和、均衡需求量,以及所有负责配入的仓库的配入需求量是否满足,确定第六约束条件;或者根据所有负责配出的仓库的配出需求量是否满足,所有负责配入的仓库的配入需求量是否满足,确定第七约束条件。In some embodiments, establishing a balanced model includes at least one of the following: determining a first constraint condition based on the spot quantity, actual allocation quantity, minimum inventory, allocation demand quantity of the warehouse responsible for allocation, and whether the inventory quantity after distribution meets the minimum inventory quantity; determining a second constraint condition based on the fact that the actual allocation quantity of the warehouse responsible for distribution does not exceed the allocation demand quantity; determining a third constraint condition based on the fact that the actual allocation quantity of the warehouse responsible for distribution does not exceed the allocation demand quantity; determining a fourth constraint condition based on the fact that the allocation quantity of the warehouse responsible for distribution to the warehouse responsible for distribution with which it has a distribution relationship does not exceed the maximum allocation demand quantity of all warehouses responsible for distribution; determining a fifth constraint condition based on the weighted sum of the allocation demand quantities of all warehouses responsible for distribution, the weighted sum of the allocation demand quantities of all warehouses responsible for distribution, the weighted sum of the allocation demand quantities of all warehouses responsible for distribution, and the weighted sum of the allocation demand quantities of all warehouses responsible for distribution. The fifth constraint condition is determined by the weighted sum of the actual allocation quantities of the allocated warehouses, the balanced demand, and whether the allocation demands of all the warehouses responsible for allocation are met. The balanced demand includes the maximum value of the weighted sum of the allocation demands of all the warehouses responsible for allocation and the weighted input demands of all the warehouses responsible for allocation. The sixth constraint condition is determined according to the weighted sum of the input demands of all the warehouses responsible for allocation, the weighted sum of the actual allocation quantities of all the warehouses responsible for allocation, the balanced demand, and whether the input demands of all the warehouses responsible for allocation are met. Or the seventh constraint condition is determined according to whether the allocation demands of all the warehouses responsible for allocation are met and whether the input demands of all the warehouses responsible for allocation are met.

在一些实施例中,均衡方法还包括:利用贪心算法,求解出均衡模型的初始解;根据初始解中各负责配入的仓库的配入需求量的满足情况,或者初始解中具有配送关系的负责配入的仓库和负责配出的仓库之间的VLT中的至少一项,对初始解进行调整;根据调整结果,确定均衡模型的最终解。In some embodiments, the balancing method also includes: using a greedy algorithm to solve an initial solution to the balancing model; adjusting the initial solution based on the satisfaction of the incoming distribution demand of each warehouse responsible for distribution in the initial solution, or at least one item in the VLT between the warehouse responsible for incoming distribution and the warehouse responsible for outgoing distribution that have a distribution relationship in the initial solution; and determining the final solution of the balancing model based on the adjustment result.

在一些实施例中,对初始解进行调整包括:对初始解中的配送关系进行调整;根据调整结果,计算均衡模型的目标函数的值是否有改进;在有改进的情况下,根据调整结果确定均衡模型的最终解。In some embodiments, adjusting the initial solution includes: adjusting the distribution relationship in the initial solution; calculating whether the value of the objective function of the equilibrium model has been improved based on the adjustment result; if there is improvement, determining the final solution of the equilibrium model based on the adjustment result.

在一些实施例中,求解出均衡模型的初始解包括:根据当前的总配出量是否大于或等于总配入量,以及是否存在不满足最低保有量的负责配入的仓库,进行初始解更新;根据配出仓集合中是否存在负责配出的仓库能够独自满足一个负责配入的仓库的配入需求,继续进行初始解更新;利用更新后的初始解对应的剩余的负责配出的仓库的可配出量满足剩余的负责配入的仓库的配入量需求,直至所述剩余的负责配出的仓库的可配出量降为0或所述剩余的负责配入的仓库的配入量需求降为0,以继续进行初始解更新。In some embodiments, solving the initial solution of the equilibrium model includes: updating the initial solution according to whether the current total allocation is greater than or equal to the total allocation, and whether there are warehouses responsible for allocation that do not meet the minimum inventory; continuing to update the initial solution according to whether there is a warehouse responsible for allocation in the allocation warehouse set that can independently meet the allocation demand of a warehouse responsible for allocation; using the available allocation of the remaining warehouses responsible for allocation corresponding to the updated initial solution to meet the allocation demand of the remaining warehouses responsible for allocation, until the available allocation of the remaining warehouses responsible for allocation drops to 0 or the allocation demand of the remaining warehouses responsible for allocation drops to 0, so as to continue updating the initial solution.

根据本公开的另一些实施例,提供一种仓库的配送均衡装置,包括:确定单元,用于将满足仓库中货物的最低保有量、负责配入的仓库之间的配送量均衡、配送的VLT最小或者负责配出的仓库之间的配送量均衡中的至少一项确定为均衡目标;建立单元,用于根据均衡目标,建立均衡模型,均衡模型包含至少一个关于仓库配送信息的决策变量,均衡模型用于配置仓库配送信息。According to other embodiments of the present disclosure, there is provided a distribution balancing device for a warehouse, comprising: a determination unit for determining at least one of satisfying a minimum inventory of goods in the warehouse, distribution quantity balancing between warehouses responsible for incoming distribution, minimizing the VLT of distribution, or distribution quantity balancing between warehouses responsible for outgoing distribution as a balancing target; and an establishment unit for establishing a balancing model according to the balancing target, the balancing model comprising at least one decision variable regarding warehouse distribution information, and the balancing model being used to configure the warehouse distribution information.

在一些实施例中,建立单元根据多个仓库中货物的最低保有量是否被满足、负责配入的仓库之间是否均衡、VLT或者负责配出的仓库之间是否均衡中的至少一项,建立均衡模型的目标函数,目标函数包括至少一个决策变量。In some embodiments, the establishment unit establishes an objective function of the equilibrium model based on at least one of whether the minimum inventory of goods in multiple warehouses is met, whether the warehouses responsible for incoming distribution are balanced, and whether the VLT or warehouses responsible for outgoing distribution are balanced, and the objective function includes at least one decision variable.

在一些实施例中,均衡装置还包括:求解单元,用于以最小化目标函数的值为求解目标,对均衡模型进行求解,以确定至少一个决策变量的值;根据至少一个决策变量的值,对各仓库的配送信息进行配置。In some embodiments, the balancing device also includes: a solving unit, which is used to solve the balancing model with the value of minimizing the objective function as the solving goal to determine the value of at least one decision variable; and configure the distribution information of each warehouse according to the value of at least one decision variable.

在一些实施例中,建立单元根据多个仓库中货物的最低保有量是否被满足,建立第一目标项,根据负责配入的仓库之间是否均衡,建立第二目标项,根据VLT建立第三目标项,根据负责配出的仓库之间是否均衡,建立第四目标项;根据第一目标项、第二目标项、第三目标项和第四目标项的加权和,建立目标函数。In some embodiments, the establishment unit establishes a first target item based on whether the minimum inventory of goods in multiple warehouses is met, establishes a second target item based on whether the warehouses responsible for incoming distribution are balanced, establishes a third target item based on VLT, and establishes a fourth target item based on whether the warehouses responsible for outgoing distribution are balanced; establishes an objective function based on the weighted sum of the first target item, the second target item, the third target item and the fourth target item.

在一些实施例中,建立单元根据配入货物后,库存无法满足最低保有量的负责配入的仓库的数量,建立第一目标项。In some embodiments, the establishing unit establishes the first target item according to the number of warehouses responsible for distribution whose inventory cannot meet the minimum holding quantity after the goods are distributed.

在一些实施例中,建立单元根据配送后各负责配入的仓库之间目标库存的满足情况的差异,建立第二目标项。In some embodiments, the establishing unit establishes the second target item according to the difference in satisfaction of the target inventory between the warehouses responsible for distribution after delivery.

在一些实施例中,建立单元根据任一个负责配入的仓库的现货量、配入需求量和实际配入量,确定目标库存的满足情况,目标库存的满足情况与现货量和配入需求量之和负相关,与现货量和实际配入量之和正相关。In some embodiments, an establishment unit determines the target inventory satisfaction based on the spot quantity, allocation demand and actual allocation quantity of any warehouse responsible for allocation. The target inventory satisfaction is negatively correlated with the sum of the spot quantity and the allocation demand, and positively correlated with the sum of the spot quantity and the actual allocation quantity.

在一些实施例中,建立单元根据具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT,确定第三目标项。In some embodiments, the establishing unit determines the third target item according to a plurality of VLTs between a warehouse responsible for incoming distribution and a warehouse responsible for outgoing distribution that have a delivery relationship.

在一些实施例中,建立单元根据各VLT与多个VLT中的最大值之间的差异,确定第三目标项。In some embodiments, the establishing unit determines the third target item according to a difference between each VLT and a maximum value among the plurality of VLTs.

在一些实施例中,建立单元根据配送后各负责配出的仓库之间剩余库存信息的差异,建立第四目标项。In some embodiments, the establishing unit establishes the fourth target item according to the difference in remaining inventory information between the warehouses responsible for distribution after delivery.

在一些实施例中,建立单元根据配送后任一个负责配出的仓库的现货量与配出量的差异和所有负责配出的仓库的现货量的最大值,确定剩余库存信息,剩余库存信息与现货量与配出量的差异正相关,与现货量的最大值负相关。In some embodiments, an establishment unit determines the remaining inventory information based on the difference between the spot quantity and the allocated quantity of any warehouse responsible for allocation after delivery and the maximum spot quantity of all warehouses responsible for allocation. The remaining inventory information is positively correlated with the difference between the spot quantity and the allocated quantity, and negatively correlated with the maximum spot quantity.

在一些实施例中,第一目标项的权重大于第二目标项,第二目标项的权重大于第三目标项,第三目标项大于第四目标项。In some embodiments, the weight of the first target item is greater than that of the second target item, the weight of the second target item is greater than that of the third target item, and the third target item is greater than that of the fourth target item.

在一些实施例中,第二目标项的权重根据负责配入的仓库的数量确定,第四目标项的权重根据负责配入的仓库的数量和具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT的最大值确定。In some embodiments, the weight of the second target item is determined based on the number of warehouses responsible for incoming distribution, and the weight of the fourth target item is determined based on the number of warehouses responsible for incoming distribution and the maximum value of multiple VLTs between the warehouses responsible for incoming distribution and the warehouses responsible for outgoing distribution that have a distribution relationship.

在一些实施例中,建立单元执行下面的至少一项:根据负责配入的仓库的现货量、实际配入量、最低保有量、配入需求量,以及配送后库存量是否满足最低保有量,确定第一约束条件;根据负责配出的仓库的实际配出量不超过配出需求量,确定第二约束条件;根据负责配人的仓库的实际配入量不超过配入需求量,确定第三约束条件;根据负责配出的仓库对具有配送关系的负责配入的仓库的配出量不超过所有负责配入的仓库的配入需求量的最大值,确定第四约束条件;根据所有负责配出的仓库的配出需求量的加权和、所有负责配出的仓库的实际配出量的加权和、均衡需求量,以及所有负责配出的仓库的配出需求量是否满足,确定第五约束条件,均衡需求量包括所有负责配出的仓库的配出需求量的加权和、所有负责配入的仓库的配入需求量的加权中的最大值;根据所有负责配入的仓库的配入需求量的加权和、所有负责配出的仓库的实际配出量的加权和、均衡需求量,以及所有负责配入的仓库的配入需求量是否满足,确定第六约束条件;或者根据所有负责配出的仓库的配出需求量是否满足,所有负责配入的仓库的配入需求量是否满足,确定第七约束条件。In some embodiments, the establishment unit performs at least one of the following: determining a first constraint condition based on the spot quantity, actual allocation quantity, minimum inventory, allocation demand quantity of the warehouse responsible for allocation, and whether the inventory quantity after distribution meets the minimum inventory quantity; determining a second constraint condition based on the fact that the actual allocation quantity of the warehouse responsible for distribution does not exceed the allocation demand quantity; determining a third constraint condition based on the fact that the actual allocation quantity of the warehouse responsible for distribution does not exceed the allocation demand quantity; determining a fourth constraint condition based on the fact that the allocation quantity of the warehouse responsible for distribution to the warehouse responsible for distribution with which it has a distribution relationship does not exceed the maximum value of the allocation demand quantity of all the warehouses responsible for distribution; determining a fifth constraint condition based on the weighted sum of the allocation demand quantities of all the warehouses responsible for distribution, the weighted sum of the allocation demand quantities of all the warehouses responsible for distribution, the weighted sum of the allocation demand quantities of all the warehouses responsible for distribution, and the weighted sum of the allocation demand quantities of all the warehouses responsible for distribution. The fifth constraint condition is determined by the weighted sum of the actual allocation quantities of the outgoing warehouses, the balanced demand, and whether the allocation demands of all the warehouses responsible for allocation are met, and the balanced demand includes the maximum value of the weighted sum of the allocation demands of all the warehouses responsible for allocation and the weighted input demands of all the warehouses responsible for allocation; the sixth constraint condition is determined according to the weighted sum of the input demands of all the warehouses responsible for allocation, the weighted sum of the actual allocation quantities of all the warehouses responsible for allocation, the balanced demand, and whether the input demands of all the warehouses responsible for allocation are met; or the seventh constraint condition is determined according to whether the allocation demands of all the warehouses responsible for allocation are met and whether the input demands of all the warehouses responsible for allocation are met.

在一些实施例中,求解单元利用贪心算法,求解出均衡模型的初始解;根据初始解中各负责配入的仓库的配入需求量的满足情况,或者初始解中具有配送关系的负责配入的仓库和负责配出的仓库之间的 VLT中的至少一项,对初始解进行调整;根据调整结果,确定均衡模型的最终解。In some embodiments, the solving unit uses a greedy algorithm to solve an initial solution to the equilibrium model; adjusts the initial solution based on the satisfaction of the distribution demand of each warehouse responsible for distribution in the initial solution, or at least one item in the VLT between the warehouse responsible for distribution and the warehouse responsible for distribution that have a distribution relationship in the initial solution; and determines the final solution of the equilibrium model based on the adjustment result.

在一些实施例中,求解单元对初始解中的配送关系进行调整;根据调整结果,计算均衡模型的目标函数的值是否有改进;在有改进的情况下,根据调整结果确定均衡模型的最终解。In some embodiments, the solution unit adjusts the distribution relationship in the initial solution; based on the adjustment result, calculates whether the value of the objective function of the equilibrium model is improved; if there is improvement, determines the final solution of the equilibrium model based on the adjustment result.

在一些实施例中,求解单元根据当前的总配出量是否大于或等于总配入量,以及是否存在不满足最低保有量的负责配入的仓库,进行初始解更新;根据配出仓集合中是否存在负责配出的仓库能够独自满足一个负责配入的仓库的配入需求,继续进行初始解更新;利用更新后的初始解对应的剩余的负责配出的仓库的可配出量满足剩余的负责配入的仓库的配入量需求,直至所述剩余的负责配出的仓库的可配出量降为0或所述剩余的负责配入的仓库的配入量需求降为0,以继续进行初始解更新。In some embodiments, the solution unit updates the initial solution based on whether the current total outbound allocation is greater than or equal to the total inbound allocation, and whether there are warehouses responsible for inbound allocation that do not meet the minimum inventory; continues to update the initial solution based on whether there is a warehouse responsible for outbound allocation in the outbound allocation warehouse set that can independently meet the inbound allocation demand of a warehouse responsible for inbound allocation; uses the available outbound allocation of the remaining warehouses responsible for outbound allocation corresponding to the updated initial solution to meet the inbound allocation demand of the remaining warehouses responsible for inbound allocation, until the available outbound allocation of the remaining warehouses responsible for outbound allocation drops to 0 or the inbound allocation demand of the remaining warehouses responsible for inbound allocation drops to 0, so as to continue to update the initial solution.

根据本公开的又一些实施例,提供一种仓库的配送均衡装置,包括:存储器;和耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器装置中的指令,执行上述任一个实施例中的仓库的配送均衡方法。According to some further embodiments of the present disclosure, there is provided a distribution balancing device for a warehouse, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the distribution balancing method for the warehouse in any one of the above embodiments based on instructions stored in the memory device.

根据本公开的再一些实施例,提供一种非易失性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一个实施例中的仓库的配送均衡方法。According to some further embodiments of the present disclosure, a non-volatile computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the warehouse distribution balancing method in any of the above embodiments is implemented.

在上述实施例中,根据最低保有量、仓库之间的均衡、VLT能够准确获取的因素,对各仓库进行均衡。这样,能够建立符合实际情况的均衡模型,从而提高均衡性能。In the above embodiment, each warehouse is balanced according to the factors of the minimum inventory, the balance between warehouses, and the accurate acquisition of VLT. In this way, a balance model that conforms to the actual situation can be established, thereby improving the balance performance.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

参照附图,根据下面的详细描述,可以更加清楚地理解本公开,The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings.

其中:in:

图1示出本公开的仓库的配送均衡方法的一些实施例的流程图;FIG1 is a flow chart showing some embodiments of the warehouse distribution balancing method disclosed herein;

图2示出本公开的步骤130的一些实施例的流程图;FIG. 2 shows a flow chart of some embodiments of step 130 of the present disclosure;

图3示出本公开的仓库的配送均衡方法的一些实施例的示意图;FIG3 is a schematic diagram showing some embodiments of the warehouse distribution balancing method disclosed in the present invention;

图4示出本公开的仓库的配送均衡装置的一些实施例的框图;FIG4 is a block diagram showing some embodiments of the distribution balancing device of the warehouse disclosed in the present invention;

图5示出本公开的仓库的配送均衡装置的另一些实施例的框图;FIG5 is a block diagram showing some other embodiments of the distribution balancing device of the warehouse disclosed in the present invention;

图6示出本公开的仓库的配送均衡装置的又一些实施例的框图。FIG. 6 is a block diagram showing some further embodiments of the distribution balancing device for a warehouse according to the present disclosure.

具体实施方式DETAILED DESCRIPTION

现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

如前所述,所谓的成本可以包括仓储成本、持有成本、运输成本和缺货成本等。但是,在实际业务场景中,如持有成本、缺货成本等难以衡量。此外,部分成本(如货物成本等)是无法获取的,因而以最小化成本为目标进行建模,以解决实际业务中的均衡需求是不现实的。因此,仓库的库存均衡需要结合实际业务需求进行均衡建模,以权衡不同的业务目标。As mentioned above, the so-called costs can include storage costs, holding costs, transportation costs, and out-of-stock costs. However, in actual business scenarios, such as holding costs and out-of-stock costs, are difficult to measure. In addition, some costs (such as goods costs, etc.) are not available, so it is unrealistic to model with the goal of minimizing costs to solve the balance needs in actual business. Therefore, the inventory balance of the warehouse needs to be balanced modeled in combination with actual business needs to weigh different business goals.

针对上述技术问题,本公开构建的均衡模型,更加贴合实际业务场景,优化的目标包括满足配入仓(负责配入的仓库)的最低保有量、降低仓间的调拨次数、均衡配出仓(负责配出的仓库)的配出货量、均衡配入仓的配入货量等。In response to the above technical problems, the balance model constructed in the present invention is more in line with actual business scenarios. The optimization goals include meeting the minimum inventory of the incoming warehouse (the warehouse responsible for incoming inventory), reducing the number of transfers between warehouses, balancing the outgoing inventory of the outgoing warehouse (the warehouse responsible for outgoing inventory), and balancing the incoming inventory of the incoming warehouse.

在一些实施例中,结合具体的库存均衡业务场景,考虑到实际的仓间均衡目标,构建了多目标的库存均衡模型;利用求解器对构建的模型求解。In some embodiments, in combination with a specific inventory balancing business scenario and taking into account the actual warehouse balancing goal, a multi-objective inventory balancing model is constructed; and a solver is used to solve the constructed model.

另外,智能供应链系统以HTTP服务形式调用补调策略池,对算法的运算时间有一定要求,对求解器求解时间设置了上限,后期随着问题规模扩大,求解器求解质量会相应下降。In addition, the intelligent supply chain system calls the replenishment strategy pool in the form of HTTP service, which has certain requirements on the algorithm's computing time and sets an upper limit on the solver's solution time. Later, as the scale of the problem increases, the solver's solution quality will decrease accordingly.

因此,考虑到HTTP(HyperText Transfer Protocol,超文本传输协议)的服务调用均衡模型的运算时间,本公开设计了库存均衡模型的启发式求解算法,以在问题规模较大情况下获得较高质量的解。Therefore, considering the operation time of the HTTP (HyperText Transfer Protocol) service call equilibrium model, the present disclosure designs a heuristic solution algorithm for the inventory equilibrium model to obtain a higher quality solution when the problem scale is large.

在一些实施例中,设计了仓间均衡的启发式求解算法,以在问题规模增大时作为求解算法。通过与求解器的求解结果比较,启发式算法可以降低求解时间,提高最优解的准确性。In some embodiments, a heuristic solution algorithm for bin equilibrium is designed to be used as a solution algorithm when the problem scale increases. By comparing with the solution results of the solver, the heuristic algorithm can reduce the solution time and improve the accuracy of the optimal solution.

例如,可以通过下面的实施例实现本公开的技术方案。For example, the technical solution of the present disclosure can be implemented through the following embodiments.

图1示出本公开的仓库的配送均衡方法的一些实施例的流程图。FIG. 1 is a flow chart showing some embodiments of the distribution balancing method of a warehouse according to the present disclosure.

如图1所示,在步骤110中,将满足仓库中货物的最低保有量、负责配入的仓库之间的配送量均衡、配送的VLT最小或者负责配出的仓库之间的配送量均衡中的至少一项确定为均衡目标。As shown in FIG. 1 , in step 110 , at least one of satisfying the minimum inventory of goods in the warehouse, balanced distribution quantity between warehouses responsible for incoming distribution, minimum VLT of distribution, or balanced distribution quantity between warehouses responsible for outgoing distribution is determined as a balancing target.

在一些实施例中,根据多个仓库中货物的最低保有量是否被满足、负责配入的仓库之间是否均衡、VLT或者负责配出的仓库之间是否均衡中的至少一项,建立均衡模型的目标函数。目标函数包括至少一个决策变量。In some embodiments, an objective function of the equilibrium model is established based on at least one of whether the minimum inventory of goods in multiple warehouses is met, whether the warehouses responsible for incoming goods are balanced, and whether the VLT or warehouses responsible for outgoing goods are balanced. The objective function includes at least one decision variable.

在一些实施例中,根据多个仓库中货物的最低保有量是否被满足,建立第一目标项。例如,根据配入货物后,库存无法满足最低保有量的负责配入的仓库的数量,建立第一目标项。In some embodiments, the first target item is established based on whether the minimum inventory of goods in multiple warehouses is met. For example, the first target item is established based on the number of warehouses responsible for distribution whose inventory cannot meet the minimum inventory after the goods are distributed.

例如,第一目标项可以通过下面的公式确定:For example, the first target item can be determined by the following formula:

Figure BDA0003975711220000091
Figure BDA0003975711220000091

Figure BDA0003975711220000094
为配入仓的集合,j为配入仓的序号。
Figure BDA0003975711220000092
用于指示配入仓 j在配入货物后的库存是否低于其最低保有量,
Figure BDA0003975711220000093
指示低于最低保有量,
Figure BDA0003975711220000101
指示不低于最低保有量。
Figure BDA0003975711220000094
is the set of allocated warehouses, and j is the sequence number of the allocated warehouse.
Figure BDA0003975711220000092
It is used to indicate whether the inventory of the distribution warehouse j after the goods are distributed is lower than its minimum holding quantity.
Figure BDA0003975711220000093
Indicates that the minimum holding level is below the minimum level.
Figure BDA0003975711220000101
Instructions not to fall below minimum holdings.

在一些实施例中,根据负责配入的仓库之间是否均衡,建立第二目标项。例如,根据配送后各负责配入的仓库之间目标库存的满足情况的差异,建立第二目标项。In some embodiments, the second target item is established based on whether the warehouses responsible for distribution are balanced. For example, the second target item is established based on the difference in the satisfaction of the target inventory between the warehouses responsible for distribution after delivery.

例如,根据任一个负责配入的仓库的现货量、配入需求量和实际配入量,确定目标库存的满足情况,目标库存的满足情况与现货量和配入需求量之和负相关,与现货量和实际配入量之和正相关。For example, the target inventory satisfaction is determined based on the spot quantity, allocation demand and actual allocation quantity of any warehouse responsible for allocation. The target inventory satisfaction is negatively correlated with the sum of the spot quantity and the allocation demand, and positively correlated with the sum of the spot quantity and the actual allocation quantity.

例如,第二目标项可以通过下面的公式确定:For example, the second target term can be determined by the following formula:

Figure BDA0003975711220000102
Figure BDA0003975711220000102

Figure BDA0003975711220000103
用于指示配入仓j1和配入仓j2的目标库存的满足情况的差异。
Figure BDA0003975711220000103
Used to indicate the difference in the satisfaction of the target inventory of the distribution warehouse j1 and the distribution warehouse j2 .

例如,

Figure BDA0003975711220000104
可以根据配入仓j1、j2的现货量
Figure BDA0003975711220000105
Figure BDA0003975711220000106
从配出仓i配出到配入仓j1、j2的货物量
Figure BDA0003975711220000107
Figure BDA0003975711220000108
配入仓j1、j2的配入需求量(即可配出量)
Figure BDA0003975711220000109
Figure BDA00039757112200001010
确定。
Figure BDA00039757112200001011
Figure BDA00039757112200001012
Figure BDA00039757112200001013
之和负相关,与
Figure BDA00039757112200001014
Figure BDA00039757112200001015
之和正相关,与
Figure BDA00039757112200001016
和各
Figure BDA00039757112200001017
之和正相关,与
Figure BDA00039757112200001018
和各
Figure BDA00039757112200001019
之和负相关。在一些实施例中,根据VLT建立第三目标项。例如,根据具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT,确定第三目标项。For example,
Figure BDA0003975711220000104
The spot quantity of warehouse j 1 and j 2 can be
Figure BDA0003975711220000105
and
Figure BDA0003975711220000106
The amount of goods shipped from the outbound warehouse i to the inbound warehouses j 1 and j 2
Figure BDA0003975711220000107
and
Figure BDA0003975711220000108
The required quantity of the warehouse j1 and j2 (i.e. the quantity that can be distributed)
Figure BDA0003975711220000109
and
Figure BDA00039757112200001010
Sure.
Figure BDA00039757112200001011
and
Figure BDA00039757112200001012
and
Figure BDA00039757112200001013
and negatively correlated with
Figure BDA00039757112200001014
and
Figure BDA00039757112200001015
The sum is positively correlated with
Figure BDA00039757112200001016
and each
Figure BDA00039757112200001017
The sum is positively correlated with
Figure BDA00039757112200001018
and each
Figure BDA00039757112200001019
In some embodiments, the third target item is established according to the VLT. For example, the third target item is determined according to a plurality of VLTs between a warehouse responsible for incoming distribution and a warehouse responsible for outgoing distribution that have a distribution relationship.

例如,根据各VLT与多个VLT中的最大值之间的差异,确定第三目标项。For example, the third target item is determined according to the difference between each VLT and the maximum value among the plurality of VLTs.

例如,第三目标项可以根据配出仓i是否给配入仓j配出库存(即是否存在配送关系)yij、从配出仓i到配入仓j的VLTvij

Figure BDA00039757112200001020
Figure BDA00039757112200001021
确定。yij=1指示存在配送关系,yij=0指示不存在配送关系,
Figure BDA00039757112200001022
为配出仓集合。第三目标项与yij正相关,与vmax和vij之和正相关,与vmax负相关。For example, the third target item can be calculated based on whether the outbound warehouse i allocates inventory to the inbound warehouse j (i.e., whether there is a distribution relationship) y ij , the VLTv ij from the outbound warehouse i to the inbound warehouse j,
Figure BDA00039757112200001020
Figure BDA00039757112200001021
Determine. y ij = 1 indicates that there is a delivery relationship, y ij = 0 indicates that there is no delivery relationship,
Figure BDA00039757112200001022
is the set of warehouses to be allocated. The third target item is positively correlated with y ij , positively correlated with the sum of v max and vi ij , and negatively correlated with v max .

在一些实施例中,根据负责配出的仓库之间是否均衡,建立第四目标项。例如,根据配送后各负责配出的仓库之间剩余库存信息的差异,建立第四目标项。In some embodiments, the fourth target item is established based on whether the warehouses responsible for distribution are balanced. For example, the fourth target item is established based on the difference in remaining inventory information between the warehouses responsible for distribution after delivery.

例如,根据配送后任一个负责配出的仓库的现货量与配出量的差异和所有负责配出的仓库的现货量的最大值,确定剩余库存信息,剩余库存信息与现货量与配出量的差异正相关,与现货量的最大值负相关。For example, the remaining inventory information is determined based on the difference between the spot quantity and the allocated quantity of any warehouse responsible for allocation after delivery and the maximum spot quantity of all warehouses responsible for allocation. The remaining inventory information is positively correlated with the difference between the spot quantity and the allocated quantity, and negatively correlated with the maximum spot quantity.

例如,第四目标项可以通过下面的公式确定:For example, the fourth target item can be determined by the following formula:

Figure BDA0003975711220000111
Figure BDA0003975711220000111

Figure BDA00039757112200001117
用于指示配出仓i1和配出仓i2之间剩余库存信息的差异。例如,
Figure BDA0003975711220000112
可以根据
Figure BDA00039757112200001118
确定。在一些实施例中,根据第一目标项、第二目标项、第三目标项和第四目标项的加权和,建立目标函数。例如,第一目标项的权重大于第二目标项,第二目标项的权重大于第三目标项,第三目标项大于第四目标项。
Figure BDA00039757112200001117
Used to indicate the difference in remaining inventory information between distribution warehouse i 1 and distribution warehouse i 2. For example,
Figure BDA0003975711220000112
Can be based on
Figure BDA00039757112200001118
In some embodiments, the objective function is established based on the weighted sum of the first objective item, the second objective item, the third objective item, and the fourth objective item. For example, the weight of the first objective item is greater than the second objective item, the weight of the second objective item is greater than the third objective item, and the third objective item is greater than the fourth objective item.

例如,第二目标项、第三目标项和第四目标项的权值,依次为各自的在前权值的1%。For example, the weights of the second target item, the third target item, and the fourth target item are respectively 1% of their respective previous weights.

例如,第二目标项的权重根据负责配入的仓库的数量确定。第四目标项的权重根据负责配入的仓库的数量和具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT的最大值确定。For example, the weight of the second target item is determined according to the number of warehouses responsible for incoming delivery. The weight of the fourth target item is determined according to the number of warehouses responsible for incoming delivery and the maximum value of multiple VLTs between warehouses responsible for incoming delivery and warehouses responsible for outgoing delivery that have a distribution relationship.

例如,加权后的第二目标项根据

Figure BDA0003975711220000119
确定,与
Figure BDA00039757112200001110
负相关,与
Figure BDA00039757112200001111
正相关,
Figure BDA00039757112200001112
为集合
Figure BDA00039757112200001113
中的元素数量,W2为可调节的参数。For example, the weighted second objective term is based on
Figure BDA0003975711220000119
OK, with
Figure BDA00039757112200001110
Negatively correlated with
Figure BDA00039757112200001111
Positive correlation,
Figure BDA00039757112200001112
For collection
Figure BDA00039757112200001113
The number of elements in , W 2 is an adjustable parameter.

例如,加权后的第四目标项根据W4、vmax

Figure BDA00039757112200001114
确定,与
Figure BDA00039757112200001115
负相关,与
Figure BDA00039757112200001116
正相关,与vmax负相关,W4为可调节的参数。For example, the weighted fourth objective item is calculated based on W 4 , v max ,
Figure BDA00039757112200001114
OK, with
Figure BDA00039757112200001115
Negatively correlated with
Figure BDA00039757112200001116
Positively correlated with v max , negatively correlated with W 4 is an adjustable parameter.

在步骤120中,根据均衡目标,建立均衡模型。均衡模型包含至少一个关于仓库配送信息的决策变量,均衡模型用于配置仓库配送信息。In step 120, a balance model is established according to the balance target. The balance model includes at least one decision variable related to warehouse distribution information, and the balance model is used to configure the warehouse distribution information.

在一些实施例中,根据负责配入的仓库的现货量、实际配入量、最低保有量、配入需求量,以及配送后库存量是否满足最低保有量,确定第一约束条件。In some embodiments, the first constraint condition is determined based on the spot quantity of the warehouse responsible for distribution, the actual distribution quantity, the minimum inventory quantity, the distribution demand quantity, and whether the inventory quantity after delivery meets the minimum inventory quantity.

在一些实施例中,根据负责配出的仓库的实际配出量不超过配出需求量,确定第二约束条件。In some embodiments, the second constraint condition is determined based on the fact that the actual distribution quantity of the warehouse responsible for distribution does not exceed the distribution demand quantity.

在一些实施例中,根据负责配人的仓库的实际配入量不超过配入需求量,确定第三约束条件。In some embodiments, the third constraint condition is determined based on the fact that the actual allocation quantity of the warehouse responsible for allocation does not exceed the allocation demand quantity.

在一些实施例中,根据负责配出的仓库对具有配送关系的负责配入的仓库的配出量不超过所有负责配入的仓库的配入需求量的最大值,确定第四约束条件。In some embodiments, the fourth constraint condition is determined based on the fact that the allocation quantity of the warehouse responsible for allocation to the warehouse responsible for allocation with which it has a delivery relationship does not exceed the maximum value of the allocation demand quantities of all the warehouses responsible for allocation.

在一些实施例中,根据所有负责配出的仓库的配出需求量的加权和、所有负责配出的仓库的实际配出量的加权和、均衡需求量,以及所有负责配出的仓库的配出需求量是否满足,确定第五约束条件。均衡需求量包括所有负责配出的仓库的配出需求量的加权和、所有负责配入的仓库的配入需求量的加权中的最大值。In some embodiments, the fifth constraint condition is determined based on the weighted sum of the outgoing demands of all warehouses responsible for outgoing distribution, the weighted sum of the actual outgoing demands of all warehouses responsible for outgoing distribution, the balanced demand, and whether the outgoing demands of all warehouses responsible for outgoing distribution are satisfied. The balanced demand includes the maximum value of the weighted sum of the outgoing demands of all warehouses responsible for outgoing distribution and the weighted incoming demands of all warehouses responsible for incoming distribution.

在一些实施例中,根据所有负责配入的仓库的配入需求量的加权和、所有负责配出的仓库的实际配出量的加权和、均衡需求量,以及所有负责配入的仓库的配入需求量是否满足,确定第六约束条件。In some embodiments, the sixth constraint condition is determined based on the weighted sum of the incoming allocation demands of all warehouses responsible for allocation, the weighted sum of the actual outgoing allocations of all warehouses responsible for outgoing allocation, the equilibrium demand, and whether the incoming allocation demands of all warehouses responsible for allocation are met.

在一些实施例中,根据所有负责配出的仓库的配出需求量是否满足,所有负责配入的仓库的配入需求量是否满足,确定第七约束条件。In some embodiments, the seventh constraint condition is determined based on whether the distribution requirements of all warehouses responsible for distribution are met and whether the distribution requirements of all warehouses responsible for distribution are met.

在一些实施例中,均衡方法还可以包括步骤130。In some embodiments, the equalization method may further include step 130 .

在步骤130中,根据均衡模型,对各仓库的配送信息进行配置。In step 130, the distribution information of each warehouse is configured according to the equilibrium model.

在一些实施例中,以最小化目标函数的值为求解目标,对均衡模型进行求解,以确定至少一个决策变量的值;根据至少一个决策变量的值,对各仓库的配送信息进行配置。In some embodiments, the equilibrium model is solved with the value of minimizing the objective function as the solution goal to determine the value of at least one decision variable; and the distribution information of each warehouse is configured according to the value of the at least one decision variable.

例如,决策变量可以包括xij

Figure BDA0003975711220000121
yij
Figure BDA0003975711220000122
zin、zout中的至少一个。For example, the decision variables may include x ij ,
Figure BDA0003975711220000121
yi ij
Figure BDA0003975711220000122
At least one of z in , z out .

在上述均衡模型中,目标函数可以包含4个目标项,依据在实际业务场景中各目标项的重要程度,赋予不同的权重。例如,优先满足的是各配入仓的最低保有量;在满足最低保有量的基础上,均衡各配入仓的满足率,并要尽量减少调拨次数;最后,均衡各配出仓配出库存后的剩余库存差距。In the above equilibrium model, the objective function can include 4 objective items, and different weights are assigned according to the importance of each objective item in the actual business scenario. For example, the priority is to meet the minimum inventory of each incoming warehouse; on the basis of meeting the minimum inventory, balance the satisfaction rate of each incoming warehouse and try to reduce the number of transfers; finally, balance the remaining inventory gap after each outgoing warehouse has distributed inventory.

例如,在模型的约束条件(s.t.)中,第一约束条件给出了配入仓在配入库存后与其最低保有量的关系约束。由于均衡模型的求解目标为求最小值,且

Figure BDA0003975711220000131
的参数项Ms的值较大,因而均衡模型在求解时会尽量使
Figure BDA0003975711220000132
取0,从而满足配入仓的最低保有量约束。For example, in the constraints of the model (st), the first constraint gives the relationship between the distribution warehouse and its minimum inventory after the distribution. Since the solution goal of the equilibrium model is to find the minimum value, and
Figure BDA0003975711220000131
The parameter Ms has a large value, so the equilibrium model will try to make the solution
Figure BDA0003975711220000132
Take 0 to meet the minimum inventory constraint of the warehouse.

例如,第二、第三约束条件用于约束:各配出仓的总配出货量不能超过该配出仓的可配出量(配出需求量);各配入仓的总配入货量不能超过配入仓的配入需求量。For example, the second and third constraints are used to constrain: the total shipment quantity of each distribution warehouse cannot exceed the available shipment quantity (distribution demand) of the distribution warehouse; the total receipt quantity of each distribution warehouse cannot exceed the receipt demand of the distribution warehouse.

例如,第四约束条件用于约束:从配出仓i到配入仓j的配出货量,取决于配出仓i是否给配入仓j配货。For example, the fourth constraint condition is used to constrain: the shipment quantity from the shipping warehouse i to the receiving warehouse j depends on whether the shipping warehouse i distributes goods to the receiving warehouse j.

例如,第五、第六、第七约束条件用于约束:总的实际配出量等于总的可配出量,或者等于总的可配入量。For example, the fifth, sixth, and seventh constraints are used to constrain that the total actual allocated quantity is equal to the total available allocated quantity, or equal to the total available allocated quantity.

例如,还可以设置用于约束

Figure BDA0003975711220000133
Figure BDA0003975711220000134
的计算方式的第八、第九约束条件。
Figure BDA0003975711220000135
是配入仓j1和配入仓j2之间均衡目标库存的满足率的差距的绝对值;
Figure BDA0003975711220000136
是配出仓i1和配出仓i2之间在配出库存后的剩余库存的差距的绝对值。For example, you can also set
Figure BDA0003975711220000133
and
Figure BDA0003975711220000134
The eighth and ninth constraints of the calculation method.
Figure BDA0003975711220000135
is the absolute value of the difference in the satisfaction rate of the equilibrium target inventory between the allocation warehouse j 1 and the allocation warehouse j 2 ;
Figure BDA0003975711220000136
It is the absolute value of the difference in remaining inventory between distribution warehouse i1 and distribution warehouse i2 after the inventory is distributed.

例如,还可以设置用于给出了各决策变量的定义域的约束条件。For example, constraints may also be set that define the domain of each decision variable.

在一些实施例中,可以利用求解器进行求解。In some embodiments, the solution may be performed using a solver.

例如,上述均衡模型中包含0-1型的和整数型的决策变量;在第八、第九约束条件中包含绝对值项的情况下,可以先将第八、第九约束条件线性化。For example, the above equilibrium model contains 0-1 type and integer type decision variables; when the eighth and ninth constraints contain absolute value terms, the eighth and ninth constraints can be linearized first.

例如,在将均衡模型线性化后,该均衡模型即可采用求解器进行求解。For example, after the equilibrium model is linearized, the equilibrium model can be solved using a solver.

考虑到http服务调用均衡模型的运算时间问题,下面的实施例包括库存均衡的启发式算法,以在问题规模较大的情况下获得较高质量的解。Considering the computation time problem of the http service call balancing model, the following embodiment includes a heuristic algorithm for inventory balancing to obtain a higher quality solution when the problem scale is large.

图2示出本公开的步骤130的一些实施例的流程图。FIG. 2 shows a flow chart of some embodiments of step 130 of the present disclosure.

如图2所示,步骤130包括步骤210~步骤230。As shown in FIG. 2 , step 130 includes steps 210 to 230 .

在步骤210中,利用贪心算法,求解出均衡模型的初始解。In step 210, a greedy algorithm is used to find an initial solution to the equilibrium model.

在一些实施例中,贪心算法包括如下步骤。In some embodiments, the greedy algorithm includes the following steps.

在步骤1中,满足最低保有量需求。In step 1, the minimum inventory requirements are met.

在一些实施例中,根据总配入量是否大于或等于总配入量,以及是否存在不满足最低保有量的配入仓,更新决策变量。In some embodiments, the decision variables are updated based on whether the total allocation quantity is greater than or equal to the total allocation quantity and whether there are allocation warehouses that do not meet the minimum inventory quantity.

例如,计算总配入量、总配出量;如果总配出量≥总配入量,则最低保有量需求一定满足,步骤1结束;如果总配出量<总配入量,则判断是否存在现货量<最低保有量的配入仓库集合。For example, calculate the total allocated quantity and the total allocated quantity; if the total allocated quantity ≥ the total allocated quantity, the minimum inventory requirement must be met and step 1 ends; if the total allocated quantity < the total allocated quantity, determine whether there is a set of allocated warehouses with spot quantity < the minimum inventory.

如果配入仓库集合为空集,则最低保有量需求一定满足,步骤1 结束;如果配入仓库集合不为空集,则对于配入仓库集合中的每个配入仓,按配出仓集合的顺序确定当前的配出仓;以满足最低保有量为目标,确定从配出仓到配入仓的配入货量,更新决策变量(如xij、yij),直至循环结束。If the set of incoming warehouses is an empty set, the minimum inventory requirement must be met, and step 1 ends. If the set of incoming warehouses is not an empty set, for each incoming warehouse in the set of incoming warehouses, the current outgoing warehouse is determined according to the order of the outgoing warehouse set. With the goal of meeting the minimum inventory requirement, the incoming quantity from the outgoing warehouse to the incoming warehouse is determined, and the decision variables (such as x ij , y ij ) are updated until the loop ends.

在步骤2中,满足整量需求。In step 2, the whole quantity requirement is met.

在一些实施例中,根据配出仓集合中是否存在配出仓能够独自满足任一配入仓的配入需求,更新决策变量。In some embodiments, the decision variable is updated according to whether there is an outbound distribution warehouse in the outbound distribution warehouse set that can independently meet the distribution demand of any inbound distribution warehouse.

例如,针对配入仓的配入需求,判断配出仓集合中是否存在配出仓,能够完全(如独自)满足该配入仓的配入需求;如果可以,则根据该配入仓和该配出仓,更新决策变量。例如,配入仓的配入需求需要至少两个以上的配入仓进行配送才能满足的情形,不在本步骤的考虑范围内。For example, for the incoming warehouse's fulfilment demand, determine whether there is an outgoing warehouse in the outgoing warehouse set that can fully (e.g., independently) meet the incoming warehouse's fulfilment demand; if so, update the decision variables based on the incoming warehouse and the outgoing warehouse. For example, the situation where the incoming warehouse's fulfilment demand requires at least two or more incoming warehouses to deliver to meet it is not considered in this step.

在步骤3中,满足余量需求。In step 3, the margin requirement is met.

例如,配置剩余的配出仓的可配出量去满足剩余的配入仓的配入量需求,直至剩余的配出仓的可配出量降为0或剩余的配入仓的配入量需求降为0,根据配置结果,更新决策变量。For example, configure the available outbound quantity of the remaining outbound warehouses to meet the incoming quantity requirements of the remaining inbound warehouses until the available outbound quantity of the remaining outbound warehouses drops to 0 or the incoming quantity requirements of the remaining inbound warehouses drop to 0, and update the decision variables based on the configuration results.

这样,通过满足配入需求,满足分配整量需求和满足余量需求,可以有效降低仓间调拨次数,从而有效降低最终的目标值。In this way, by meeting the allocation requirements, meeting the allocation requirements and meeting the surplus requirements, the number of inter-warehouse transfers can be effectively reduced, thereby effectively reducing the final target value.

在步骤220中,根据初始解中各负责配入的仓库的配入需求量的满足情况,对初始解进行调整。In step 220, the initial solution is adjusted according to whether the distribution demand of each warehouse responsible for distribution in the initial solution is met.

例如,根据配入仓需求满足率的均衡进行调整。表1给出通过贪心算法得到的初始解。For example, the adjustment is made according to the equilibrium of the warehouse demand satisfaction rate. Table 1 shows the initial solution obtained by the greedy algorithm.

Figure BDA0003975711220000141
Figure BDA0003975711220000141

Figure BDA0003975711220000151
Figure BDA0003975711220000151

表1Table 1

32表示从配出仓1到配入仓2的配入量为32,其他值的含义相同。32 means the quantity from outbound warehouse 1 to inbound warehouse 2 is 32. Other values have the same meaning.

例如,计算各仓库的现货量+实际配入量与现货量+需求配入量的比值;配入仓2、3、4、6、7的比值分别为1、1、1、0.35、1.125。该比值指示各仓库的需求满足率,即配入仓2、3、4的配入需求均100%满足,配入仓6的需求只有35%满足。For example, the ratio of the spot quantity + actual allocation quantity to the spot quantity + required allocation quantity of each warehouse is calculated; the ratios of allocation warehouses 2, 3, 4, 6, and 7 are 1, 1, 1, 0.35, and 1.125 respectively. This ratio indicates the demand satisfaction rate of each warehouse, that is, the allocation demand of allocation warehouses 2, 3, and 4 is 100% met, and the demand of allocation warehouse 6 is only 35% met.

此时配入需求的满足情况不均衡,需要将一部分货物从满足率高的仓库均衡到满足率低的仓库。如果均衡后目标值(即目标函数的最小值)改进(即变小),则更新决策变量;如此不断均衡,直到目标值无法再改进为止。At this time, the satisfaction of the incoming demand is uneven, and some goods need to be balanced from warehouses with high satisfaction rates to warehouses with low satisfaction rates. If the target value (i.e., the minimum value of the objective function) improves (i.e., becomes smaller) after balancing, the decision variable is updated; and the balancing is continued until the target value cannot be improved any further.

在一些实施例中,根据初始解中具有配送关系的负责配入的仓库和负责配出的仓库之间的VLT,对初始解进行调整。In some embodiments, the initial solution is adjusted according to the VLT between the warehouse responsible for incoming distribution and the warehouse responsible for outgoing distribution that have a delivery relationship in the initial solution.

例如,通过变邻域调整方式,对初始解进行调整。通过对初始解中局部解(初始解的一部分)的调整,可以有效改进目标值。For example, the initial solution is adjusted by varying the neighborhood adjustment method. By adjusting the local solution (a part of the initial solution) in the initial solution, the target value can be effectively improved.

例如,表2给出初始解包含的局部解。For example, Table 2 gives the local solutions contained in the initial solution.

配入仓2Distribution warehouse 2 配入仓3Distribution warehouse 3 配出仓1Distribution warehouse 1 3232 8787 配出仓5Distribution warehouse 5 4242 0 0

表2Table 2

可以看出,配出仓1到配入仓2和配入仓3的总配出量为119;配出仓5到配入仓2和配入仓3的总配出量为42;配入仓2从配出仓 1、配出仓5得到的总配入量为74;配入仓3从配出仓1、配出仓5 得到的总配入量为87。It can be seen that the total outbound quantity from distribution warehouse 1 to distribution warehouse 2 and distribution warehouse 3 is 119; the total outbound quantity from distribution warehouse 5 to distribution warehouse 2 and distribution warehouse 3 is 42; the total inbound quantity obtained by distribution warehouse 2 from distribution warehouse 1 and distribution warehouse 5 is 74; the total inbound quantity obtained by distribution warehouse 3 from distribution warehouse 1 and distribution warehouse 5 is 87.

对表2中的局部解进行调整,调整结果如表3所示。The local solutions in Table 2 are adjusted, and the adjustment results are shown in Table 3.

配入仓2Distribution warehouse 2 配入仓3Distribution warehouse 3 配出仓1Distribution warehouse 1 7474 4343 配出仓5Distribution warehouse 5 00 42 42

表3Table 3

可以看出,调整前后,不管是配入仓还是配出仓的总配入需求、配出需求并没有发生改变,只是配送线路(配送关系)发生了改变。即,原先配出仓5给配入仓2配送,调整后,配出仓5给配入仓3配送。如果配出仓5到配入仓3的VLT低于配出仓5到配入仓2的VLT,则该调整可以改进目标值。通过循环遍历,即可进行有效的配送调整。It can be seen that before and after the adjustment, the total inbound and outbound demand of either the inbound warehouse or the outbound warehouse has not changed, but the distribution route (distribution relationship) has changed. That is, the outbound warehouse 5 originally delivered to the inbound warehouse 2, and after the adjustment, the outbound warehouse 5 delivers to the inbound warehouse 3. If the VLT from the outbound warehouse 5 to the inbound warehouse 3 is lower than the VLT from the outbound warehouse 5 to the inbound warehouse 2, then the adjustment can improve the target value. By looping through, effective distribution adjustments can be made.

在步骤230中,根据调整结果,确定均衡模型的最终解。In step 230, a final solution of the equilibrium model is determined according to the adjustment result.

在一些实施例中,对初始解中的配送关系进行调整;根据调整结果,计算均衡模型的目标函数的值是否有改进;在有改进的情况下,根据调整结果确定均衡模型的最终解。例如,可以对配出仓、配入仓进行交换,来调整初始解。In some embodiments, the distribution relationship in the initial solution is adjusted; based on the adjustment result, the value of the objective function of the equilibrium model is calculated to see if there is an improvement; if there is an improvement, the final solution of the equilibrium model is determined based on the adjustment result. For example, the initial solution can be adjusted by exchanging the outbound warehouse and the inbound warehouse.

例如,当前xij=20,yij=1,i为配出仓,j为配入仓;将配出仓由i仓替换为其他配出仓,并计算替换为其他配出仓后,目标值是否改进;如果目标值改进,则记录此次调整,并更新初始解。For example, currently x ij = 20, y ij = 1, i is the outgoing warehouse, and j is the incoming warehouse; replace the outgoing warehouse with other outgoing warehouses, and calculate whether the target value is improved after replacing it with other outgoing warehouses; if the target value is improved, record this adjustment and update the initial solution.

例如,当前xij=20,yij=1,xmn=40,ymn=1,表示配出仓 i为配入仓j配入货量20,配出仓m为配入仓n配入货量40;改为配出仓i为配入仓n配入货量40,配出仓m为配入仓j配入货量20;计算交换配入仓、配出仓后,目标值是否改进;如果改进,则记录此次调整,并更新初始解。For example, currently x ij =20, y ij =1, x mn =40, y mn =1, which means that the out-of-port warehouse i allocates 20 goods to the incoming warehouse j, and the out-of-port warehouse m allocates 40 goods to the incoming warehouse n; change it to that the out-of-port warehouse i allocates 40 goods to the incoming warehouse n, and the out-of-port warehouse m allocates 20 goods to the incoming warehouse j; calculate whether the target value is improved after exchanging the incoming warehouse and the out-of-port warehouse; if it is improved, record the adjustment and update the initial solution.

将求解器求解得到的最优值与启发式算法求解得到的目标值对比,并比较两种方法下的求解时间,与求解器求解方法相比。The optimal value obtained by the solver is compared with the target value obtained by the heuristic algorithm, and the solution time under the two methods is compared with the solver solution method.

在求解速度方面,启发式算法的求解时间均不超过0.5s,而求解器的求解时间则波动较大,从0.1s到十几秒不等;在解的质量上,以gap=(启发式算法目标值-求解器求解目标值)/求解器求解目标值作为计算公式,通过随机生成100个算例进行比较,得到的gap平均值为7.4%。In terms of solution speed, the solution time of the heuristic algorithm does not exceed 0.5s, while the solution time of the solver fluctuates greatly, ranging from 0.1s to more than ten seconds; in terms of solution quality, the gap = (heuristic algorithm target value - solver solution target value) / solver solution target value is used as the calculation formula. By randomly generating 100 examples for comparison, the average gap value is 7.4%.

启发式算法得到的解与求解器求解得到的解至少一致,在一些情况下,二者的gap=37%。因而该启发式算法可以在较短时间内得到较高质量的解,可以在大规模情况下成为模型求解方法的替代方案。The solution obtained by the heuristic algorithm is at least consistent with the solution obtained by the solver. In some cases, the gap between the two is 37%. Therefore, the heuristic algorithm can obtain a higher quality solution in a shorter time and can become an alternative solution for model solving methods in large-scale situations.

图3示出本公开的仓库的配送均衡方法的一些实施例的示意图。FIG. 3 is a schematic diagram showing some embodiments of the distribution balancing method for a warehouse of the present disclosure.

如图3所示,数据输入模块提供的输入数据包括不同OD(始发地-目的地)的VLT信息和仓库节点信息(如仓库编码、现货量、配入量需求或配出量需求、预测销量等)。基于输入的数据,利用算法模块进行均衡处理。在算法模块的模型求解过程中,有两种求解方案,分别是求解器求解和启发式算法。As shown in Figure 3, the input data provided by the data input module includes VLT information of different ODs (origin-destination) and warehouse node information (such as warehouse code, spot quantity, input quantity demand or output quantity demand, predicted sales volume, etc.). Based on the input data, the algorithm module is used for balancing. In the model solving process of the algorithm module, there are two solution schemes, namely solver solution and heuristic algorithm.

例如,在模型目标模块中,均衡模型的目标项包括4项,分别是最低保有量未满足的惩罚、仓间调拨次数、各配入仓在配入库存后的仓间方差(用于表征差异)、各配出仓配出库存后的仓间方差。For example, in the model objective module, the objective items of the equilibrium model include four items, namely, the penalty for failure to meet the minimum inventory, the number of inter-warehouse transfers, the inter-warehouse variance of each receiving warehouse after the inventory is allocated (used to characterize the difference), and the inter-warehouse variance of each distributing warehouse after the inventory is allocated.

例如,模型决策变量模块中的决策变量用于指示是否进行从i 仓到j仓的均衡(即配送)、i仓到j仓的配送数量等。For example, the decision variables in the model decision variable module are used to indicate whether to perform balancing (ie, distribution) from warehouse i to warehouse j, the distribution quantity from warehouse i to warehouse j, and the like.

例如,在启发式算法中,首先采用贪心算法获得库存均衡的初始解;再对初始解进行改进,以使目标值接近求解器的最优值。For example, in the heuristic algorithm, a greedy algorithm is first used to obtain an initial solution for inventory equilibrium; then the initial solution is improved to make the target value close to the optimal value of the solver.

在上述实施例中,考虑到实际业务场景需求,构建了针对仓间调拨需求的库存均衡优化方法;考虑到http服务调用该算法时的计算时间问题,进一步设计了对应的启发式法,所设计的启发式算法与模型求解方法相比,具有更短的求解时间,启发式算法获得的目标值与求解器求解得到的最优值之间的gap平均值为7.4%。In the above embodiment, taking into account the actual business scenario requirements, an inventory balancing optimization method for inter-warehouse transfer needs is constructed; considering the calculation time problem when the http service calls the algorithm, a corresponding heuristic method is further designed. Compared with the model solving method, the designed heuristic algorithm has a shorter solution time, and the average gap between the target value obtained by the heuristic algorithm and the optimal value solved by the solver is 7.4%.

下面对库存均衡的业务场景进行描述,明确仓库的均衡目标。The following describes the business scenario of inventory balance and clarifies the warehouse balance target.

在一些实施例中,各仓库的均衡需求是已知的。如果仓库A的均衡需求大于0,说明该仓库需要被配入货量,是配入仓。配入仓A 的配入需求量等于其均衡需求。In some embodiments, the equilibrium demand of each warehouse is known. If the equilibrium demand of warehouse A is greater than 0, it means that the warehouse needs to be allocated with goods, and it is a allocated warehouse. The allocation demand of allocated warehouse A is equal to its equilibrium demand.

如果仓库A的均衡需求小于0,说明该仓库可以配出货量,是配出仓。配出仓A的可配出量(即配出需求量)等于负的均衡需求。If the equilibrium demand of warehouse A is less than 0, it means that the warehouse can allocate shipments and is a distribution warehouse. The available shipment quantity (i.e., the distribution demand quantity) of distribution warehouse A is equal to the negative equilibrium demand.

例如,表4示出了各仓库的相关信息。For example, Table 4 shows the relevant information of each warehouse.

Figure BDA0003975711220000171
Figure BDA0003975711220000171

Figure BDA0003975711220000181
Figure BDA0003975711220000181

表4Table 4

依据表4中各仓库的均衡需求,可以确定:配入仓集合={仓库2,仓库3,仓库4,仓库6,仓库7};配出仓集合={仓库1,仓库5}。According to the balanced demand of each warehouse in Table 4, it can be determined that: the set of incoming warehouses = {warehouse 2, warehouse 3, warehouse 4, warehouse 6, warehouse 7}; the set of outgoing warehouses = {warehouse 1, warehouse 5}.

在一些实施例中,将仓库1和仓库5的货物配送到仓库2、3、4、 6、7,总配出量为123+27=150,总配入量为32+87+15+36+1=171。 150<171说明配入仓的需求不能被完全满足。In some embodiments, the goods in warehouse 1 and warehouse 5 are distributed to warehouses 2, 3, 4, 6, and 7, and the total outbound quantity is 123+27=150, and the total inbound quantity is 32+87+15+36+1=171. 150<171 indicates that the demand for inbound warehouses cannot be fully met.

在此情形下,需要将货量尽量均衡的分配到各配入仓。如果此时选择分别给仓库2、3、4、6、7配入货量32、87、0、30、1,则不符合均衡目标。不均衡的原因包括下面两点。In this case, the quantity of goods needs to be distributed to each warehouse as evenly as possible. If you choose to distribute 32, 87, 0, 30, and 1 to warehouses 2, 3, 4, 6, and 7 respectively, it does not meet the balance goal. The reasons for the imbalance include the following two points.

第一,没有考虑仓库4的需求,仓库2、仓库3的配入需求被100%满足,但仓库4的配入需求被0%满足,这是不均衡的方案。First, the demand of warehouse 4 is not taken into consideration. The distribution demand of warehouse 2 and warehouse 3 is 100% met, but the distribution demand of warehouse 4 is 0% met. This is an unbalanced solution.

第二,根据业务需求,配入仓配入后的仓库不应低于该仓库要求的最低保留量。以仓库7为例,仓库7的配入需求为1,现货为5,最小保有量为8;在配入1单位的货量后,仓库7的现货=1+5=6,小于该仓库的最小保有量需求。Second, according to business needs, the warehouse after the allocation should not be less than the minimum reserve quantity required by the warehouse. Take warehouse 7 as an example. The allocation demand of warehouse 7 is 1, the spot quantity is 5, and the minimum reserve quantity is 8. After 1 unit of goods is allocated, the spot quantity of warehouse 7 = 1 + 5 = 6, which is less than the minimum reserve quantity requirement of the warehouse.

因而,所给出的均衡方案应该首先满足仓库的最小保有量需求,其次应该尽量均衡分货。在此基础上,在进行仓间均衡时,应尽量选择运输提前期较小的两个仓进行配送,同时尽量减少仓间均衡次数。Therefore, the given balancing plan should first meet the minimum inventory requirement of the warehouse, and secondly, the goods should be distributed as evenly as possible. On this basis, when performing inter-warehouse balancing, two warehouses with smaller transportation lead times should be selected for distribution, and the number of inter-warehouse balancing should be minimized.

例如,当A仓和B仓都可以为C仓配送时,如果A仓到C仓的 VLT为4,B仓到C仓的VLT为5,则应该选择A仓为C仓配送。因为,A仓到C仓的运输提前期更短。For example, when both warehouse A and warehouse B can deliver to warehouse C, if the VLT from warehouse A to warehouse C is 4, and the VLT from warehouse B to warehouse C is 5, warehouse A should be selected to deliver to warehouse C. This is because the transportation lead time from warehouse A to warehouse C is shorter.

表4给出的例子是总配入需求量>总配出需求量的情景。在总配入需求量<总配出需求量时,所有配入仓的配入需求均可100%满足,此时要求配出仓配出库存后的剩余库存差距尽量接近,不能偏差太大。The example given in Table 4 is a scenario where the total incoming demand is greater than the total outgoing demand. When the total incoming demand is less than the total outgoing demand, the incoming demand of all incoming warehouses can be 100% met. At this time, the remaining inventory gap after the outgoing warehouses have been out of stock is required to be as close as possible, and the deviation cannot be too large.

在上述实施例中,基于上面描述的均衡目标,提出了一种针对仓间调拨需求的库存均衡优化方法。首先,结合具体的库存均衡业务场景,构建了多目标的库存均衡模型,利用求解器对构建的模型求解;考虑到以http服务形式调用均衡模型而对算法的运算时间的要求,进一步设计了仓间均衡的启发式算法,以在问题规模增大时提高求解准确性和求解速度。In the above embodiment, based on the above described balance target, a method for optimizing inventory balance for inter-warehouse transfer demand is proposed. First, combined with the specific inventory balance business scenario, a multi-objective inventory balance model is constructed, and the constructed model is solved by the solver; considering the requirements for the algorithm operation time when calling the balance model in the form of http service, a heuristic algorithm for inter-warehouse balance is further designed to improve the accuracy and speed of solution when the problem scale increases.

图4示出本公开的仓库的配送均衡装置的一些实施例的框图。FIG. 4 is a block diagram showing some embodiments of the distribution balancing device of the warehouse of the present disclosure.

如图4所示,仓库的配送均衡装置4包括:确定单元41,用于将满足仓库中货物的最低保有量、负责配入的仓库之间的配送量均衡、配送的有效提前期VLT最小或者负责配出的仓库之间的配送量均衡中的至少一项确定为均衡目标;建立单元42,用于根据所述均衡目标,建立均衡模型,所述均衡模型包含至少一个关于仓库配送信息的决策变量,所述均衡模型用于配置所述仓库配送信息。As shown in FIG4 , the distribution balancing device 4 of the warehouse includes: a determination unit 41, used to determine at least one of the following as a balancing target: satisfying the minimum inventory of goods in the warehouse, balancing the distribution quantity between warehouses responsible for incoming distribution, minimizing the effective lead time VLT of distribution, or balancing the distribution quantity between warehouses responsible for outgoing distribution; and an establishment unit 42, used to establish a balancing model according to the balancing target, the balancing model including at least one decision variable regarding warehouse distribution information, and the balancing model being used to configure the warehouse distribution information.

在一些实施例中,建立单元42根据多个仓库中货物的最低保有量是否被满足、负责配入的仓库之间是否均衡、VLT或者负责配出的仓库之间是否均衡中的至少一项,建立均衡模型的目标函数,目标函数包括至少一个决策变量。In some embodiments, the establishing unit 42 establishes an objective function of the equilibrium model based on at least one of whether the minimum inventory of goods in multiple warehouses is met, whether the warehouses responsible for incoming distribution are balanced, and whether the VLT or warehouses responsible for outgoing distribution are balanced, and the objective function includes at least one decision variable.

在一些实施例中,均衡装置4还包括:求解单元43,用于以最小化目标函数的值为求解目标,对均衡模型进行求解,以确定至少一个决策变量的值;根据至少一个决策变量的值,对各仓库的配送信息进行配置。In some embodiments, the balancing device 4 also includes: a solving unit 43, which is used to solve the balancing model with the value of minimizing the objective function as the solving target to determine the value of at least one decision variable; and configure the distribution information of each warehouse according to the value of at least one decision variable.

在一些实施例中,建立单元42根据多个仓库中货物的最低保有量是否被满足,建立第一目标项,根据负责配入的仓库之间是否均衡,建立第二目标项,根据VLT建立第三目标项,根据负责配出的仓库之间是否均衡,建立第四目标项;根据第一目标项、第二目标项、第三目标项和第四目标项的加权和,建立目标函数。In some embodiments, the establishing unit 42 establishes a first target item based on whether the minimum inventory of goods in multiple warehouses is met, establishes a second target item based on whether the warehouses responsible for incoming distribution are balanced, establishes a third target item based on VLT, and establishes a fourth target item based on whether the warehouses responsible for outgoing distribution are balanced; establishes an objective function based on the weighted sum of the first target item, the second target item, the third target item and the fourth target item.

在一些实施例中,建立单元42根据配入货物后,库存无法满足最低保有量的负责配入的仓库的数量,建立第一目标项。In some embodiments, the establishing unit 42 establishes the first target item according to the number of warehouses responsible for distribution whose inventory cannot meet the minimum holding quantity after the goods are distributed.

在一些实施例中,建立单元42根据配送后各负责配入的仓库之间目标库存的满足情况的差异,建立第二目标项。In some embodiments, the establishing unit 42 establishes the second target item according to the difference in satisfaction of the target inventory between the warehouses responsible for distribution after delivery.

在一些实施例中,建立单元42根据任一个负责配入的仓库的现货量、配入需求量和实际配入量,确定目标库存的满足情况,目标库存的满足情况与现货量和配入需求量之和负相关,与现货量和实际配入量之和正相关。In some embodiments, the establishment unit 42 determines the target inventory satisfaction based on the spot quantity, allocation demand and actual allocation quantity of any warehouse responsible for allocation. The target inventory satisfaction is negatively correlated with the sum of the spot quantity and the allocation demand, and positively correlated with the sum of the spot quantity and the actual allocation quantity.

在一些实施例中,建立单元42根据具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT,确定第三目标项。In some embodiments, the establishing unit 42 determines the third target item according to a plurality of VLTs between a warehouse responsible for incoming distribution and a warehouse responsible for outgoing distribution that have a distribution relationship.

在一些实施例中,建立单元根据各VLT与多个VLT中的最大值之间的差异,确定第三目标项。In some embodiments, the establishing unit determines the third target item according to a difference between each VLT and a maximum value among the plurality of VLTs.

在一些实施例中,建立单元42根据配送后各负责配出的仓库之间剩余库存信息的差异,建立第四目标项。In some embodiments, the establishing unit 42 establishes the fourth target item according to the difference in remaining inventory information between the warehouses responsible for distribution after delivery.

在一些实施例中,建立单元42根据配送后任一个负责配出的仓库的现货量与配出量的差异和所有负责配出的仓库的现货量的最大值,确定剩余库存信息,剩余库存信息与现货量与配出量的差异正相关,与现货量的最大值负相关。In some embodiments, the establishment unit 42 determines the remaining inventory information based on the difference between the spot quantity and the allocated quantity of any warehouse responsible for allocation after delivery and the maximum spot quantity of all warehouses responsible for allocation. The remaining inventory information is positively correlated with the difference between the spot quantity and the allocated quantity, and negatively correlated with the maximum spot quantity.

在一些实施例中,第一目标项的权重大于第二目标项,第二目标项的权重大于第三目标项,第三目标项大于第四目标项。In some embodiments, the weight of the first target item is greater than that of the second target item, the weight of the second target item is greater than that of the third target item, and the third target item is greater than that of the fourth target item.

在一些实施例中,第二目标项的权重根据负责配入的仓库的数量确定,第四目标项的权重根据负责配入的仓库的数量和具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT的最大值确定。In some embodiments, the weight of the second target item is determined based on the number of warehouses responsible for incoming distribution, and the weight of the fourth target item is determined based on the number of warehouses responsible for incoming distribution and the maximum value of multiple VLTs between the warehouses responsible for incoming distribution and the warehouses responsible for outgoing distribution that have a distribution relationship.

在一些实施例中,建立单元42执行下面的至少一项:根据负责配入的仓库的现货量、实际配入量、最低保有量、配入需求量,以及配送后库存量是否满足最低保有量,确定第一约束条件;根据负责配出的仓库的实际配出量不超过配出需求量,确定第二约束条件;根据负责配人的仓库的实际配入量不超过配入需求量,确定第三约束条件;根据负责配出的仓库对具有配送关系的负责配入的仓库的配出量不超过所有负责配入的仓库的配入需求量的最大值,确定第四约束条件;根据所有负责配出的仓库的配出需求量的加权和、所有负责配出的仓库的实际配出量的加权和、均衡需求量,以及所有负责配出的仓库的配出需求量是否满足,确定第五约束条件,均衡需求量包括所有负责配出的仓库的配出需求量的加权和、所有负责配入的仓库的配入需求量的加权中的最大值;根据所有负责配入的仓库的配入需求量的加权和、所有负责配出的仓库的实际配出量的加权和、均衡需求量,以及所有负责配入的仓库的配入需求量是否满足,确定第六约束条件;或者根据所有负责配出的仓库的配出需求量是否满足,所有负责配入的仓库的配入需求量是否满足,确定第七约束条件。In some embodiments, the establishment unit 42 performs at least one of the following: determining a first constraint condition based on the spot quantity, actual allocation quantity, minimum inventory, allocation demand quantity of the warehouse responsible for allocation, and whether the inventory quantity after distribution meets the minimum inventory quantity; determining a second constraint condition based on the fact that the actual allocation quantity of the warehouse responsible for distribution does not exceed the allocation demand quantity; determining a third constraint condition based on the fact that the actual allocation quantity of the warehouse responsible for distribution does not exceed the allocation demand quantity; determining a fourth constraint condition based on the fact that the allocation quantity of the warehouse responsible for distribution to the warehouse responsible for distribution with which it has a distribution relationship does not exceed the maximum allocation demand quantity of all warehouses responsible for distribution; determining a fifth constraint condition based on the weighted sum of the allocation demand quantities of all warehouses responsible for distribution, the weighted sum of the allocation demand quantities of all warehouses responsible for distribution, and the weighted sum of the allocation demand quantities of all warehouses responsible for distribution. The fifth constraint condition is determined by the weighted sum of the actual allocation quantities of the allocated warehouses, the balanced demand, and whether the allocation demands of all the warehouses responsible for allocation are met. The balanced demand includes the maximum value of the weighted sum of the allocation demands of all the warehouses responsible for allocation and the weighted input demands of all the warehouses responsible for allocation. The sixth constraint condition is determined according to the weighted sum of the input demands of all the warehouses responsible for allocation, the weighted sum of the actual allocation quantities of all the warehouses responsible for allocation, the balanced demand, and whether the input demands of all the warehouses responsible for allocation are met. Or the seventh constraint condition is determined according to whether the allocation demands of all the warehouses responsible for allocation are met and whether the input demands of all the warehouses responsible for allocation are met.

在一些实施例中,求解单元43利用贪心算法,求解出均衡模型的初始解;根据初始解中各负责配入的仓库的配入需求量的满足情况,或者初始解中具有配送关系的负责配入的仓库和负责配出的仓库之间的VLT中的至少一项,对初始解进行调整;根据调整结果,确定均衡模型的最终解。In some embodiments, the solving unit 43 uses a greedy algorithm to solve an initial solution of the equilibrium model; adjusts the initial solution based on the satisfaction of the distribution demand of each warehouse responsible for distribution in the initial solution, or at least one item in the VLT between the warehouse responsible for distribution and the warehouse responsible for distribution that have a distribution relationship in the initial solution; and determines the final solution of the equilibrium model based on the adjustment result.

在一些实施例中,求解单元43对初始解中的配送关系进行调整;根据调整结果,计算均衡模型的目标函数的值是否有改进;在有改进的情况下,根据调整结果确定均衡模型的最终解。In some embodiments, the solving unit 43 adjusts the distribution relationship in the initial solution; based on the adjustment result, calculates whether the value of the objective function of the equilibrium model has been improved; if there is an improvement, determines the final solution of the equilibrium model based on the adjustment result.

在一些实施例中,求解单元43根据当前的总配出量是否大于或等于总配入量,以及是否存在不满足最低保有量的负责配入的仓库,进行初始解更新;根据配出仓集合中是否存在负责配出的仓库能够独自满足一个负责配入的仓库的配入需求,继续进行初始解更新;利用更新后的初始解对应的剩余的负责配出的仓库的可配出量满足剩余的负责配入的仓库的配入量需求,直至所述剩余的负责配出的仓库的可配出量降为0或所述剩余的负责配入的仓库的配入量需求降为0,以继续进行初始解更新。In some embodiments, the solution unit 43 updates the initial solution according to whether the current total outbound allocation is greater than or equal to the total inbound allocation, and whether there are warehouses responsible for inbound allocation that do not meet the minimum inventory; continues to update the initial solution according to whether there is a warehouse responsible for outbound allocation in the outbound allocation warehouse set that can independently meet the inbound allocation demand of a warehouse responsible for inbound allocation; uses the available outbound allocation of the remaining warehouses responsible for outbound allocation corresponding to the updated initial solution to meet the inbound allocation demand of the remaining warehouses responsible for inbound allocation, until the available outbound allocation of the remaining warehouses responsible for outbound allocation drops to 0 or the inbound allocation demand of the remaining warehouses responsible for inbound allocation drops to 0, so as to continue to update the initial solution.

图5示出本公开的仓库的配送均衡装置的另一些实施例的框图。FIG5 is a block diagram showing some other embodiments of the distribution balancing device for a warehouse of the present disclosure.

如图5所示,该实施例的仓库的均衡装置5包括:存储器51以及耦接至该存储器51的处理器52,处理器52被配置为基于存储在存储器51中的指令,执行本公开中任意一个实施例中的仓库的配送均衡方法。As shown in Figure 5, the warehouse balancing device 5 of this embodiment includes: a memory 51 and a processor 52 coupled to the memory 51, and the processor 52 is configured to execute the warehouse distribution balancing method in any embodiment of the present disclosure based on the instructions stored in the memory 51.

其中,存储器51例如可以包括系统存储器、固定非易失性存储介质等。系统存储器例如存储有操作系统、应用程序、引导装载程序(Boot Loader)、数据库以及其他程序等。The memory 51 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, a database, and other programs.

图6示出本公开的仓库的配送均衡装置的又一些实施例的框图。FIG. 6 is a block diagram showing some further embodiments of the distribution balancing device for a warehouse according to the present disclosure.

如图6所示,该实施例的仓库的均衡装置6包括:存储器610 以及耦接至该存储器610的处理器620,处理器620被配置为基于存储在存储器610中的指令,执行前述任意一个实施例中的仓库的配送均衡方法。As shown in FIG. 6 , the warehouse balancing device 6 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610 , and the processor 620 is configured to execute the warehouse distribution balancing method in any of the aforementioned embodiments based on instructions stored in the memory 610 .

存储器610例如可以包括系统存储器、固定非易失性存储介质等。系统存储器例如存储有操作系统、应用程序、引导装载程序(Boot Loader)以及其他程序等。The memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

仓库的均衡装置6还可以包括输入输出接口630、网络接口640、存储接口650等。这些接口630、640、650以及存储器610和处理器 620之间例如可以通过总线660连接。其中,输入输出接口630为显示器、鼠标、键盘、触摸屏、麦克、音箱等输入输出设备提供连接接口。网络接口640为各种联网设备提供连接接口。存储接口650为 SD卡、U盘等外置存储设备提供连接接口。The warehouse balancing device 6 may also include an input/output interface 630, a network interface 640, a storage interface 650, etc. These interfaces 630, 640, 650, the memory 610, and the processor 620 may be connected, for example, via a bus 660. The input/output interface 630 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, a touch screen, a microphone, and a speaker. The network interface 640 provides a connection interface for various networked devices. The storage interface 650 provides a connection interface for external storage devices such as an SD card and a USB flash drive.

本领域内的技术人员应当明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

至此,已经详细描述了根据本公开的仓库的配送均衡方法、仓库的配送均衡装置和非易失性计算机可读存储介质。为了避免遮蔽本公开的构思,没有描述本领域所公知的一些细节。本领域技术人员根据上面的描述,完全可以明白如何实施这里公开的技术方案。So far, the warehouse distribution balancing method, warehouse distribution balancing device and non-volatile computer-readable storage medium according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed herein.

可能以许多方式来实现本公开的方法和系统。例如,可通过软件、硬件、固件或者软件、硬件、固件的任何组合来实现本公开的方法和系统。用于所述方法的步骤的上述顺序仅是为了进行说明,本公开的方法的步骤不限于以上具体描述的顺序,除非以其它方式特别说明。此外,在一些实施例中,还可将本公开实施为记录在记录介质中的程序,这些程序包括用于实现根据本公开的方法的机器可读指令。因而,本公开还覆盖存储用于执行根据本公开的方法的程序的记录介质。The method and system of the present disclosure may be implemented in many ways. For example, the method and system of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。本领域的技术人员应该理解,可在不脱离本公开的范围和精神的情况下,对以上实施例进行修改。本公开的范围由所附权利要求来限定。Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (20)

1.一种仓库的配送均衡方法,包括:1. A warehouse distribution balancing method, comprising: 以满足仓库中货物的最低保有量、负责配入的仓库之间的配送量均衡、配送的有效提前期VLT最小或者负责配出的仓库之间的配送量均衡中的至少一项为均衡目标,建立均衡模型,所述均衡模型包含至少一个关于仓库配送信息的决策变量,所述均衡模型用于配置所述仓库配送信息。An equilibrium model is established with the equilibrium goal of satisfying at least one of the minimum inventory of goods in the warehouse, balanced distribution volume between warehouses responsible for incoming distribution, minimum effective lead time VLT for distribution, or balanced distribution volume between warehouses responsible for outgoing distribution. The equilibrium model includes at least one decision variable regarding warehouse distribution information, and the equilibrium model is used to configure the warehouse distribution information. 2.根据权利要求1所述的配送均衡方法,其中,所述建立均衡模型包括:2. The distribution balancing method according to claim 1, wherein the establishing of the balancing model comprises: 根据多个仓库中货物的最低保有量是否被满足、负责配入的仓库之间是否均衡、VLT或者负责配出的仓库之间是否均衡中的至少一项,建立所述均衡模型的目标函数,所述目标函数包括所述至少一个决策变量。The objective function of the equilibrium model is established based on at least one of whether the minimum inventory of goods in multiple warehouses is met, whether the warehouses responsible for incoming distribution are balanced, and whether the VLT or the warehouses responsible for outgoing distribution are balanced, and the objective function includes the at least one decision variable. 3.根据权利要求2所述的配送均衡方法,其中,所述建立所述均衡模型的目标函数包括:3. The distribution balancing method according to claim 2, wherein the objective function of establishing the balancing model comprises: 根据多个仓库中货物的最低保有量是否被满足,建立第一目标项,根据负责配入的仓库之间是否均衡,建立第二目标项,根据VLT建立第三目标项,根据负责配出的仓库之间是否均衡,建立第四目标项;The first target item is established based on whether the minimum inventory of goods in multiple warehouses is met, the second target item is established based on whether the warehouses responsible for incoming goods are balanced, the third target item is established based on VLT, and the fourth target item is established based on whether the warehouses responsible for outgoing goods are balanced; 根据所述第一目标项、所述第二目标项、所述第三目标项和所述第四目标项的加权和,建立所述目标函数。The objective function is established according to a weighted sum of the first objective item, the second objective item, the third objective item and the fourth objective item. 4.根据权利要求3所述的配送均衡方法,其中,所述根据多个仓库中货物的最低保有量是否被满足,建立第一目标项包括:4. The distribution balancing method according to claim 3, wherein the step of establishing the first target item according to whether the minimum inventory of goods in the plurality of warehouses is met comprises: 根据配入货物后,库存无法满足所述最低保有量的负责配入的仓库的数量,建立所述第一目标项。The first target item is established according to the number of warehouses responsible for distribution whose inventories cannot meet the minimum holding quantity after the goods are distributed. 5.根据权利要求3所述的配送均衡方法,其中,所述根据负责配入的仓库之间是否均衡,建立第二目标项包括:5. The distribution balancing method according to claim 3, wherein the establishing of the second target item according to whether the warehouses responsible for distribution are balanced comprises: 根据配送后各负责配入的仓库之间目标库存的满足情况的差异,建立所述第二目标项。The second target item is established based on the difference in the satisfaction of the target inventory among the warehouses responsible for distribution after delivery. 6.根据权利要求5所述的配送均衡方法,其中,所述建立所述第二目标项包括:6. The distribution balancing method according to claim 5, wherein the establishing the second target item comprises: 根据任一个负责配入的仓库的现货量、配入需求量和实际配入量,确定所述目标库存的满足情况,Determine the satisfaction of the target inventory based on the spot quantity, demand quantity and actual quantity of any warehouse responsible for distribution. 所述目标库存的满足情况与所述现货量和所述配入需求量之和负相关,与所述现货量和所述实际配入量之和正相关。The satisfaction of the target inventory is negatively correlated with the sum of the spot quantity and the allocation demand, and positively correlated with the sum of the spot quantity and the actual allocation quantity. 7.根据权利要求3所述的配送均衡方法,其中,所述根据VLT建立第三目标项包括:7. The distribution balancing method according to claim 3, wherein the step of establishing the third target item according to the VLT comprises: 根据具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT,确定所述第三目标项。The third target item is determined according to a plurality of VLTs between a warehouse responsible for incoming distribution and a warehouse responsible for outgoing distribution that have a distribution relationship. 8.根据权利要求7所述的配送均衡方法,其中,所述确定所述第三目标项包括:8. The distribution balancing method according to claim 7, wherein the determining the third target item comprises: 根据各VLT与所述多个VLT中的最大值之间的差异,确定所述第三目标项。The third target item is determined according to a difference between each VLT and a maximum value among the plurality of VLTs. 9.根据权利要求3所述的配送均衡方法,其中,所述根据负责配出的仓库之间是否均衡,建立第四目标项包括:9. The distribution balancing method according to claim 3, wherein the establishing of the fourth target item according to whether the warehouses responsible for distribution are balanced comprises: 根据配送后各负责配出的仓库之间剩余库存信息的差异,建立所述第四目标项。The fourth target item is established based on the difference in the remaining inventory information between the warehouses responsible for distribution after delivery. 10.根据权利要求9所述的配送均衡方法,其中,所述建立所述第四目标项包括:10. The distribution balancing method according to claim 9, wherein the establishing the fourth target item comprises: 根据配送后任一个负责配出的仓库的现货量与配出量的差异和所有负责配出的仓库的现货量的最大值,确定所述剩余库存信息,The remaining inventory information is determined based on the difference between the spot quantity and the allocated quantity of any warehouse responsible for allocation after delivery and the maximum spot quantity of all warehouses responsible for allocation, 所述剩余库存信息与所述现货量与配出量的差异正相关,与所述现货量的最大值负相关。The remaining inventory information is positively correlated with the difference between the spot quantity and the allocated quantity, and negatively correlated with the maximum value of the spot quantity. 11.根据权利要求3所述的配送均衡方法,其中,所述第一目标项的权重大于所述第二目标项,所述第二目标项的权重大于所述第三目标项,所述第三目标项大于所述第四目标项。11. The distribution balancing method according to claim 3, wherein the weight of the first target item is greater than that of the second target item, the weight of the second target item is greater than that of the third target item, and the weight of the third target item is greater than that of the fourth target item. 12.根据权利要求11所述的配送均衡方法,其中,所述第二目标项的权重根据负责配入的仓库的数量确定,所述第四目标项的权重根据负责配入的仓库的数量和具有配送关系的负责配入的仓库和负责配出的仓库之间的多个VLT的最大值确定。12. The distribution balancing method according to claim 11, wherein the weight of the second target item is determined according to the number of warehouses responsible for incoming distribution, and the weight of the fourth target item is determined according to the number of warehouses responsible for incoming distribution and the maximum value of multiple VLTs between the warehouses responsible for incoming distribution and the warehouses responsible for outgoing distribution that have a distribution relationship. 13.根据权利要求1所述的配送均衡方法,其中,所述建立均衡模型包括下面的至少一项:13. The distribution balancing method according to claim 1, wherein said establishing a balancing model comprises at least one of the following: 根据负责配入的仓库的现货量、实际配入量、最低保有量、配入需求量,以及配送后库存量是否满足最低保有量,确定第一约束条件;The first constraint condition is determined based on the spot quantity, actual quantity, minimum inventory, demand for inventory, and whether the inventory after delivery meets the minimum inventory. 根据负责配出的仓库的实际配出量不超过配出需求量,确定第二约束条件;The second constraint condition is determined based on the fact that the actual distribution quantity of the warehouse responsible for distribution does not exceed the distribution demand quantity; 根据负责配人的仓库的实际配入量不超过配入需求量,确定第三约束条件;The third constraint condition is determined based on the fact that the actual allocation quantity of the warehouse responsible for allocation does not exceed the allocation demand quantity; 根据负责配出的仓库对具有配送关系的负责配入的仓库的配出量不超过所有负责配入的仓库的配入需求量的最大值,确定第四约束条件;The fourth constraint condition is determined based on the fact that the dispatched quantity of the warehouse in charge of dispatching to the warehouse in charge of receiving with which the warehouse has a distribution relationship does not exceed the maximum value of the incoming demand quantities of all the warehouses in charge of receiving; 根据所有负责配出的仓库的配出需求量的加权和、所有负责配出的仓库的实际配出量的加权和、均衡需求量,以及所有负责配出的仓库的配出需求量是否满足,确定第五约束条件,所述均衡需求量包括所有负责配出的仓库的配出需求量的加权和、所有负责配入的仓库的配入需求量的加权中的最大值;Determine a fifth constraint condition according to the weighted sum of the outgoing demands of all the warehouses responsible for outgoing distribution, the weighted sum of the actual outgoing demands of all the warehouses responsible for outgoing distribution, the balanced demand, and whether the outgoing demands of all the warehouses responsible for outgoing distribution are satisfied, wherein the balanced demand includes the maximum value of the weighted sum of the outgoing demands of all the warehouses responsible for outgoing distribution and the weighted incoming demands of all the warehouses responsible for incoming distribution; 根据所有负责配入的仓库的配入需求量的加权和、所有负责配出的仓库的实际配出量的加权和、所述均衡需求量,以及所有负责配入的仓库的配入需求量是否满足,确定第六约束条件;或者Determine the sixth constraint condition according to the weighted sum of the incoming allocation requirements of all warehouses responsible for allocation, the weighted sum of the actual outgoing allocations of all warehouses responsible for outgoing allocation, the equilibrium demand, and whether the incoming allocation requirements of all warehouses responsible for allocation are satisfied; or 根据所有负责配出的仓库的配出需求量是否满足,所有负责配入的仓库的配入需求量是否满足,确定第七约束条件。The seventh constraint condition is determined based on whether the distribution requirements of all warehouses responsible for distribution are met and whether the distribution requirements of all warehouses responsible for distribution are met. 14.根据权利要求2-13任一项所述的配送均衡方法,还包括:14. The distribution balancing method according to any one of claims 2 to 13, further comprising: 以最小化所述目标函数的值为求解目标,对所述均衡模型进行求解,以确定所述至少一个决策变量的值;Solving the equilibrium model with minimizing the value of the objective function as a solution goal to determine the value of the at least one decision variable; 根据所述至少一个决策变量的值,对所述仓库配送信息进行配置。The warehouse delivery information is configured according to the value of the at least one decision variable. 15.根据权利要求1-13任一项所述的配送均衡方法,还包括:15. The distribution balancing method according to any one of claims 1 to 13, further comprising: 利用贪心算法,求解出所述均衡模型的初始解;Using a greedy algorithm, an initial solution of the equilibrium model is obtained; 根据所述初始解中各负责配入的仓库的配入需求量的满足情况,或者所述初始解中具有配送关系的负责配入的仓库和负责配出的仓库之间的VLT中的至少一项,对所述初始解进行调整;Adjust the initial solution according to the satisfaction of the incoming distribution demand of each warehouse responsible for distribution in the initial solution, or at least one of the VLTs between the warehouse responsible for distribution and the warehouse responsible for distribution that have a distribution relationship in the initial solution; 根据调整结果,确定所述均衡模型的最终解。According to the adjustment result, a final solution of the equilibrium model is determined. 16.根据权利要求15所述的配送均衡方法,其中,所述对所述初始解进行调整包括:16. The distribution balancing method according to claim 15, wherein the adjusting the initial solution comprises: 对所述初始解中的配送关系进行调整;Adjusting the distribution relationship in the initial solution; 根据调整结果,计算所述均衡模型的目标函数的值是否有改进;According to the adjustment result, calculating whether the value of the objective function of the equilibrium model is improved; 在有改进的情况下,根据所述调整结果确定所述均衡模型的最终解。In case of improvement, a final solution of the equilibrium model is determined according to the adjustment result. 17.根据权利要求15所述的配送均衡方法,其中,所述求解出所述均衡模型的初始解包括:17. The distribution balancing method according to claim 15, wherein the step of obtaining an initial solution to the balancing model comprises: 根据当前的总配出量是否大于或等于总配入量,以及是否存在不满足最低保有量的负责配入的仓库,进行初始解更新;Perform initial solution update based on whether the current total outbound quantity is greater than or equal to the total inbound quantity, and whether there is a warehouse responsible for inbound quantity that does not meet the minimum inventory. 根据配出仓集合中是否存在负责配出的仓库能够独自满足一个负责配入的仓库的配入需求,继续进行初始解更新;Continue to update the initial solution based on whether there is a warehouse responsible for allocating in the allocating warehouse set that can independently meet the allocating demand of a warehouse responsible for allocating; 利用更新后的初始解对应的剩余的负责配出的仓库的可配出量满足剩余的负责配入的仓库的配入量需求,直至所述剩余的负责配出的仓库的可配出量降为0或所述剩余的负责配入的仓库的配入量需求降为0,以继续进行初始解更新。The available allocation quantity of the remaining warehouses responsible for allocation corresponding to the updated initial solution is used to meet the allocation quantity requirements of the remaining warehouses responsible for allocation, until the available allocation quantity of the remaining warehouses responsible for allocation drops to 0 or the allocation quantity requirements of the remaining warehouses responsible for allocation drops to 0, so as to continue updating the initial solution. 18.一种仓库的配送均衡装置,包括:18. A distribution balancing device for a warehouse, comprising: 确定单元,用于将满足仓库中货物的最低保有量、负责配入的仓库之间的配送量均衡、配送的有效提前期VLT最小或者负责配出的仓库之间的配送量均衡中的至少一项确定为均衡目标;A determination unit, configured to determine at least one of the following as a balancing target: satisfying a minimum inventory of goods in a warehouse, balancing the distribution quantities between warehouses responsible for incoming distribution, minimizing the effective lead time VLT of distribution, or balancing the distribution quantities between warehouses responsible for outgoing distribution; 建立单元,用于根据所述均衡目标,建立均衡模型,所述均衡模型包含至少一个关于仓库配送信息的决策变量,所述均衡模型用于配置所述仓库配送信息。An establishing unit is used to establish an equilibrium model according to the equilibrium target, wherein the equilibrium model includes at least one decision variable regarding warehouse distribution information, and the equilibrium model is used to configure the warehouse distribution information. 19.一种仓库的配送均衡装置,包括:19. A distribution balancing device for a warehouse, comprising: 存储器;和Memory; and 耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器中的指令,执行权利要求1-17任一项所述的仓库的配送均衡方法。A processor coupled to the memory, wherein the processor is configured to execute the warehouse distribution balancing method according to any one of claims 1 to 17 based on instructions stored in the memory. 20.一种非易失性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1-17任一项所述的仓库的配送均衡方法。20. A non-volatile computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the warehouse distribution balancing method according to any one of claims 1 to 17 is implemented.
CN202211530707.4A 2022-12-01 2022-12-01 Distribution balancing method and device for warehouse Pending CN115936576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211530707.4A CN115936576A (en) 2022-12-01 2022-12-01 Distribution balancing method and device for warehouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211530707.4A CN115936576A (en) 2022-12-01 2022-12-01 Distribution balancing method and device for warehouse

Publications (1)

Publication Number Publication Date
CN115936576A true CN115936576A (en) 2023-04-07

Family

ID=86648586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211530707.4A Pending CN115936576A (en) 2022-12-01 2022-12-01 Distribution balancing method and device for warehouse

Country Status (1)

Country Link
CN (1) CN115936576A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116485314A (en) * 2023-06-16 2023-07-25 北京京东乾石科技有限公司 Inventory distribution method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280538A (en) * 2018-01-05 2018-07-13 广西师范学院 Based on distributed logistics inventory's optimization method under cloud computing environment
US20200175461A1 (en) * 2018-12-03 2020-06-04 Beijing Jingdong Shangke Information Technology Co., Ltd. Method and system for two-echelon inventory allocation
CN113222304A (en) * 2020-01-21 2021-08-06 北京京东振世信息技术有限公司 Inventory scheduling method and device
CN113408771A (en) * 2020-03-16 2021-09-17 北京京东振世信息技术有限公司 Article delivery scheduling method, device and storage medium
CN114091988A (en) * 2020-11-23 2022-02-25 北京沃东天骏信息技术有限公司 Method and system for scheduling target articles among bins

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280538A (en) * 2018-01-05 2018-07-13 广西师范学院 Based on distributed logistics inventory's optimization method under cloud computing environment
US20200175461A1 (en) * 2018-12-03 2020-06-04 Beijing Jingdong Shangke Information Technology Co., Ltd. Method and system for two-echelon inventory allocation
CN113222304A (en) * 2020-01-21 2021-08-06 北京京东振世信息技术有限公司 Inventory scheduling method and device
CN113408771A (en) * 2020-03-16 2021-09-17 北京京东振世信息技术有限公司 Article delivery scheduling method, device and storage medium
CN114091988A (en) * 2020-11-23 2022-02-25 北京沃东天骏信息技术有限公司 Method and system for scheduling target articles among bins

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116485314A (en) * 2023-06-16 2023-07-25 北京京东乾石科技有限公司 Inventory distribution method and device

Similar Documents

Publication Publication Date Title
CN109993484B (en) Data processing method and system, medium and computing device
CN109711778B (en) Inventory allocation method, device and storage medium of warehouse network
US7877301B2 (en) System and method for managing manufacturing, ordering, and distribution in a supply chain
CN111429048A (en) Method, device and equipment for determining replenishment information
US20170140406A1 (en) System and method for providing a multi-channel inventory allocation approach for retailers
US20220284386A1 (en) Computerized inventory redistribution control system
US11334598B2 (en) Computer-implemented management of bookings for transportation services
CN106485419B (en) Secondary resource management method and device
CN113762885B (en) Method, apparatus, device, storage medium and program product for determining replenishment quantity
US20140222491A1 (en) Systems and Methods for Determining Pack Allocations
US20230230002A1 (en) Supply chain management with intelligent demand allocation among multiple suppliers
CN114819831B (en) Method, equipment and storage medium for replenishment and dispatch based on Amazon FBA warehouse
CN111695842B (en) Distribution scheme determining method, distribution scheme determining device, electronic equipment and computer storage medium
CN113743862B (en) Product target inventory determining method and system based on product classification
CN115936576A (en) Distribution balancing method and device for warehouse
US20120316919A1 (en) Systems and methods for buy and hold pricing
JP6953928B2 (en) Allocation method, allocation device and allocation program
CN112001666A (en) Method, device, equipment and storage medium for determining reserved inventory
CN113762859B (en) Inventory binning method, device, system and storage medium
Dobson et al. Simultaneous price, location, and capacity decisions on a line of time‐sensitive customers
CN118628021A (en) A storage capacity configuration method and device
Raa Cyclic versus reactive planning for inventory routing
US12079828B2 (en) Multi-channel demand planning for inventory planning and control
WO2019159215A1 (en) Management system, management method, and storage medium
CN118451432A (en) Method and device for controlling a transportation system to perform a transportation task

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination