CN110245818A - Hub location method and apparatus - Google Patents

Hub location method and apparatus Download PDF

Info

Publication number
CN110245818A
CN110245818A CN201910052979.XA CN201910052979A CN110245818A CN 110245818 A CN110245818 A CN 110245818A CN 201910052979 A CN201910052979 A CN 201910052979A CN 110245818 A CN110245818 A CN 110245818A
Authority
CN
China
Prior art keywords
hub
nodes
node
current network
edge
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
CN201910052979.XA
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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201910052979.XA priority Critical patent/CN110245818A/en
Publication of CN110245818A publication Critical patent/CN110245818A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明实施例提供一种枢纽选址方法及设备,该方法包括:确定网络中每对节点的枢纽性;选取枢纽性最大的一对节点作为当前网络的唯一一对枢纽节点,并设置当前网络中各节点之间的连边,构建初始网络;其中当前网络中各节点包括各枢纽节点与各非枢纽节点;判断当前网络中枢纽节点数量是否与预定枢纽节点数量相等,若当前网络的枢纽节点数量小于所述预定枢纽节点数量,则对当前网络依次执行树拓展和环拓展,并将当前网络的枢纽数量加一,直至达到所述预定枢纽节点数量;输出当前网络对应的枢纽选址结果。本发明实施例能够实现在缩短求解时间的同时,提高求解精度,为大规模网络下的枢纽选址问题提供了高效的解决方案。

Embodiments of the present invention provide a method and device for selecting a hub location. The method includes: determining the hubness of each pair of nodes in a network; selecting a pair of nodes with the greatest hubness as the only pair of hub nodes in the current network, and setting the current Connect edges between nodes in the network to construct an initial network; each node in the current network includes each hub node and each non-hub node; determine whether the number of hub nodes in the current network is equal to the predetermined number of hub nodes, if the current network hub node If the number of nodes is less than the predetermined number of hub nodes, tree expansion and ring expansion are performed on the current network in turn, and the number of hubs in the current network is increased by one until the predetermined number of hub nodes is reached; the result of the hub location selection corresponding to the current network is output. . The embodiments of the present invention can shorten the solution time and improve the solution accuracy, and provide an efficient solution to the hub location problem in a large-scale network.

Description

枢纽选址方法及设备Hub site selection method and equipment

技术领域technical field

本发明实施例涉及交通规划技术领域,尤其涉及一种枢纽选址方法及设备。Embodiments of the present invention relate to the technical field of traffic planning, and in particular, to a method and device for selecting a hub location.

背景技术Background technique

枢纽选址问题存在于运输和电信等多个重要领域。我们在网络中建立枢纽,以满足节点对之间收集、转运和分配的运输需求。当运送大的流量时,规模经济效应使得通过枢纽间连边的运输产生成本折扣。The problem of hub location exists in many important fields such as transportation and telecommunications. We build hubs in the network to meet the transportation needs of collection, transshipment, and distribution between pairs of nodes. When transporting large flows, economies of scale allow for cost discounts for transport through inter-hub connections.

在现有技术中,通过建立单分配模型或多分配模型,并将该两种模型的枢纽网络假设为全连接,来求解枢纽选址结果;而在算法方面,目前多采用精确算法(如Benders分解算法)或启发式算法(如贪婪算法)求解该模型。In the prior art, the hub location result is solved by establishing a single-assignment model or a multiple-assignment model, and assuming that the hub networks of the two models are fully connected; however, in terms of algorithms, precise algorithms (such as Benders Decomposition algorithm) or heuristic algorithm (such as greedy algorithm) to solve the model.

然而,采用全连接的分配模型虽能简化问题,但所得到的这些模型却与实际的案例相差甚远;Benders分解算法需要较长的求解时间,而贪婪算法虽缩短了求解时间,但大大降低了解的质量;所以以上方案均不能满足需求。However, although the fully connected allocation model can simplify the problem, the obtained models are far from the actual cases; the Benders decomposition algorithm requires a long solution time, while the greedy algorithm shortens the solution time, but greatly reduces the The quality of understanding; therefore, none of the above solutions can meet the needs.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种枢纽选址方法及设备,以缩短求解时间的同时提高解的精度。Embodiments of the present invention provide a method and device for selecting a hub location, so as to shorten the solution time and improve the accuracy of the solution.

第一方面,本发明实施例提供一种枢纽选址方法,包括:In a first aspect, an embodiment of the present invention provides a method for selecting a hub location, including:

确定网络中每对节点的枢纽性;其中,所述枢纽性与将每对节点建设为网络中唯一一对枢纽节点时的总成本成反比;determining the pivotality of each pair of nodes in the network; wherein the pivotality is inversely proportional to the total cost of building each pair of nodes as the only pair of pivot nodes in the network;

选取枢纽性最大的一对节点作为当前网络的唯一一对枢纽节点,并且按照枢纽性最大时的网络配置设置当前网络中各节点之间的连边,构建初始网络;其中当前网络中各节点包括各枢纽节点与各非枢纽节点;Select the pair of nodes with the greatest pivotality as the only pair of pivot nodes in the current network, and set the edges between the nodes in the current network according to the network configuration when the pivotality is the greatest to construct an initial network; where each node in the current network Including each hub node and each non-hub node;

判断当前网络中枢纽节点数量是否与预定枢纽节点数量相等,若当前网络的枢纽节点数量小于所述预定枢纽节点数量,则对当前网络依次执行树拓展和环拓展,以使当前网络的总成本最低,并将当前网络的枢纽数量加一,直至当前网络的枢纽节点数量等于所述预定枢纽节点数量;输出当前网络对应的枢纽选址结果。Determine whether the number of hub nodes in the current network is equal to the predetermined number of hub nodes, and if the number of hub nodes in the current network is less than the predetermined number of hub nodes, then perform tree expansion and ring expansion on the current network in turn, so that the total cost of the current network is the lowest , and add one to the number of hubs in the current network until the number of hub nodes in the current network is equal to the predetermined number of hub nodes; output the result of the hub location selection corresponding to the current network.

第二方面,本发明实施例提供一种枢纽选址设备,包括:In a second aspect, an embodiment of the present invention provides a hub site selection device, including:

确定模块,用于确定网络中每对节点的枢纽性;其中,所述枢纽性与将每对节点建设为网络中唯一一对枢纽节点时的总成本成反比;a determining module, configured to determine the pivotality of each pair of nodes in the network; wherein, the pivotality is inversely proportional to the total cost of constructing each pair of nodes as the only pair of pivot nodes in the network;

构建模块,用于选取枢纽性最大的一对节点作为当前网络的唯一一对枢纽节点,并且按照枢纽性最大时的网络配置设置当前网络中各节点之间的连边,构建初始网络;其中当前网络中各节点包括各枢纽节点与各非枢纽节点;The building module is used to select the pair of nodes with the greatest pivotality as the only pair of pivotal nodes of the current network, and set the edges between the nodes in the current network according to the network configuration when the pivotality is the greatest to construct the initial network; Each node in the current network includes each hub node and each non-hub node;

第一处理模块,用于判断当前网络中枢纽节点数量是否与预定枢纽节点数量相等,若当前网络的枢纽节点数量小于所述预定枢纽节点数量,则对当前网络依次执行树拓展和环拓展,以使当前网络的总成本最低,并将当前网络的枢纽数量加一,直至当前网络的枢纽节点数量等于所述预定枢纽节点数量;输出当前网络对应的枢纽选址结果。The first processing module is used to determine whether the number of hub nodes in the current network is equal to the predetermined number of hub nodes, and if the number of hub nodes in the current network is less than the predetermined number of hub nodes, perform tree expansion and ring expansion in sequence on the current network to The total cost of the current network is minimized, and the number of hubs in the current network is increased by one until the number of hub nodes in the current network is equal to the predetermined number of hub nodes; the result of the hub location selection corresponding to the current network is output.

第三方面,本发明实施例提供一种枢纽选址设备,包括:至少一个处理器和存储器;In a third aspect, an embodiment of the present invention provides a hub address selection device, including: at least one processor and a memory;

所述存储器存储计算机执行指令;the memory stores computer-executable instructions;

所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能的设计所述的枢纽选址方法。The at least one processor executes computer-implemented instructions stored in the memory to cause the at least one processor to perform the pivot addressing method described in the first aspect and various possible designs of the first aspect above.

第四方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的枢纽选址方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the first aspect and the first Aspects of the various possible designs described for the hub site selection method.

本实施例提供的枢纽选址方法及设备,该方法通过计算网络中每对节点的枢纽性,并选用枢纽性最大的一对节点构建具有一对枢纽节点的初始网络,得到的该初始网络能够为快速得到枢纽选址结果提供一个较高的起点;另外,通过对初始网络做迭代计算,并且在每次迭代中依次进行树拓展和环拓展,直至达到预定枢纽节点数量,并输出达到预定枢纽节点数量时的网络对应的枢纽选址结果,能够在缩短求解时间的同时,提高求解精度,为大规模网络下的枢纽选址问题提供了高效的解决方案。In the method and device for selecting a hub location provided by this embodiment, the method calculates the hubness of each pair of nodes in the network, and selects a pair of nodes with the greatest hubness to construct an initial network with a pair of hub nodes, and the obtained initial network can be It provides a high starting point for quickly obtaining the results of hub location selection; in addition, through the iterative calculation of the initial network, and in each iteration, tree expansion and ring expansion are performed in sequence until the number of predetermined hub nodes is reached, and the output reaches the predetermined hub. The results of the pivot location selection of the network corresponding to the number of nodes can shorten the solution time and improve the solution accuracy, and provide an efficient solution to the pivot location problem in large-scale networks.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本发明一实施例提供的枢纽选址方法的流程示意图一;FIG. 1 is a schematic flowchart 1 of a method for selecting a hub location according to an embodiment of the present invention;

图2为本发明一实施例提供的枢纽性最高的n个节点对和p∈{2,3,4,5,6} 情况下的最优解;Fig. 2 is an embodiment of the present invention providing n node pairs with the highest pivotality and the optimal solution in the case of p∈{2, 3, 4, 5, 6};

图3为本发明实施例提供的树拓展操作过程中枢纽网络的变化图;3 is a change diagram of a hub network in a tree expansion operation process provided by an embodiment of the present invention;

图4为本发明实施例提供的环拓展操作过程中枢纽网络的变化图;4 is a change diagram of a hub network during a ring expansion operation provided by an embodiment of the present invention;

图5为本发明又一实施例提供的枢纽选址方法的流程示意图二;FIG. 5 is a second schematic flowchart of a method for selecting a hub location according to another embodiment of the present invention;

图6为本发明实施例提供的枢纽选址方法在CAB、AP和TR数据集中对不同网络规模n∈{25,30,40,50,60,70,80,81}下所求得解的间隙;Fig. 6 is the solution obtained by the hub location method provided by the embodiment of the present invention in the CAB, AP, and TR data sets for different network scales n∈{25, 30, 40, 50, 60, 70, 80, 81} gap;

图7为本发明实施例提供的枢纽选址方法在CAB、AP和TR数据集中对不同网络规模n∈{25,30,40,50,60,70,80,81}下和增强Benders分解算法运行时间的对比图;FIG. 7 shows the hub location method provided by the embodiment of the present invention in the CAB, AP and TR data sets for different network scales n∈{25, 30, 40, 50, 60, 70, 80, 81} and enhanced Benders decomposition algorithm Comparison chart of running time;

图8为本发明实施例提供的枢纽选址方法和增强Benders分解算法关于内存使用情况的对比图;8 is a comparison diagram of a pivot location method and an enhanced Benders decomposition algorithm provided by an embodiment of the present invention with respect to memory usage;

图9为本发明又一实施例提供的枢纽选址设备的结构示意图;FIG. 9 is a schematic structural diagram of a hub site selection device provided by another embodiment of the present invention;

图10为本发明实施例提供的枢纽选址设备的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of a hub location selection device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, 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 These are some embodiments of the present invention, but not all 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.

本发明所要求解的非全连接枢纽选址问题是:在考虑四种连边(非枢纽节点间的直连边、非枢纽节点到枢纽节点的收集边、枢纽节点间的转运边和枢纽节点到非枢纽节点的分配边)的情况下,在交通网络中的若干节点上建立合适的枢纽和连边,以最小化总成本(固定建设成本和可变运输成本)的问题。为了实现这个目标,本发明实施例提出了“枢纽性”(hubbiness)的概念来评价节点作为枢纽的好坏。枢纽性不仅被用于筛选两个节点下的初始网络,而且被作为后续的网络拓展过程提供指导。以此为基础,我们设计了一种通过迭代拓展枢纽网络的算法,来在短时间内解决这种枢纽选址问题。The non-fully connected hub location problem required by the present invention is: considering four types of connecting edges (direct connection between non-hub nodes, collection edge from non-hub node to hub node, transit edge between hub nodes and hub node) In the case of assigning edges to non-hub nodes), establish suitable hubs and links at several nodes in the transportation network to minimize the problem of total cost (fixed construction cost and variable transportation cost). In order to achieve this goal, the embodiment of the present invention proposes the concept of "hubbiness" to evaluate the quality of a node as a hub. The pivotality is not only used to screen the initial network under two nodes, but also serves as a guide for the subsequent network expansion process. Based on this, we design an algorithm to iteratively expand the hub network to solve this hub location problem in a short time.

表1:非全连枢纽选址问题中的参数Table 1: Parameters in the non-fully connected hub location problem

表2:非全连枢纽选址问题中的决策变量Table 2: Decision variables in non-fully connected hub location problem

在非全连接枢纽选址问题中,四种连边(非枢纽节点间的直连边、非枢纽节点到枢纽节点的收集边、枢纽节点间的转运边和枢纽节点到非枢纽节点的分配边)分别使用符号0,1,2,3来表示。其中,收集边和分配边被统称为接入边。基于一系列的参数(表1)和决策变量(表2),我们所要解决的问题可以进行如下的建模:In the non-fully connected hub location problem, there are four types of connecting edges (direct connection edges between non-hub nodes, collection edges from non-hub nodes to hub nodes, transit edges between hub nodes, and distribution edges from hub nodes to non-hub nodes). ) are represented by the symbols 0, 1, 2, and 3, respectively. Among them, the collection edge and the distribution edge are collectively referred to as the access edge. Based on a series of parameters (Table 1) and decision variables (Table 2), the problem we are trying to solve can be modeled as follows:

其中 目标函数(1)是为了找到适当枢纽、连边和对应交通流下的最优成本的网络结构。通过约束(2),每个OD(origin-destination,始发地-目的地)对间都必须使用四种连边之一来服务于其间的交通流。约束(3)通过枢纽节点m的流守恒方程。约束(4-6) 保证了每个枢纽节点都只能被接入边和枢纽边所连接。约束(7-9)保证了交通流路径的可行性(只有建成的连边上可以运输流量)。最后,约束(10)限制枢纽的数量为p。in The objective function (1) is to find the optimal cost network structure under the appropriate hubs, edges and corresponding traffic flows. By constraint (2), each OD (origin-destination, origin-destination) pair must use one of the four types of connections to serve the traffic flow therebetween. Constraint (3) The flow conservation equation through the pivot node m. Constraints (4-6) ensure that each hub node can only be connected by access edges and hub edges. Constraints (7-9) ensure the feasibility of the traffic flow path (only the established links can transport traffic). Finally, constraint (10) limits the number of hubs to p.

下面采用具体的实施例来说明本发明实施例提供的枢纽选址方法。The following uses specific embodiments to describe the hub location method provided by the embodiments of the present invention.

图1为本发明实施例提供的枢纽选址方法的流程示意图一。如图1所示,该方法包括:FIG. 1 is a schematic flowchart 1 of a method for selecting a hub location according to an embodiment of the present invention. As shown in Figure 1, the method includes:

S101、确定网络中每对节点的枢纽性;其中,所述枢纽性与将每对节点建设为网络中唯一一对枢纽节点时的总成本成反比。S101. Determine the pivotality of each pair of nodes in the network, wherein the pivotality is inversely proportional to the total cost of constructing each pair of nodes as the only pair of pivot nodes in the network.

可选地,本实施例提出了一个针对网络中节点对的质量评估参数,命名为“枢纽性”(hubbiness)。对于一个给定的节点对(k,m),其枢纽性的值hubbikm是当k和m是网络中唯二枢纽时总成本近似值的倒数。Optionally, this embodiment proposes a quality evaluation parameter for a node pair in the network, which is named "hubbiness". For a given pair of nodes (k,m), the value of hubbi km is the inverse of the total cost approximation when k and m are the only two hubs in the network.

该算法模拟在节点k和节点m上建立枢纽,以及对直连边和接入边建设的决策。从一个全连接的配置出发,我们设计了一个贪婪搜索的算法。首先,基于运输需求对直连边进行升序排列(在运输需求小的非枢纽节点对之间建立直连边的可能性较小),对每条直连边,若移除后总成本降低,则执行移除操作;基于距离对接入边进行降序排列(非枢纽节点与远距离枢纽相连的可能性较小),对每条接入边,若移除后总成本降低,则执行移除操作;最后,我们尝试贪婪的将每条接入边的枢纽端点替换为其他尚未连接的枢纽节点(备选枢纽基于和该非枢纽节点的距离来进行升序排列)。The algorithm simulates the establishment of hubs on node k and node m, as well as the decision on the construction of directly connected edges and access edges. Starting from a fully connected configuration, we design a greedy search algorithm. First, the direct-connected edges are arranged in ascending order based on the transportation demand (it is less likely to establish direct-connected edges between pairs of non-hub nodes with low transportation demand). For each directly-connected edge, if the total cost is reduced after removal, The removal operation is performed; the access edges are sorted in descending order based on the distance (non-hub nodes are less likely to be connected to distant hubs), and for each access edge, if the total cost is reduced after removal, the removal is performed. Operation; finally, we try to greedily replace the hub endpoint of each access edge with other unconnected hub nodes (alternative hubs are sorted in ascending order based on the distance from the non-hub node).

定义节点对$(k,m)$的枢纽性如下:The pivotality of the node pair $(k,m)$ is defined as follows:

其中TCkm是所得最终配置下的总成本。枢纽性最高的节点对以及其对应的最终配置被作为p=2情况下的解。参见图2,图2为本发明一实施例提供的枢纽性最高的n个节点对和p∈{2,3,4,5,6}情况下的最优解。where TC km is the total cost in the resulting final configuration. The node pair with the highest pivotality and its corresponding final configuration is taken as the solution for the case of p=2. Referring to FIG. 2 , FIG. 2 is an optimal solution in the case of n node pairs with the highest pivotality and p∈{2, 3, 4, 5, 6} provided by an embodiment of the present invention.

可选地,所述确定网络中每对节点的枢纽性的伪代码可以为:Optionally, the pseudocode for determining the pivotality of each pair of nodes in the network may be:

S102、选取枢纽性最大的一对节点作为当前网络的唯一一对枢纽节点,并且按照枢纽性最大时的网络配置设置当前网络中各节点之间的连边,构建初始网络;其中当前网络中各节点包括各枢纽节点与各非枢纽节点。S102: Select a pair of nodes with the greatest pivotality as the only pair of pivot nodes in the current network, and set the edges between the nodes in the current network according to the network configuration when the pivotality is the greatest, to construct an initial network; Each node includes each hub node and each non-hub node.

可选地,为两个枢纽的情况设计初始网络。为网络中的每一对节点计算其枢纽性,即只在这两个节点上建设枢纽情况下总成本近似值的倒数。选择枢纽性最高的一对节点(k,m),让k-m和m-k作为唯二的枢纽边。按照计算枢纽性时所生成的网络来配置非枢纽节点间的直连边以及枢纽节点和非枢纽节点间的接入边。Optionally, design an initial network for the two-hub case. Calculate its pivotality for each pair of nodes in the network, i.e. the inverse of the approximation of the total cost in the case of only building the pivot on these two nodes. Select the pair of nodes (k, m) with the highest pivotality, and let k-m and m-k be the only pivot edges. Directly connecting edges between non-hub nodes and connecting edges between hub nodes and non-hub nodes are configured according to the network generated when calculating the hubness.

S103、判断当前网络中枢纽节点数量是否与预定枢纽节点数量相等,若当前网络的枢纽节点数量小于所述预定枢纽节点数量,则对当前网络依次执行树拓展和环拓展,以使当前网络的总成本最低,并将当前网络的枢纽数量加一,直至当前网络的枢纽节点数量等于所述预定枢纽节点数量;输出当前网络对应的枢纽选址结果。S103. Determine whether the number of hub nodes in the current network is equal to the predetermined number of hub nodes, and if the number of hub nodes in the current network is less than the predetermined number of hub nodes, perform tree expansion and ring expansion on the current network in turn, so that the total number of the current network The cost is the lowest, and the number of hubs in the current network is increased by one until the number of hub nodes in the current network is equal to the predetermined number of hub nodes; the result of the hub location selection corresponding to the current network is output.

可选地,该步骤旨在通过两个网络设计模式(树拓展(Tree-Extension)和环拓展(Cycle-Extension))来得到p>2情况的初始解。Optionally, this step aims to obtain an initial solution for the p>2 case by means of two network design patterns (Tree-Extension and Cycle-Extension).

首先介绍树拓展的步骤。对于一个给定的包含p个枢纽的网络,树拓展会替换其中一个枢纽,并另外新建一个枢纽,以高效的在枢纽网络上建立分支。First, the steps of tree expansion are introduced. For a given network of p hubs, tree expansion replaces one of the hubs and creates another hub to efficiently branch off the hub network.

令Neih表示枢纽h邻接枢纽的集合,我们基于相对枢纽h的枢纽性偏差 (该参数的定义参见公式(12))对所有非枢纽节点进行升序排列,并选择其中靠前的cn个节点加上节点h自身组成一个集合。实验表明便足以得到优秀的解。Let Nei h denote the set of adjacent hubs of hub h, we sort all non-hub nodes in ascending order based on the hubness deviation relative to hub h (see formula (12) for the definition of this parameter), and select the top cn nodes to add The upper node h itself forms a set. Experiments show is sufficient to obtain an excellent solution.

参见图3,图3为本发明实施例提供的树拓展操作过程中枢纽网络的变化图。具体步骤可以包括:Referring to FIG. 3, FIG. 3 is a change diagram of a hub network during a tree expansion operation according to an embodiment of the present invention. Specific steps can include:

步骤S1031、在图3(1)的初始网络中,对于每个枢纽边l,我们选择两个枢纽节点h1和h2(这两个节点有可能是相同的)。Step S1031. In the initial network of Fig. 3(1), for each hub edge l, we select two hub nodes h 1 and h 2 (these two nodes may be the same).

步骤S1032、如果节点对(h1,h2)没有出现过(出现过的节点会被记录在集合G中),对于中的每个节点s1和每个非枢纽节点s2,我们将枢纽h1和节点s1的角色互换(图3(2)),在节点s2上新建一个枢纽,建立新的枢纽边 s2-h2,h2-s2(图3(3)),并对直连边和接入间进行初始化。Step S1032, if the node pair (h 1 , h 2 ) has not appeared (the nodes that have appeared will be recorded in the set G), for For each node s1 and each non - hub node s2 in Edges s 2 -h 2 , h 2 -s 2 (Figure 3(3)), and initialize the directly connected edge and the access room.

步骤S1033、从这个初始网络出发,我们设计了一个贪婪搜索的算法:基于运输需求对直连边进行升序排列(在运输需求小的非枢纽节点对之间建立直连边的可能性较小),对每条直连边,若移除后总成本降低,则执行移除操作;基于距离对接入边进行降序排列(非枢纽节点与远距离枢纽相连的可能性较小),对每条接入边,若移除后总成本降低,则执行移除操作;尝试贪婪的将每条接入边的枢纽端点替换为其他尚未连接的枢纽节点(备选枢纽基于和该非枢纽节点的距离来进行升序排列)。Step S1033. Starting from this initial network, we design a greedy search algorithm: based on the transportation demand, the direct-connected edges are arranged in ascending order (it is less likely to establish direct-connected edges between pairs of non-hub nodes with small transportation requirements) , for each directly connected edge, if the total cost is reduced after removal, the removal operation is performed; the access edges are sorted in descending order based on distance (non-hub nodes are less likely to be connected to long-distance hubs), for each Access edges, if the total cost is reduced after removal, perform the removal operation; try to greedily replace the hub endpoint of each access edge with other unconnected hub nodes (the alternative hub is based on the distance from the non-hub node. to sort in ascending order).

步骤S1034、当为一对节点计算枢纽性时,两个枢纽节点之间只有两条 (单向的)枢纽边。但是在超过两条枢纽边的情况变得更加复杂。另外,在上述操作中,枢纽间只建有双向边。如果建立枢纽边的固定成本非常昂贵,在枢纽网络中建设单向的环会是一个更好的选择。因此,本发明实施例提出了树拓展的一个子操作,命名为“数闭合”(Tree-Close)。在将新枢纽s2和枢纽h2相连后,我们贪婪的在枢纽s2和其他枢纽间建立连边,只要可以降低总成本(图3(4))。Step S1034 , when the pivotality is calculated for a pair of nodes, there are only two (unidirectional) pivot edges between the two pivot nodes. But the situation becomes more complicated with more than two pivot edges. In addition, in the above operation, only two-way edges are built between the hubs. If the fixed cost of building hub edges is very expensive, building unidirectional rings in the hub network may be a better option. Therefore, the embodiment of the present invention proposes a sub-operation of tree expansion, which is named "tree-close". After connecting the new hub s 2 and the hub h 2 , we greedily establish links between the hub s 2 and other hubs, as long as the total cost can be reduced (Figure 3(4)).

可选地,对于每个被发现的有反向枢纽边的枢纽环,我们模拟的移除其所有的反向枢纽边,从而生成了一个单向的枢纽环(图3(5))。如果总成本降低,移除反向枢纽边的操作便被执行。在探索完所有的单向环之后,所得最优的解便被作为数闭合操作的解。Optionally, for each discovered hinge ring with reverse hinge edges, we simulate removing all its reverse hinge edges, thus generating a unidirectional hinge ring (Fig. 3(5)). If the total cost is reduced, the removal of the reverse hinge edge is performed. After all one-way loops have been explored, the optimal solution is taken as the solution of the number closure operation.

可选地,所述树拓展算法的伪代码可以为:Optionally, the pseudocode of the tree expansion algorithm can be:

树拓展主要通过枢纽间的双向连边来拓展枢纽网络。虽然其子操作树闭合考虑了单向枢纽环的情况,但它只针对由树新生成一个环的特殊情况,而不能囊括从一个小环拓展到大环的过程。因此,本发明实施例提出了另一个操作“环拓展”(Cycle-Extension)。The tree expansion mainly expands the hub network through the two-way connection between the hubs. Although its sub-operation tree closure considers the case of one-way hinge rings, it is only for the special case of generating a new ring from the tree, and cannot cover the process of expanding from a small ring to a large ring. Therefore, the embodiment of the present invention proposes another operation "Cycle-Extension".

参见图4,图4为本发明实施例提供的环拓展操作过程中枢纽网络的变化图。具体步骤可以包括:Referring to FIG. 4 , FIG. 4 is a change diagram of a hub network during a ring expansion operation according to an embodiment of the present invention. Specific steps can include:

步骤S1035、在图4(1)的初始枢纽网络中,对每个枢纽边h1-h2上,我们选择其每个端点(比如h1)。对于集合中的每个节点(比如s1),模拟的用节点s1来替换枢纽h1(图4(2))。Step S1035, in the initial hub network in Fig. 4(1), for each hub edge h 1 -h 2 , we select each endpoint (eg h 1 ). for collection For each node in (say s 1 ), the simulation replaces hub h 1 with node s 1 (Fig. 4(2)).

步骤S1036、对于每个枢纽节点s2,模拟的在s2新建一个枢纽,并用枢纽路径s1-s2-h2来替换连边s1-h2(图4(3))。Step S1036 , for each hub node s 2 , simulate a new hub at s 2 , and replace the connecting edge s 1 -h 2 with the hub path s 1 -s 2 -h 2 (Fig. 4(3)).

步骤S1037、随后我们对直连边和接入边执行与计算枢纽性过程中相似的贪婪搜索算法:基于运输需求对直连边进行升序排列(在运输需求小的非枢纽节点对之间建立直连边的可能性较小),对每条直连边,若移除后总成本降低,则执行移除操作;基于距离对接入边进行降序排列(非枢纽节点与远距离枢纽相连的可能性较小),对每条接入边,若移除后总成本降低,则执行移除操作;尝试贪婪的将每条接入边的枢纽端点替换为其他尚未连接的枢纽节点(备选枢纽基于和该非枢纽节点的距离来进行升序排列)。Step S1037, then we perform a greedy search algorithm similar to that in the process of calculating pivotality for the directly connected edges and the access edges: based on the transportation demand, the directly connected edges are sorted in ascending order (establish a direct connection between pairs of non-hub nodes with small transportation requirements). The possibility of connecting the edges is small), for each directly connected edge, if the total cost is reduced after removal, the removal operation is performed; the access edges are sorted in descending order based on the distance (the possibility that the non-hub node is connected to the distant hub For each access edge, if the total cost is reduced after removal, perform the removal operation; try to greedily replace the hub endpoint of each access edge with other unconnected hub nodes (alternate hubs). In ascending order based on the distance from the non-hub node).

步骤S1038、注意到在增加枢纽个数的同时,最优解中枢纽边的方向可能改变。因此,本发明尝试将所有枢纽边进行反向并更新总成本(图4(4))。Step S1038 , notice that when the number of hinges is increased, the direction of the hinge edges in the optimal solution may change. Therefore, the present invention attempts to reverse all hub edges and update the total cost (Fig. 4(4)).

在探索完树拓展和环拓展的所有情况后,总成本最低的解便被选择作为这一步的最终解。After exploring all cases of tree expansion and ring expansion, the solution with the lowest total cost is chosen as the final solution for this step.

本实施例提供的枢纽选址方法,通过计算网络中每对节点的枢纽性,并选用枢纽性最大的一对节点构建具有一对枢纽节点的初始网络,得到的该初始网络能够为快速得到枢纽选址结果提供一个较高的起点;另外,通过对初始网络做迭代计算,并且在每次迭代中依次进行树拓展和环拓展,直至达到预定枢纽节点数量,并输出达到预定枢纽节点数量时的网络对应的枢纽选址结果,能够在缩短求解时间的同时,提高求解精度,为大规模网络下的枢纽选址问题提供了高效的解决方案。The pivot location method provided by this embodiment calculates the pivotality of each pair of nodes in the network, and selects a pair of nodes with the greatest pivotality to construct an initial network with a pair of pivot nodes, and the obtained initial network can quickly obtain the pivot. The location selection result provides a higher starting point; in addition, through the iterative calculation of the initial network, and in each iteration, tree expansion and ring expansion are performed in turn until the predetermined number of hub nodes is reached, and the output when the predetermined number of hub nodes is reached. The results of the hub location selection corresponding to the network can shorten the solution time and improve the solution accuracy, and provide an efficient solution to the hub location problem in large-scale networks.

图5为本发明又一实施例提供的枢纽选址方法的流程示意图二。如图5 所示,该方法包括:FIG. 5 is a second schematic flowchart of a method for selecting a hub location according to another embodiment of the present invention. As shown in Figure 5, the method includes:

S501、确定网络中每对节点的枢纽性;其中,所述枢纽性与将每对节点建设为网络中唯一一对枢纽节点时的总成本成反比。S501. Determine the pivotality of each pair of nodes in the network; wherein the pivotality is inversely proportional to the total cost of constructing each pair of nodes as the only pair of pivot nodes in the network.

可选地,在一个具体实施例中,该步骤可以具体包括:Optionally, in a specific embodiment, this step may specifically include:

S5011、选取待确定枢纽性节点对中任一节点对作为当前网络的唯一一对枢纽节点;S5011. Select any node pair in the pivot node pair to be determined as the only pair of pivot nodes in the current network;

S5012、将当前网络中各节点进行全连接,得到所述直连边、所述接入边与所述枢纽边;S5012. Fully connect each node in the current network to obtain the direct connection edge, the access edge and the hub edge;

S5013、确定当前网络配置下的总成本;其中所述总成本包括:所述直连边、接入边、枢纽边和枢纽节点的建设成本以及节点间的运输成本;S5013. Determine the total cost under the current network configuration; wherein the total cost includes: the construction cost of the directly connected edge, the access edge, the hub edge and the hub node, and the transportation cost between nodes;

S5014、根据所述总成本,通过贪婪算法对当前网络的直连边和接入边进行处理,以降低总成本,并得到目标网络配置;S5014. According to the total cost, process the direct connection edge and the access edge of the current network through a greedy algorithm to reduce the total cost and obtain the target network configuration;

在一个具体实施例中,该步骤可以具体包括:In a specific embodiment, this step may specifically include:

S50141、根据各直连边的运输需求量的大小,将各直连边按照升序排列,并按照所述升序依次对每条直连边执行移除操作;其中,所述移除操作包括:判断将待执行直连边移除后总成本是否降低,若将待执行直连边移除后总成本降低,则将所述待执行直连边移除;S50141. Arrange the directly connected edges in ascending order according to the transportation demand of each directly connected edge, and perform a removal operation on each of the directly connected edges in sequence according to the ascending order; wherein, the removal operation includes: judging Whether the total cost is reduced after the direct connection edge to be executed is removed, if the total cost is reduced after the direct connection edge to be executed is removed, the directly connected edge to be executed is removed;

S50142、根据各接入边的长度,将各接入边按照降序排列,并按照所述降序依次对每条接入边执行移除操作;其中,所述移除操作包括:判断将待执行接入边移除后总成本是否降低,若将待执行接入边移除后总成本降低,则将所述待执行接入边移除;S50142. Arrange the access edges in descending order according to the length of each access edge, and perform a removal operation on each access edge in sequence according to the descending order; wherein, the removal operation includes: judging that the access edge to be executed will be removed. Whether the total cost is reduced after the incoming edge is removed, if the total cost is reduced after the to-be-executed access edge is removed, the to-be-executed access edge is removed;

S50143、依次对执行移除操作后的各接入边执行替换枢纽节点操作;所述替换枢纽节点操作包括:根据各备选枢纽节点与待执行接入边的非枢纽节点之间的距离,将各备选枢纽节点按照升序排列,并按照所述升序依次对待执行接入边的枢纽节点进行一下替换操作;判断将待执行接入边的枢纽节点替换为备选节点后总成本是否降低,若将待执行接入边的枢纽节点替换为备选节点后总成本降低,则将所述待执行接入边的枢纽节点进行替换。S50143. Perform a hub node replacement operation on each access edge after the removal operation in sequence; the hub node replacement operation includes: according to the distance between each candidate hub node and the non-hub node of the access edge to be executed, replace The candidate hub nodes are arranged in ascending order, and the hub nodes that are to be executed access edges are replaced in sequence according to the ascending order; it is judged whether the total cost is reduced after replacing the hub nodes of the access edges to be executed with the candidate nodes. After the total cost is reduced by replacing the hub node of the access edge to be executed with the candidate node, the hub node of the access edge to be executed is replaced.

S5015、根据所述目标网络配置下的总成本确定被选取的节点对的枢纽性;S5015. Determine the pivotality of the selected node pair according to the total cost under the target network configuration;

S5016、重复执行上述步骤,直至完成网络中所有节点对的枢纽性的确定。S5016. Repeat the above steps until the pivotal determination of all node pairs in the network is completed.

S502、选取枢纽性最大的一对节点作为当前网络的唯一一对枢纽节点,并且按照枢纽性最大时的网络配置设置当前网络中各节点之间的连边,构建初始网络;其中当前网络中各节点包括各枢纽节点与各非枢纽节点;S502. Select a pair of nodes with the greatest pivotality as the only pair of pivot nodes in the current network, and set the edges between the nodes in the current network according to the network configuration when the pivotality is the greatest, to construct an initial network; Each node includes each hub node and each non-hub node;

S503、判断当前网络中枢纽节点数量是否与预定枢纽节点数量相等,若当前网络的枢纽节点数量小于所述预定枢纽节点数量,则对当前网络依次执行树拓展和环拓展,以使当前网络的总成本最低,并将当前网络的枢纽数量加一,直至当前网络的枢纽节点数量等于所述预定枢纽节点数量;输出当前网络对应的枢纽选址结果。S503. Determine whether the number of hub nodes in the current network is equal to the predetermined number of hub nodes, and if the number of hub nodes in the current network is less than the predetermined number of hub nodes, perform tree expansion and ring expansion on the current network in turn, so that the total number of the current network The cost is the lowest, and the number of hubs in the current network is increased by one until the number of hub nodes in the current network is equal to the predetermined number of hub nodes; the result of the hub location selection corresponding to the current network is output.

在一个具体实施例中,所述树拓展,可以包括:In a specific embodiment, the tree expansion may include:

S5031、构造当前网络的枢纽边集合;其中所述枢纽边为双向枢纽边;S5031. Construct a hub edge set of the current network; wherein the hub edge is a bidirectional hub edge;

S5032、重复执行以下步骤,直至遍历所述枢纽边集合中每个枢纽边,并输出总成本最低时对应的枢纽选址结果,作为后续操作的初始网络:S5032. Repeat the following steps until each hub edge in the hub edge set is traversed, and output the corresponding hub location result when the total cost is the lowest, as the initial network for subsequent operations:

S5033、选定所述枢纽边集合中任一待树拓展的枢纽边的第一枢纽节点h1和第二枢纽节点h2,作为待树拓展枢纽节点;S5033. Select the first hub node h1 and the second hub node h2 of any hub edge to be tree-expanded in the hub-edge set as the hub node to be tree-expanded;

S5034、根据待树拓展枢纽节点的枢纽性偏差,将各非枢纽节点进行升序排列,并选定所述升序排列中的前cn个非枢纽节点,与待替换枢纽节点,共同组建为第二枢纽集合;其中,所述cn为正整数;S5034. Arrange the non-hub nodes in ascending order according to the pivotal deviation of the hub nodes to be expanded in the tree, and select the first cn non-hub nodes in the ascending order to form a second hub together with the hub nodes to be replaced set; wherein, the cn is a positive integer;

S5035、重复执行以下步骤,直至遍历所述第二枢纽结合中的每个非枢纽节点:S5035. Repeat the following steps until each non-hub node in the second hub combination is traversed:

S5036、选定所述第二枢纽集合中的任一非枢纽节点作为第一非枢纽节点,另一非枢纽节点作为第二非枢纽节点;S5036. Select any non-hub node in the second hub set as the first non-hub node, and another non-hub node as the second non-hub node;

S5037、将所述第一枢纽节点与所述第一非枢纽节点进行角色互换,将所述第二非枢纽节点作为第三枢纽节点,并建立所述第三枢纽节点与当前网络中各非枢纽节点之间的接入边,建立转换角色后的所述第一枢纽节点与当前网络中各非枢纽节点之间的直连边;S5037. Swap roles between the first hub node and the first non-hub node, use the second non-hub node as a third hub node, and establish the third hub node and each non-hub node in the current network an access edge between the hub nodes, and establishes a direct connection edge between the first hub node after changing roles and each non-hub node in the current network;

S5038、确定当前网络的总成本,并根据所述总成本,通过贪婪算法对当前网络的直连边和接入边进行处理,以降低总成本;S5038. Determine the total cost of the current network, and process the direct connection edge and the access edge of the current network through a greedy algorithm according to the total cost to reduce the total cost;

S5039、查找当前网络中的枢纽环,并依次对每个枢纽环执行以下步骤:移除待执行枢纽环的反向枢纽边;若移除后的成本相对于移除前的总成本降低,则移除所述待执行枢纽环的反向枢纽边。S5039: Find the hub rings in the current network, and perform the following steps for each hub ring in turn: remove the reverse hub edge of the hub ring to be executed; if the cost after removal is lower than the total cost before removal, then Remove the reverse pivot edge of the pivot ring to be executed.

在一个具体实施例中,所述环拓展,可以包括:In a specific embodiment, the ring expansion may include:

S50310、构造当前网络的枢纽环集合;重复执行以下步骤,直至遍历所述枢纽环集合中的每个枢纽环,并输出总成本最低时对应的枢纽选址结果,作为最终枢纽选址结果,或者作为后续操作的初始网络:S50310. Construct a hub ring set of the current network; repeat the following steps until each hub ring in the hub ring set is traversed, and output the hub location result corresponding to the lowest total cost as the final hub location result, or As an initial network for subsequent operations:

S50311、选定所述枢纽环集合中任一枢纽环中的任一枢纽边的第一端点作为待环拓展枢纽节点;其中所述任一枢纽边为第一端点与第二端点的连边;S50311. Select the first endpoint of any pivot edge in any pivot ring in the pivot ring set as the pivot node to be expanded; wherein any pivot edge is the connection between the first endpoint and the second endpoint side;

S50312、根据待环拓展枢纽节点的枢纽性偏差,将各非枢纽节点进行升序排列,并选定所述升序排列中的前dn个非枢纽节点,与待环拓展枢纽节点,共同组建为第三枢纽集合;其中,所述dn为正整数;S50312. Arrange the non-hub nodes in ascending order according to the pivotal deviation of the hub nodes to be expanded, and select the first dn non-hub nodes in the ascending order to form a third non-hub node together with the hub nodes to be expanded. hub set; wherein, the dn is a positive integer;

S50313、重复执行以下步骤,直至遍历所述第二枢纽集合中的每个非枢纽节点:S50313. Repeat the following steps until each non-hub node in the second hub set is traversed:

S50314、选定所述第二枢纽集合中的任一非枢纽节点作为第三非枢纽节点,另一非枢纽节点作为第四非枢纽节点;S50314. Select any non-hub node in the second hub set as a third non-hub node, and another non-hub node as a fourth non-hub node;

S50315、将所述待环拓展枢纽节点与所述第三非枢纽节点进行角色互换;将所述第四非枢纽节点作为第四枢纽节点;S50315. Swap roles between the expansion hub node to be looped and the third non-hub node; use the fourth non-hub node as the fourth hub node;

S50316、将转换角色后的所述第三非枢纽节点与第二端点之间的枢纽边替换为所述第四枢纽节点与第二端点的枢纽边和所述第四枢纽节点与转换角色后的所述第三非枢纽节点的枢纽边;S50316. Replace the pivot edge between the third non-hub node and the second endpoint after the roles are switched with the pivot edge between the fourth pivot node and the second endpoint and the fourth pivot node and the role after switching the hub edge of the third non-hub node;

S50317、确定当前网络的总成本,并根据所述总成本,通过贪婪算法对当前网络的直连边和接入边进行处理,以降低总成本;S50317. Determine the total cost of the current network, and process the directly connected edges and access edges of the current network through a greedy algorithm according to the total cost to reduce the total cost;

S50318、依次对当前网络中的枢纽环执行反向操作;所述反向操作包括:确定枢纽环反向后的总成本是否降低,若总成本降低则将枢纽环反向。S50318. Perform a reverse operation on the hub rings in the current network in sequence; the reverse operation includes: determining whether the total cost of the hub ring after reversal is reduced, and if the total cost is reduced, reverse the hub ring.

S504、通过变邻域搜索算法对所述枢纽选址结果进行优化,并输出优化后的枢纽选址结果。S504: Optimizing the hub site selection result through a variable neighborhood search algorithm, and outputting the optimized hub site selection result.

在一个具体实施例中,该步骤,具体可以包括:In a specific embodiment, this step may specifically include:

S5041、将当前网络的枢纽节点作为初始解集合,并确定初始解集合对应的初始成本;S5041, taking the pivot node of the current network as the initial solution set, and determining the initial cost corresponding to the initial solution set;

S5042、选定所述初始解集合中的任一枢纽节点与任一非枢纽节点进行角色交换后得到邻域集合;S5042, selecting any pivot node in the initial solution set to perform role exchange with any non-pivot node to obtain a neighborhood set;

S5043、计算邻域集合对应的邻域成本,若邻域成本小于初始成本,则将邻域集合对初始解集合进行更新;S5043. Calculate the neighborhood cost corresponding to the neighborhood set, and if the neighborhood cost is less than the initial cost, update the neighborhood set to the initial solution set;

S5044、重复执行上述步骤S5041至步骤S5043预定次数后,输出当前初始解结合对应的枢纽选址结果。S5044. After repeating the above steps S5041 to S5043 for a predetermined number of times, output the result of the hub location selection corresponding to the current initial solution combination.

本实施例中,通过递增网络设计所得到的解已经很好,实验中得到的解与最优解相差比例的中位数和最大值分别为0.37%和超过3%。因此,本发明实施例使用变邻域搜索(Variable Neighborhood Search,VNS)来在递增网络设计所得解的基础上探索更好的解。为求解枢纽选址问题有三种VNS的策略:相继策略(Sequential strategy,Seq-VNS),嵌套策略(nested strategy,Nest-VNS) 和混合策略(mixed strategy,Mix-VNS)。Seq-VNS需要最短的运行时间但探索最少的邻域;Nest-VNS探索大范围的邻域但其运行时间是不可接受的; Mix-VNS在邻域规模和运行时间直接达到了一个平衡。因此本发明实施例采用Mix-VNS。In this embodiment, the solution obtained by incremental network design is already very good, and the median and the maximum value of the difference between the solution obtained in the experiment and the optimal solution are 0.37% and over 3%, respectively. Therefore, the embodiments of the present invention use Variable Neighborhood Search (VNS) to explore better solutions based on the solutions obtained by incremental network design. There are three VNS strategies for solving the hub location problem: Sequential strategy (Seq-VNS), nested strategy (Nest-VNS) and mixed strategy (Mix-VNS). Seq-VNS requires the shortest running time but explores the least neighborhoods; Nest-VNS explores a wide range of neighborhoods but its running time is unacceptable; Mix-VNS directly strikes a balance between neighborhood size and running time. Therefore, the embodiment of the present invention adopts Mix-VNS.

可选地,所述变邻域算法的伪代码可以为:Optionally, the pseudocode of the variable neighborhood algorithm can be:

如上述伪代码所示,对于枢纽集合为Ho的初始解,我们在嵌套层生成与 Ho只有一个枢纽不同的所有枢纽集合,这些枢纽集被称为邻域。随后,其他的局部搜索(移除/添加直连边,移除/添加/替换接入边,移除/添加/替换枢纽边)被贪婪的应用到每个邻居,并在每步更新当前得到的最好的解。如果在给定数量的连续迭代中解没有被改进,算法终止。As shown in the pseudocode above, for the initial solution with the set of hubs H o , we generate all sets of hubs at the nested level that differ from H o by only one hub, and these sets of hubs are called neighborhoods. Subsequently, other local searches (remove/add direct edges, remove/add/replace access edges, remove/add/replace hub edges) are greedily applied to each neighbor and update the current at each step to get the best solution. If the solution is not improved in a given number of consecutive iterations, the algorithm terminates.

本发明实施例提供的枢纽选址方法的有益效果在于:首先,本发明实施例提出了“枢纽性”(hubbiness)的概念来评价节点对作为枢纽性质的好坏,并设计了一种快速求解网络中所有节点对枢纽性的算法。枢纽性不仅被用于筛选两个节点下的初始网络,而且被作为后续的网络拓展过程提供指导。其次,针对复杂度较高的枢纽非全连接枢纽选址问题,传统的算法要么可以提供精确解但是需要极长的求解时间,要么大幅缩短了求解时间但所得解的质量急剧恶化。而在本发明中,通过采用一系列网络设计规则,问题的计算复杂度被大大降低,从而可以在短时间内为得到高质量的解。其一,这为在合理时间内求解更大规模网络下的枢纽选址问题提供了可能(在本文中可求解200 个节点规模的问题);其二,这可用于在特殊情况下及时重新设计网络。另外,与传统算法中表现最优秀的增强Benders分解相比,本算法比前者少使用2个数量级的内存(对于80个节点的案例,前者约要150GB的内存,而本算法只需要1GB左右)。这为在有限的计算平台下求解更大规模网络下的枢纽选址问题提供了可能。The beneficial effects of the hub location method provided by the embodiment of the present invention are as follows: First, the embodiment of the present invention proposes the concept of "hubbiness" to evaluate the quality of the node pair as a hub, and designs a fast solution Algorithm for the pivotality of all nodes in the network. The pivotality is not only used to screen the initial network under two nodes, but also serves as a guide for the subsequent network expansion process. Secondly, for the high-complexity hub location problem that is not fully connected, traditional algorithms can either provide accurate solutions but require extremely long solution time, or greatly shorten the solution time but sharply deteriorate the quality of the obtained solutions. In the present invention, however, by adopting a series of network design rules, the computational complexity of the problem is greatly reduced, so that a high-quality solution can be obtained in a short time. First, it makes it possible to solve the hub location problem in a larger scale network in a reasonable time (200 node scale problems can be solved in this paper); second, it can be used for timely redesign in special cases network. In addition, compared with the best performing enhanced Benders decomposition in the traditional algorithm, this algorithm uses 2 orders of magnitude less memory than the former (for the case of 80 nodes, the former requires about 150GB of memory, while this algorithm only needs about 1GB) . This makes it possible to solve the hub location problem in a larger network under a limited computing platform.

参见图6,图6为本发明实施例提供的枢纽选址方法在CAB、AP和TR 数据集中对不同网络规模n∈{25,30,40,50,60,70,80,81}下所求得解的间隙。所述所求得解的间隙为所得解和最优解相差的百分比。对于n=25,30的情况,两组固定和运输成本的参数 (f,b)∈{([2500,3000,3500,3000],[0.08,0.04,0.03,0.04]), ([1000,1000,1000,1000],[0.10,0.04,0.02,0.04])}被使用;对于n≥40的情况,由于提供最优解的精确算法(增强Benders分解)太长的求解时间,我们只测试了第二组成本参数。所有情况下枢纽的固定建设成本都是枢纽的个数被设置为p=2,3,4,5。结果表明,除了25个节点下的一个情况,本发明求解其他所有案例的解都小于1%,且超过90%解均为最优。Referring to FIG. 6, FIG. 6 shows the results of the hub location method provided by the embodiment of the present invention for different network scales n∈{25, 30, 40, 50, 60, 70, 80, 81} in the CAB, AP, and TR data sets. Gap to find the solution. The gap of the obtained solution is the percentage difference between the obtained solution and the optimal solution. For the case of n = 25, 30, the parameters (f, b) ∈ {([2500, 3000, 3500, 3000], [0.08, 0.04, 0.03, 0.04]), ([1000, 1000, 1000, 1000], [0.10, 0.04, 0.02, 0.04])} are used; for n ≥ 40, due to the too long solution time of the exact algorithm (enhanced Benders decomposition) that provides the optimal solution, we only test the second set of cost parameters. The fixed construction cost of the hub in all cases is The number of hubs is set to p=2,3,4,5. The results show that, except for one case under 25 nodes, the solution of all other cases solved by the present invention is less than 1%, and more than 90% of the solutions are optimal.

参见图7,图7为本发明实施例提供的枢纽选址方法在CAB、AP和TR 数据集中对不同网络规模n∈{25,30,40,50,60,70,80,81}下和增强Benders分解算法运行时间的对比图。固定和运输成本的参数被设置为 f=[1000,1000,1000,1000]和b=[0.10,0.04,0.02,0.04],所有情况下枢纽的固定建设成本都是枢纽的个数被设置为p=2,3,4,5。注意到y轴是对数刻度。本算法和增强Benders分解算法分别用方形和圆形表示,运算时间的拟合曲线也一并给出。实验表明,本算法比增强Benders分解算法的运行速度快2-3个数量级。对于其中对打规模的一个案例,增强Benders分解算法需要230个小时来得到结果,而本算法在20分钟内便找到了最优解。运行时间的拟合曲线表明,增强Benders分解算法的计算复杂度为O(n6)而本算法的则为O(n4)。Referring to FIG. 7, FIG. 7 shows the summation of the hub location method provided by the embodiment of the present invention for different network scales n∈{25, 30, 40, 50, 60, 70, 80, 81} in the CAB, AP, and TR data sets. A comparison graph of the runtime of the enhanced Benders decomposition algorithm. The parameters of fixed and transport costs are set as f = [1000, 1000, 1000, 1000] and b = [0.10, 0.04, 0.02, 0.04], the fixed construction cost of the hub in all cases is The number of hubs is set to p=2,3,4,5. Note that the y-axis is on a log scale. This algorithm and the enhanced Benders decomposition algorithm are represented by a square and a circle respectively, and the fitting curve of the operation time is also given. Experiments show that the algorithm runs 2-3 orders of magnitude faster than the enhanced Benders decomposition algorithm. For one case of the sparring scale, the enhanced Benders decomposition algorithm took 230 hours to get the result, while the present algorithm found the optimal solution in 20 minutes. The fitting curve of the running time shows that the computational complexity of the enhanced Benders decomposition algorithm is O(n 6 ) while that of the present algorithm is O(n 4 ).

参见图8,图8为本发明实施例提供的枢纽选址方法和增强Benders分解算法关于内存使用情况的对比图。固定和运输成本的参数被设置为 f=[1000,1000,1000,1000]和b=[0.10,0.04,0.02,0.04],所有情况下枢纽的固定建设成本都是图8(1)是p=2情况下不同规模网络下的内存使用情况。注意到y轴是对数刻度,本算法和增强Benders分解算法的拟合曲线也被给出,对应的拟合函数分别为图8(2)是p=5情况下TR81数据集中内存使用情况随时间的演化,注意到x轴和y轴均为对数刻度。可以看出增强Benders分解算法需要本算法大约100倍的内存。Referring to FIG. 8, FIG. 8 is a comparison diagram of the memory usage of the pivot location method and the enhanced Benders decomposition algorithm provided by the embodiment of the present invention. The parameters for fixed and transport costs are set as f = [1000, 1000, 1000, 1000] and b = [0.10, 0.04, 0.02, 0.04], and the fixed construction cost of the hub in all cases is Figure 8(1) shows the memory usage under the network of different scales in the case of p=2. Note that the y-axis is on a logarithmic scale, and the fitting curves of this algorithm and the enhanced Benders decomposition algorithm are also given, and the corresponding fitting functions are and Figure 8(2) is the evolution of memory usage over time in the TR81 dataset for the case of p=5, noting that both the x- and y-axes are on a logarithmic scale. It can be seen that the enhanced Benders decomposition algorithm requires about 100 times the memory of this algorithm.

最后,表3中给出了本算法求解更大规模案例的结果。在这个规模下, 其他算法已无法在可接受的时间内给出合理的解。固定和运输成本的参数被 设置为f=[1000,1000,1000,1000]和b=[0.10,0.04,0.02,0.04],所有情况下 枢纽的固定建设成本都是fk H=107,枢纽的个数被设置为p=2,3,4,5。可以 看到,本算法在11个小时内为达到200个节点规模的问题给出了解。Finally, Table 3 presents the results of this algorithm for larger cases. At this scale, other algorithms have been unable to give reasonable solutions in acceptable time. The parameters of fixed and transport costs are set as f = [1000, 1000, 1000, 1000] and b = [0.10, 0.04, 0.02, 0.04], and the fixed construction cost of the hub is f k H = 10 7 in all cases, The number of pivots is set to p=2,3,4,5. It can be seen that the algorithm provides an understanding of the problem of reaching the scale of 200 nodes in 11 hours.

表3:本发明对大规模网络的解Table 3: Solution of the present invention to large-scale networks

图9为本发明又一实施例提供的枢纽选址设备的结构示意图。如图9所示,该枢纽选址设备90包括:确定模块901、构建模块902以及第一处理模块903。FIG. 9 is a schematic structural diagram of a hub site selection device provided by another embodiment of the present invention. As shown in FIG. 9 , the hub site selection device 90 includes: a determination module 901 , a construction module 902 and a first processing module 903 .

确定模块901,用于确定网络中每对节点的枢纽性;其中,所述枢纽性与将每对节点建设为网络中唯一一对枢纽节点时的总成本成反比;A determining module 901, configured to determine the pivotality of each pair of nodes in the network; wherein the pivotality is inversely proportional to the total cost of constructing each pair of nodes as the only pair of pivot nodes in the network;

构建模块902,用于选取枢纽性最大的一对节点作为当前网络的唯一一对枢纽节点,并且按照枢纽性最大时的网络配置设置当前网络中各节点之间的连边,构建初始网络;其中当前网络中各节点包括各枢纽节点与各非枢纽节点;The building module 902 is used to select a pair of nodes with the greatest pivotality as the only pair of pivot nodes of the current network, and set the edges between the nodes in the current network according to the network configuration when the pivotality is the greatest, to construct an initial network; Each node in the current network includes each hub node and each non-hub node;

第一处理模块903,用于判断当前网络中枢纽节点数量是否与预定枢纽节点数量相等,若当前网络的枢纽节点数量小于所述预定枢纽节点数量,则对当前网络依次执行树拓展和环拓展,以使当前网络的总成本最低,并将当前网络的枢纽数量加一,直至当前网络的枢纽节点数量等于所述预定枢纽节点数量;输出当前网络对应的枢纽选址结果。The first processing module 903 is configured to determine whether the number of hub nodes in the current network is equal to the predetermined number of hub nodes, and if the number of hub nodes in the current network is less than the predetermined number of hub nodes, perform tree expansion and ring expansion in sequence on the current network, The total cost of the current network is minimized, and the number of hubs in the current network is increased by one until the number of hub nodes in the current network is equal to the predetermined number of hub nodes; the result of the hub location selection corresponding to the current network is output.

