CN114186727B - Multi-cycle logistics network planning method and system - Google Patents
Multi-cycle logistics network planning method and system Download PDFInfo
- Publication number
- CN114186727B CN114186727B CN202111459710.7A CN202111459710A CN114186727B CN 114186727 B CN114186727 B CN 114186727B CN 202111459710 A CN202111459710 A CN 202111459710A CN 114186727 B CN114186727 B CN 114186727B
- Authority
- CN
- China
- Prior art keywords
- arc
- planning
- logistics
- information
- node
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000032683 aging Effects 0.000 claims abstract description 8
- 238000007781 pre-processing Methods 0.000 claims description 39
- 230000014509 gene expression Effects 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 15
- 238000005457 optimization Methods 0.000 description 10
- 238000004088 simulation Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000011156 evaluation Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 238000012795 verification Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 101150082690 Pou3f1 gene Proteins 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005111 flow chemistry technique Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000005477 standard model Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/047—Optimisation of routes or paths, e.g. travelling salesman problem
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0835—Relationships between shipper or supplier and carriers
- G06Q10/08355—Routing methods
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Quality & Reliability (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Game Theory and Decision Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明涉及一种多周期物流网络规划方法及系统,方法包括:获取物流规划数据库中的业务信息;所述业务信息包括需求流向、节点信息、线路信息、时效要求信息和车辆信息;对所述业务信息进行预处理,得到模型输入数据;根据所述模型输入数据利用规划模型进行规划,得到物流规划方案;所述物流规划方案包括时效计划、分拣计划、线路计划和车辆计划;根据所述物流规划方案确定最终物流实施规划方案。本发明能够在得到网络路径规划全局最优解的情况下提高规划效率。
The invention relates to a multi-period logistics network planning method and system. The method includes: acquiring business information in a logistics planning database; the business information includes demand flow direction, node information, line information, time-limitation requirement information and vehicle information; The business information is preprocessed to obtain model input data; the planning model is used to plan according to the model input data to obtain a logistics planning scheme; the logistics planning scheme includes an aging plan, a sorting plan, a route plan and a vehicle plan; according to the The logistics planning scheme determines the final logistics implementation planning scheme. The invention can improve the planning efficiency under the condition of obtaining the global optimal solution of network path planning.
Description
技术领域technical field
本发明涉及物流路径规划领域,特别是涉及一种多周期物流网络规划方法及系统。The invention relates to the field of logistics path planning, in particular to a multi-period logistics network planning method and system.
背景技术Background technique
为解决复杂网络结构下的网络规划问题,现有的网络规划方法要么无法取得全局最优解,要么会消耗大量的计算资源。例如基于最短路径算法,找到每个流向的路由,然后每次优化只针对单个流向的分拣次数和运输距离进行优化,由于不同流向的路由和线路优化是独立的,没有考虑不同流向路由共用资源的问题,会导致优化出的结果在实际执行落地过程中,存在不同运输需求流向之间的线路或车辆计划无法满足实际车辆载量或者线路最小开通标准的问题。基于各流向路径的解决方案,该方案基于候选基础网络结构,采用基于业务约束的枚举法,穷举出所有流向的可行路由,在小规模网络下,该方案可在允许时间内获取到需要的候选可行路由。但随着网络规模增加,穷举所有流向的备选路由会消耗大量的计算资源,甚至出现无法获得实际场景中所有备选路由的问题,且备选路由的增加让后续数学模型求解的难度,呈现指数级增加,无法在有限时间内快速找到可行解等限制。即使可以通过一些业务规则限制路由穷举的规模,但也会导致在工程应用上无法获取全局最优解,减少优化空间。因此,需要一种可以在不消耗大量计算资源的情况下找到网络规划的全局最优解的方法。In order to solve the network planning problem under the complex network structure, the existing network planning methods either cannot obtain the global optimal solution, or consume a lot of computing resources. For example, based on the shortest path algorithm, the route of each flow direction is found, and then each optimization is only optimized for the sorting times and transportation distance of a single flow direction. Since the routing and line optimization of different flow directions are independent, the shared resources of different flow directions are not considered. In the actual implementation process of the optimized results, there is a problem that the route or vehicle plan between different transportation demand flows cannot meet the actual vehicle load or the minimum opening standard of the route. The solution based on each flow path, this scheme is based on the candidate basic network structure, adopts the enumeration method based on business constraints, and enumerates the feasible routes of all flow directions. candidate feasible routes. However, as the network scale increases, exhausting all alternative routes in all directions will consume a lot of computing resources, and even the problem of not being able to obtain all alternative routes in the actual scene, and the increase of alternative routes makes it difficult to solve the subsequent mathematical model. Exponential increase, the inability to quickly find a feasible solution in a limited time and other constraints. Even if the scale of routing exhaustion can be limited by some business rules, it will lead to the inability to obtain the global optimal solution in engineering applications and reduce the optimization space. Therefore, there is a need for a method that can find the global optimal solution for network planning without consuming a lot of computing resources.
发明内容SUMMARY OF THE INVENTION
本发明的目的是提供一种多周期物流网络规划方法及系统,以在得到网络路径规划全局最优解的情况下提高规划效率。The purpose of the present invention is to provide a multi-period logistics network planning method and system, so as to improve the planning efficiency when the global optimal solution of network path planning is obtained.
为实现上述目的,本发明提供了如下方案:For achieving the above object, the present invention provides the following scheme:
一种多周期物流网络规划方法,包括:A multi-cycle logistics network planning method, comprising:
获取物流规划数据库中的业务信息;所述业务信息包括需求流向、节点信息、线路信息、时效要求信息和车辆信息;Obtain business information in the logistics planning database; the business information includes demand flow, node information, route information, time-limitation requirement information and vehicle information;
对所述业务信息进行预处理,得到模型输入数据;Preprocessing the business information to obtain model input data;
根据所述模型输入数据利用规划模型进行规划,得到物流规划方案;所述物流规划方案包括时效计划、分拣计划、线路计划和车辆计划;According to the input data of the model, the planning model is used for planning, and a logistics planning scheme is obtained; the logistics planning scheme includes an aging plan, a sorting plan, a route plan and a vehicle plan;
根据所述物流规划方案确定最终物流实施规划方案。The final logistics implementation planning scheme is determined according to the logistics planning scheme.
可选地,在所述获取物流规划数据库中的业务信息之前,还包括:Optionally, before the obtaining of the business information in the logistics planning database, the method further includes:
获取运营数据库中的业务信息;所述业务信息包括线路信息、节点信息和车辆信息以及预测系统的需求流向和时效要求信息;Acquiring business information in the operation database; the business information includes line information, node information and vehicle information, as well as demand flow and timeliness requirement information of the forecasting system;
将所述线路信息、所述节点信息、所述车辆信息、所述需求流向和所述时效要求信息同步至所述物流规划数据库。Synchronizing the route information, the node information, the vehicle information, the demand flow direction and the time limit requirement information to the logistics planning database.
可选地,所述对所述业务信息进行预处理,得到模型输入数据,具体包括:Optionally, the preprocessing of the business information to obtain model input data specifically includes:
对所述业务信息按照时空节点进行预处理,得到时空节点集合;Preprocessing the business information according to space-time nodes to obtain a set of space-time nodes;
对所述业务信息按照时间弧进行预处理,得到时间弧集合;Preprocessing the business information according to the time arc to obtain a time arc set;
对所述业务信息按照运输弧进行预处理,得到运输弧集合;Preprocessing the business information according to the transport arc to obtain a transport arc set;
对所述业务信息按照需求流向进行预处理,得到需求流向集合;Preprocessing the business information according to the demand flow to obtain a demand flow set;
根据所述时空节点集合、所述时间弧集合、所述运输弧集合和所述需求流向集合确定模型输入数据。Model input data is determined from the set of space-time nodes, the set of time arcs, the set of transport arcs, and the set of demand flows.
可选地,所述规划模型包括目标函数和约束条件;Optionally, the planning model includes an objective function and constraints;
所述目标函数的表达式为:The expression of the objective function is:
其中,od为需求流向集合,transport_arc为运输弧集合,为需求流向i流向货量经过j段弧的百分比,costj为单位运输成本,sort_costj为单位分拣成本,m为需求流向i的上限,n为运输弧j的上限;Among them, od is the demand flow set, transport_arc is the transport arc set, is the percentage of the demand flow direction i flow direction through the j segment arc, cost j is the unit transportation cost, sort_cost j is the unit sorting cost, m is the upper limit of the demand flow direction i, and n is the upper limit of the transportation arc j;
所述约束条件的表达式为:The expression of the constraint condition is:
其中,为需求流向i流向货量经过j段弧的百分比,demandi为需求流向i需要配送的货量,j为从节点d发出的运输弧,i为经过运输弧j的需求流向,node为时空节点集合,s为需求流向始发节点,t为需求流向目的节点,o为运输弧始发节点,d为运输弧目的节点,arc为运输弧和时间弧构成的网络弧集合,capacityj为运输弧j的装载容量,xj为运输弧j的频次,即为执行运输弧j所代表的运输计划使用车的辆数。in, is the percentage of the demand flow through the j segment arc, demand i is the quantity of goods that needs to be delivered to the demand flow i, j is the transportation arc sent from node d, i is the demand flow through the transportation arc j, node is the space-time node Set, s is the origin node of the demand flow, t is the destination node of the demand flow, o is the origin node of the transport arc, d is the destination node of the transport arc, arc is the network arc set composed of the transport arc and the time arc, and capacity j is the transport arc The loading capacity of j, x j is the frequency of the transport arc j, that is, the number of vehicles used to execute the transport plan represented by the transport arc j.
可选地,根据所述物流规划方案确定最终物流实施规划方案,具体包括:Optionally, the final logistics implementation planning scheme is determined according to the logistics planning scheme, which specifically includes:
判断所述物流规划方案是否满足运营指标;若是,则确定所述物流规划方案为最终物流实施规划方案;若否,则利用所述物流规划方案对所述物流规划数据库和所述规划模型进行更新,并返回步骤“获取物流规划数据库中的业务信息”。Determine whether the logistics planning scheme satisfies the operation index; if yes, then determine that the logistics planning scheme is the final logistics implementation planning scheme; if not, use the logistics planning scheme to update the logistics planning database and the planning model , and return to step "Get business information from logistics planning database".
一种多周期物流网络规划系统,包括:A multi-cycle logistics network planning system, comprising:
第一获取模块,用于获取物流规划数据库中的业务信息;所述业务信息包括需求流向、节点信息、线路信息、时效要求信息和车辆信息;The first acquisition module is used to acquire business information in the logistics planning database; the business information includes demand flow direction, node information, route information, time-limitation requirement information and vehicle information;
预处理模块,用于对所述业务信息进行预处理,得到模型输入数据;a preprocessing module for preprocessing the business information to obtain model input data;
规划模块,用于根据所述模型输入数据利用规划模型进行规划,得到物流规划方案;所述物流规划方案包括时效计划、分拣计划、线路计划和车辆计划;a planning module, used for planning by using the planning model according to the model input data to obtain a logistics planning scheme; the logistics planning scheme includes an aging plan, a sorting plan, a route plan and a vehicle plan;
最终物流实施规划方案确定模块,用于根据所述物流规划方案确定最终物流实施规划方案。The final logistics implementation planning scheme determination module is used for determining the final logistics implementation planning scheme according to the logistics planning scheme.
可选地,还包括:Optionally, also include:
第二获取模块,用于获取运营数据库中的业务信息;所述业务信息包括线路信息、节点信息和车辆信息以及预测系统的需求流向和时效要求信息;The second acquisition module is used to acquire business information in the operation database; the business information includes line information, node information and vehicle information, as well as demand flow and timeliness requirement information of the forecasting system;
同步模块,用于将所述线路信息、所述节点信息、所述车辆信息、所述需求流向和所述时效要求信息同步至所述物流规划数据库。The synchronization module is used for synchronizing the route information, the node information, the vehicle information, the demand flow direction and the timeliness requirement information to the logistics planning database.
可选地,所述预处理模块,具体包括:Optionally, the preprocessing module specifically includes:
时空节点集合确定单元,用于对所述业务信息按照时空节点进行预处理,得到时空节点集合;a spatiotemporal node set determination unit, configured to preprocess the business information according to the spatiotemporal nodes to obtain a spatiotemporal node set;
时间弧集合确定单元,用于对所述业务信息按照时间弧进行预处理,得到时间弧集合;a time arc set determining unit, configured to preprocess the business information according to the time arc to obtain a time arc set;
运输弧集合确定单元,用于对所述业务信息按照运输弧进行预处理,得到运输弧集合;a transport arc set determining unit, configured to preprocess the business information according to the transport arc to obtain a transport arc set;
需求流向集合确定单元,用于对所述业务信息按照需求流向进行预处理,得到需求流向集合;a demand flow direction set determination unit, configured to preprocess the business information according to the demand flow direction to obtain a demand flow direction set;
模型输入数据确定单元,用于根据所述时空节点集合、所述时间弧集合、所述运输弧集合和所述需求流向集合确定模型输入数据。A model input data determining unit, configured to determine model input data according to the space-time node set, the time arc set, the transportation arc set, and the demand flow set.
可选地,所述规划模型包括目标函数和约束条件;Optionally, the planning model includes an objective function and constraints;
所述目标函数的表达式为:The expression of the objective function is:
其中,od为需求流向集合,transport_arc为运输弧集合,为需求流向i流向货量经过j段弧的百分比,costj为单位运输成本,sort_costj为单位分拣成本,m为需求流向i的上限,n为运输弧j的上限;Among them, od is the demand flow set, transport_arc is the transport arc set, is the percentage of the demand flow direction i flow direction through the j segment arc, cost j is the unit transportation cost, sort_cost j is the unit sorting cost, m is the upper limit of the demand flow direction i, and n is the upper limit of the transportation arc j;
所述约束条件的表达式为:The expression of the constraint condition is:
其中,为需求流向i流向货量经过j段弧的百分比,demandi为需求流向i需要配送的货量,j为从节点d发出的运输弧,i为经过运输弧j的需求流向,node为时空节点集合,s为需求流向始发节点,t为需求流向目的节点,o为运输弧始发节点,d为运输弧目的节点,arc为运输弧和时间弧构成的网络弧集合,capacityj为运输弧j的装载容量,xj为运输弧j的频次,即为执行运输弧j所代表的运输计划使用车的辆数。in, is the percentage of the demand flow through the j segment arc, demand i is the quantity of goods that needs to be delivered to the demand flow i, j is the transportation arc sent from node d, i is the demand flow through the transportation arc j, node is the space-time node Set, s is the origin node of the demand flow, t is the destination node of the demand flow, o is the origin node of the transport arc, d is the destination node of the transport arc, arc is the network arc set composed of the transport arc and the time arc, and capacity j is the transport arc The loading capacity of j, x j is the frequency of the transport arc j, that is, the number of vehicles used to execute the transport plan represented by the transport arc j.
可选地,根据所述物流规划方案确定最终物流实施规划方案,具体包括:Optionally, the final logistics implementation planning scheme is determined according to the logistics planning scheme, which specifically includes:
判断所述物流规划方案是否满足运营指标;若是,则确定所述物流规划方案为最终物流实施规划方案;若否,则利用所述物流规划方案对所述物流规划数据库和所述规划模型进行更新,并返回步骤“获取物流规划数据库中的业务信息”。Determine whether the logistics planning scheme satisfies the operation index; if yes, then determine that the logistics planning scheme is the final logistics implementation planning scheme; if not, use the logistics planning scheme to update the logistics planning database and the planning model , and return to step "Get business information from logistics planning database".
根据本发明提供的具体实施例,本发明公开了以下技术效果:According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
本发明获取物流规划数据库中的业务信息;所述业务信息包括需求流向、节点信息、线路信息、时效要求信息和车辆信息;对所述业务信息进行预处理,得到模型输入数据;根据所述模型输入数据利用规划模型进行规划,得到物流规划方案;根据所述物流规划方案确定最终物流实施规划方案。相比基于路径的全局网络规划,省略了穷举路由的过程,简化了数据处理过程,提升了规划模型的计算效率。且不需要基于业务规则进行路由删减,使得最终物流实施规划方案即为规划约束下的全局最优解。The present invention obtains the business information in the logistics planning database; the business information includes demand flow direction, node information, route information, aging requirement information and vehicle information; the business information is preprocessed to obtain model input data; The input data is planned using the planning model to obtain a logistics planning scheme; the final logistics implementation planning scheme is determined according to the logistics planning scheme. Compared with the path-based global network planning, the exhaustive routing process is omitted, the data processing process is simplified, and the calculation efficiency of the planning model is improved. And there is no need to delete routes based on business rules, so that the final logistics implementation planning scheme is the global optimal solution under the planning constraints.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some of the present invention. In the embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative labor.
图1为本发明提供的多周期物流网络规划方法流程图;Fig. 1 is the flow chart of the multi-cycle logistics network planning method provided by the present invention;
图2为网络规划方案示意图;Figure 2 is a schematic diagram of a network planning scheme;
图3为本发明提供的多周期物流网络规划方法示意图;3 is a schematic diagram of a multi-cycle logistics network planning method provided by the present invention;
图4为本发明提供的多周期物流网络规划系统结构示意图。FIG. 4 is a schematic structural diagram of a multi-cycle logistics network planning system provided by the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明的目的是提供一种多周期物流网络规划方法及系统,以在得到网络路径规划全局最优解的情况下提高规划效率。The purpose of the present invention is to provide a multi-period logistics network planning method and system, so as to improve the planning efficiency when the global optimal solution of network path planning is obtained.
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
网络规划作为保障物流网络高效运行的一种重要手段,其目标是通过合理的安排线路、运力和路由计划,完成特定流向的运输任务。在网络规划问题中有两个基础概念,分别是基础网络结构和运输需求流向。其中,图2(a)为网络规划问题,图2(b)为可行的网络规划方案,如图2(a)虚线左侧所示,北京、西安、武汉和深圳可以构成一个简单的网络,任意两点之间均可以开通候选线路,所有可开通的候选线路和节点构成基础网络结构。如图2(a)中虚线右侧所示,<北京-深圳,50吨>、<北京-武汉,20吨>、<武汉-深圳,30吨>和<西安-深圳,10吨>为4个运输需求流向。如何以最小化成本为为目标,选出合适的线路组合,在满足实际约束的前提下,将4个需求流向的配送任务完成,属于网络规划中的经典场景。如图2(b)中所示,可以找出很多可行的线路组合方案。在图2(b)中,解决方案1和解决方案2均为可行的网络结构,但是解决方案2的线路组合因为线路更少,总运输里程更短,而实际中的网络的可行方案数以亿级,从海量的可行方案中选出最优的网络结构,是一个有挑战性的事情。As an important means to ensure the efficient operation of the logistics network, network planning aims to complete the transportation tasks in a specific flow direction by rationally arranging routes, capacity and routing plans. There are two basic concepts in the network planning problem, namely the basic network structure and the flow of transportation demand. Among them, Figure 2(a) is a network planning problem, and Figure 2(b) is a feasible network planning scheme. As shown on the left side of the dotted line in Figure 2(a), Beijing, Xi'an, Wuhan and Shenzhen can form a simple network. Candidate lines can be opened between any two points, and all open candidate lines and nodes constitute the basic network structure. As shown on the right side of the dotted line in Figure 2(a), <Beijing-Shenzhen, 50 tons>, <Beijing-Wuhan, 20 tons>, <Wuhan-Shenzhen, 30 tons> and <Xi’an-Shenzhen, 10 tons> are 4 A transport demand flow. How to select the appropriate line combination with the goal of minimizing the cost, and complete the distribution tasks of the four demand flows under the premise of satisfying the actual constraints, belongs to the classic scenario in network planning. As shown in Figure 2(b), many possible line combinations can be found. In Figure 2(b), both solution 1 and solution 2 are feasible network structures, but the line combination of solution 2 is shorter because of fewer lines, and the number of feasible solutions in the actual network is less than It is a challenging task to select the optimal network structure from a large number of feasible solutions.
如图1所示,本发明提供的一种多周期物流网络规划方法,包括:As shown in Figure 1, a multi-period logistics network planning method provided by the present invention includes:
步骤101:获取物流规划数据库中的业务信息;所述业务信息包括需求流向、节点信息、线路信息、时效要求信息和车辆信息。Step 101: Acquire business information in the logistics planning database; the business information includes demand flow direction, node information, route information, time-limitation requirement information and vehicle information.
步骤102:对所述业务信息进行预处理,得到模型输入数据。步骤102,具体包括:对所述业务信息按照时空节点进行预处理,得到时空节点集合;对所述业务信息按照时间弧进行预处理,得到时间弧集合;对所述业务信息按照运输弧进行预处理,得到运输弧集合;对所述业务信息按照需求流向进行预处理,得到需求流向集合;根据所述时空节点集合、所述时间弧集合、所述运输弧集合和所述需求流向集合确定模型输入数据。时间弧代表连接同一个空间节点上,两个不同的时间节点的弧,弧长代表空间节点上的一段时长,弧的容量代表该时间段内的分拣能力。运输弧代表连接不同空间节点上,两个时间节点的弧,弧长从一个空间节点转移到另外一个空间节点上的时长,弧的容量代表该运输弧所代表的的载具(如一辆车或者一架飞机等)的装载容量。Step 102: Preprocess the business information to obtain model input data. Step 102 specifically includes: preprocessing the business information according to space-time nodes to obtain a set of space-time nodes; preprocessing the business information according to time arcs to obtain a time arc set; preprocessing the business information according to transport arcs. processing to obtain a transport arc set; preprocessing the business information according to the demand flow direction to obtain a demand flow set; determining a model according to the space-time node set, the time arc set, the transport arc set and the demand flow set Input data. The time arc represents the arc connecting two different time nodes on the same space node, the arc length represents a period of time on the space node, and the capacity of the arc represents the sorting capacity in this time period. The transport arc represents the arc connecting two time nodes on different space nodes, the length of the arc is transferred from one space node to another space node, and the capacity of the arc represents the vehicle (such as a vehicle or a vehicle) represented by the transport arc. the loading capacity of an aircraft, etc.).
步骤103:根据所述模型输入数据利用规划模型进行规划,得到物流规划方案;所述物流规划方案包括时效计划、分拣计划、线路计划和车辆计划。本发明中的规划模型为基于边流的网络流模型(arc-flow based network flow model,arc-flow模型)。Step 103 : perform planning by using a planning model according to the model input data to obtain a logistics planning scheme; the logistics planning scheme includes an aging plan, a sorting plan, a route plan and a vehicle plan. The planning model in the present invention is an edge-flow based network flow model (arc-flow based network flow model, arc-flow model).
其中,所述规划模型包括目标函数和约束条件;Wherein, the planning model includes an objective function and constraints;
所述目标函数的表达式为: 其中,od为需求流向集合,transport_arc为运输弧集合,为需求流向i流向货量经过j段弧的百分比,costj为单位运输成本,sort_costj为单位分拣成本,m为需求流向i的上限,n为运输弧j的上限;The expression of the objective function is: Among them, od is the demand flow set, transport_arc is the transport arc set, is the percentage of the demand flow direction i flow direction through the j segment arc, cost j is the unit transportation cost, sort_cost j is the unit sorting cost, m is the upper limit of the demand flow direction i, and n is the upper limit of the transportation arc j;
所述约束条件的表达式为:The expression of the constraint condition is:
其中,为需求流向i流向货量经过j段弧的百分比,demandi为需求流向i需要配送的货量,j为从节点d发出的运输弧,i为经过运输弧j的需求流向,node为时空节点集合,s为需求流向始发节点,t为需求流向目的节点,o为运输弧始发节点,d为运输弧目的节点,arc为运输弧和时间弧构成的网络弧集合,capacityj为运输弧j的装载容量,xj为运输弧j的频次,即为执行运输弧j所代表的运输计划使用车的辆数。in, is the percentage of the demand flow through the j segment arc, demand i is the quantity of goods that needs to be delivered to the demand flow i, j is the transportation arc sent from node d, i is the demand flow through the transportation arc j, node is the space-time node Set, s is the origin node of the demand flow, t is the destination node of the demand flow, o is the origin node of the transport arc, d is the destination node of the transport arc, arc is the network arc set composed of the transport arc and the time arc, and capacity j is the transport arc The loading capacity of j, x j is the frequency of the transport arc j, that is, the number of vehicles used to execute the transport plan represented by the transport arc j.
步骤104:根据所述物流规划方案确定最终物流实施规划方案。Step 104: Determine a final logistics implementation planning scheme according to the logistics planning scheme.
步骤104,具体包括:Step 104 specifically includes:
判断所述物流规划方案是否满足运营指标;若是,则确定所述物流规划方案为最终物流实施规划方案;若否,则利用所述物流规划方案对所述物流规划数据库和所述规划模型进行更新,并返回步骤101。利用物流规划方案对规划模型进行更新即为利用物流规划方案增加规划模型中的约束条件,以使规划模型更符合实际。其中,运营指标指的是通过仿真模型输出的关键运营指标,比如中转场在新方案下的分拣量是否超过设计峰值,各月台的装卸车任务是否因为新方案导致过多卸车卡位出现排队现场等等更加接近现实且细致的指标。Determine whether the logistics planning scheme satisfies the operation index; if yes, then determine that the logistics planning scheme is the final logistics implementation planning scheme; if not, use the logistics planning scheme to update the logistics planning database and the planning model , and return to step 101. Using the logistics planning scheme to update the planning model is to use the logistics planning scheme to increase the constraints in the planning model, so as to make the planning model more realistic. Among them, the operation indicators refer to the key operation indicators output through the simulation model, such as whether the sorting volume of the transfer yard under the new scheme exceeds the design peak, and whether the loading and unloading tasks of each platform cause too many unloading slots due to the new scheme. The queuing scene and so on are closer to realistic and detailed indicators.
在实际应用中,在步骤101之前,还包括:获取运营数据库中的业务信息;所述业务信息包括线路信息、节点信息和车辆信息以及预测系统的需求流向和时效要求信息;将所述线路信息、所述节点信息、所述车辆信息、所述需求流向和所述时效要求信息同步至所述物流规划数据库。In a practical application, before
如图3所示,本发明提供的方法具体分为规划数据库、数据预处理、arc-flow模型、方案核查、运营数据库和规划需求更新六大模块。其中运营系统作用是支持企业物流网络正常运行的信息管理系统,如运单管理、路由管理、分拣场院管理系统等,这类信息管理系统管理着线路、货物配送需求、场地信息等与物流基础网络和客户需求相关的数据,这些数据定期沉淀形成运营数据库,它记录了方案在实际中的运行情况。而规划数据库用于为arc-flow模型的数据预处理提供基础业务数据,它的数据记录了运营系统中关于网络的当前最新状态和预测配送需求相关的信息。主要为数据预处理模块提供输入数据。而数据预处理模块则把规划数据库中的业务处理数据,处理成arc-flow模型可识别的标准数据集。Arc-flow模型负责输出满足所有配送需求的网络解决方案。方案核查模块则对该方案在不同件量水平下的成本、场地、线路等以更加贴合业务实际状态的方式进行模拟评估,验证方案在不同场景下的鲁棒性。并根据评估结果,对规划需求的约束进行更新后,不断按照图3的流程进行迭代优化,直到满足一定条件。As shown in FIG. 3 , the method provided by the present invention is specifically divided into six modules: planning database, data preprocessing, arc-flow model, scheme verification, operation database and planning requirement update. Among them, the operation system is an information management system that supports the normal operation of the enterprise logistics network, such as waybill management, routing management, sorting field management system, etc. This type of information management system manages routes, cargo distribution requirements, site information, etc. The data related to the network and customer needs are regularly deposited to form an operational database, which records the operation of the solution in practice. The planning database is used to provide basic business data for the data preprocessing of the arc-flow model, and its data records the information related to the current state of the network and the predicted distribution demand in the operating system. It mainly provides input data for the data preprocessing module. The data preprocessing module processes the business processing data in the planning database into a standard data set that can be recognized by the arc-flow model. The Arc-flow model is responsible for outputting a network solution that meets all distribution needs. The scheme verification module simulates and evaluates the cost, site, and route of the scheme under different volume levels in a way that is more in line with the actual state of the business, and verifies the robustness of the scheme in different scenarios. And according to the evaluation results, after updating the constraints of planning requirements, iterative optimization is continuously carried out according to the process of Figure 3 until certain conditions are met.
步骤1:由规划数据库的抽数模块从运营数据库中同步各种备选线路、节点和车辆网络基础信息,并且从运单或者预测系统中获取需求流向、客户时效要求等业务需求信息。该数据集沉淀至规划数据库中,作为需要解决网络规划问题的基础数据源。Step 1: The drawing module of the planning database synchronizes the basic information of various alternative routes, nodes and vehicle networks from the operation database, and obtains business demand information such as demand flow and customer timeliness requirements from the waybill or forecast system. This dataset is deposited into the planning database as a basic data source to solve network planning problems.
步骤2:由数据预处理模块将规划数据库的业务信息转换成arc-flow模型所需要的标准模型输入数据格式。Step 2: The data preprocessing module converts the business information of the planning database into the standard model input data format required by the arc-flow model.
步骤3:由arc-flow模型基于规划所需网络结构和业务配送需求,输出优化后的线路组合、流向路由和线路计划等解决方案。Step 3: Based on the network structure required for planning and business distribution requirements, the arc-flow model outputs the optimized route combination, flow routing and route plan solutions.
步骤4:由于arc-flow模型为提升方案输出效率,需要对实际问题进行抽象,剔除了一些次要的运营规则,比如发车规则、货物在分拣系统中的流动等更加细节的信息。因此在解决方案同步至运营系统进行落地前,需要由方案核查模块基于仿真或者人工经验对解决方案的可落地性和合理性进行评估。比如可以基于离散事件仿真技术建立包含更多运营细节(如发车规则、中转场内分拣流程等)的网络仿真模型。仿真模型接收来自arc-flow模型优化输出的网络解决方案(一般包含线路、车辆和路由计划等),对arc-flow模型输出的方案在更加贴近现实的数字孪生世界中进行评估。观察是否会出现其他运营问题,比如是否在某些中转场出现过长的车辆装卸排队,出现分拣能力不够导致的过饱和等,如果方案可行,可以将arc-flow模型输出的分拣、线路和车辆计划同步至运营数据库,运营系统将基于优化后的线路产生各需求流向的配送路由以及相应节点的分拣计划,根据arc-flow模型规划好的车辆计划,提前准备车辆、飞机和铁路等运力资源。如果方案不合理,则基于评估结果,对某些重要约束进行更新,比如对过饱和分拣评估是否能进行产能改造,扩大原有分拣能力。从而产生新的规划需求,该评估产生的规划需求数据通过规划需求更新模块,对规划数据库中的信息进行更新后,重新经过数据预处理模块产生新的模型输入数据,迭代输出最终的可落地方案。Step 4: In order to improve the output efficiency of the solution, the arc-flow model needs to abstract the actual problem and eliminate some secondary operating rules, such as the departure rules, the flow of goods in the sorting system and other more detailed information. Therefore, before the solution is synchronized to the operation system for implementation, the solution verification module needs to evaluate the feasibility and rationality of the solution based on simulation or manual experience. For example, a network simulation model containing more operational details (such as departure rules, sorting processes in the transfer yard, etc.) can be established based on discrete event simulation technology. The simulation model receives the network solutions (generally including routes, vehicles and routing plans, etc.) from the optimized output of the arc-flow model, and evaluates the solutions output by the arc-flow model in a more realistic digital twin world. Observe whether there will be other operational problems, such as whether there are too long vehicle loading and unloading queues in some transit yards, and oversaturation caused by insufficient sorting capacity. If the solution is feasible, the sorting and line output of the arc-flow model can be Synchronized with the vehicle plan to the operation database, the operation system will generate the distribution route of each demand flow and the sorting plan of the corresponding node based on the optimized route, and prepare the vehicle, plane and railway in advance according to the planned vehicle plan based on the arc-flow model. capacity resources. If the plan is unreasonable, based on the evaluation results, some important constraints are updated, such as whether the oversaturated sorting can be transformed to expand the original sorting capacity. As a result, new planning requirements are generated. The planning requirements data generated by the assessment pass through the planning requirements update module to update the information in the planning database, and then go through the data preprocessing module to generate new model input data, and iteratively output the final implementation plan. .
其中,基于评估结果对某些重要约束进行更新,具体为先对约束更新,然后更新至arc-flow模型进行下一步迭代,并输出新的优化方案。比如对上一步输出的网络解决方案进行评估后,后发现某些中转场月台和分拣能力不足,在下一步优化时,会增加对该中转场发车和到车进行限制的约束条件。然后输出下一版新的网络解决方案。Among them, some important constraints are updated based on the evaluation results, specifically, the constraints are updated first, and then updated to the arc-flow model for the next iteration, and a new optimization scheme is output. For example, after evaluating the network solution output in the previous step, it is found that some transfer yard platforms and sorting capabilities are insufficient. In the next step of optimization, constraints will be added to limit the departure and arrival of the transfer yard. Then output the next version of the new network solution.
对规划数据库中的信息进行更新具体为比如在规划数据库的线路信息方面。优化前根据运营数据库同步过来的网络结构显示,需要1000条线路,才能保证所有的运输需求能够被配送。经过我们这套方法优化后,需要从原线路中删除50条,并新增10条线路,只需要960条线路就可以满足配送需求,且成本更便宜。我们会将优化后的线路信息先同步至规划数据库,然后进行人工或者仿真验证评估,通过迭代直到方案可执行,然后从规划数据库同步至运营数据库,形成新的线路、分拣和车辆排布方案。The updating of the information in the planning database is specifically, for example, in terms of line information in the planning database. Before optimization, according to the network structure synchronized from the operational database, 1,000 lines are needed to ensure that all transportation needs can be delivered. After the optimization of our method, we need to delete 50 lines from the original line and add 10 lines. Only 960 lines are needed to meet the distribution needs, and the cost is cheaper. We will first synchronize the optimized route information to the planning database, and then perform manual or simulation verification and evaluation, through iteration until the plan is executable, and then synchronize from the planning database to the operation database to form a new route, sorting and vehicle arrangement plan .
迭代输出最终的可落地方案具体为Arc-flow模型输出解决方案,方案核查模型验证方案可行性,产生新的业务约束,然后将新的约束加入arc-flow模型,输出新的网络解决方案,重新进行方案可行性验证。如不断迭代,直到最后输出可落地执行的优化方案。Iteratively output the final feasible solution specifically for the Arc-flow model output solution, the solution checks the model to verify the feasibility of the solution, generates new business constraints, and then adds the new constraints to the arc-flow model, outputs a new network solution, and re- To verify the feasibility of the program. For example, iterate continuously until the final output can be implemented.
在图3中由于数据预处理模块和arc-flow模型模块是流程中的两个关键模块,也是本专利需要保护的内容,下面将对两个模块的细节进行详细描述。在数据预处理模块部分,包含时间节点、时间弧、运输弧和需求流向处理四个部分。In FIG. 3 , since the data preprocessing module and the arc-flow model module are two key modules in the process, and are also the content to be protected by this patent, the details of the two modules will be described in detail below. In the part of data preprocessing module, it includes four parts: time node, time arc, transportation arc and demand flow processing.
表1-表4为经过数据预处理模块,对规划数据库中业务数据进行处理出后,所呈现的模型标准输入数据明细。该数据将作为arc-flow模型可识别的模型入参。表1为时空网络图中的时间节点,表2为时空网络图中的时间弧,表3为时空网络图中的运输弧,表4为时空网络图中的需求流向。众所周知网络一般由节点和弧构成。表1-表3构成arc-flow模型所需要的时空网络图。其中表1为时空网络图中的网络节点。表2和表3表示图中的网络弧,其作用是连接表1中的网络节点,使表1的节点连接成一个全连通的时空网络。其中表2表示表1中同一空间节点上,任意相邻的两个时间节点之间的连接弧,表3表示连接表1中不同空间节点上,不同网络节点的网络弧。该时空网络图是实际网络中中转班次、线路数据和运输配送需求数据的映射。由此我们可以将现实二维时空网络降维成一个一维网络。下面将对各表的实例数据进行详细解释。Tables 1-4 are the details of the model standard input data presented after the business data in the planning database is processed by the data preprocessing module. This data will be used as a model input that the arc-flow model can recognize. Table 1 shows the time nodes in the space-time network diagram, Table 2 shows the time arcs in the space-time network diagram, Table 3 shows the transportation arcs in the space-time network diagram, and Table 4 shows the demand flow in the space-time network diagram. It is well known that a network is generally composed of nodes and arcs. Tables 1-3 constitute the spatiotemporal network diagrams required by the arc-flow model. Table 1 shows the network nodes in the spatiotemporal network diagram. Table 2 and Table 3 represent the network arcs in the figure, and their function is to connect the network nodes in Table 1, so that the nodes in Table 1 are connected into a fully connected space-time network. Table 2 represents the connection arcs between any two adjacent time nodes on the same space node in Table 1, and Table 3 represents the network arcs connecting different network nodes on different space nodes in Table 1. The spatio-temporal network diagram is the mapping of transfer shifts, route data and transportation and distribution demand data in the actual network. From this, we can reduce the dimension of the real two-dimensional space-time network into a one-dimensional network. The example data of each table will be explained in detail below.
表1时空网络图中的时间节点Table 1 Time nodes in the spatiotemporal network diagram
表1为时间节点的标准数据格式,键值代表唯一标识符,时间节点表示表示各个空间节点的时间信息,以表中空间节点为北京的3行数据举例。TN001、TN002和TN003分别代表北京节点上存在07:00、08:30和11:00三个时间节点。该节点表示线路发车、线路到车、班次开始和班次结束等运营中的关键时间节点。Table 1 is the standard data format of the time node, the key value represents the unique identifier, the time node represents the time information of each space node, and the space node in the table is Beijing 3 rows of data as an example. TN001, TN002, and TN003 represent three time nodes of 07:00, 08:30, and 11:00 on the Beijing node, respectively. This node represents the key time nodes in the operation such as line departure, line arrival, shift start and shift end.
表2时空网络图中的时间弧Table 2 Time arcs in the spatiotemporal network diagram
表2代表连接同一空间节点上的两个相邻时间节点的虚拟时间弧,TA001和TA002代表连接北京节点上07:00、08:00和11:00等三个时间节点的2条虚拟时间弧。比如表2中TA001表示表中TN001和TN002两个时间节点的弧。需要注意的是时间弧连接的是两个同一空间节点的不同时间节点。比如表1中TN003和TN004因为是北京和深圳,两个不同空间节点上的时间节点,所以并不能形成时间弧。需要说明的是该时间弧的处理能力代表指定时间内的分拣能力或者卸装车能力。Table 2 represents the virtual time arcs connecting two adjacent time nodes on the same space node, TA001 and TA002 represent 2 virtual time arcs connecting three time nodes on the Beijing node at 07:00, 08:00 and 11:00 . For example, TA001 in Table 2 represents the arc of two time nodes TN001 and TN002 in the table. It should be noted that the time arc connects two different time nodes of the same space node. For example, TN003 and TN004 in Table 1 cannot form a time arc because they are time nodes on two different spatial nodes in Beijing and Shenzhen. It should be noted that the processing capacity of this time arc represents the sorting capacity or the unloading capacity within a specified time.
表3时空网络图中的运输弧Table 3. Transport arcs in the spatiotemporal network diagram
表3代表连接不同空间节点上的时间节点的时间弧,我们称之为运输弧。其代表候选网络结构中存在的线路。如表3中所示,TP001和TP002分别代表连接北京-武汉和武汉-深圳的两条线路,以TP001为例,该运输弧连接了表2中TN001和TN005两个网络节点。表示实际物流网络中存在一条从北京发往武汉的线路,该线路在北京的发车时间为第1天的07:00,到达武汉的时间为第2天的15:00。该装载能力代表指定线路的车辆装载能力,表这条线路上存在150吨的可用载位。运输弧的成本为线路单位成本。Table 3 represents the time arcs connecting time nodes on different spatial nodes, which we call transport arcs. It represents the lines present in the candidate network structure. As shown in Table 3, TP001 and TP002 represent the two lines connecting Beijing-Wuhan and Wuhan-Shenzhen respectively. Taking TP001 as an example, this transport arc connects the two network nodes TN001 and TN005 in Table 2. It means that there is a line from Beijing to Wuhan in the actual logistics network. The departure time of this line in Beijing is 07:00 on the first day and the arrival time in Wuhan is 15:00 on the second day. The loading capacity represents the vehicle loading capacity of the designated line, indicating that there is 150 tons of available load space on this line. The cost of the transport arc is the line unit cost.
表4时空网络图中的需求流向Table 4 Demand flow in the spatiotemporal network diagram
表4为网络中运输需求流向标准数据结构,DO001和DO002代表北京-深圳,以及武汉-深圳的两个配送需求。其中DO001表示为时空网络图中TN001节点存在10吨的供给,TN006节点存在20吨的需求。代表实际网络中第1天的07:00北京有一批发往深圳的货物,需要在第3天的20:00前到达深圳。Table 4 shows the standard data structure of the transportation demand flow in the network. DO001 and DO002 represent the two distribution demands of Beijing-Shenzhen and Wuhan-Shenzhen. Among them, DO001 indicates that the TN001 node has a supply of 10 tons in the space-time network diagram, and the TN006 node has a demand of 20 tons. It means that there is a batch of goods from Beijing destined for Shenzhen at 07:00 on the first day in the actual network, and it needs to arrive in Shenzhen before 20:00 on the third day.
经过上述数据预处理得到了建立arc-flow模型所需要的所有模型标准输入数据,arc-flow模型的目标函数为,After the above data preprocessing, all the model standard input data required to build the arc-flow model are obtained. The objective function of the arc-flow model is,
该目标函数表示最小化网络运输成本。This objective function represents the minimization of network transportation costs.
约束条件为Constraints are
在第一个约束中,d≠s&d≠t表示对于任意的非需求始发和目的节点,流量平衡。In the first constraint, d≠s&d≠t indicates that for any non-demand originating and destination nodes, the traffic is balanced.
在第二个约束中,d=s,表示对于任意的需求始发节点,供给必须全部配送。In the second constraint, d=s, it means that for any demand-originating node, the supply must be fully delivered.
在第三个约束中,d=t,表示对于任意的需求目的节点,需求必须全部满足。In the third constraint, d=t, it means that for any demand destination node, all demands must be satisfied.
第四个约束表示对于任意的线路,必须满足线路满载量约束。The fourth constraint states that for any line, the line full capacity constraint must be satisfied.
其中,node为由时空节点构成的节点集合,node集合的值为表1中键值字段所示集合。包含TN001、TN002、TN003等等。Among them, node is a node collection composed of space-time nodes, and the value of the node collection is the collection shown in the key value field in Table 1. Contains TN001, TN002, TN003, etc.
time_arc<i,j>为由时间弧构成的弧集合,其中,i,j∈node,time_arc<i,j>集合的值为表2中键值字段所示集合,如表2数据示例所示,表2中的TA001、TA002构成time_arc<i,j>的集合。其中i,j分别表示time_arc<i,j>的始发节点和目的节点。time_arc <i, j> is an arc set composed of time arcs, where i, j∈node, the value of time_arc <i, j> set is the set shown in the key value field in Table 2, as shown in the data example of Table 2 , TA001 and TA002 in Table 2 constitute the set of time_arc <i, j> . where i, j represent the originating node and destination node of time_arc <i, j> respectively.
transport_arc<i,j>为由运输弧构成的弧集合,其中i,j∈node。transport_arc<i,j>集合的值为表3中键值字段所示集合,如表3数据示例所示,表2中的TP001、TP002构成transport_arc的集合。其中i,j分别表示transport_arc<i,j>的始发节点和目的节点。transport_arc <i, j> is the arc set consisting of transport arcs, where i, j∈node. The value of the transport_arc <i, j> set is the set shown in the key value field in Table 3. As shown in the data example in Table 3, TP001 and TP002 in Table 2 constitute the set of transport_arc. where i, j represent the originating node and destination node of transport_arc <i, j> respectively.
arc<i,j>为由运输弧、时间弧构成的网络弧集合,其中,arc<i,j>=transport_arc<i,j>∪time_arc<i,j>运输弧。arc <i, j> is a network arc set composed of transport arcs and time arcs, where arc <i, j> = transport_arc <i, j> ∪ time_arc <i, j> transport arc.
od<i,j>为由时空节点组成的需求流向集合,od<i,j>集合的值为表4中键值字段所示集合,包含DO001和DO002。其中i为始发节点,j为目的节点。且i,j∈node。od <i, j> is the demand flow set composed of space-time nodes, and the value of the od <i, j> set is the set shown in the key value field in Table 4, including DO001 and DO002. where i is the originating node and j is the destination node. And i, j∈node.
costi为单位运输成本,i∈transport_arc。该参数的值如表3中成本字段所示,如costTP001=1920,表示运输弧TP001的的成本为1920元/趟。cost i is the unit transportation cost, i ∈ transport_arc. The value of this parameter is shown in the cost field in Table 3. For example, cost TP001 = 1920, indicating that the cost of the transport arc TP001 is 1920 yuan per trip.
capacityi:如果i∈transport_arc,则为线路满载量,该参数的值如表3中装载能力字段所示,如capacityTP001=150,表示TP001的最大装载能力为150方。如果i∈time_arc,则为该时间段的分拣能力,该参数的值如表3中处理能力字段所示,如capacityTA001=1500,,表示TA001代表07:00-08:30至这段时间的最大分拣能力为1500方。capacity i : If i∈transport_arc, it is the full capacity of the line. The value of this parameter is shown in the loading capacity field in Table 3. For example, capacity TP001 = 150, indicating that the maximum loading capacity of TP001 is 150 square meters. If i∈time_arc, it is the sorting capacity of this time period, the value of this parameter is shown in the processing capacity field in Table 3, such as capacity TA001 = 1500, indicating that TA001 represents 07:00-08:30 to this time The maximum sorting capacity is 1500 cubic meters.
demandi为需求流向i需要配送的货量,i∈od,该参数的值如表4中需求量所示,如demandDO001=20,表示流向DO001需要配送的货量为20方。demand i is the quantity of goods that needs to be delivered to demand direction i, i∈od, the value of this parameter is shown in Table 4. For example, demand DO001 = 20, it means that the quantity of goods that needs to be delivered to DO001 is 20 square meters.
为决策变量,其中i∈od,j∈transport_arc,该决策变量表示i流向货量经过j段弧的百分比。 is the decision variable, where i∈od, j∈transport_arc, the decision variable represents the percentage of the flow of goods in the i direction through the j segment arc.
arc-flow模型使用scip、cpelx等求解器对上述表达式践行数学建模和求解。The arc-flow model uses solvers such as scip and cpelx to mathematically model and solve the above expressions.
本发明首先设计了一种新的用于网络规划的arc-flow模型,将多周期的二维时空网络转换成一维时空网络,减少实际应用中由于穷举路由导致的计算资源浪费,并且其最优解为全局最优解。其次,提出了一种用于解决实际网络规划问题的新方法,结合优化、仿真和实际业务系统,可为复杂网络提供具备实时优化的规划中枢的功能。The present invention first designs a new arc-flow model for network planning, which converts a multi-period two-dimensional space-time network into a one-dimensional space-time network, reduces the waste of computing resources caused by exhaustive routing in practical applications, and is the most efficient. The optimal solution is the global optimal solution. Secondly, a new method for solving practical network planning problems is proposed, combining optimization, simulation and real business systems, which can provide the function of a planning hub with real-time optimization for complex networks.
如图4所示,本发明提供的一种多周期物流网络规划系统,其特征在于,包括:As shown in Figure 4, a multi-period logistics network planning system provided by the present invention is characterized in that, it includes:
第一获取模块201,用于获取物流规划数据库中的业务信息;所述业务信息包括需求流向、节点信息、线路信息、时效要求信息和车辆信息。The first obtaining
预处理模块202,用于对所述业务信息进行预处理,得到模型输入数据。The
规划模块203,用于根据所述模型输入数据利用规划模型进行规划,得到物流规划方案;所述物流规划方案包括时效计划、分拣计划、线路计划和车辆计划。The
最终物流实施规划方案确定模块204,用于根据所述物流规划方案确定最终物流实施规划方案。The final logistics implementation planning
在实际应用中,还包括:In practical applications, it also includes:
第二获取模块,用于获取运营数据库中的业务信息;所述业务信息包括线路信息、节点信息和车辆信息以及预测系统的需求流向和时效要求信息。The second acquisition module is used for acquiring business information in the operation database; the business information includes line information, node information and vehicle information, as well as demand flow and time-limitation requirement information of the forecasting system.
同步模块,用于将所述线路信息、所述节点信息、所述车辆信息、所述需求流向和所述时效要求信息同步至所述物流规划数据库。The synchronization module is used for synchronizing the route information, the node information, the vehicle information, the demand flow direction and the timeliness requirement information to the logistics planning database.
在实际应用中,所述预处理模块202,具体包括:时空节点集合确定单元,用于对所述业务信息按照时空节点进行预处理,得到时空节点集合;时间弧集合确定单元,用于对所述业务信息按照时间弧进行预处理,得到时间弧集合;运输弧集合确定单元,用于对所述业务信息按照运输弧进行预处理,得到运输弧集合;In practical applications, the
需求流向集合确定单元,用于对所述业务信息按照需求流向进行预处理,得到需求流向集合;模型输入数据确定单元,用于根据所述时空节点集合、所述时间弧集合、所述运输弧集合和所述需求流向集合确定模型输入数据。A demand flow direction set determination unit, used for preprocessing the business information according to the demand flow direction, to obtain a demand flow direction set; a model input data determination unit, used for according to the space-time node set, the time arc set, the transport arc set The collection and the requirements flow to the collection determination model input data.
在实际应用中,所述规划模型包括目标函数和约束条件;In practical applications, the planning model includes an objective function and constraints;
所述目标函数的表达式为:The expression of the objective function is:
其中,od为需求流向集合,transport_arc为运输弧集合,demandi为需求流向i需要配送的货量,为需求流向i流向货量经过j段弧的百分比,costj为单位运输成本,sort_costj为单位分拣成本,m为需求流向i的上限,n为运输弧j的上限;Among them, od is the set of demand flow directions, transport_arc is the set of transport arcs, and demand i is the quantity of goods that needs to be delivered to the demand flow direction i, is the percentage of the demand flow direction i flow direction through the j segment arc, cost j is the unit transportation cost, sort_cost j is the unit sorting cost, m is the upper limit of the demand flow direction i, and n is the upper limit of the transportation arc j;
所述约束条件的表达式为:The expression of the constraint condition is:
其中,为需求流向i流向货量经过j段弧的百分比,j为从节点d发出的运输弧,i为经过运输弧j的需求流向,node为时空节点集合,s为需求流向始发节点,t为需求流向目的节点,o为运输弧始发节点,d为运输弧目的节点,arc为运输弧和时间弧构成的网络弧集合,capacityj为运输弧j的装载容量,xj为运输弧j的频次,为执行运输弧j所代表的运输计划使用车的辆数。in, is the percentage of the demand flow through the j segment arc, j is the transport arc from node d, i is the demand flow through transport arc j, node is the collection of space-time nodes, s is the demand flow originating node, and t is The demand flows to the destination node, o is the originating node of the transport arc, d is the destination node of the transport arc, arc is the network arc set composed of the transport arc and the time arc, capacity j is the loading capacity of the transport arc j, and x j is the transport arc j's load capacity. Frequency, the number of vehicles used to execute the transportation plan represented by the transportation arc j.
在实际应用中,所述最终物流实施规划方案确定模块204,具体包括:In practical applications, the final logistics implementation planning
判断单元,用于判断所述物流规划方案是否满足运营指标;若是,则确定所述物流规划方案为最终物流实施规划方案;若否,则利用所述物流规划方案对所述物流规划数据库和所述规划模型进行更新,并返回步骤“获取物流规划数据库中的业务信息”。A judging unit for judging whether the logistics planning scheme satisfies the operation index; if so, determining that the logistics planning scheme is the final logistics implementation planning scheme; if not, using the logistics planning scheme to analyze the logistics planning database and all Update the planning model described above, and return to step "Get business information in logistics planning database".
本发明将二维时空网络抽象成包含周期、空间节点和时间节点的一维时空网络。将时长、处理能力、车位、分拣成本和运输成本等属性抽象成弧的各类属性,并基于scip、cplex或gurobi等求解器,获取该复杂网络的线路、路径、分拣和车辆计划等网络规划解决方案。然后采用仿真验证评估的方式对基于arc-flow模型获取的网络解决方案进行验证评估,获取解决方案中不合理的线路、分拣和车辆计划,然后将该类不合理的解决方案加入arc-flow模型约束,并基于更新后的arc-flow模型输出迭代后的网络解决方案,直到该解决方案能满足实际应用需求。该方案相比基于路径的全局网络规划,省略了穷举路由的过程,简化了数据处理过程,提升了其他方案的模型的计算效率。且不需要基于业务规则进行路由删减,使得求出的解决方案即为规划约束下的全局最优解。The present invention abstracts the two-dimensional space-time network into a one-dimensional space-time network including periods, space nodes and time nodes. Abstract attributes such as duration, processing capacity, parking space, sorting cost, and transportation cost into various attributes of arcs, and based on solvers such as scip, cplex or gurobi, obtain the routes, paths, sorting, and vehicle plans of the complex network, etc. Network planning solutions. Then use the method of simulation verification and evaluation to verify and evaluate the network solution obtained based on the arc-flow model, obtain the unreasonable route, sorting and vehicle plans in the solution, and then add such unreasonable solutions to arc-flow model constraints, and output an iterative network solution based on the updated arc-flow model until the solution meets practical application requirements. Compared with the path-based global network planning, this scheme omits the process of exhaustive routing, simplifies the data processing process, and improves the computational efficiency of the models of other schemes. And there is no need to delete routes based on business rules, so that the solution obtained is the global optimal solution under the planning constraints.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.
本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。In this paper, specific examples are used to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present invention; meanwhile, for those skilled in the art, according to the present invention There will be changes in the specific implementation and application scope. In conclusion, the contents of this specification should not be construed as limiting the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111459710.7A CN114186727B (en) | 2021-12-02 | 2021-12-02 | Multi-cycle logistics network planning method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111459710.7A CN114186727B (en) | 2021-12-02 | 2021-12-02 | Multi-cycle logistics network planning method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114186727A CN114186727A (en) | 2022-03-15 |
CN114186727B true CN114186727B (en) | 2022-08-05 |
Family
ID=80542003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111459710.7A Active CN114186727B (en) | 2021-12-02 | 2021-12-02 | Multi-cycle logistics network planning method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114186727B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117114524B (en) * | 2023-10-23 | 2024-01-26 | 香港中文大学(深圳) | A logistics sorting method based on reinforcement learning and digital twins |
CN118278846B (en) * | 2024-04-26 | 2025-02-07 | 上海诺捷信息科技有限公司 | An end-to-end visualized logistics control system and method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108921483A (en) * | 2018-07-16 | 2018-11-30 | 深圳北斗应用技术研究院有限公司 | A kind of logistics route planing method, device and driver arrange an order according to class and grade dispatching method, device |
CN109272267A (en) * | 2018-08-14 | 2019-01-25 | 顺丰科技有限公司 | A kind of Distribution path planing method, device and equipment, storage medium |
CN112418584A (en) * | 2019-08-23 | 2021-02-26 | 深圳顺丰泰森控股(集团)有限公司 | Task planning method and device, computer equipment and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030014288A1 (en) * | 2001-07-12 | 2003-01-16 | Lloyd Clarke | System and method for managing transportation demand and capacity |
KR20120100601A (en) * | 2011-03-04 | 2012-09-12 | 주식회사 한국무역정보통신 | Optimization system of smart logistics network |
CN109165886B (en) * | 2018-07-16 | 2022-06-03 | 顺丰科技有限公司 | Logistics vehicle path planning method and device, equipment and storage medium |
CN111652503B (en) * | 2020-06-01 | 2023-12-12 | 中南大学 | Multi-step multi-line ship lock joint scheduling method and structure based on network flow model |
CN113408775A (en) * | 2020-07-31 | 2021-09-17 | 上海中通吉网络技术有限公司 | Logistics network-based routing planning method, device, equipment and storage medium |
CN113450049B (en) * | 2021-06-02 | 2024-05-24 | 北京迈格威科技有限公司 | A method, device and storage medium for determining a delivery station |
-
2021
- 2021-12-02 CN CN202111459710.7A patent/CN114186727B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108921483A (en) * | 2018-07-16 | 2018-11-30 | 深圳北斗应用技术研究院有限公司 | A kind of logistics route planing method, device and driver arrange an order according to class and grade dispatching method, device |
CN109272267A (en) * | 2018-08-14 | 2019-01-25 | 顺丰科技有限公司 | A kind of Distribution path planing method, device and equipment, storage medium |
CN112418584A (en) * | 2019-08-23 | 2021-02-26 | 深圳顺丰泰森控股(集团)有限公司 | Task planning method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114186727A (en) | 2022-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhang et al. | Review of vehicle routing problems: Models, classification and solving algorithms | |
Ghilas et al. | A scenario-based planning for the pickup and delivery problem with time windows, scheduled lines and stochastic demands | |
Lin et al. | Efficient model and heuristic for the intermodal terminal location problem | |
CN110555640A (en) | Method and device for route planning | |
CN114186727B (en) | Multi-cycle logistics network planning method and system | |
Zhou et al. | A scalable vehicle assignment and routing strategy for real-time on-demand ridesharing considering endogenous congestion | |
CN116384606A (en) | A scheduling optimization method and system based on vehicle-UAV collaborative delivery | |
Bayram et al. | Hub network design problem with capacity, congestion, and stochastic demand considerations | |
CN112418475A (en) | Logistics path planning method and device, electronic equipment and storage medium | |
CN110245852B (en) | Supply chain logistics network efficiency evaluation analysis method based on hybrid simulation | |
Taran et al. | Structural optimization of multimodal routes for cargo delivery | |
Lan et al. | Optimizing train formation problem with car flow routing and train routing by benders-and-price approach | |
CN115187169A (en) | Logistics distribution system and method based on collaborative path planning | |
Tang et al. | Research on Hub‐and‐Spoke Transportation Network of China Railway Express | |
Shen et al. | A MultiObjective optimization approach for integrated timetabling and vehicle scheduling with uncertainty | |
CN111652552A (en) | Logistics order transportation planning method, system and device | |
Xiong et al. | Split demand one-to-one pickup and delivery problems with the shortest-path transport along real-life paths | |
Mi et al. | Study on optimal routes of multimodal transport under time window constraints | |
Chen et al. | A dispatching decision support system for countering delay propagation in intermodal logistics networks | |
Bi et al. | [Retracted] Multiobjective Optimization of Airport Ferry Vehicle Scheduling during Peak Hours Based on NSGA‐II | |
Xie et al. | Two‐Sided Matching on Comprehensive Transportation Network Emergency Vehicles’ Allocation | |
WO2023082724A1 (en) | Logistics routing network determination method and apparatus, and electronic device | |
Wang et al. | Shuttle Bus Rerouting and Rescheduling Problem considering Daily Demand Fluctuation | |
Chai et al. | First‐train timetable synchronization in metro networks under origin‐destination demand conditions | |
Li et al. | Scheduled service network design of long-haul freight transportation based on the segment subcontract |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |