Hybrid search with neighborhood reduction for the multiple traveling salesman problem
具有邻域约简的混合搜索,用于多行程推销员问题

https://doi.org/10.1016/j.cor.2022.105726Get rights and content 获取权利和内容

Highlights 突出

  • We present an effective heuristic algorithm for the multiple traveling salesman problem.
    我们提出了一种针对多个旅行商问题的有效启发式算法。

  • The algorithm uses tabu search and TSP heuristic for inter-tour and intra-tour optimization.
    该算法使用 tabu 搜索和 TSP 启发式进行 inter-tour 和 intra-tour 优化。

  • The algorithm is compared with five state-of-the-art methods on 77 benchmark instances.
    该算法在77个基准实例上与五种最先进的方法进行了比较。

  • Experiments are shown to assess the contributions of the main algorithmic components.
    通过实验来评估主要算法组件的贡献。

  • We show that TSP heuristic performs very well for the minsum objective of the problem.
    我们表明 TSP 启发式算法对于问题的 minsum 目标表现得非常好。

Abstract 抽象

We present an effective hybrid algorithm with neighborhood reduction for solving the multiple traveling salesman problem (mTSP). This problem aims to optimize one of the two objectives: to minimize the total traveling distance (the minsum mTSP) or to minimize the longest tour (the minmax mTSP). The proposed algorithm hybridizes inter-tour optimization with an efficient neighborhood search based on tabu search and intra-tour optimization using the traveling salesman heuristic EAX. A dedicated neighborhood reduction strategy is introduced to avoid the examination of non-promising candidate solutions and thus speed up the neighborhood search. Results of extensive computational experiments are shown on 41 popular instances from several sources and 36 new large instances. Comparisons with five state-of-the-art methods in the literature demonstrate a high competitiveness of the proposed algorithm. Additional experiments on applying a classical TSP heuristic to the minsum mTSP instances show excellent results.
我们提出了一种有效的邻域缩减混合算法,用于解决多个旅行推销员问题 (mTSP)。此问题旨在优化两个目标之一:最小化总行程 (minsum mTSP) 或最小化最长行程 (minmax mTSP)。所提出的算法将旅行间优化与基于禁忌搜索的高效邻里搜索和使用旅行推销员启发式 EAX 的旅行内优化混合在一起。引入了专门的邻域缩减策略,以避免检查没有希望的候选解决方案,从而加快邻域搜索速度。在来自多个来源的 41 个常用实例和 36 个新的大型实例上展示了大量计算实验的结果。与文献中五种最先进的方法的比较表明,所提出的算法具有很高的竞争力。将经典 TSP 启发式方法应用于最小 mTSP 实例的其他实验显示出出色的结果。

Keywords 关键字

Traveling salesman
Multiple traveling salesman
Hybrid heuristic
Neighborhood reduction

旅行推销员
多个旅行推销员
混合启发式
邻域缩减

1. Introduction 1. 引言

The multiple traveling salesman problem (mTSP) generalizes the popular NP-hard traveling salesman problem (TSP) with multiple salespersons. Formally, the mTSP is the following graph theoretic problem. Let G=(V,A) be a graph with vertex set V={0,1,,n} and a set of arcs A, where 0 of V is the depot and the remaining vertices N={1,,n} represent n cities. Let C= (cij) be a non-negative cost (distance) matrix associated with A, which satisfies the triangle inequality (cij+cjk>cik for any i,j,kV and ijk). The matrix C is said to be symmetric when cij=cji,(i,j)A and asymmetric otherwise. A feasible solution is a partition of the set of cities N into m distinct Hamiltonian tours {r1,r2,,rm}, such that each tour rk (k{1,,m}) starts and ends at the depot, and includes at least one city. The minsum mTSP, first proposed in Svestka and Huckfeldt (1973), is to minimize the total traveling tour-length of a given mTSP instance and can be described by the following mathematical model (Cheikhrouhou and Khoufi, 2021). (1)(minsummTSP)minF(φ)=k=1mTSP(rk)subjecttok=1mrk=Vrkrk={0},kk,1k,kmwhere φ={r1,r2,,rm} is a feasible solution with rk (k{1,,m}) representing the kth tour composed of the vertices visited by the kth salesman, and TSP(rk) is the length of the tour rk. It is easy to observe that the minsum mTSP becomes the conventional TSP when m=1 (only one salesman).
旅行销售员问题 (mTSP) 概括了具有多个销售员的常用 NP 困难旅行销售员问题 (TSP)。从形式上讲,mTSP 是以下图论问题。设 G =( V,A ) 是一个具有顶点集 V={0,1,,n} 和一组弧的 A 图形,其中 0 是 V 仓库,其余顶点 N={1,,n} 表示 n 城市。让 C=cij ) 是与 A 关联的非负成本(距离)矩阵,它满足三角形不等式 cij+cjk>cik 对于任意 i,j,kVijk )。当 cij=cji,(i,j)A 矩阵 C 时称为对称矩阵,否则称为不对称矩阵。可行的解决方案是将城市 N 集划分为 m 不同的 Hamiltonian 游览 {r1,r2,,rm} ,以便每个游览 rk (k{1,,m}) 在站点开始和结束,并且至少包括一个城市。最小 mTSP 于 Svestka 和 Huckfeldt (1973) 首次提出,旨在最小化给定 mTSP 实例的总旅行长度,可以用以下数学模型来描述(Cheikhrouhou 和 Khoufi,2021 年)。 (1)(minsummTSP)minF(φ)=k=1mTSP(rk)subjecttok=1mrk=Vrkrk={0},kk,1k,km 其中 φ={r1,r2,,rm} 是一个可行的解决方案,它 rk (k{1,,m}) 表示由 k 第 TH 个推销员访问的顶点组成的 k 第 个 tour,并且 TSP(rk) 是 tour rk 的长度。很容易观察到,当(只有一个销售人员)时 m=1 ,最小 mTSP 会成为传统的 TSP。

By minimizing the total tour-length of all the salesmen, the minsum mTSP aims to optimize the total efficiency of a solution. In some contexts, it is useful to consider the equity criterion by avoiding excessive tour-length differences among the salesmen. To this end, the minmax mTSP was introduced in França et al. (1995), which minimizes the longest tour and can be formulated by the mathematical model as follows (Cheikhrouhou and Khoufi, 2021). (2)(minmaxmTSP)minF(φ)=maxk{1,,m}{TSP(rk)}subjecttok{1,,m}rk=Vrkrk={0},kk,1k,km
通过最小化所有销售人员的总行程长度,minsum mTSP 旨在优化解决方案的总体效率。在某些情况下,通过避免销售人员之间过多的旅行长度差异来考虑公平标准是有用的。为此,França 等人(1995 年)引入了最小 mTSP,它最大限度地减少了最长的行程,可以通过数学模型公式化如下(Cheikhrouhou 和 Khoufi,2021 年)。 (2)(minmaxmTSP)minF(φ)=maxk{1,,m}{TSP(rk)}subjecttok{1,,m}rk=Vrkrk={0},kk,1k,km

From an application perspective, these mTSP models are useful for a number of real problems that cannot be formulated conveniently with the classical TSP model (Cheikhrouhou and Khoufi, 2021). Representative examples include news paper delivery (Whizzkids’96, 1996), hot rolling scheduling (Tang et al., 2000), 3D path planning (Ergezer and Leblebicioğlu, 2014), multi-unit service scheduling (Carter and Ragsdale, 2009), path planning for robot and UAV (Zhan and Zeng, 2019, Koubâa et al., 2017), container drayage services (Zhang et al., 2018, Shiri and Huynh, 2016), and harvesters scheduling (He et al., 2018, He et al., 2019). Additional practical problems can be formulated by extended mTSP variants (Bektaş, 2012, Lu et al., 2019, Paydar et al., 2010).
从应用的角度来看,这些 mTSP 模型对于许多无法用经典 TSP 模型方便地表述的实际问题很有用(Cheikhrouhou 和 Khoufi,2021 年)。代表性示例包括新闻纸交付 (Whizzkids'96, 1996)、热轧调度 (Tang et al., 2000)、3D 路径规划 (Ergezer 和 Leblebicioğlu, 2014)、多单元服务调度 (Carter 和 Ragsdale, 2009)、机器人和无人机的路径规划  (Zhan 和 Zeng,2019 年,Koubâa 等人,2017 年)、集装箱拖运服务(Zhang 等人,2018 年,Shiri 和 Huynh,2016)和收割机调度 (He 等人,2018 年,He 等人,2019 年).额外的实际问题可以通过扩展的 mTSP 变体来表述(Bektaş,2012 年,Lu 等人,2019 年,Paydar 等人,2010 年)。

On the other hand, as a generalization of the NP-hard TSP problem, the mTSP is computationally challenging from the perspective of optimization.
另一方面,作为NP-hard TSP问题的推广,从优化的角度来看,mTSP在计算上具有挑战性。

Due to its theoretical and practical interest, the mTSP has received much attention from various fields including engineering, operations research and computer science. There are exact algorithms for the minsum mTSP, including a branch-and-bound algorithm (Gavish and Srikanth, 1986) and a cutting plane algorithm (Laporte and Nobert, 1980). Optimal results were reported on instances with up to 500 vertices and 10 salesmen. There are also exact algorithms for variants of the minmax mTSP. For example, a branch-and-cut algorithm (Applegate et al., 2002) was presented to solve a minmax vehicle routing problem on instances up to 120 cities and 4 vehicles. Benders decomposition algorithms (Bektaş, 2012) were proposed to optimally solve the mTSP with load balancing on instances with up to 171 cities and 10 salesmen. Given the NP-hard nature of the problem, a number of heuristic and metaheuristic algorithms have been developed to find suboptimal solutions for large instances that cannot be optimally solved, as reviewed in Section 2.
由于其理论和实践兴趣,mTSP 受到了包括工程、运筹学和计算机科学在内的各个领域的广泛关注。最小和 mTSP 有精确的算法,包括分支定界算法 (Gavish 和 Srikanth, 1986) 和切割平面算法 (Laporte 和 Nobert, 1980)。在具有多达 500 个顶点和 10 名推销员的实例上报告了最佳结果。还有用于最小最大 mTSP 变体的精确算法。例如,提出了一种分支和切割算法(Applegate et al., 2002)来解决多达 120 个城市和 4 辆车实例上的 minmax 车辆路径问题。提出了 Benders 分解算法 (Bektaş, 2012) 以最佳方式解决 mTSP,并在具有多达 171 个城市和 10 名销售人员的实例上进行负载均衡。鉴于问题的 NP-hard 性质,已经开发了许多启发式和元启发式算法,以查找无法最佳求解的大型实例的次优解决方案,如第 2 节 所述

We observe that computational results have been improved continually with the introduction of new solution approaches and algorithms. Meanwhile, our literature review (see Section 2) indicates that existing methods lack stability and their performances typically degrade when large instances are solved (e.g. n>1000). Moreover, some algorithms were designed only for one mTSP objective (minsum or minmax).
我们观察到,随着新的求解方法和算法的引入,计算结果得到了不断改进。同时,我们的文献综述(见第 2 节)表明,现有方法缺乏稳定性,并且在求解大型实例时性能通常会下降(例如)。 n>1000 此外,一些算法仅针对一个 mTSP 目标 (minsum 或 minmax) 设计。

In this work, we aim to advance the state-of-the-art of solving large-scale instances of the mTSP for both objectives. For this purpose, we introduce an effective hybrid search algorithm that performs well especially on large mTSP instances. The proposed algorithm benefits from the symbiosis of inter-tour optimization and intra-tour optimization. The inter-tour optimization uses neighborhood search to improve the solution by exchanging information between two tours (via the insert and cross-exchange operators). The intra-tour optimization applies a TSP method (the EAX heuristic Nagata and Kobayashi, 2013) to keep each individual tour as short as possible. We carry out extensive experiments to show the competitiveness of the proposed algorithm. We perform additional experiments to assess the usefulness of its key ingredients. Finally, we present for the first time computational experiments of applying the TSP heuristic EAX to the minsum mTSP, and draw conclusions regarding the effectiveness of this approach.
在这项工作中,我们的目标是推进解决大规模 mTSP 实例的最新技术,以实现这两个目标。为此,我们引入了一种有效的混合搜索算法,该算法在大型 mTSP 实例上表现良好。所提算法受益于 Inter-Tour Optimization 和 Inter-Tour 优化的共生关系。游览间优化使用邻域搜索,通过在两个游览之间交换信息(通过 insertcross-exchange 运算符)来改进解决方案。游览内优化应用 TSP 方法(EAX 启发式 Nagata 和 Kobayashi,2013 年),以使每个单独的游览尽可能短。我们进行了广泛的实验,以展示所提出的算法的竞争力。我们进行额外的实验以评估其关键成分的有用性。最后,我们首次提出了将 TSP 启发式 EAX 应用于最小 mTSP 的计算实验,并得出了关于这种方法有效性的结论。

The remainder of this paper is organized as follows. Section 2 provides a literature review on heuristic algorithms for the mTSP. Section 3 presents the details of the proposed algorithm. Section 4 shows computational results and comparisons. Section 5 investigates key ingredients of the proposed algorithm. Section 6 draws conclusions with research perspectives.
本文的其余部分组织如下。第 2提供了有关 mTSP 启发式算法的文献综述。第 3 节 介绍了所提议的算法的详细信息。第 4 部分显示了计算结果和比较。第 5 节调查了所提出的算法的关键组成部分。第 6 节从研究的角度得出结论。

2. Literature review 2. 文献综述

In this section, we provide a literature review of the most representative heuristic algorithms for the mTSP. These algorithms are divided into three categories: population-based evolutionary algorithms, swarm intelligence algorithms and neighborhood-based local optimization. The reviewed algorithms are summarized in Table 1, where “both” means the corresponding algorithm solves both the minsum and minmax mTSP. For a comprehensive survey of exact and heuristic methods, the reader is referred to Bektas (2006) and Cheikhrouhou and Khoufi (2021).
在本节中,我们提供了 mTSP 最具代表性的启发式算法的文献综述。这些算法分为三类:基于种群的进化算法群体智能算法和基于邻域的局部优化。表 1 总结了回顾的算法其中 “both” 表示相应的算法同时求解 minsum 和 minmax mTSP。 有关精确和启发式方法的全面调查,读者可参考 Bektas (2006)Cheikhrouhou 和 Khoufi (2021)。

Various population-based evolutionary algorithms have been proposed for solving the mTSP. In 2006, Carter and Ragsdale (2006) presented a grouping genetic algorithm for the mTSP using a two-part chromosome to represent a solution. Compared to two previous chromosome representations, the two-part chromosome representation avoids redundant solutions and thus reduces the solution space. This work also introduced a set of benchmark instances with 50–150 cities and 3–30 salesmen, and showed comparisons with genetic algorithms using other representations. Similarly, in 2007, Brown et al. (2007) showed a follow-up study (Carter and Ragsdale, 2006) of using another two-part chromosome representation where both real-valued genes and integer-valued genes are used. Another group of benchmark instances was proposed for their computational studies. Subsequently, in 2009, Singh and Baghel (2009) presented another grouping genetic algorithm with the so-called m-tour chromosome representation, where each tour is represented by an array and no ordering is imposed among tours. This algorithm employed a steady-state population replacement method, and outperformed the genetic algorithms of Carter and Ragsdale, 2006, Brown et al., 2007 in terms of the minsum mTSP and the minmax mTSP. In 2013, Yuan et al. (2013) investigated a specific crossover operator (called TCX) based on the two-part chromosome of Carter and Ragsdale (2006). The proposed crossover aims to better preserve building block information during solution recombination while ensuring a good diversity. They showed a superior performance of their TCX-based genetic algorithm over genetic algorithms using three other crossover operators including the algorithm of Carter and Ragsdale (2006). In 2017, Wang et al. (2017) designed a memetic algorithm (MASVND) for the minmax mTSP. The algorithm employs recombination and mutation operators based on spatial distribution (Pandiri and Singh, 2015) and incorporates four neighborhood search operators (one-point move, Or-opt2 move, Or-opt3 move and Or-opt4 move) for the variable neighborhood descent. They introduced a new set of (large) benchmark instances and assessed MASVND for the minmax mTSP compared to ABC (Pandiri and Singh, 2015), IWO (Pandiri and Singh, 2015) and GVNS (Soylu, 2015). The results indicated that MASVND outperforms its competitors on large instances (with 532–1173 cities), but performs worse than IWO on small instances (with 51–318 cities). In 2021,  Karabulut et al. (2021) proposed an evolution strategy (ES) approach for solving the mTSP and multi-depots mTSP with non-predetermined depots. This approach adopts a self-adaptive Ruin and Recreate heuristic to generate offspring solutions, and a local search, including 3-opt, to further enhance the solution quality. The computational experiments showed the competitiveness of this approach on the minsum and minmax mTSP instances.
已经提出了各种基于群体的进化算法来解决 mTSP。2006 年,Carter 和 Ragsdale (2006) 提出了一种 mTSP 的分组遗传算法,使用两部分染色体来表示解决方案。与之前的两种染色体表示相比,两部分染色体表示避免了冗余解,从而减少了解空间。这项工作还引入了一组具有 50-150 个城市和 3-30 名销售人员的基准实例,并显示了与使用其他表示的遗传算法的比较。同样,在 2007 年,Brown 等人(2007 年)展示了一项后续研究(Carter 和 Ragsdale,2006 年),该研究使用另一种由两部分组成的染色体表示,其中同时使用实值基因和整数值基因。另一组基准实例被提议用于他们的计算研究。随后,在 2009 年,Singh 和 Baghel (2009) 提出了另一种具有所谓的 m-tour 染色体表示的分组遗传算法,其中每个旅行都由一个数组表示,并且旅行之间没有强加顺序。该算法采用稳态种群替换方法,在最小 mTSP 和最小 mTSP 方面优于 Carter 和 Ragsdale, 2006Brown et al., 2007 的遗传算法。2013 年,Yuan 等人。 (2013 年)研究了基于 Carter 和 Ragsdale (2006)两部分染色体 的特定交叉运算符(称为 TCX)。拟议的交叉旨在在解决方案重组过程中更好地保留构建模块信息,同时确保良好的多样性。他们展示了基于 TCX 的遗传算法优于使用其他三种交叉运算符的遗传算法,包括 Carter 和 Ragsdale (2006) 的 算法。2017 年,Wang 等人 (2017) 为最小 mTSP 设计了一种模因算法 (MASVND)。该算法采用基于空间分布 的重组和突变运算符Pandiri 和 Singh,2015 年),并结合了四个邻域搜索运算符(单点移动、Or-opt2 移动、Or-opt 3 移动和 Or-opt 4 移动)用于可变邻域下降。他们引入了一组新的(大型)基准实例,并与 ABC (Pandiri 和 Singh,2015 年)、IWO(Pandiri 和 Singh,2015)和 GVNS (Soylu,2015 年)相比,评估了 MASVND 的最小最大 mTSP).结果表明,MASVND 在大型实例(532-1173 个城市)上的表现优于其竞争对手,但在小型实例(51-318 个城市)上的表现比 IWO 差。2021 年,Karabulut 等人。 (2021 年) 提出了一种进化策略 (ES) 方法,用于求解具有非预定仓库的 mTSP 和多仓库 mTSP。这种方法采用自适应的 Ruin and Recreate 启发式方法来生成后代解决方案,并采用本地搜索(包括 3-opt)来进一步提高解决方案质量。计算实验显示了这种方法在 minsum 和 minmax mTSP 实例上的竞争力。

Table 1. Summary and taxonomy of representative heuristic algorithms for the mTSP.
表 1.mTSP 的代表性启发式算法的摘要和分类。

Algorithm 算法Population-based evolutionary algorithms
基于群体的进化算法
Swarm intelligence algorithms
群体智能算法
Neighborhood-based local search
基于邻域的本地搜索
Problem solved 问题已解决
Carter and Ragsdale (2006)
卡特和拉格斯代尔 (2006)
both 
Brown et al. (2007) Brown等人(2007年)both 
Singh and Baghel (2009) Singh 和 Baghel (2009)both 
Yuan et al. (2013) Yuan等人(2013)both 
Wang et al. (2017) Wang等人(2017)minmax 最小
Karabulut et al. (2021) Karabulut 等人 (2021)both 
Pan and Wang (2006) Pan和Wang(2006)both 
Liu et al. (2009) Liu等人(2009)both 
Pandiri and Singh (2015) Pandiri和Singh(2015)both 
Lu and Yue (2019) Lu and Yue (2019)minmax 最小
Soylu (2015) 索伊鲁 (2015)both 
Penna et al. (2013) Penna等人(2013)minsum 最小
Uchoa et al. (2017) Uchoa 等人 (2017)minsum 最小

Another popular approach for solving the mTSP concerns swarm intelligence methods. In 2006, Pan and Wang (2006) presented a basic ant colony optimization (ACO) algorithm and showed a limited comparison with a genetic algorithm. In 2009, Liu et al. (2009) exposed another ACO algorithm which integrates local search for search intensification. They showed competitive results for the minsum mTSP and the minmax mTSP compared to a genetic algorithm on some benchmark instances. In 2019, Lu and Yue (2019) introduced a mission-oriented ant-team ACO algorithm and reported comparative studies with previous algorithms on the instances of Carter and Ragsdale (2006). In 2015, Pandiri and Singh (2015) presented several algorithms based on artificial bee colony (ABC) and invasive weed optimization (IWO) for the minsum mTSP and the minmax mTSP, which use local search for the post-optimization. There are two versions of the ABC algorithm, where neighboring solutions are generated from the original solution based on different distance strategies. IWO can be considered as a reinforced ABC algorithm because it generalizes ABC, by visiting more neighboring solutions at each generation. These algorithms showed excellent performances and updated a majority of the best results of previous algorithms for the benchmark instances of Carter and Ragsdale, 2006, Brown et al., 2007, Singh and Baghel, 2009.
解决 mTSP 的另一种流行方法涉及群体智能方法。2006 年,Pan 和 Wang (2006) 提出了一种基本的蚁群优化 (ACO) 算法,并展示了与遗传算法的有限比较。2009 年,Liu et al. (2009) 提出了另一种 ACO 算法,该算法集成了本地搜索以进行搜索强化。与某些基准实例上的遗传算法相比,它们显示了 minsum mTSP 和 minmax mTSP 的竞争结果。2019 年,Lu 和 Yue (2019) 引入了一种面向任务的蚂蚁团队 ACO 算法,并报告与 Carter 和 Ragsdale (2006) 实例 上先前算法的比较研究。2015 年,Pandiri 和 Singh (2015) 提出了几种基于人工蜂群 (ABC) 和侵入性杂草优化 (IWO) 的算法,用于最小 mTSP 和最小最大 mTSP,它们使用局部搜索进行后优化。ABC 算法有两个版本,其中相邻解是根据不同的距离策略从原始解生成的。IWO 可以被视为一种增强的 ABC 算法,因为它通过在每一代访问更多相邻解决方案来泛化 ABC。这些算法显示出出色的性能,并更新了 Carter 和 Ragsdale, 2006Brown et al., 2007Singh and Baghel, 2009 的基准实例之前算法的大部分最佳结果。

Compared to the aforementioned approaches, there are relatively few studies using neighborhood-based local optimization to solve the mTSP, among which the general variable neighborhood search heuristic (GVNS) presented by Soylu (2015) is a representative example. Based on the m-tour solution representation, this algorithm applies six neighborhood search operators (one-point move, two types of Or-opt move, two-point move and three-point move, as well as 2-opt) to find local optima and uses a random shaking method to escape local optimum traps. Experimental results indicated that the algorithm globally competes well with previous methods, except IWO (Pandiri and Singh, 2015) which showed superior results on the instances of Carter and Ragsdale (2006).
与上述方法相比,使用基于邻域的局部优化来解决 mTSP 的研究相对较少,其中 Soylu (2015) 提出的一般变量邻域搜索启发式 (GVNS) 就是一个典型的例子。该算法基于 m-tour 解表示,采用 6 个邻域搜索算子(单点移动、两种 Or-opt 移动、2 点移动和 3 点移动,以及 2-opt)来寻找局部最优值,并使用随机摇动方法逃脱局部最优陷阱。实验结果表明,该算法与以前的方法在全球范围内竞争良好,除了 IWO (Pandiri 和 Singh, 2015) 在 Carter 和 Ragsdale (2006) 的实例上显示出更好的结果。

One notices that iterated local search (ILS) algorithms were designed for the related capacitated vehicle routing problem (CVRP), that becomes the minsum mTSP when the capacity is set to 1. In particular, Penna et al. (2013) proposed an ILS algorithm which uses a variable neighborhood descent procedure, with a random neighborhood ordering, in the local search phase.  Uchoa et al. (2017) tested an ILS-based matheuristic algorithm on a set of new CVRP benchmark instances and reported several good results for the CVRP with capacity of 1, which is equivalent to the minsum mTSP. Local search algorithms were also proposed for the balanced mTSP (Garn, 2020) and balanced dynamic mTSP (Garn, 2021).
人们注意到迭代本地搜索 (ILS) 算法是为相关的有容量车辆路径问题 (CVRP) 设计的,当容量设置为 1 时,该问题成为最小 mTSP。特别是,Penna 等人(2013 年)提出了一种 ILS 算法,该算法在本地搜索阶段使用可变邻域下降程序,具有随机邻域排序。 Uchoa 等人(2017 年)测试了一种基于 ILS 的数学算法在一组新的 CVRP 基准实例上,并报告了容量为 1 的 CVRP 的几个良好结果,这相当于最小 mTSP。还提出了用于平衡 mTSP (Garn, 2020) 和平衡动态 mTSP (Garn, 2021) 的局部搜索算法。

Among the reviewed studies, the following algorithms hold the best-known results on the commonly used mTSP benchmark instances introduced in Carter and Ragsdale, 2006, Brown et al., 2007, Wang et al., 2017: ABC(VC), IWO (Pandiri and Singh, 2015), GVNS (Soylu, 2015), MASVND (Wang et al., 2017) (for the minmax mTSP only) and ES (Karabulut et al., 2021). Thus they can be considered to be the state-of-the-art methods for solving the mTSP, and are used as the main reference algorithms for the computational studies in this work. Nevertheless, none of the existing mTSP algorithms can be considered as the most effective for all benchmark instances for both the minsum and minmax objectives of the mTSP.
在回顾的研究中,以下算法在 Carter 和 Ragsdale,2006 年、Brown 等人,2007 年,Wang 等人,2017 年引入的常用 mTSP 基准实例上拥有最著名的结果:ABC(VC)、IWO(Pandiri 和 Singh,2015)、GVNS (Soylu,2015 年)、MASVND(Wang等人,2017 年)(仅适用于最小最大 mTSP)和 ES(Karabulut等人,2021)。因此,它们可以被认为是解决 mTSP 的最先进方法,并被用作本研究中计算研究的主要参考算法。然而,对于 mTSP 的最小和最小目标,现有的 mTSP 算法都不能被视为对所有基准实例最有效。

According to the reviewed studies, we observe that most existing mTSP algorithms are based on population-based and swarm intelligence approaches. These algorithms have fast convergences, and typically performed well on small instances. However, they showed inferior performances on large instances (Wang et al., 2017, Karabulut et al., 2021). To advance the state-of-the-art of solving the mTSP, especially on large instances, this work introduces a hybrid algorithm that combines an efficient neighborhood search (for inter-tour optimization) and a traveling salesman heuristic (for intra-tour optimization).
根据回顾的研究,我们观察到大多数现有的 mTSP 算法都是基于基于群体和群体智能的方法。这些算法具有快速收敛性,通常在小型实例上表现良好。然而,它们在大型实例 上表现出较差的性能(Wang et al., 2017Karabulut et al., 2021)。为了推进解决 mTSP 的最新技术,尤其是在大型实例上,这项工作引入了一种混合算法,该算法结合了高效的邻域搜索(用于巡演间优化)和旅行推销员启发式(用于巡演内优化)。

Finally, it is known that the minsum mTSP can be conveniently transformed to the conventional TSP (Hong and Padberg, 1977, Rao, 1980). For a minsum mTSP instance G with n vertices and m tours, this transformation leads to an equivalent TSP instance GT with n+m1 vertices. GT is an extension of G with m1 additional vertices such that each new vertex is a duplicate of the depot in G and each pair of depots have a large enough (e.g., infinite) distance between them. Then a mTSP solution of G with m tours (m>1) can be obtained from a TSP solution of GT (one single tour) by splitting the TSP solution of GT with each depot as the delimiter. As the result, the minsum mTSP can be solved by any TSP algorithm in principle. However, this approach has not been investigated experimentally in the literature. We fill the gap in this study by reporting the first computational results obtained by a TSP heuristic algorithm. We also use these results as additional references to assess our algorithm on the minsum mTSP instances.
最后,众所周知,最小 mTSP 可以方便地转换为常规 TSP(Hong 和 Padberg,1977 年,Rao,1980 年)。对于具有顶点和 m 游览的 minsum mTSP 实例 G ,此转换会导致具有 n+m1 顶点的等效 TSP 实例 GTn GTG 具有 m1 其他顶点的扩展,这样每个新顶点都是 中的站点副本, G 并且每对站点之间具有足够大(例如,无限)的距离。然后,通过将每个仓库作为分隔符的 拆分 的 TSP 解,可以从 G 的 TSP 解 GT (单个 tour)中获得带有 m tours ( m>1 ) 的 mTSP 解。 GT 因此,原则上可以通过任何 TSP 算法来解决最小和 mTSP。然而,这种方法尚未在文献中进行实验研究。我们通过报告 TSP 启发式算法获得的第一个计算结果来填补本研究中的空白。我们还使用这些结果作为额外的参考来评估我们在 minsum mTSP 实例上的算法。

3. Hybrid search with neighborhood reduction
3. 具有邻域减少功能的混合搜索

This section introduces the hybrid search algorithm with neighborhood reduction (HSNR) designed to solve the minsum mTSP and the minmax mTSP. The general procedure is first exposed, followed by the detailed presentation of the search components.
本节介绍一种具有邻域约简(HSNR)的混合搜索算法,该算法旨在求解minsum mTSP和minmax mTSP。首先介绍一般过程,然后详细介绍搜索组件。

3.1. General procedure 3.1. 一般程序