本发明实施例提供的枢纽选址设备,该设备通过确定模块计算网络中每对节点的枢纽性,并通过构建模块选用枢纽性最大的一对节点构建具有一对枢纽节点的初始网络,得到的该初始网络能够为快速得到枢纽选址结果提供一个较高的起点;另外,通过第一处理模块对初始网络做迭代计算,并且在每次迭代中依次进行树拓展和环拓展,直至达到预定枢纽节点数量,并输出达到预定枢纽节点数量时的网络对应的枢纽选址结果,能够在缩短求解时间的同时,提高求解精度,为大规模网络下的枢纽选址问题提供了高效的解决方案。In the hub location selection device provided by the embodiment of the present invention, the device calculates the hubness of each pair of nodes in the network by determining the module, and selects the pair of nodes with the greatest hubness through the building module to construct an initial network with a pair of hub nodes, and obtains The initial network can provide a high starting point for quickly obtaining the results of the hub location; in addition, the initial network is iteratively calculated by the first processing module, and tree expansion and ring expansion are performed in sequence in each iteration until the predetermined hub is reached The number of nodes, and output the corresponding hub location results when the number of hub nodes reaches a predetermined number, can shorten the solution time, improve the solution accuracy, and provide an efficient solution to the hub location problem in large-scale networks.

可选地,该枢纽选址设备90还包括:第二处理模块904。Optionally, the hub site selection device 90 further includes: a second processing module 904 .

第二处理模块904,用于通过变邻域搜索算法对所述枢纽选址结果进行优化,并输出优化后的枢纽选址结果。The second processing module 904 is configured to optimize the hub location selection result through a variable neighborhood search algorithm, and output the optimized hub location result.

可选地,所述确定模块901,具体用于:Optionally, the determining module 901 is specifically configured to:

选取待确定枢纽性节点对中任一节点对作为当前网络的唯一一对枢纽节点;Select any node pair in the pivot node pair to be determined as the only pair of pivot nodes in the current network;

将当前网络中各节点进行全连接,得到所述直连边、所述接入边与所述枢纽边;Fully connecting each node in the current network to obtain the directly connected edge, the access edge and the hub edge;

确定当前网络配置下的总成本;其中所述总成本包括:所述直连边、接入边与枢纽边的总成本以及枢纽节点的总成本;Determine the total cost under the current network configuration; wherein the total cost includes: the total cost of the directly connected edge, the access edge and the hub edge, and the total cost of the hub node;

根据所述总成本,通过贪婪算法对当前网络的直连边和接入边进行处理,以降低总成本,并得到目标网络配置;According to the total cost, the direct connection edge and the access edge of the current network are processed through a greedy algorithm to reduce the total cost and obtain the target network configuration;

根据所述目标网络配置下的总成本确定被选取的节点对的枢纽性;Determine the pivotality of the selected node pair according to the total cost under the target network configuration;

重复执行上述步骤,直至完成网络中所有节点对的枢纽性的确定。Repeat the above steps until the pivotal determination of all node pairs in the network is completed.

可选地,所述确定模块901,具体用于:Optionally, the determining module 901 is specifically configured to:

通过贪婪算法对当前网络的各直连边执行移除操作;Perform the removal operation on each directly connected edge of the current network through the greedy algorithm;

通过贪婪算法对当前网络的各接入边执行移除操作;Perform the removal operation on each access edge of the current network through a greedy algorithm;

通过贪婪算法对当前网络的各接入边执行替换操作。The replacement operation is performed on each access edge of the current network through a greedy algorithm.

可选地,所述确定模块901,具体用于:Optionally, the determining module 901 is specifically configured to:

根据各直连边的运输需求量的大小,将各直连边按照升序排列,并按照所述升序依次对每条直连边执行移除操作;其中,所述移除操作包括:判断将待执行直连边移除后总成本是否降低,若将待执行直连边移除后总成本降低,则将所述待执行直连边移除;According to the size of the transportation demand of each directly connected edge, arrange each directly connected edge in ascending order, and perform a removal operation on each of the directly connected edges in sequence according to the ascending order; wherein, the removal operation includes: judging the Whether the total cost is reduced after the direct-connected edge is removed; if the total cost is reduced after the to-be-executed direct-connected edge is removed, the to-be-executed direct-connected edge is removed;

根据各接入边的长度,将各接入边按照降序排列,并按照所述降序依次对每条接入边执行移除操作;其中,所述移除操作包括:判断将待执行接入边移除后总成本是否降低,若将待执行接入边移除后总成本降低,则将所述待执行接入边移除;According to the length of each access edge, the access edges are arranged in descending order, and a removal operation is performed on each access edge in sequence according to the descending order; wherein, the removal operation includes: judging that the access edge to be executed will be removed. Whether the total cost is reduced after the removal, if the total cost is reduced after the access edge to be executed is removed, the access edge to be executed is removed;

依次对执行移除操作后的各接入边执行替换枢纽节点操作;所述替换枢纽节点操作包括:根据各备选枢纽节点与待执行接入边的非枢纽节点之间的距离,将各备选枢纽节点按照升序排列,并按照所述升序依次对待执行接入边的枢纽节点进行一下替换操作;判断将待执行接入边的枢纽节点替换为备选节点后总成本是否降低,若将待执行接入边的枢纽节点替换为备选节点后总成本降低,则将所述待执行接入边的枢纽节点进行替换。Performing a hub node replacement operation on each access edge after the removal operation is performed in sequence; the replacement hub node operation includes: according to the distance between each candidate hub node and the non-hub node of the access edge to be performed, replace each backup node The selected hub nodes are arranged in ascending order, and the hub nodes that are to be executed access edges are replaced in sequence according to the ascending order; it is judged whether the total cost is reduced after replacing the hub nodes of the to-be-executed access edges with the alternative nodes. After the total cost is reduced after the hub node executing the access edge is replaced with the candidate node, the hub node of the to-be-executed access edge is replaced.

可选地,所述第一处理模块903,具体用于:Optionally, the first processing module 903 is specifically configured to:

构造当前网络的枢纽边集合;其中所述枢纽边为双向枢纽边;Construct a hub edge set of the current network; wherein the hub edge is a bidirectional hub edge;

重复执行以下步骤,直至遍历所述枢纽边集合中每个枢纽边,并输出总成本最低时对应的枢纽选址结果,作为后续操作的初始网络:Repeat the following steps until each hub edge in the hub edge set is traversed, and output the corresponding hub location result when the total cost is the lowest, as the initial network for subsequent operations:

选定所述枢纽边集合中任一待树拓展的枢纽边的第一枢纽节点h1和第二枢纽节点h2,作为待树拓展枢纽节点;Selecting the first hub node h1 and the second hub node h2 of any hub edge to be tree-expanded in the hub-edge set as the hub node to be tree-expanded;

根据待树拓展枢纽节点的枢纽性偏差,将各非枢纽节点进行升序排列,并选定所述升序排列中的前cn个非枢纽节点,与待替换枢纽节点,共同组建为第二枢纽集合;其中,所述cn为正整数;Arrange the non-hub nodes in ascending order according to the pivotal deviation of the hub nodes to be expanded in the tree, and select the first cn non-hub nodes in the ascending order to form a second hub set together with the hub nodes to be replaced; Wherein, the cn is a positive integer;

重复执行以下步骤,直至遍历所述第二枢纽结合中的每个非枢纽节点:The following steps are repeated until each non-hub node in the second hub combination is traversed:

选定所述第二枢纽集合中的任一非枢纽节点作为第一非枢纽节点,另一非枢纽节点作为第二非枢纽节点;selecting any non-hub node in the second hub set as the first non-hub node, and another non-hub node as the second non-hub node;

将所述第一枢纽节点与所述第一非枢纽节点进行角色互换,将所述第二非枢纽节点作为第三枢纽节点,并建立所述第三枢纽节点与当前网络中各非枢纽节点之间的接入边,建立转换角色后的所述第一枢纽节点与当前网络中各非枢纽节点之间的直连边;Exchange roles between the first hub node and the first non-hub node, use the second non-hub node as a third hub node, and establish the third hub node and each non-hub node in the current network The access edge between, establishes the direct connection edge between the first hub node after the role change and each non-hub node in the current network;

确定当前网络的总成本,并根据所述总成本,通过贪婪算法对当前网络的直连边和接入边进行处理,以降低总成本;Determine the total cost of the current network, and process the direct connection edges and access edges of the current network through a greedy algorithm according to the total cost to reduce the total cost;

查找当前网络中的枢纽环,并依次对每个枢纽环执行以下步骤:移除待执行枢纽环的反向枢纽边;若移除后的成本相对于移除前的总成本降低,则移除所述待执行枢纽环的反向枢纽边。Find the hub rings in the current network, and perform the following steps for each hub ring in turn: remove the reverse hub edge of the hub ring to be executed; if the cost after removal is lower than the total cost before removal, remove The reverse pivot edge of the pivot ring to be executed.

可选地,所述第一处理模块903,具体用于:Optionally, the first processing module 903 is specifically configured to:

构造当前网络的枢纽环集合;重复执行以下步骤,直至遍历所述枢纽环集合中的每个枢纽环,并输出总成本最低时对应的枢纽选址结果,作为最终枢纽选址结果,或者作为后续操作的初始网络:Construct the hub ring set of the current network; repeat the following steps until each hub ring in the hub ring set is traversed, and output the corresponding hub location result when the total cost is the lowest, as the final hub location result, or as a follow-up The initial network of operations:

选定所述枢纽环集合中任一枢纽环中的任一枢纽边的第一端点作为待环拓展枢纽节点;其中所述任一枢纽边为第一端点与第二端点的连边;Selecting the first endpoint of any pivot edge in any pivot ring in the pivot ring set as the pivot node to be expanded; wherein the any pivot edge is a connecting edge between the first endpoint and the second endpoint;

根据待环拓展枢纽节点的枢纽性偏差,将各非枢纽节点进行升序排列,并选定所述升序排列中的前dn个非枢纽节点,与待环拓展枢纽节点,共同组建为第三枢纽集合;其中,所述dn为正整数;According to the pivotal deviation of the hub nodes to be expanded, the non-hub nodes are arranged in ascending order, and the first dn non-hub nodes in the ascending order are selected to form a third hub set together with the hub nodes to be expanded. ; wherein, the dn is a positive integer;

重复执行以下步骤,直至遍历所述第二枢纽集合中的每个非枢纽节点:The following steps are repeated until each non-hub node in the second hub set is traversed:

选定所述第二枢纽集合中的任一非枢纽节点作为第三非枢纽节点,另一非枢纽节点作为第四非枢纽节点;selecting any non-hub node in the second hub set as a third non-hub node, and another non-hub node as a fourth non-hub node;

将所述待环拓展枢纽节点与所述第三非枢纽节点进行角色互换;将所述第四非枢纽节点作为第四枢纽节点;Exchanging roles between the expansion hub node to be looped and the third non-hub node; using the fourth non-hub node as the fourth hub node;

将转换角色后的所述第三非枢纽节点与第二端点之间的枢纽边替换为所述第四枢纽节点与第二端点的枢纽边和所述第四枢纽节点与转换角色后的所述第三非枢纽节点的枢纽边;Replacing the pivot edge between the third non-hub node and the second endpoint after changing roles with the pivot edge between the fourth pivot node and the second endpoint and the fourth pivot node and the pivot edge after changing roles The hub edge of the third non-hub node;

确定当前网络的总成本,并根据所述总成本,通过贪婪算法对当前网络的直连边和接入边进行处理,以降低总成本;Determine the total cost of the current network, and process the direct connection edges and access edges of the current network through a greedy algorithm according to the total cost to reduce the total cost;