HSNR is a hybrid algorithm combining inter-tour optimization by exchanging information between tours and intra-tour optimization by optimizing individual tours. The inter-tour optimization component aims to improve the solution by relocating cities among different tours, while the intra-tour optimization component tries to improve an individual tour by considering it as a TSP tour. By alternating these two complementary optimization components, the algorithm is offered the promise of exploring the search space effectively. To ensure a high computational efficiency, HSNR additionally adopts a specific neighborhood reduction technique to accelerate the examination of candidate solutions.
HSNR 是一种混合算法,通过在旅行之间交换信息来结合旅行间优化,通过优化单个旅行来结合旅行内部优化。Inter-tour optimization 组件旨在通过在不同旅行之间重新定位城市来改进解决方案,而 intra-tour 优化组件则试图通过将单个旅行视为 TSP 旅行来改进单个旅行。通过交替这两个互补的优化组件,该算法有望有效地探索搜索空间。为了确保高计算效率,HSNR 还采用了一种特定的邻域约简技术来加速对候选解的检查。

As shown in Algorithm 1, starting from a feasible solution given by the initialization procedure (Section 3.2) (line 2), the algorithm performs a number of iterations to improve the current solution (φ) (lines 4–8). At each iteration, the solution φ is first improved by tabu search (Section 3.3.4) with the insert operator (Section 3.3.1) and the cross-exchange operator (Section 3.3.2), where cities are displaced among different tours. Once this insert and cross-exchange based inter-tour optimization is exhausted, the intra-tour optimization using the TSP heuristic EAX (Section 3.4) is triggered to improve each individual tour that was previously modified by insert and cross-exchange during inter-tour optimization. The above steps are then iterated until the stopping condition (typically a cutoff time limit) is met. During the search process, the best solution found (φ) is updated whenever it is needed and finally returned at the end of the algorithm.

  1. Download: Download high-res image (496KB)
  2. Download: Download full-size image

如算法 1 所示,从初始化过程(第 3.2 节 )(第 2 行)给出的可行解决方案开始,该算法执行多次迭代以改进当前解决方案 ( φ )(第 4-8 行)。在每次迭代中,首先通过使用插入运算符(第 3.3.1 节)和交叉交换运算符(第 3.3.2 节)的禁忌搜索(第 3.3.4 节 )来改进解决方案 φ 。),其中城市在不同的旅行中流离失所。一旦这种基于插入和交叉交换的 inter-tour 优化用尽,就会触发使用 TSP 启发式 EAX(第 3.4 节)的 intra-tour 优化,以改进以前在环间优化期间由 insert 和 cross-exchange 修改的每个单独 tour。然后迭代上述步骤,直到满足停止条件(通常是截止时间限制)。在搜索过程中,找到的最佳解决方案 ( φ ) 会在需要时更新,并最终在算法结束时返回。
  1. Download: Download high-res image (496KB)
  2. Download: Download full-size image

3.2. Initial solution 3.2. 初始解决方案

The initialization procedure of HSNR first constructs μ good candidate solutions and then selects the best one as the starting solution of the HSNR algorithm. To generate each of these μ solutions, the depot 0 and a random unassigned city in N are used to initiate each of the m tours of the solution. Then the remaining cities (denoted by N) are added one by one and in a random order into the solution according to a greedy heuristic such that each city is inserted at the best position that increases the least either the total tour-length (for the minsum mTSP) or the current shortest tour (for the minmax mTSP).
HSNR 的初始化过程首先构建 μ 好的候选解,然后选择最佳解作为 HSNR 算法的起始解。为了生成这些 μ 解决方案中的每一个, N 将使用 depot 0 和随机的未分配城市来启动解决方案的每个 m 游览。然后,根据贪婪启发式方法,将剩余的城市(用 表示)以随机顺序逐个添加到解决方案中,使得每个城市都插入到增加最少的总游览长度(对于最小和 mTSP)或当前最短游览(对于最小最大 mTSP)的最佳位置。 N

Specifically, in the case of the minsum mTSP, a random tour rk is picked first among the m initial tours including only the depot and another city. Then the unassigned cities in N are randomly considered one after the other and each selected city is greedily inserted into the tour rk at the position that leads to the smallest increase of the minsum objective. For the minmax mTSP, the unassigned cities are also randomly considered one by one. However, given that its objective is to minimize the longest tour, each selected city is inserted into the current shortest tour rcs at the position with the least increase of this shortest tour rcs. It is worth noting that for the minsum mTSP, the same tour rk is used to host all the unassigned cities in N, while for the minmax mTSP, the shortest tour rcs used for each city insertion could change between two successive iterations.
具体来说,对于 minsum mTSP,在 m 初始行程中首先选择一个随机行程 rk ,其中仅包括车辆段和另一个城市。然后,未 N 分配的城市将一个接一个地随机考虑,并且每个选定的城市都被贪婪地插入到游览 rk 中,位于导致最小和目标增加最小的位置。对于 minmax mTSP,未分配的城市也被一一随机考虑。但是,鉴于其目标是最小化最长的游览,因此每个选定的城市都会入到当前最短的游览 rcs 中,位于此最短游览 rcs 增加最少的位置。值得注意的是,对于 minsum mTSP,相同的游览 rk 用于托管 中的所有 N 未分配城市,而对于 minmax mTSP,用于每个城市插入的最短游览 rcs 可能会在两个连续迭代之间发生变化。

Finally, when all cities are assigned, a feasible solution is obtained. To raise its quality, the solution is improved by the best improvement descent based on the insert and cross-exchange operators (Sections 3.3.1 Insert, 3.3.2 Cross-exchange), followed by the optimization with the TSP heuristic EAX (Section 3.4).
最后,当分配所有城市时,得到一个可行的解决方案。为了提高其质量,通过基于 insert 和 cross-exchange 运算符的最佳改进下降来改进解决方案(第 3.3.1 节 插入3.3.2 交叉交换),然后使用 TSP 启发式 EAX 进行优化(第 3.4 节)。

3.3. Inter-tour optimization with insert and cross-exchange
3.3. 通过插入和交叉交换进行跨行程优化

The inter-tour optimization component of HSNR relies on the insert and cross-exchange operators, which are popular for solving a variety of vehicle routing problems (e.g., Arnold et al., 2019, Taillard et al., 1997, Vidal et al., 2013). For the mTSP, the insert operator was previously used in the GVNS algorithm (Soylu, 2015) as one of its six move operators and the MASVND algorithm (Wang et al., 2017) one of the four move operators. In this work, in addition to the basic insert operator, we adopt for the first time the cross-exchange operator for solving the mTSP. Compared to insert, cross-exchange is a large neighborhood operator, which may help the algorithm to attain solutions that cannot be accessed with the insert operator.
HSNR 的 inter-tour optimization 组件依赖于 insert 和 cross-exchange 运算符,它们在解决各种车辆路径问题时很受欢迎(例如,Arnold 等人,2019 年,Taillard 等人,1997 年,Vidal 等人,2013 年)。对于 mTSP,插入运算符以前在 GVNS 算法 (Soylu, 2015) 中用作其六个移动运算符之一,而 MASVND 算法 (Wang et al., 2017) 用作四个移动运算符之一。在这项工作中,除了基本的插入运算符外,我们还首次采用了交叉交换运算符来解决 mTSP。与 insert 相比,cross-exchange 是一个大的邻域运算符,这可能有助于算法获得使用 insert 运算符无法访问的解决方案。

3.3.1. Insert 3.3.1. 插入

Let φ={r1,r2,,rm} be a candidate solution composed of m tours where rk (k{1,,m}) represents the kth tour including the cities visited by the kth salesman. For each city, the insert operator looks for the best alternative position for the city with the minimal move gain (i.e., objective variation). When all cities are examined, the best move involving a pair of cities a and πb is identified. Then the insert operator removes city a from tour ra and reinserts a after city πb in rb (rarb). After that, tour ra is reconnected by linking the city preceding a and the city succeeding a, while tour rb is updated by removing the link between the city preceding b and b. Fig. 1 illustrates one insert operation with the reconnection of the two impacted tours ra and rb.
φ={r1,r2,,rm} 为由 m 行程组成的候选解,其中 rkk{1,,m} ) 表示 k 第 TH 次旅行, k 包括第 TH 名推销员访问的城市。对于每个城市,insert 运算符会为移动增益最小(即目标变化)的城市寻找最佳替代位置。当检查所有城市时,确定涉及一对城市 a πb 的最佳举措。然后,插入运算符从 tour 中删除 city aa 并在 city πb in 之后 rb 重新插入 rararb )。之后, tour ra 通过链接 preceding 和 city aftering a a 来重新连接,而 tour rb 则通过删除 preceding b 和 之间的链接来更新 b 图 1 说明了一个插入操作,其中重新连接了两个受影响的游览 rarb

Let φ be the neighboring solution that is obtained by applying the insert operator to φ and NI(φ) be the induced neighborhood that comprises all the neighboring solutions of φ. NI(φ) is bounded by O(n2) in size in the general case because there are n2 pairs of cities.
φ 为通过对 应用插入运算符得到的邻域解, φNI(φ) 包含 的所有 φ 邻域解的诱导邻域。 NI(φ) 在一般情况下受 O(n2) 大小限制,因为存在 n2 成对的城市。

  1. Download: Download high-res image (72KB)
    下载: 下载高分辨率图像 (72KB)
  2. Download: Download full-size image
    下载:下载全尺寸图像

Fig. 1. Illustrative example of the insert operator. Removed links are marked with a cross and new links are marked in red.
图 1.insert 运算符的说明性示例。已删除的链接用叉号标记,新链接用红色标记。

For the minsum mTSP, this neighborhood is directly exploited by our algorithm. However, for the minmax mTSP, given that the goal is to minimize the longest tour, we limit the candidate cities to be moved by the insert operator to those of the longest tour in φ. This naturally reduces the general neighborhood NI(φ) to a much smaller neighborhood. In the HSNR algorithm, this reduced NI(φ) neighborhood is used in the case of the minmax mTSP.
对于最小和 mTSP,我们的算法直接利用这个邻域。但是,对于 minmax mTSP,假设目标是最小化最长的行程,我们将 insert 运算符要移动的候选城市限制为 中 φ 最长行程的候选城市。这自然会将一般邻域 NI(φ) 简化为一个小得多的邻域。在 HSNR 算法中,这种缩减 NI(φ) 的邻域用于最小 mTSP 的情况。

Given the solution φ and a neighboring solution φ generated by displacing city a from tour ra to tour rb, and the move gain Δ=F(φ)F(φ) (F is the minsum or minmax objective function) is calculated as follows. For the minsum mTSP, the move gain Δ is computed by Eq. (3) in O(1) time. (3)Δ=cπaδa+cπba+cabcπaacaδacπbbwhere πa and δa are the city preceding and succeeding a in tour ra, respectively, while πb and δb are the city preceding and succeeding b in tour rb, respectively.
给定通过将城市 a 从一个 tour ra 移动到 tour rb 生成的解 φ 和相邻解 φ ,以及移动增益 Δ=F(φ)F(φ)F 是 minsum 或 minmax 目标函数)的计算方式如下。对于最小和 mTSP,移动增益 Δ 由方程 (3) 在时间上 O(1) 计算。 (3)Δ=cπaδa+cπba+cabcπaacaδacπbb 其中 πaδa 分别是 tour ra 之前和之后 a 的城市,而 πbδb 分别是 b tour rb 之前和之后的城市。

For the minmax mTSP, Δ is also obtained in constant time by Eq. (4). (4)Δ=max{F(ra),F(rb)}F(ra),ifrb=rsΔ=max{F(ra),F(rb),F(rs)}F(ra),ifrbrsF(ra)=F(ra)+cπaδacπaacaδaF(rb)=F(rb)+cπba+cabcπbbwhere ra and rs are the longest tour and the second longest tour, respectively
对于最小最大值 mTSP, Δ 也可以通过方程 (4) 在恒定时间内获得。 (4)Δ=max{F(ra),F(rb)}F(ra),ifrb=rsΔ=max{F(ra),F(rb),F(rs)}F(ra),ifrbrsF(ra)=F(ra)+cπaδacπaacaδaF(rb)=F(rb)+cπba+cabcπbb 其中 rars 分别是最长的行程和第二长的行程

3.3.2. Cross-exchange 3.3.2. 交叉交换