依次对当前网络中的枢纽环执行反向操作;所述反向操作包括:确定枢纽环反向后的总成本是否降低,若总成本降低则将枢纽环反向。A reverse operation is performed on the hub rings in the current network in sequence; the reverse operation includes: determining whether the total cost of the hub ring after reversal is reduced, and if the total cost is reduced, the hub ring is reversed.

可选地,所述第二处理模块904,具体用于:Optionally, the second processing module 904 is specifically configured to:

将当前网络的枢纽节点作为初始解集合,并确定初始解集合对应的初始成本;Take the pivot node of the current network as the initial solution set, and determine the initial cost corresponding to the initial solution set;

选定所述初始解集合中的任一枢纽节点与任一非枢纽节点进行角色交换后得到邻域集合;Selecting any pivot node in the initial solution set to exchange roles with any non-pivot node to obtain a neighborhood set;

计算邻域集合对应的邻域成本,若邻域成本小于初始成本,则将邻域集合对初始解集合进行更新;Calculate the neighborhood cost corresponding to the neighborhood set, if the neighborhood cost is less than the initial cost, update the neighborhood set to the initial solution set;

重复执行上述步骤预定次数后,输出当前初始解结合对应的枢纽选址结果。After repeating the above steps for a predetermined number of times, output the current initial solution combined with the corresponding hub location result.

本发明实施例提供的端点检测设备,可用于执行上述的方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The endpoint detection device provided by the embodiment of the present invention can be used to execute the above method embodiments, and its implementation principle and technical effect are similar, and details are not described herein again in this embodiment.

图10为本发明实施例提供的枢纽选址设备的硬件结构示意图。如图10 所示,本实施例提供的枢纽选址设备100包括:至少一个处理器1001和存储器1002。其中,处理器1001、存储器1002通过总线1003连接。FIG. 10 is a schematic diagram of a hardware structure of a hub location selection device provided by an embodiment of the present invention. As shown in FIG. 10 , the hub address selection device 100 provided in this embodiment includes: at least one processor 1001 and a memory 1002 . The processor 1001 and the memory 1002 are connected through a bus 1003 .

在具体实现过程中,至少一个处理器1001执行所述存储器1002存储的计算机执行指令,使得至少一个处理器1001执行如上枢纽选址设备100所执行的枢纽选址方法。In a specific implementation process, the at least one processor 1001 executes the computer-executed instructions stored in the memory 1002, so that the at least one processor 1001 executes the pivot addressing method performed by the pivot addressing device 100 above.

处理器1001的具体实现过程可参见上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。For the specific implementation process of the processor 1001, reference may be made to the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again in this embodiment.

在上述的图10所示的实施例中,应理解,处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application SpecificIntegrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the above-mentioned embodiment shown in FIG. 10, it should be understood that the processor may be a central processing unit (English: Central Processing Unit, CPU for short), or other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as DSP), application specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the invention can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器。The memory may include high-speed RAM memory, and may also include non-volatile storage NVM, such as at least one disk memory.

总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(ExtendedIndustry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus and so on. For convenience of representation, the buses in the drawings of the present application are not limited to only one bus or one type of bus.

本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上枢纽选址设备执行的枢纽选址方法。The present application also provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, the above-mentioned pivot addressing method performed by the pivot addressing device is implemented.

本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上枢纽选址设备执行的枢纽选址方法。The present application also provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, the above-mentioned pivot addressing method performed by the pivot addressing device is implemented.

上述的计算机可读存储介质,上述可读存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器 (SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。可读存储介质可以是通用或专用计算机能够存取的任何可用介质。The above-mentioned computer-readable storage medium, the above-mentioned readable storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.

一种示例性的可读存储介质耦合至处理器,从而使处理器能够从该可读存储介质读取信息,且可向该可读存储介质写入信息。当然,可读存储介质也可以是处理器的组成部分。处理器和可读存储介质可以位于专用集成电路(Application Specific IntegratedCircuits,简称:ASIC)中。当然,处理器和可读存储介质也可以作为分立组件存在于设备中。An exemplary readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium may be located in application specific integrated circuits (Application Specific Integrated Circuits, ASIC for short). Of course, the processor and the readable storage medium may also exist in the device as discrete components.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by program instructions related to hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above method embodiments are executed; and the foregoing storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.

Claims (10)

1.一种枢纽选址方法,其特征在于,包括:1. A hub site selection method, characterized in that, comprising: 确定网络中每对节点的枢纽性;其中,所述枢纽性与将每对节点建设为网络中唯一一对枢纽节点时的总成本成反比;determining the pivotality of each pair of nodes in the network; wherein the pivotality is inversely proportional to the total cost of building each pair of nodes as the only pair of pivot nodes in the network; 选取枢纽性最大的一对节点作为当前网络的唯一一对枢纽节点,并且按照枢纽性最大时的网络配置设置当前网络中各节点之间的连边,构建初始网络;其中当前网络中各节点包括各枢纽节点与各非枢纽节点;Select the pair of nodes with the greatest pivotality as the only pair of pivot nodes in the current network, and set the edges between the nodes in the current network according to the network configuration when the pivotality is the greatest to construct an initial network; where each node in the current network Including each hub node and each non-hub node; 判断当前网络中枢纽节点数量是否与预定枢纽节点数量相等,若当前网络的枢纽节点数量小于所述预定枢纽节点数量,则对当前网络依次执行树拓展和环拓展,以使当前网络的总成本最低,并将当前网络的枢纽数量加一,直至当前网络的枢纽节点数量等于所述预定枢纽节点数量;输出当前网络对应的枢纽选址结果。Determine whether the number of hub nodes in the current network is equal to the predetermined number of hub nodes, and if the number of hub nodes in the current network is less than the predetermined number of hub nodes, then perform tree expansion and ring expansion on the current network in turn, so that the total cost of the current network is the lowest , and add one to the number of hubs in the current network until the number of hub nodes in the current network is equal to the predetermined number of hub nodes; output the result of the hub location selection corresponding to the current network. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, wherein the method further comprises: 通过变邻域搜索算法对所述枢纽选址结果进行优化,并输出优化后的枢纽选址结果。The hub site selection result is optimized through a variable neighborhood search algorithm, and the optimized hub site selection result is output. 3.根据权利要求1所述的方法,其特征在于,非枢纽节点之间的连边为直连边,枢纽节点与非枢纽节点之间的连边为接入边,枢纽节点之间的连边为枢纽边;所述确定网络中每对节点的枢纽性,包括:3 . The method according to claim 1 , wherein the connecting edges between the non-hub nodes are direct connecting edges, the connecting edges between the pivot nodes and the non-hub nodes are access edges, and the connecting edges between the hub nodes are access edges. 4 . The edge is a hub edge; the determination of the hubness of each pair of nodes in the network includes: 选取待确定枢纽性节点对中任一节点对作为当前网络的唯一一对枢纽节点;Select any node pair in the pivot node pair to be determined as the only pair of pivot nodes in the current network; 将当前网络中各节点进行全连接,得到所述直连边、所述接入边与所述枢纽边;Fully connecting each node in the current network to obtain the directly connected edge, the access edge and the hub edge; 确定当前网络配置下的总成本;其中所述总成本包括:所述直连边、接入边、枢纽边和枢纽节点的建设成本以及节点间的运输成本;Determine the total cost under the current network configuration; wherein the total cost includes: the construction cost of the directly connected edge, the access edge, the hub edge and the hub node, and the transportation cost between nodes; 根据所述总成本,通过贪婪算法对当前网络的直连边和接入边进行处理,以降低总成本,并得到目标网络配置;According to the total cost, the direct connection edge and the access edge of the current network are processed through a greedy algorithm to reduce the total cost and obtain the target network configuration; 根据所述目标网络配置下的总成本确定被选取的节点对的枢纽性;Determine the pivotality of the selected node pair according to the total cost under the target network configuration; 重复执行上述步骤,直至完成网络中所有节点对的枢纽性的确定。Repeat the above steps until the pivotal determination of all node pairs in the network is completed. 4.根据权利要求3所述的方法,其特征在于,所述通过贪婪算法对当前网络的直连边和接入边进行处理,包括:4. The method according to claim 3, wherein the processing of the direct connection edge and the access edge of the current network by a greedy algorithm comprises: 通过贪婪算法对当前网络的各直连边执行移除操作;Perform the removal operation on each directly connected edge of the current network through the greedy algorithm; 通过贪婪算法对当前网络的各接入边执行移除操作;Perform the removal operation on each access edge of the current network through a greedy algorithm; 通过贪婪算法对当前网络的各接入边执行替换操作。The replacement operation is performed on each access edge of the current network through a greedy algorithm. 5.根据权利要求1所述的方法,其特征在于,所述树拓展,包括:5. The method of claim 1, wherein the tree expansion comprises: 构造当前网络的枢纽边集合;其中所述枢纽边为双向枢纽边;Construct a hub edge set of the current network; wherein the hub edge is a bidirectional hub edge; 重复执行以下步骤,直至遍历所述枢纽边集合中每个枢纽边,并输出总成本最低时对应的枢纽选址结果,作为后续操作的初始网络:Repeat the following steps until each hub edge in the hub edge set is traversed, and output the corresponding hub location result when the total cost is the lowest, as the initial network for subsequent operations: 选定所述枢纽边集合中任一待树拓展的枢纽边的第一枢纽节点h1和第二枢纽节点h2,作为待树拓展枢纽节点;Selecting the first hub node h1 and the second hub node h2 of any hub edge to be tree-expanded in the hub-edge set as the hub node to be tree-expanded; 根据待树拓展枢纽节点的枢纽性偏差,将各非枢纽节点进行升序排列,并选定所述升序排列中的前cn个非枢纽节点,与待替换枢纽节点,共同组建为第二枢纽集合;其中,所述cn为正整数;Arrange the non-hub nodes in ascending order according to the pivotal deviation of the hub nodes to be expanded in the tree, and select the first cn non-hub nodes in the ascending order to form a second hub set together with the hub nodes to be replaced; Wherein, the cn is a positive integer; 重复执行以下步骤,直至遍历所述第二枢纽结合中的每个非枢纽节点:The following steps are repeated until each non-hub node in the second hub combination is traversed: 选定所述第二枢纽集合中的任一非枢纽节点作为第一非枢纽节点,另一非枢纽节点作为第二非枢纽节点;selecting any non-hub node in the second hub set as the first non-hub node, and another non-hub node as the second non-hub node; 将所述第一枢纽节点与所述第一非枢纽节点进行角色互换,将所述第二非枢纽节点作为第三枢纽节点,并建立所述第三枢纽节点与当前网络中各非枢纽节点之间的接入边,建立转换角色后的所述第一枢纽节点与当前网络中各非枢纽节点之间的直连边;Exchange roles between the first hub node and the first non-hub node, use the second non-hub node as a third hub node, and establish the third hub node and each non-hub node in the current network The access edge between, establishes the direct connection edge between the first hub node after the role change and each non-hub node in the current network; 确定当前网络的总成本,并根据所述总成本,通过贪婪算法对当前网络的直连边和接入边进行处理,以降低总成本;Determine the total cost of the current network, and process the direct connection edges and access edges of the current network through a greedy algorithm according to the total cost to reduce the total cost; 查找当前网络中的枢纽环,并依次对每个枢纽环执行以下步骤:移除待执行枢纽环的反向枢纽边;若移除后的成本相对于移除前的总成本降低,则移除所述待执行枢纽环的反向枢纽边。Find the hub rings in the current network, and perform the following steps for each hub ring in turn: remove the reverse hub edge of the hub ring to be executed; if the cost after removal is lower than the total cost before removal, remove The reverse pivot edge of the pivot ring to be executed. 6.根据权利要求1所述的方法,其特征在于,所述环拓展,包括:6. The method of claim 1, wherein the ring expansion comprises: 构造当前网络的枢纽环集合;重复执行以下步骤,直至遍历所述枢纽环集合中的每个枢纽环,并输出总成本最低时对应的枢纽选址结果,作为最终枢纽选址结果,或者作为后续操作的初始网络:Construct the hub ring set of the current network; repeat the following steps until each hub ring in the hub ring set is traversed, and output the corresponding hub location result when the total cost is the lowest, as the final hub location result, or as a follow-up The initial network of operations: 选定所述枢纽环集合中任一枢纽环中的任一枢纽边的第一端点作为待环拓展枢纽节点;其中所述任一枢纽边为第一端点与第二端点的连边;Selecting the first endpoint of any pivot edge in any pivot ring in the pivot ring set as the pivot node to be expanded; wherein the any pivot edge is a connecting edge between the first endpoint and the second endpoint; 根据待环拓展枢纽节点的枢纽性偏差,将各非枢纽节点进行升序排列,并选定所述升序排列中的前dn个非枢纽节点,与待环拓展枢纽节点,共同组建为第三枢纽集合;其中,所述dn为正整数;According to the pivotal deviation of the hub nodes to be expanded, the non-hub nodes are arranged in ascending order, and the first dn non-hub nodes in the ascending order are selected to form a third hub set together with the hub nodes to be expanded. ; wherein, the dn is a positive integer; 重复执行以下步骤,直至遍历所述第二枢纽集合中的每个非枢纽节点:The following steps are repeated until each non-hub node in the second hub set is traversed: 选定所述第二枢纽集合中的任一非枢纽节点作为第三非枢纽节点,另一非枢纽节点作为第四非枢纽节点;selecting any non-hub node in the second hub set as a third non-hub node, and another non-hub node as a fourth non-hub node; 将所述待环拓展枢纽节点与所述第三非枢纽节点进行角色互换;将所述第四非枢纽节点作为第四枢纽节点;Exchanging roles between the expansion hub node to be looped and the third non-hub node; using the fourth non-hub node as the fourth hub node; 将转换角色后的所述第三非枢纽节点与第二端点之间的枢纽边替换为所述第四枢纽节点与第二端点的枢纽边和所述第四枢纽节点与转换角色后的所述第三非枢纽节点的枢纽边;Replacing the pivot edge between the third non-hub node and the second endpoint after changing roles with the pivot edge between the fourth pivot node and the second endpoint and the fourth pivot node and the pivot edge after changing roles The hub edge of the third non-hub node; 确定当前网络的总成本,并根据所述总成本,通过贪婪算法对当前网络的直连边和接入边进行处理,以降低总成本;Determine the total cost of the current network, and process the direct connection edges and access edges of the current network through a greedy algorithm according to the total cost to reduce the total cost; 依次对当前网络中的枢纽环执行反向操作;所述反向操作包括:确定枢纽环反向后的总成本是否降低,若总成本降低则将枢纽环反向。A reverse operation is performed on the hub rings in the current network in sequence; the reverse operation includes: determining whether the total cost of the hub ring after reversal is reduced, and if the total cost is reduced, the hub ring is reversed. 7.根据权利要求2-6任一项所述的方法,其特征在于,所述通过变邻域搜索算法对所述枢纽选址结果进行优化,并输出优化后的枢纽选址结果,包括:7. The method according to any one of claims 2-6, wherein the said hub location selection result is optimized by a variable neighborhood search algorithm, and the optimized hub location result is output, comprising: 将当前网络的枢纽节点作为初始解集合,并确定初始解集合对应的初始成本;Take the pivot node of the current network as the initial solution set, and determine the initial cost corresponding to the initial solution set; 选定所述初始解集合中的任一枢纽节点与任一非枢纽节点进行角色交换后得到邻域集合;Selecting any pivot node in the initial solution set to exchange roles with any non-pivot node to obtain a neighborhood set; 计算邻域集合对应的邻域成本,若邻域成本小于初始成本,则将邻域集合对初始解集合进行更新;Calculate the neighborhood cost corresponding to the neighborhood set, if the neighborhood cost is less than the initial cost, update the neighborhood set to the initial solution set; 重复执行上述步骤预定次数后,输出当前初始解结合对应的枢纽选址结果。After repeating the above steps for a predetermined number of times, output the current initial solution combined with the corresponding hub location result. 8.一种枢纽选址设备,其特征在于,包括:8. A hub site selection equipment, characterized in that, comprising: 确定模块,用于确定网络中每对节点的枢纽性;其中,所述枢纽性与将每对节点建设为网络中唯一一对枢纽节点时的总成本成反比;a determining module, configured to determine the pivotality of each pair of nodes in the network; wherein, the pivotality is inversely proportional to the total cost of constructing each pair of nodes as the only pair of pivot nodes in the network; 构建模块,用于选取枢纽性最大的一对节点作为当前网络的唯一一对枢纽节点,并且按照枢纽性最大时的网络配置设置当前网络中各节点之间的连边,构建初始网络;其中当前网络中各节点包括各枢纽节点与各非枢纽节点;The building module is used to select the pair of nodes with the greatest pivotality as the only pair of pivotal nodes of the current network, and set the edges between the nodes in the current network according to the network configuration when the pivotality is the greatest to construct the initial network; Each node in the current network includes each hub node and each non-hub node; 第一处理模块,用于判断当前网络中枢纽节点数量是否与预定枢纽节点数量相等,若当前网络的枢纽节点数量小于所述预定枢纽节点数量,则对当前网络依次执行树拓展和环拓展,以使当前网络的总成本最低,并将当前网络的枢纽数量加一,直至当前网络的枢纽节点数量等于所述预定枢纽节点数量;输出当前网络对应的枢纽选址结果。The first processing module is used to determine whether the number of hub nodes in the current network is equal to the predetermined number of hub nodes, and if the number of hub nodes in the current network is less than the predetermined number of hub nodes, perform tree expansion and ring expansion in sequence on the current network to The total cost of the current network is minimized, and the number of hubs in the current network is increased by one until the number of hub nodes in the current network is equal to the predetermined number of hub nodes; the result of the hub location selection corresponding to the current network is output. 9.一种枢纽选址设备,其特征在于,包括:至少一个处理器和存储器;9. A hub location selection device, comprising: at least one processor and a memory; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如权利要求1至7任一项所述的枢纽选址方法。The at least one processor executes the computer-executable instructions stored in the memory to cause the at least one processor to perform the pivot addressing method of any one of claims 1-7. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1至7任一项所述的枢纽选址方法。10. A computer-readable storage medium, characterized in that, computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the method as claimed in any one of claims 1 to 7 is implemented. The hub site selection method described above.
CN201910052979.XA 2019-01-21 2019-01-21 Hub location method and apparatus Pending CN110245818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910052979.XA CN110245818A (en) 2019-01-21 2019-01-21 Hub location method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910052979.XA CN110245818A (en) 2019-01-21 2019-01-21 Hub location method and apparatus

Publications (1)

Publication Number Publication Date
CN110245818A true CN110245818A (en) 2019-09-17

Family

ID=67882939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910052979.XA Pending CN110245818A (en) 2019-01-21 2019-01-21 Hub location method and apparatus

Country Status (1)

Country Link
CN (1) CN110245818A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112330011A (en) * 2020-11-02 2021-02-05 杭州五代通信与大数据研究院 ICT infrastructure site selection method based on variable neighborhood search

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260796A (en) * 2015-10-20 2016-01-20 深圳市佐学科技有限公司 Large scale industrial meta-heuristic multi-addressing system
CN105787595A (en) * 2016-02-29 2016-07-20 泰华智慧产业集团股份有限公司 Emergency logistic transfer station site selection method based on improved ant colony algorithm
CN107341628A (en) * 2016-12-30 2017-11-10 闽江学院 A kind of axis-spoke logistics network Hub Location and distribution method based on probability Tabu search algorithm
CN108564218A (en) * 2018-04-17 2018-09-21 东南大学 A kind of site selecting method of the Expressway Service based on region resource
CN108681796A (en) * 2018-06-01 2018-10-19 郑州大学 Urban outbound Road passenger terminal site selecting method based on POI data and dijkstra's algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260796A (en) * 2015-10-20 2016-01-20 深圳市佐学科技有限公司 Large scale industrial meta-heuristic multi-addressing system
CN105787595A (en) * 2016-02-29 2016-07-20 泰华智慧产业集团股份有限公司 Emergency logistic transfer station site selection method based on improved ant colony algorithm
CN107341628A (en) * 2016-12-30 2017-11-10 闽江学院 A kind of axis-spoke logistics network Hub Location and distribution method based on probability Tabu search algorithm
CN108564218A (en) * 2018-04-17 2018-09-21 东南大学 A kind of site selecting method of the Expressway Service based on region resource
CN108681796A (en) * 2018-06-01 2018-10-19 郑州大学 Urban outbound Road passenger terminal site selecting method based on POI data and dijkstra's algorithm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
戴伟斌等: "HUBBI:Iterative network design for incomplete hub location problems", 《COMPUTERS AND OPERATIONS RESEARCH》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112330011A (en) * 2020-11-02 2021-02-05 杭州五代通信与大数据研究院 ICT infrastructure site selection method based on variable neighborhood search
CN112330011B (en) * 2020-11-02 2022-10-14 杭州五代通信与大数据研究院 ICT infrastructure site selection method based on variable neighborhood search

Similar Documents

Publication Publication Date Title
WO2020224544A1 (en) Address selection method and apparatus, and computer readable storage medium
Gouveia et al. Load-dependent and precedence-based models for pickup and delivery problems
Liu et al. PSO-based power-driven X-routing algorithm in semiconductor design for predictive intelligence of IoT applications
CN110046777B (en) A flexible job shop continuous reconfiguration scheduling method and device
TW201939366A (en) Recommendation system construction method and device
Zheng et al. A reinforced hybrid genetic algorithm for the traveling salesman problem
CN113609345B (en) Target object association method and device, computing equipment and storage medium
CN107332770A (en) One kind must be through a routed path system of selection
CN107274669A (en) Urban road traffic network entropy calculation method and system based on shortest path
CN112272120B (en) Virtual network mapping algorithm optimization method, equipment and storage medium
CN116227607B (en) Quantum circuit classification method, quantum circuit classification device, electronic equipment, medium and product
CN107274032A (en) A kind of Bi-objective Transportation Network Planning model optimization computational methods
CN117408736A (en) Enterprise fund demand mining method and medium based on improved Stacking fusion algorithm
CN116467981A (en) Integrated circuit layout method, device and computer readable storage medium
CN109871982A (en) A distribution network reconstruction method, cloud server, and electronic equipment
CN110245818A (en) Hub location method and apparatus
CN114492651A (en) A semi-supervised graph node classification method based on personalized web page ranking
CN112131089B (en) Software defect prediction method, classifier, computer device and storage medium
CN114386138A (en) Building dividing method, electronic device and computer storage medium
CN113722554A (en) Data classification method and device and computing equipment
CN112766684A (en) Enterprise credit evaluation method and device and electronic equipment
WO2025030812A1 (en) Chip layout and training method, electronic device, storage medium, and chip system
CN114285783B (en) Route diffusion simulation method and device based on multiple matrixes
CN118115348A (en) Data bit width detection method, device, equipment and medium based on image processing
Lee et al. Origin-based partial linearization method for the stochastic user equilibrium traffic assignment problem

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190917

RJ01 Rejection of invention patent application after publication