Given a solution φ={r1,,rm}, the cross-exchange operator modifies two tours (say ra and rb) to generate a neighboring solution by removing four arcs in ra and rb, and then adding four other arcs (see Fig. 2). Equivalently, a cross-exchange operation can be viewed as exchanging a substring rˆa=(a,,σa) from ra and a substring rˆb=(b,,σb) from another tour rb. Besides, one of the two substrings is reversible when they are exchanged, as shown in Fig. 2 (right) where the substring rˆa=(a,,σa) is reversed. Clearly, without any additional condition, this operator can lead to an extremely large neighborhood (denoted by NCE) due to the size of the two exchanged substrings, making its exploration highly time-consuming.
给定一个解 φ={r1,,rm} ,交叉交换运算符修改两个行程(比如 rarb ),通过删除 rarb 中的四个弧,然后添加其他四个弧来生成相邻的解(见图 2)。等效地,可以将交叉交换操作视为交换 another tour 的子字符串 rˆa=(a,,σa) 和来自 another tour rb 的子字符串 rˆb=(b,,σb)ra 此外,两个子串中的一个在交换时是可逆的,如图 2(右)所示 ,其中子串 rˆa=(a,,σa) 是相反的。显然,在没有任何附加条件的情况下,由于两个交换的子串的大小,该运算符可以导致一个非常大的邻域(用 NCE 表示),这使得它的探索非常耗时。

To reduce the cross-exchange neighborhood to a reasonable size, we follow the idea of Taillard et al. (1997) developed for the vehicle routing problem (VRP) and limit the number of cities (the substring size) of the two candidate substrings rˆa and rˆb to τ cities at most (i.e., |rˆa|τ and |rˆb|τ) where τ is a parameter. With this constraint, the cardinality of NCE(φ) is bounded by O(n2×τ2) in the general case.
为了将交叉交换邻域减少到合理的大小,我们遵循 Taillard 等人 (1997) 为车辆路径问题 (VRP) 开发的想法,并将两个候选子字符串 rˆa rˆb τ 的城市数量(子字符串大小)限制为最多城市(即 |rˆa|τ|rˆb|τ ),其中 τ 是一个参数。使用此约束时,在一般情况下 的 NCE(φ) 基数受 限制 O(n2×τ2)

Specifically, as shown in Fig. 2 (left), given a city a, a new neighbor in another tour needs to be found. Let πb be such a neighbor. Suppose that (πb,a) is added as a new edge and the edge (πa,a) needs to be removed, since vertex a can only have two adjacent vertices. For each determined pair of vertices a and πb, the corresponding substrings rˆa and rˆb can consist of at most τ consecutive cities (i.e., 1|rˆa|τ and 1|rˆb|τ). For a given pair of vertices, there are τ2 neighborhood solutions which need to be evaluated. For the specific case where the substring rˆa only consists of a city (|rˆa|=1), the size of rˆb can vary from 1 to τ (1|rˆb|τ), and thus τ neighborhood solutions need to be evaluated. Similarly, the size of substring rˆa can also vary from 1 to τ. Therefore, once a pair of vertices is given, the two corresponding substrings have τ2 combinations, leading to τ2 neighborhood solutions needed to be evaluated. Furthermore, given that there are n2 pairs of vertices, NCE(φ) is thus bounded by O(n2×τ2) in size. To explore the neighborhood NCE(φ), the cross-exchange operator needs to identify, among all pairs of cities, the best pair of cities, and then exchanges their corresponding substrings.
具体来说,如图 2 所示( 左),给定一个城市 a ,需要找到另一个旅行中的新邻居。让我们 πb 成为这样的邻居。假设 它 (πb,a) 被添加为一条新边,并且需要删除该边 (πa,a) ,因为顶点 a 只能有两个相邻的顶点。对于每对确定的顶点 aπb ,相应的子字符串 rˆarˆb 最多可以由 τ 连续的城市(即 1|rˆa|τ1|rˆb|τ )组成。对于给定的一对折点,存在需要评估的 τ2 邻域解。对于子字符串 rˆa 仅包含城市 ( |rˆa| =1) 的特定情况,其 rˆb 大小可以从 1 到 τ1|rˆb|τ ),因此 τ 需要评估邻域解。同样,子字符串 rˆa 的大小也可以从 1 到 τ 不等。因此,一旦给定了一对折点,两个相应的子字符串就会有 τ2 组合,从而导致需要评估 τ2 邻域解。此外,假设有 n2 成对的顶点, NCE(φ) 因此 O(n2×τ2) 以大小为界。要探索 neighborhood NCE(φ) ,交叉交换运算符需要在所有城市对中确定最佳城市对,然后交换它们相应的子字符串。

  1. Download: Download high-res image (146KB)
    下载: 下载高分辨率图片 (146KB)
  2. Download: Download full-size image
    下载:下载全尺寸图像

Fig. 2. Illustrative example of the cross-exchange operator. The removed arcs are marked with a cross and the added arcs are marked in red.
图 2.交叉交易所运营商的说明性示例。删除的圆弧用叉号标记,添加的圆弧用红色标记。

For the minsum mTSP, the move gain Δ is computed by Eq. (5). (5)Δ=cπab+cπba+cσaδb+cσbδacπaacπbbcσaδacσbδb
对于最小和 mTSP,移动增益 Δ 由方程 (5) 计算。 (5)Δ=cπab+cπba+cσaδb+cσbδacπaacπbbcσaδacσbδb

For the minmax mTSP whose objective is to minimize the longest tour, one of the two substrings is always selected from the longest tour. Let ra be the longest tour. We first determine the start of substring rˆa as city a. Then, we determine the start of the substring rˆb in another tour rb. Finally, the length of each substring based on the minimal move gain Δ is determined by Eq. (6), where rs and rt are the second and third longest tours, respectively. (6)Δ=max{F(ra),F(rb),F(rs)}F(ra),ifrbrsΔ=max{F(ra),F(rb),F(rt)}F(ra),ifrb=rsF(ra)=F(ra)+cπab+F(rbˆ)+cσbδacπaaF(raˆ)cσaδaF(rb)=F(rb)+cπba+F(raˆ)+cσaδbcπbbF(rbˆ)cσbδb
对于目标是最小化最长行程的 minmax mTSP,始终从最长行程中选择两个子字符串之一。设 ra 最长的旅行。我们首先将子字符串 rˆa 的开头确定为 city a 。然后,我们在另一个 tour rb 中确定子字符串 rˆb 的开头。最后,基于最小移动增益 Δ 的每个子串的长度由方程 (6) 确定,其中 rsrt 分别是第二和第三长的行程。 (6)