Next Article in Journal
Exact Solutions to Multiple-Delayed Linear Discrete Matrix Equations
Previous Article in Journal
Initial-Offset-Control and Amplitude Regulation in Memristive Neural Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Circle Group Heuristic to Improve the Efficiency of the Discrete Bacterial Memetic Evolutionary Algorithm Applied for TSP, TRP, and TSPTW

by
Ali Jawad Ibada
1,2,
Boldizsár Tüű-Szabó
3,* and
László T. Kóczy
1
1
Department of Telecommunications and Artificial Intelligence, Budapest University of Technology and Economics, 1111 Budapest, Hungary
2
Najaf Education Directorate, Ministry of Education, Najaf 54001, Iraq
3
Department of Information Technology, Szechenyi Istvan University, 9026 Gyor, Hungary
*
Author to whom correspondence should be addressed.
Symmetry 2025, 17(10), 1683; https://doi.org/10.3390/sym17101683
Submission received: 30 July 2025 / Revised: 15 September 2025 / Accepted: 19 September 2025 / Published: 8 October 2025

Abstract

The quality of the initial population is a critical factor in the convergence speed and overall performance of an optimization algorithm. A well-structured initial population can significantly enhance the exploration capabilities of the algorithm, allowing it to more efficiently traverse the solution space and converge more quickly and reliably towards optimal or near-optimal solutions. In this paper, we present the Circle Group Heuristic (CGH), a spatially structured initialization method, for generating high-quality initial populations to enhance the convergence speed of the Discrete Bacterial Memetic Evolutionary Algorithm (DBMEA) in solving the Traveling Salesman Problem (TSP) and related combinatorial optimization problems. This work extends the CGH beyond the TSP to a broader class of routing problems. The results show that the integration of CGH into DBMEA demonstrated consistent performance improvements on the TSP, the Traveling Repairman Problem (TRP), and the Traveling Salesman Problem with Time Window (TSPTW) instances of varying sizes. In particular, CGH provided high-quality starting points that accelerated convergence and reduced computational cost. In all tested scenarios, DBMEA enhanced with CGH and consistently preserved the best-known solution quality while reducing execution time.

1. Introduction

The performance of evolutionary and memetic algorithms is determined by many factors, with the selection of the proper initial population as a crucial factor, playing a pivotal role in the performance of population-based optimization algorithms, influencing convergence speed, solution diversity, and the likelihood of escaping local optima [1,2]. Kazimipour et al. [3] presented a comprehensive review of initialization strategies in Evolutionary Algorithms (EAs), classifying them into random, quasi-random, and compositional methods. Their findings indicate that sophisticated initialization techniques, such as low-discrepancy sequences, can significantly enhance performance, particularly in high-dimensional or multimodal problems. Ashraf et al. [4] empirically demonstrated that quasi-random sequences (e.g., Sobol, Torus) improve the exploration capabilities of algorithms like Particle Swarm Optimization (PSO) and Differential Evolution (DE), compared to uniform random seeding. In a broader comparative study, Li, Liu, and Yang [5] evaluated 22 initialization methods across five metaheuristics, Genetic Algorithm (GA), DE, PSO, Cuckoo Search (CS), and Artificial Bee Colony (ABC), and revealed that PSO and CS were particularly sensitive to the choice of initialization, with non-uniform distributions (e.g., Beta, Rayleigh) outperforming uniform strategies. Opposition-based learning, as introduced by Mahdavi et al. [6], was shown to further enhance convergence by generating both a candidate and its opposite, selecting the superior for population seeding. In multi-objective optimization, Friedrich and Wagner [7], and Lu et al. [8] found that incorporating known or approximated Pareto-optimal solutions into the initial population substantially improved convergence behavior. Collectively, these studies underscore that the effectiveness of an optimization algorithm is neither direct nor solely dependent on its operators, but is also critically influenced by the characteristics and distribution of its initial population. In our previous works [9,10], we introduced the Circle Group Heuristic (CGH) as a novel method to generate structured initial populations for solving the Traveling Salesman Problem (TSP) using the Discrete Bacterial Memetic Evolutionary Algorithm (DBMEA) framework. Those studies focused exclusively on the TSP and primarily evaluated the effectiveness of CGH in improving initial solution quality. In the current paper, we extend this approach by integrating CGH into the DBMEA framework and applying it to additional classical NP-hard problems—namely, the Traveling Repairman Problem (TRP) and the Traveling Salesman Problem with Time Window (TSPTW). The main contribution lies not in the proposal of a new heuristic, but in the adaptation and generalization of CGH to a broader class of combinatorial problems. Although CGH was originally introduced for the TSP, this study significantly expands its applicability by (1) generalizing it to TRP and TSPTW, (2) optimizing its radius parameter by dynamically using a Genetic Algorithm, and (3) embedding it as a reusable, modular component within the DBMEA framework. Furthermore, we perform extensive experiments across multiple benchmark sets to evaluate the scalability and robustness of the CGH-augmented DBMEA, analyzing its impact on solution quality and computational efficiency. This integration marks a shift from using CGH merely as a population initializer to treating it as a reusable component embedded into a broader metaheuristic framework. This study aims to assess the extent to which the Circle Group Heuristic can improve convergence speed and solution quality when applied within the DBMEA framework to three NP-hard routing problems.
In Section 2, we describe three NP-hard graph optimization problems within the TSP family. We present the process of the DMBEA algorithm in Section 3. Section 4 emphasizes the importance of initial population strategies in metaheuristic algorithms and introduces the Circle Group Heuristic. In Section 5, we discuss our experimental results and compare them with the previous version of DBMEA. Finally, in Section 6, we draw concluding remarks based on the study’s findings.

2. Various NP-Hard Graph Optimization Problems in the TSP Family

In this section, we present three different problems related to the TSP that are addressed using the proposed algorithm.

2.1. The Traveling Salesman Problem

The TSP is one of the most extensively studied combinatorial optimization problems in operations research and computer science due to its theoretical significance and wide range of practical applications [11,12,13]. The objective of the TSP is to determine the shortest possible route that visits each city in a given graph exactly once and returns to the starting location [14]. Despite its simple formulation, TSP is classified as NP-hard, meaning that no known polynomial-time algorithm can solve all instances of the problem efficiently [15]. TSP has multiple applications in numerous real-world contexts such as vehicle routing, logistics, manufacturing, circuit design, and scheduling, where minimizing travel distance or cost is crucial [16]. Exact algorithms, including branch and bound [17], cutting planes [18], and dynamic programming [19], have been developed to solve small to medium-sized instances of TSP. However, due to the exponential growth of the solution space with problem size, exact methods become computationally infeasible for large instances [20]. As a result, heuristic and metaheuristic approaches such as Genetic Algorithms [21], Ant Colony Optimization (ACO) [22], and Bacterial Foraging Optimization (BFO) [23] have gained significant attention for approximating near-optimal solutions within reasonable time limits [24]. Recent scholarly efforts have focused not only on designing more efficient metaheuristics but also on improving critical components of these algorithms, such as initial population generation, local search mechanisms, and hybridization techniques. A well-constructed initial population can guide the algorithm toward promising regions of the search space and accelerate convergence [9]. In graph theory, the problem is defined on a weighted complete graph, where each vertex represents a city and each edge is assigned a weight corresponding to the cost, distance, or time required to travel between two cities, where the objective is to determine the shortest possible Hamiltonian cycle [25].
G T S P = ( V c i t i e s , E c o n n )
V c i t i e s = { v 1 , v 2 , , v n }
E c o n n { ( v i , v j ) | i j }
C : V c i t i e s × V c i t i e s R , C = ( c i j ) n × n
C is the cost matrix, where c i j represents the cost of traveling from city i to city j. The objective is to determine the optimal permutation of vertices ( p 1 , p 2 , p 3 , , p n ) that minimizes the total travel cost ( C s u m ) [26].
C s u m = ( i = 1 n 1 C p i , p i + 1 ) + C p n , p 1
Depending on the characteristics of the cost matrix, the TSP can be classified into two primary categories: symmetric and asymmetric. In the symmetric TSP (STSP), the distance or cost between any two nodes is identical in both directions, i.e., c i j = c j i , which implies the underlying graph is undirected. Conversely, in the asymmetric TSP (ATSP), the distance or cost from node i to node j may differ from the distance from node j to node i, i.e., c i j c j i or one of the directions may not exist, reflecting a directed graph structure. This structural difference significantly influences the selection of solution techniques and the associated computational complexity [27].

2.2. Traveling Repairman Problem

Variants of the TSP have been developed to capture more complex and realistic scenarios, such as TRP. Also known as the Minimum Latency Problem or the Deliveryman Problem, TRP is a variant of the classical TSP that focuses on minimizing customer waiting times rather than the total travel distance [28]. In the TRP, a service agent (e.g., a repairman) is required to visit a set of locations starting from a central depot, with the objective of minimizing the total latency, defined as the sum of the arrival times at each location [29].
G T R P = ( V c i t i e s , E c o n n )
V c i t i e s = v 0 { v 1 , v 2 , , v n }
E c o n n { ( v i , v j ) | i j }
C : V c i t i e s × V c i t i e s R , C = ( c i j ) ( n + 1 ) × ( n + 1 )
Formally, the objective is to identify a permutation ( p 1 , p 2 , p 3 , , p n ) of the customer vertices, such that the total latency is minimized:
C s u m = i = 1 n C p i
where the arrival time at the customer p i is defined as the cumulative travel time from the depot to p i along the given route:
C p i = j = 1 i C p j 1 , p j
The TRP has a wide range of real-world applications in domains such as logistics, telecommunications, service scheduling, and healthcare, particularly in contexts where minimizing response time is of greater importance than minimizing distance. For example, in emergency services or on-site maintenance scenarios, a reduction in the average or total waiting time can lead to substantial improvements in service quality and customer satisfaction [30]. Similarly to the TSP, the TRP is also classified as NP-hard, and obtaining optimal solutions for large-scale instances remains computationally intractable [31]. Consequently, traditional optimization methods are generally restricted to small problem sizes, which has motivated the development of heuristic and metaheuristic approaches, including Genetic Algorithms [32].

2.3. Traveling Salesman Problem with Time Windows

In TSPTW, a salesman must visit each customer exactly once within a predefined time window, starting and ending the tour at a central depot. Each customer is associated with a time window, defined by a ready time a i and a due time d i . The salesman may not begin service at a customer before its ready time; if he arrives earlier, he must wait until service can begin. Conversely, arriving after the due time renders the tour infeasible, as it violates the time window constraints [33]. The objective of TSPTW is to find a feasible Hamiltonian tour of minimum cost (typically measured in total travel distance or time) that satisfies all time window and service time constraints. Formally, the problem can be modeled as a graph search problem on a complete directed graph [34]:
G T S P T W = ( V c u s t o m e r , E c o n n )
V c u s t o m e r = v 0 { v 1 , v 2 , , v n }
E c o n n { ( v i , v j ) | i j }
C : V c u s t o m e r × V c u s t o m e r R , C = ( c i j ) ( n + 1 ) × ( n + 1 )
where
  • Ready time = { a 1 , a 2 , , a n } ;
  • Due time = { b 1 , b 2 , , b n } ;
  • V c u s t o m e r is the set of customers;
  • v 0 is the depot.
c i j represents the total cost of traveling from customer i to customer j, including the service time at customer i. The goal is to find a feasible sequence permutation of the vertices ( p 1 , p 2 , p 3 , , p n ) that adheres to the specified time windows at each location and results in the minimum possible tour length.
C = C v 0 , p 1 + ( i = 1 n 1 C p i , p i + 1 ) + C p n , v 0
where
  • It is subject to D P k b P k for all customers;
  • D P k = max ( A P k , a P k ) ;
  • A P k = D P k 1 + C P k 1 , P k ;
  • D P k is departure time at customer Pk;
  • A P k is arrival time at customer Pk.
TSPTW, which incorporates time constraints for visiting specific locations, has numerous practical applications in domains such as logistics, transportation planning, postal delivery, and banking services, where time-constrained routing is essential for operational efficiency [35]. The Traveling Salesman Problem with Time Windows is NP-hard, and even verifying the feasibility of a solution is computationally intractable [36]. As a result, exact algorithms are generally limited to small instances. Langevin et al. [37] proposed a two-commodity flow model solving up to 60-node instances, while Dumas et al. [38] extended dynamic programming with elimination tests to handle up to 200 nodes with tight time windows. Focacci et al. [35] integrated constraint programming with optimization techniques to improve efficiency. Due to these limitations, heuristics have been widely used for larger problems, for example, Tabu search by Carlton and Barnes [39], an insertion heuristic by Gendreau et al. [40], and simulated annealing with penalties by Ohlmann and Thomas [41]. Additionally, Variable Neighborhood Search (VNS) by Da Silva and Urrutia [42] achieved competitive results, improving known solutions and reducing computation times.

3. The Discrete Bacterial Memetic Evolutionary Algorithm

The Bacterial Evolutionary Algorithm (BEA) was introduced by Nawa and Furuhashi [43]. It was initially applied to fuzzy system parameter discovery. It has since been adapted for various optimization tasks, including nurse scheduling [44], data clustering [45], three-dimensional bin packing [46], and fuzzy resource allocation [47]. The Discrete Bacterial Memetic Evolutionary Algorithm builds upon the BEA by integrating 2-opt and 3-opt local search techniques, forming a memetic algorithm [27]. Memetic algorithms combine global evolutionary search with local refinement to enhance solution quality and convergence speed, making them well suited for NP-hard problems such as the TSP [26]. This hybrid structure classifies DBMEA as a memetic algorithm, leveraging both global and local search mechanisms for enhanced performance. DBMEA operates through four main stages: initial population creation, bacterial mutation (including coherent segment mutation and loose segment mutation), local search (using 2-opt and 3-opt techniques), and gene transfer, which are cyclically repeated [26].

3.1. Initial Population

Each individual in the DBMEA population represents a potential solution encoded as a permutation. For TSP, A permutation of city indices is used, excluding the starting city (index 0), as it is implicit. The initial population includes both randomly generated individuals and deterministic solutions created using three heuristic approaches [26].

3.1.1. Nearest Neighbor Heuristic

The Nearest Neighbor (NN) heuristic constructs a tour by always selecting, at each step, the nearest unvisited city as the next destination. This method is straightforward to implement and computationally efficient, making it a popular choice for generating initial solutions.

3.1.2. Secondary Nearest Neighbor Heuristic

In the Secondary Nearest Neighbor (SNN) heuristic, the tour is constructed by selecting the second nearest unvisited city at each step. This approach aims to introduce diversity compared to the NN heuristic but may result in longer tours.

3.1.3. Alternating Nearest Neighbor Heuristic

The Alternating Nearest Neighbor (ANN) heuristic combines the NN and SNN methods. It alternates between visiting the nearest and the second nearest unvisited cities during the construction of the tour. This hybrid strategy seeks to balance the strengths of both NN and SNN. Among these three approaches, the NN heuristic generally achieved the best convergence speed and produced higher-quality initial solutions in most cases. For TRP and TSPTW, individuals are random permutations of customer indices (excluding the depot, index 0), which is consistently the starting point of the tour.

3.2. Bacterial Mutation

Bacterial mutation operates individually on each bacterium within the population. For every bacterium, the following procedure is applied: Initially, a number of clones ( N c l o n e s ) are generated from the original bacterium. The chromosome of each bacterium is divided into fixed-length segments of size ( I s e g ); these segments may be loose segments or coherent segments. In our implementation, both loose segment mutation and coherent segment mutation are applied for solving the TSP, TRP, and TSPTW. Next, a segment is randomly selected from the original bacterium. This segment is randomly modified within each of the clones, while the corresponding segment in the original bacterium remains unchanged. In addition, one of the clones is deterministic and contains the reverse order of the selected segment to encourage structured diversity [26]. The bacterial mutation process is illustrated in Figure 1.
The fitness values of all clones, including the original bacterium, are evaluated: For TSP and TRP, the clone with the minimum tour cost propagates its modified segment back to the original bacterium and to all clones. For TSPTW, if one or more clones yield a feasible solution (i.e., one that satisfies all time window constraints), the clone with the shortest feasible tour length propagates its segment. If no feasible clone exists, the clone with the smallest total delay (the sum of positive differences between arrival times and due times across all customers) propagates its segment to the others. This mutation and replacement process continues sequentially until all segments (genes) of the original bacterium have been subjected to mutation. At the end of this stage, the original bacterium is replaced by the fittest clone, and all other clones are discarded. This ensures that the resulting bacterium is at least as fit as, or fitter than, the original prior to mutation [26].

3.3. Local Search

Local search begins with a candidate solution and iteratively explores its neighborhood in search of an improved solution. At each step, the algorithm moves to a neighboring solution if it offers a better objective value, continuing this process until no further improvements can be found within the local neighborhood. Local search significantly refines individual solutions and accelerates convergence. There are two stages of local searches in DBMEA [26], and they are elucidated below.

3.3.1. A 2-OPT Local Search

A 2-OPT search iteratively replaces two edges in the tour with two others to reduce tour length. Figure 2 shows the 2-OPT local search.

3.3.2. A 3-OPT Local Search

A3-OPT search generalizes this by replacing three edges, allowing more complex improvements. Figure 3 illustrates the potential replacements in the 3-OPT local search.
The local search process begins with 2-OPT and proceeds to 3-OPT only if 2-OPT can no longer improve the solution. To enhance efficiency of the local search, three strategies are added [26]:
  • Candidate list: For each vertex, a candidate list is generated containing the indices of its closest neighboring vertices, ordered in ascending distance. During local search, only a predefined number of the nearest vertices (from the candidate list) are considered for edge exchanges. This approach exploits the fact that shorter edges are more likely to be part of high-quality solutions.
  • Don’t look back bits: Each vertex is associated with a don’t look back bit. If no improvement is found for a particular vertex during a local search iteration, that vertex is temporarily excluded from consideration (its don’t look back bit is set to 1). The vertex remains inactive until one of its incident edges is modified, at which point its don’t look back bit is reset, and it becomes eligible for further consideration.
  • Fixed radius search: For a given vertex u i , the new neighbor u k vertex is searched within a fixed radius. The radius is defined as c ( u i , u j ) , which is the distance between the u i vertex and u j , one of the two neighboring vertices in the current tour. This strategy restricts the search to spatially proximate vertices, thereby reducing computational overhead. The concept can be extended to 3-OPT local search by performing two fixed-radius searches for each examined vertex pair.
For TSPTW, the local search prioritizes making tours feasible by minimizing delays when necessary and focuses on reducing tour length while preserving feasibility once achieved.

3.4. Gene Transfer

The gene transfer operation facilitates the exchange of information among bacteria within the population, with the aim of improving solution quality through segment sharing. This operation encourages diversity and intensification by allowing superior individuals to influence inferior ones. The process begins by sorting the population in descending order of fitness. The sorted population is then divided into two groups: a superior half and an inferior half. The operator performs N i n f gene transfer attempts. One source bacterium is randomly selected from the superior group, and one destination bacterium is randomly selected from the inferior group. Then, a randomly chosen segment of predefined length I t r a n s f e r is copied from the source bacterium to the destination bacterium. For TSP and TRP, the population is sorted in ascending order of tour cost. While for TSPTW, a two-level sorting is applied: first, individuals are sorted in ascending order of their total delay (the sum of positive differences between arrival times and due times across all customers). Among individuals with equal total delay, secondary sorting is performed based on tour length. During gene transfer, the selected segment is inserted into the destination bacterium’s tour at a randomly chosen position. Duplicate nodes are eliminated to preserve tour feasibility and length [26]. Figure 4 illustrates the segment transfer in the gene transfer stage.

4. Initial Population Strategies in Metaheuristic Algorithms

This section presents the motivation for enhancing the initial population, emphasizing its importance in improving the convergence behavior and overall performance of DBMEA. Building on this motivation, we introduce the concept of the Circle Group Heuristic, which was developed to address the limitations of random initial population generation.

4.1. The Importance of the Initial Population

The selection of the initial population constitutes one of the most critical and influential parameters in metaheuristic optimization algorithms. Optimizing the initial population can serve as a coarse yet effective strategy for improving the performance across a wide range of optimization problems. As discussed in the previous chapter, our earlier work introduced the use of NN, 2NN, and ANN methods within the DBMEA framework, which were evaluated on a diverse set of NP-hard problems. These strategies demonstrated consistent efficiency, often yielding results comparable to the best-known solutions, and in certain cases, surpassing them. Due to their generalizability, these approaches can be effectively applied across a variety of problem domains. Nonetheless, there remains considerable potential to further enhance both the quality and effectiveness of initial population construction.

4.2. Circle Group Heuristic Algorithm

In the past, our group was involved in some company-initiated projects that dealt with the quasi-optimization of daily dispatcher decisions concerning the optimal routing of multiple trucks delivering goods to various destinations in Europe—obviously a difficult, and mathematically intractable (NP-hard) problem. Route conditions, regulations, fuel prices, rest area conditions, and other relevant factors vary significantly across European countries and depend on geographic and temporal context. Due to the extreme complexity and heterogeneity of the optimization task in that project, we had proposed a strategy where the overall optimization problem was divided into subtasks, thereby applying the classical and effective algorithmic principle of “Divide and conquer”. Thus, the full optimization task was segmented into smaller components according to countries and geographic regions and conditions, so that each local optimization subtask could be improved independently, and thus influencing the overall cost. When the results of the subtasks were combined, these local solutions of the entire cumulative task showed improvement in the total route length and cost. This approach resulted in financial benefits for the commissioning logistics company. This practical insight supports the notion that local spatial correlations of the conditions can be exploited to improve the efficiency of optimization procedures. Even the computational complexity of such algorithms subdivided into smaller tasks may bring considerable improvement in the total runtime—where it must always be observed that these approaches are heuristic, or so-called metaheuristic solutions, and mathematically, there is never any guarantee that the solution will be close to the real optimum. Motivated by this promising observation, we began formalizing a strategy where spatial locality is preserved during initialization by constraining the search to dynamic neighborhood regions. This strategy was not directly applied to the optimization of the original problem, but to the first and rather crucial step of a more sophisticated and more advanced metaheuristic approach. Specifically, the rather efficient Discrete Bacterial Memetic Evolutionary Algorithm, namely for the first quasi-optimization of the initial population, may be considered as one of the most crucial and rather complex parameters of the DBMEA. A similar idea was explored in our earlier studies [48,49], where optimization was performed within several single countries, allowing multiple alternative routes. There we introduced a novel approach that quasi-optimizes the initial population and ensures consistent improvements for the rather classical and well-researched TSP. In this study, we will further investigate several somewhat related, but mathematically more complex, and obviously also NP-hard problems, namely TRP, and TSPTW. This novel method will be referred to as the Circle Group Heuristic. It applies the simple concept of a Neighborhood Circle (NC) that herein plays the role of a single sub-area within the whole graph under search. As the goal is to structure and guide the generation of high-quality initial solutions, the proper selection of these NCs is the most important element of the heuristic approach. Once the strategy of the subdivision has been determined, the NC is defined by a pre-specified radius (R), which limits and simultaneously accelerates the search for promising initial population candidates. The specification of the value of the R of the NCs is obviously the decisive factor in the efficiency of the whole method. Properly selected neighborhoods will result in the CGH improving the locality selection, and thereby accelerating the local convergence within the subproblems with internal spatial correlations by favoring geographically proximal connections forming clusters or quasi-clusters during early-stage solution construction. The process begins with the starting node (typically City 0) serving as the center of the initial circle. Assuming that the R has somehow been determined, an invisible circle of radius R is drawn. Then, for TSP and TRP, the nearest (less costly) unvisited city within this circle is selected as the next node in the tour, while for the TSPTW, the selection of local subtours within each circle follows a structured two-level sorting procedure. Initially, the candidate cities within the circle are sorted in ascending order based on their time window parameters (the sum of the positive differences between the arrival times and the corresponding due times of all customers). This prioritization favors cities with narrower windows, particularly in cases where the TSP would otherwise arrive after the due time. Such cities are given precedence over others to preserve feasibility. In instances where multiple cities exhibit the same total delay, a secondary sorting criterion based on Euclidean distance is applied. This two-level sorting mechanism ensures that the TSP tour minimizes unnecessary waiting before customer ready times, thereby enhancing temporal feasibility. At the same time, it promotes spatial efficiency by prioritizing nodes that are both geographically proximate and temporally aligned with the current tour progression. Once all cities within the current circle have been visited, the algorithm selects the nearest unvisited city outside the circle as the new center and generates a new circle around it. Figure 5 illustrates the procedure for generating initial tours using CGH for TSP and TRP. The procedure adapted for TSPTW is presented in Figure 6. Moreover, Figure 7 includes an example of a tour generated using CGH for both the TSP and TRP, while Figure 8 depicts a single CGH circle constructed specifically for the TSPTW.
The most effective radius for CGH (which produces superior tours) varies depending on the topology and structure of the graph. Our analysis of benchmark datasets representing different countries, each with its own unique distribution of cities and road networks, revealed that the optimal R is influenced by factors such as the total area of the country, the number of cities, and their spatial distribution. Initially, we employed an exhaustive search strategy to identify the optimal radius for the CGH, testing a discrete range of integer values from 1 to 100 using a brute-force approach. Subsequently, we explored the use of GA to determine the optimal radius, enabling a continuous search over a broader range of rational values within the same interval [1, 100].

5. Results of the DBMEA with CGH Applied for Three NP- Hard Metaheuristics

5.1. Results of Traveling Salesman Problem

The Circle Group Heuristic was evaluated on symmetric national Traveling Salesman Problem benchmark instances [50], with problem sizes reaching up to 10,639 nodes. In these experiments, the initial populations generated by CGH were compared to those produced by previously studied heuristics: NN, SNN, and ANN. Table 1 presents a comparison of the initial tour costs, highlighting the performance of the initial populations generated by the earlier heuristics and CGH. Figure 9 provides a visual representation of this comparison in the form of a chart.
By comparing the initial tours generated by CGH using different radius values (determined via both the exhaustive search approach and the Genetic Algorithm), the results demonstrated that the GA consistently produced more effective radius values in most cases for constructing initial tours. These values led to higher-quality tours produced by CGH. Based on these findings, the GA-based optimization approach was adopted exclusively for determining the R parameter in all subsequent experiments. The results further indicate that the GA reliably discovers superior radius values within a reasonable computational time, thereby establishing it as the preferred method for tuning this parameter. The Genetic Algorithm was employed using MATLAB R2023b’s Global Optimization Toolbox to optimize the radius parameter R ∈ [1, 100]. The chromosome was encoded as a real-valued vector containing a single gene corresponding to the R. The fitness function evaluates the quality of the solution produced by the core algorithm for a given radius. The GA was configured with a population size of 50, a crossover rate of 0.8 (using intermediate crossover), Gaussian mutation, and a maximum of 100 generations. The optimization aimed to minimize the objective function. No linear or nonlinear constraints were imposed, and the search was conducted within the specified bounds. At the initial population level, the Circle Group Heuristic consistently produced shorter tours compared to the previously investigated heuristics. On average, CGH generated tours that were approximately 4% shorter than those produced by the Nearest Neighbor (NN) heuristic, 44% shorter than the Secondary Nearest Neighbor (SNN) heuristic, and 30% shorter than the Alternating Nearest Neighbor (ANN) heuristic. In specific instances, CGH achieved even greater relative improvements: the best CGH tour was 17% shorter than NN in the Burmese instance (80 cities), 54% shorter than SNN in the Rwandan instance (1621 cities), and 37% shorter than ANN in the Chinese instance (70 cities). Comparisons were also made between the CGH and the known absolute optimum tour for benchmark instances. The CGH generated initial population-produced tours that were approximately 20% longer than the known optimal solutions, demonstrating that CGH provides high-quality starting points suitable for memetic Evolutionary Algorithms. Table 2 presents the computational runtimes of the various tour construction heuristics (CGH, NN, SNN, and ANN) on the Burma (80) and Rwanda (1621) instances, showing that CGH not only produces better-quality tours but does so in less time.
We tried other heuristics inside the circle of CGH, such as SNN and ANN, resulting in inferior performance compared to NN, producing less effective initial populations and ultimately leading to poorer overall solution quality. VLSI TSP instances were tested using DBMEA with CGH, and the results were compared against those obtained with the standard DBMEA. Table 3 presents the detailed results of this comparison, while Figure 10 illustrates the corresponding runtimes. Various parameter configurations for DBMEA with CGH were evaluated, and the following setup demonstrated the fastest convergence:
  • The number of bacteria in the population is ( N i n d = 100 ) ;
  • The number of clones in the bacterial mutations ( N c l o n e s = n c i t i e s / 15 ) ;
  • The number of infections in the gene transfer is ( N i n f = 40 ) ;
  • The length of the chromosomes is ( I s e g = n c i t i e s / 20 ) ;
  • The length of the transferred segment is ( I t r a n s = n c i t i e s / 5 ) ;
  • The length of the candidate lists (square root of the number of cities).
The results of applying the DBMEA with CGH to various TSP benchmark instances demonstrate clear improvements in both computational efficiency and solution quality when compared to the standard DBMEA.

5.2. Results of Traveling Repairman Problem

The enhanced DBMEA with CGH was subjected to testing on a set of benchmarks problems to assess its efficiency and solution quality. Each instance was executed 20 times, and the average results were recorded for analysis. The performance of the new DBMEA variant was compared with that of the standard DBMEA version, which is already recognized for outperforming most the state-of-the-art heuristics [29]. Among the various DBMEA parameter settings tested, the following setup resulted in the most rapid convergence:
  • The number of bacteria in the population is ( N i n d = 100 ) ;
  • The number of clones in the bacterial mutations ( N c l o n e s = n c i t i e s / 15 ) ;
  • The number of infections in the gene transfer is ( N i n f = 40 ) ;
  • The length of the chromosomes is ( I s e g = n c i t i e s / 20 ) ;
  • The length of the transferred segment is ( I t r a n s = n c i t i e s / 5 ) ;
  • The length of the candidate lists (square root of the number of cities).
Across all instances, the integration of CGH resulted in faster execution times compared to the standard DBMEA. Table 4 presents results for smaller instances (with 20 and 50 nodes) originally generated by Salehipour et al. [30], where the new DBMEA with CGH achieved average execution time reductions of 20.45% and 14.29% for the 20-node and 50-node cases, respectively.
For larger, real-city instances comprising up to 226 nodes, as presented in Table 5, the benchmark datasets were obtained from TSPLIB [51]. The Circle Group Heuristic generates initial tours that are, on average, about 12% longer than the optimal tour, providing a strong starting point for further optimization. DBMEA with CGH produced an average execution time reduction of 8.69% compared to the standard DBMEA. Moreover, the CGH-enhanced DBMEA yielded superior tour values for the rat195 and pr226 instances, demonstrating both efficiency and solution quality improvements.

5.3. Results of Traveling Salesman Problem with Time Window

The Discrete Bacterial Memetic Evolutionary Algorithm was rigorously evaluated on a comprehensive set of benchmark instances proposed by Gendreau et al. [40]. This benchmark suite consists of 140 individual instances. DBMEA was tested using the following parameter settings:
  • The number of bacteria in the population is ( N i n d = 30 ) ;
  • The number of clones in the bacterial mutations ( N c l o n e s = n c i t i e s / 15 ) ;
  • The number of infections in the gene transfer is ( N i n f = 20 ) ;
  • The length of the chromosomes is ( I s e g = n c i t i e s / 40 ) ;
  • The length of the transferred segment is ( I t r a n s = n c i t i e s / 10 ) ;
  • The length of the candidate lists (square root of the number of cities).
Table 6 shows that the integration of the Circle Group Heuristic into the DBMEA framework resulted in an average reduction in execution time of approximately 9% when compared to the previous version of DBMEA. This improvement in computational efficiency reflects the advantage of providing the algorithm with high-quality initial solutions generated by CGH. In addition to faster execution, the CGH-enhanced DBMEA produced superior tour values for several benchmark instances, demonstrating that the approach not only accelerates convergence but also contributes to achieving better solution quality across a range of problem scenarios.

6. Conclusions and Future Work

This paper presents the integration of the Circle Group Heuristic with the Discrete Bacterial Memetic Evolutionary Algorithm (DBMEA) to enhance the performance in solving complex combinatorial optimization problems, including the TSP, TRP, and TSPTW. By constructing a high-quality initial population by grouping cities based on spatial proximity using dynamically optimized neighborhood circles, this quasi-optimized initialization strategy provides the algorithm with promising starting points that accelerate the search process and help avoid premature convergence to local optima. Extensive computational experiments were conducted on a wide range of benchmark instances. The results clearly demonstrated that DBMEA with CGH consistently outperformed the previous version of DBMEA, achieving reductions in execution time while delivering superior or comparable tour values in most cases. The benefits of CGH were particularly pronounced in large-scale and real-world instances, where its ability to provide structured, high-quality initial solutions contributed significantly to faster convergence and better final outcomes. The novelty of this approach lies in combining a spatially driven initialization method with a memetic framework across three distinct NP-hard routing problems. These findings confirm that the use of structured, quasi-optimized initial populations can significantly enhance the efficiency and effectiveness of evolutionary and memetic algorithms in solving NP-hard routing problems. Future research directions include enhancing initial population strategies for other NP-hard graph-based problems, as well as investigating the performance and interactions of hierarchically combined metaheuristics, particularly within layered optimization architectures. Further work will focus on adapting and integrating CGH into alternative metaheuristic frameworks and exploring adaptive radius tuning mechanisms to improve the generalizability and robustness of CGH across a broader range of problem domains.

Author Contributions

Conceptualization, A.J.I. and L.T.K.; methodology, A.J.I.; software, A.J.I.; validation, A.J.I. and L.T.K.; formal analysis, A.J.I., B.T.-S. and L.T.K.; investigation, A.J.I.; resources, A.J.I.; data curation, A.J.I.; writing—original draft preparation, A.J.I.; writing—review and editing, A.J.I., B.T.-S. and L.T.K.; visualization, A.J.I.; supervision, L.T.K.; project administration, A.J.I.; funding acquisition, B.T.-S. and L.T.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded under Publications Support Program by the Strategic Ranking Committee and the University Library and Archives (SZEEKL) of Széchenyi István University.

Data Availability Statement

All data available regarding this study are shared in this paper, and the dataset used in this study is presented in [31,40,50,51].

Conflicts of Interest

Author Ali Jawad Ibada was employed by Najaf Education Directorate, Ministry of Education. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

ABCArtificial Bee Colony
ACOAnt Colony Optimization
ANNAlternating Nearest Neighbor
ATSPAsymmetric Traveling Repairman Problem
BEABacterial Evolutionary Algorithm
BFOBacterial Foraging Optimization
CGHCircle Group Heuristic
CSCuckoo Search
DBMEADiscrete Bacterial Memetic Evolutionary Algorithm
DEDifferential Evolution
GAGenetic Algorithm
EAEvolutionary Algorithms
NCNeighborhood Circle
NNNearest Neighbor
PSOParticle Swarm Optimization
SNNSecondary Nearest Neighbor
STSPSymmetric Traveling Repairman Problem
TRPTraveling Repairman Problem
TSPTraveling Salesman Problem
TSPTWTraveling Salesman Problem with Time Window

References

  1. Sudholt, D. The benefits of population diversity in evolutionary algorithms: A survey of rigorous runtime analyses. arXiv 2018, arXiv:1801.10087. [Google Scholar] [CrossRef]
  2. Wang, J.; Ersoy, O.K.; Chen, X.; Wang, F. A method of initial population generation of intelligent optimization algorithms for constrained global optimization. Int. J. Hybrid Inf. Technol. 2017, 10, 47–56. [Google Scholar] [CrossRef]
  3. Kazimipour, B.; Li, X.; Qin, A.K. A review of population initialization techniques for evolutionary algorithms. In Proceedings of the 2014 IEEE Congress on Evolutionary Computation (CEC), Beijing, China, 6–11 July 2014; pp. 2585–2592. [Google Scholar] [CrossRef]
  4. Ashraf, A.; Pervaiz, S.; Haider Bangyal, W.; Nisar, K.; Ibrahim, A.A.; Rodrigues, J.J.P.C.; Rawat, D.B. Studying the impact of initialization for population-based algorithms with low-discrepancy sequences. Appl. Sci. 2021, 11, 8190. [Google Scholar] [CrossRef]
  5. Li, Q.; Liu, S.Y.; Yang, X.S. Influence of initialization on the performance of metaheuristic optimizers. arXiv 2020, arXiv:2003.03789. [Google Scholar] [CrossRef]
  6. Mahdavi, S.; Rahnamayan, S.; Deb, K. Opposition based learning: A literature review. Swarm Evol. Comput. 2018, 39, 1–23. [Google Scholar] [CrossRef]
  7. Friedrich, T.; Wagner, M. Seeding the initial population of multi-objective evolutionary algorithms: A computational study. Appl. Soft Comput. 2015, 33, 223–230. [Google Scholar] [CrossRef]
  8. Lu, M.; Yen, G.G. A rank-density-based genetic algorithm for multi-objective optimization. In Proceedings of the 2003 IEEE Congress on Evolutionary Computation (CEC), Canberra, Australia, 8–12 December 2003; pp. 2795–2802. [Google Scholar] [CrossRef]
  9. Ibada, A.J.; Tüu-Szabó, B.; Kóczy, L.T. A new efficient tour construction heuristic for the Traveling Salesman Problem. In Proceedings of the 2021 5th International Conference on Intelligent Systems, Metaheuristics & Swarm Intelligence (ISMSI’21), Victoria, Seychelles, 10–11 April 2021; pp. 71–76. [Google Scholar] [CrossRef]
  10. Ibada, A.J.; Tüu-Szabó, B.; Kóczy, L.T. Effect of the initial population construction on the DBMEA algorithm searching for the optimal solution of the traveling salesman problem. Infocommun. J. 2022, XIV, 72–78. [Google Scholar] [CrossRef]
  11. Zhang, J.; Hong, L.; Liu, Q. An Improved Whale Optimization Algorithm for the Traveling Salesman Problem. Symmetry 2021, 13, 48. [Google Scholar] [CrossRef]
  12. Pop, P.C.; Cosma, O.; Sabo, C.; Sitar, C.P. A comprehensive survey on the generalized traveling salesman problem. Eur. J. Oper. Res. 2024, 314, 819–835. [Google Scholar] [CrossRef]
  13. Kovács, L.; Iantovics, L.B.; Iakovidis, D.K. IntraClusTSP—An Incremental Intra-Cluster Refinement Heuristic Algorithm for Symmetric Travelling Salesman Problem. Symmetry 2018, 10, 663. [Google Scholar] [CrossRef]
  14. Kóczy, L.T.; Földesi, P.; Tüu-Szabó, B. A discrete bacterial memetic evolutionary algorithm for the traveling salesman problem. In Proceedings of the 2016 IEEE Congress on Evolutionary Computation (CEC), Vancouver, BC, Canada, 24–29 July 2016; pp. 3261–3267. [Google Scholar] [CrossRef]
  15. Applegate, D.L. The Traveling Salesman Problem: A Computational Study; Princeton University Press: Princeton, NJ, USA, 2006. [Google Scholar]
  16. Cook, W.J.; Espinoza, D.G. Computing with domino-parity inequalities for the Traveling Salesman Problem (TSP). INFORMS J. Comput. 2007, 19, 356–365. [Google Scholar] [CrossRef]
  17. Laporte, G. The Traveling Salesman Problem, the Vehicle Routing Problem, and Their Impact on Combinatorial Optimization. Int. J. Strateg. Decis. Sci. 2010, 1, 82–92. [Google Scholar] [CrossRef]
  18. Ayoola, J.A.; Asani, E.O.; Okeyinka, A.E.; Ayegba, P.O. Towards comparative analysis of branch-and-bound and nearest neighbour algorithms. In Proceedings of the 2020 International Conference in Mathematics, Computer Engineering and Computer Science (ICMCECS), Lagos, Nigeria, 18–21 March 2020; pp. 1–5. [Google Scholar] [CrossRef]
  19. Levine, M.S. Finding the right cutting planes for the TSP. ACM J. Exp. Algorithmics 2000, 5, 6-es. [Google Scholar] [CrossRef]
  20. Bouman, P.; Agatz, N.; Schmidt, M. Dynamic programming approaches for the traveling salesman problem with drone. Networks 2018, 72, 528–542. [Google Scholar] [CrossRef]
  21. Alanzi, E.; Menai, M.E.B. Solving the traveling salesman problem with machine learning: A review of recent advances and challenges. Artif. Intell. Rev. 2025, 58, 267–292. [Google Scholar] [CrossRef]
  22. Larrañaga, P.; Kuijpers, C.M.H.; Murga, R.H.; Inza, I.; Dizdarevic, S. Genetic algorithms for the travelling salesman problem: A review of representations and operators. Artif. Intell. Rev. 1999, 13, 129–170. [Google Scholar] [CrossRef]
  23. Dorigo, M.; Gambardella, L.M. Ant colonies for the travelling salesman problem. Biosystems 1997, 43, 73–81. [Google Scholar] [CrossRef]
  24. Verma, O.P.; Jain, R.; Chhabra, V. Solution of travelling salesman problem using bacterial foraging optimisation algorithm. Int. J. Swarm Intell. 2014, 1, 179–192. [Google Scholar] [CrossRef]
  25. Toaza, B.; Esztergár-Kiss, D. A review of metaheuristic algorithms for solving TSP-based scheduling optimization problems. Appl. Soft Comput. 2023, 148, 110908. [Google Scholar] [CrossRef]
  26. Kóczy, L.T.; Földesi, P.; Tüű-Szabó, B. Enhanced discrete bacterial memetic evolutionary algorithm—An efficacious metaheuristic for the traveling salesman optimization. Inf. Sci. 2018, 460–461, 389–400. [Google Scholar] [CrossRef]
  27. Kóczy, L.T.; Földesi, P.; Tüű-Szabó, B. An effective discrete bacterial memetic evolutionary algorithm for the Traveling Salesman Problem. Int. J. Intell. Syst. 2017, 32, 862–876. [Google Scholar] [CrossRef]
  28. Sitters, R. Polynomial time approximation schemes for the traveling repairman and other minimum latency problems. SIAM J. Comput. 2021, 50, 1580–1602. [Google Scholar] [CrossRef]
  29. Tüű-Szabó, B.; Földesi, P.; Kóczy, L.T. An efficient evolutionary metaheuristic for the Traveling Repairman (Minimum Latency) Problem. Int. J. Comput. Intell. Syst. 2020, 13, 781–793. [Google Scholar] [CrossRef]
  30. Salehipour, A.; Sörensen, K.; Goos, P.; Bräysy, O. Efficient GRASP+VND and GRASP+VNS metaheuristics for the traveling repairman problem. 4OR Q. J. Oper. Res. 2011, 9, 189–209. [Google Scholar] [CrossRef]
  31. Savelsbergh, M.W.P. A note on the traveling repairman problem. Networks 1993, 23, 637–643. [Google Scholar] [CrossRef]
  32. Aho, A.V.; Hopcroft, J.E.; Ullman, J.D. The Design and Analysis of Computer Algorithms; Addison-Wesley: Boston, MA, USA, 1974. [Google Scholar]
  33. Gendreau, M.; Potvin, J.Y. Handbook of Metaheuristics, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar] [CrossRef]
  34. Ban, H.B.; Pham, D.H. Solving optimization problems simultaneously: The variants of the traveling salesman problem with time windows using multifactorial evolutionary algorithm. PeerJ Comput. Sci. 2023, 9, e1192. [Google Scholar] [CrossRef]
  35. Focacci, F.; Lodi, A.; Milano, M. A hybrid exact algorithm for the TSPTW. INFORMS J. Comput. 2002, 14, 403–417. [Google Scholar] [CrossRef]
  36. López-Ibáñez, M.; Blum, C.; Ohlmann, J.W.; Thomas, B.W. The travelling salesman problem with time windows: Adapting algorithms from travel-time to makespan optimization. Appl. Soft Comput. 2013, 13, 3806–3815. [Google Scholar] [CrossRef]
  37. Langevin, A.; Desrochers, M.; Desrosiers, J.; Gélinas, S.; Soumis, F. A two-commodity flow formulation for the traveling salesman and the makespan problems with time windows. Networks 1993, 23, 631–640. [Google Scholar] [CrossRef]
  38. Dumas, Y.; Desrosiers, J.; Gelinas, E.; Solomon, M.M. An Optimal Algorithm for the Traveling Salesman Problem with Time Windows. Oper. Res. 1995, 43, 367–371. [Google Scholar] [CrossRef]
  39. Carlton, W.B.; Barnes, J.W. Solving the Traveling-Salesman Problem with Time Windows Using Tabu Search. IIE Trans. 1996, 28, 617–629. [Google Scholar] [CrossRef]
  40. Gendreau, M.; Hertz, A.; Laporte, G.; Stan, M. A generalized insertion heuristic for the traveling salesman problem with time windows. Oper. Res. 1998, 46, 330–335. [Google Scholar] [CrossRef]
  41. Ohlmann, J.W.; Thomas, B.W. A compressed-annealing heuristic for the traveling salesman problem with time windows. INFORMS J. Comput. 2007, 19, 80–90. [Google Scholar] [CrossRef]
  42. da Silva, R.F.; Urrutia, S. A general VNS heuristic for the traveling salesman problem with time windows. Discret. Optim. 2010, 7, 203–211. [Google Scholar] [CrossRef]
  43. Nawa, N.E.; Furuhashi, T. Fuzzy system parameters discovery by bacterial evolutionary algorithm. IEEE Trans. Fuzzy Syst. 1999, 7, 608–616. [Google Scholar] [CrossRef]
  44. Inoue, T.; Furuhashi, T.; Maeda, H.; Takaba, M. A study on interactive nurse scheduling support system using bacterial evolutionary algorithm engine. IEEJ Trans. Electron. Inf. Syst. 2002, 122, 1803–1811. [Google Scholar] [CrossRef] [PubMed]
  45. Das, S.; Chowdhury, A.; Abraham, A. A bacterial evolutionary algorithm for automatic data clustering. In Proceedings of the 2009 IEEE Congress on Evolutionary Computation, Trondheim, Norway, 18–21 May 200; pp. 2403–2410. [CrossRef]
  46. Dányádi, Z.; Földesi, P.; Kóczy, L.T. A fuzzy bacterial evolutionary solution for three dimensional bin packing problems. Acta Tech. Jaurinensis 2010, 3, 325–333. [Google Scholar]
  47. Dányádi, Z.; Földesi, P.; Kóczy, L.T. Solution of a fuzzy resource allocation problem by various evolutionary approaches. In Proceedings of the 2013 Joint IFSA World Congress and NAFIPS Annual Meeting (IFSA/NAFIPS), Edmonton, AB, Canada, 24–28 June 2013; pp. 807–812. [Google Scholar] [CrossRef]
  48. Amini, M.; Hatwagner, M.F.; Mikulai, G.C.; Kóczy, L.T. A vehicular traffic congestion predictor system using Mamdani fuzzy inference. Syst. Theory Control Comput. J. 2021, 1, 49–57. [Google Scholar] [CrossRef]
  49. Amini, M.; Hatwagner, M.F.; Mikulai, G.; Kóczy, L.T. Developing a macroscopic model based on fuzzy cognitive map for road traffic flow simulation. Infocommun. J. 2021, XIII, 14–23. [Google Scholar] [CrossRef]
  50. University of Waterloo. World TSP Dataset. Available online: https://www.math.uwaterloo.ca/tsp/world (accessed on 28 July 2025).
  51. University of Heidelberg. TSPLIB95, Dataset. 1995. Available online: http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/ (accessed on 28 July 2025).
Figure 1. Coherent segment mutation [10].
Figure 1. Coherent segment mutation [10].
Symmetry 17 01683 g001
Figure 2. A 2-OPT local search [10].
Figure 2. A 2-OPT local search [10].
Symmetry 17 01683 g002
Figure 3. A 3-OPT local search [10].
Figure 3. A 3-OPT local search [10].
Symmetry 17 01683 g003
Figure 4. Gene transfer [10].
Figure 4. Gene transfer [10].
Symmetry 17 01683 g004
Figure 5. The procedure of creating CGH for TSP and TRP.
Figure 5. The procedure of creating CGH for TSP and TRP.
Symmetry 17 01683 g005
Figure 6. The procedure of creating CGH for TSPTW.
Figure 6. The procedure of creating CGH for TSPTW.
Symmetry 17 01683 g006
Figure 7. Example for a simple CGH tour for TSP or TRP.
Figure 7. Example for a simple CGH tour for TSP or TRP.
Symmetry 17 01683 g007
Figure 8. Single CGH tour for TSPTW.
Figure 8. Single CGH tour for TSPTW.
Symmetry 17 01683 g008
Figure 9. Comparison of the initial tours.
Figure 9. Comparison of the initial tours.
Symmetry 17 01683 g009
Figure 10. Comparison of runtimes for TSP.
Figure 10. Comparison of runtimes for TSP.
Symmetry 17 01683 g010
Table 1. Comparison of the initial tours.
Table 1. Comparison of the initial tours.
CountryNumber of CitiesNNSNNANNExhaustive SearchGenetic Algorithm
RCGHRCGH
Djibouti389748.94613,509.08810,474.94878–1008306.57579.8348306.575
China702570.3294148.6753565.305182267.88921.1372263.575
Burma805477.0268674.2456079.91098–1004526.30298.2724526.302
Qatar19411,892.88818,980.44317,199.801911,649.86956.28011,255.296
Uruguay734102,594.358165,796.643130,793.38057–5995,536.20954.83295,461.998
Zimbabwe929117,733.696200,063.995160,430.51210114,813.03948.955114,484.256
Luxembourg98014,212.72126,240.10720,397.885813,995.03216.25413,958.023
Rwanda162132,276.66568,487.43745,630.1491031,596.4769.76831,596.476
Oman1979120,542.129204,249.064152,503.64313110,747.72912.688110,029.190
Nicaragua3496122,412.147229,749.240179,481.99216118,141.49715.935118,141.497
Canada46631,668,707.2302,852,242.4002,320,011.78071–741,603,709.50073.8341,603,709.500
Tanzania6117501,427.829852,834.843696,141.74316499,513.30216.567499,513.302
Egypt7146222,335.231391,416.939306,664.3934217,487.4313.981217,487.431
Yemen7663298,953.459523,144.599417,814.5325298,150.5655.185297,972.031
Panama8079146,660.520277,856.032210,793.51016142,277.69915.984141,949.651
Ireland8246259,165.057421,610.120350,446.11112255,167.58511.971255,167.585
Argentina91521,034,964.6001,951,034.1901,527,346.320161,034,084.03015.6351,034,084.030
Japan9847625,031.7101,104,954.110909,941.9242624,849.3372.215624,849.337
Greece9882391,415.926637,638.279523,514.15714384,948.29813.158384,900.881
Kazakhstan99761,346,903.5602,320,848.0501,863,893.670131,325,094.71013.0581,325,094.710
Finland10,639657,774.7731,081,658.770889,702.22020649,477.67220.158649,477.672
Table 2. Runtimes of the tour construction heuristics.
Table 2. Runtimes of the tour construction heuristics.
InstanceNNSNNANNCGH
Burma2 ms3 ms2 ms2 ms
Rwanda783 ms1766 ms1284 ms673 ms
Table 3. Comparison of runtimes for TSP.
Table 3. Comparison of runtimes for TSP.
InstanceStandard DBMEADBMEA with CGH
BestAvgBestAvg
xql6622550.842550.842550.842550.84
dkg8133243.413243.413243.413243.41
dka13764738.614743.24737.864738.33
dca13895156.435158.065156.325157.8
dja14365332.195335.935328.965330.09
icw14834467.224472.124466.684469.67
rbv15835446.095449.995445.345447.4
rby15995589.135592.025586.595591.56
dea23828154.348160.938149.618152.12
pds25667774.917781.577772.017778.91
bch27628376.188380.638369.988372.32
fdp325610,104.3610,108.6910,102.0310,105.31
dkc393812,715.9912,723.4612,707.7812,711.01
xqd496615,554.9115,560.4915,553.715,558.51
Table 4. TRP average runtimes for small instances.
Table 4. TRP average runtimes for small instances.
InstanceStandard DBMEADBMEA with CGH
S20S50S20S50
TRP-Sn-R10.466205.38620.464354.504
TRP-Sn-R21.810354.1571.208202.7564
TRP-Sn-R30.318605.80180.261754.9896
TRP-Sn-R40.6456010.21860.584609.6592
TRP-Sn-R50.866657.10220.697756.4844
TRP-Sn-R60.3646033.6130.2900533.01
TRP-Sn-R70.819753.98320.782803.2212
TRP-Sn-R80.7352510.05880.728108.2512
TRP-Sn-R90.626609.14340.604208.1272
TRP-Sn-R100.664057.8510.601356.7018
TRP-Sn-R110.3134020.61560.2494014.5618
TRP-Sn-R120.333154.05880.273703.8696
TRP-Sn-R130.4604011.9110.3817510.9524
TRP-Sn-R140.2554036.3420.2455534.18
TRP-Sn-R150.292654.95640.226804.345
TRP-Sn-R160.616704.95340.590854.3752
TRP-Sn-R171.4197022.88821.1808521.4784
TRP-Sn-R180.2435515.4440.2314513.415
TRP-Sn-R197.27848.912.95126.1426
TRP-Sn-R200.835502.3730.628801.9478
Table 5. TRP average runtimes for TSPLIB instances.
Table 5. TRP average runtimes for TSPLIB instances.
InstanceBest KnownDBMEADBMEA with CGH
Best ValueAvg. ValueAvg. SecInitial CGHBest ValueAvg. ValueAvg. Sec
eil5110,17810,17810,17813.128510,859.08710,17810,17811.9511
berlin52143,721143,721143,7213.0569152,750.51143,721143,7212.5359
st7020,55720,55720,55712.722122,657.99620,55720,55711.3729
eil7617,97617,97617,97617.634219,518.29817,97617,97614.6147
pr763,455,2423,455,2423,455,2428.12183,696,829.13,455,2423,455,2427.3098
rat9957,98657,98657,98654.684362,967.77957,98657,98651.8731
kroA100983,128983,128983,12824.09051,103,528.6983,128983,12821.7378
kroD100976,965976,965976,96519.51771,054,638.6976,965976,96518.2528
lin105603,910603,910603,91057.0368687,043.79603,910603,91047.8758
pr1072,026,6262,026,6262,026,6268.232,083,9802,026,6262,026,6267.4696
rat1952,10,191218,665218,693.1157.8004228,467.18218,665218,665143.2586
pr2267,100,3087,196,8697,196,898.6208.236810,785,8327,196,8697,196,869200.7428
Table 6. TSPTW results.
Table 6. TSPTW results.
InstanceBest KnownDBMEADBMEA with CGH
nwBest ValueAvg. ValueAvg. SecBest ValueAvg. ValueAvg. Sec
20120265.6265.6265.60.2265.6265.60.2
140232.8232.8232.80.2232.8232.81.8
160218.2218.2218.20.2218.2218.20.2
180236.6236.6236.60.2236.6236.60.2
2002412412410.22412410.19
40120377.8377.8377.80.6377.8377.80.53
140364.4364.4364.40.7364.4364.40.68
160326.8326.8326.80.7326.8326.80.63
180330.4330.68330.681.1330.53330.680.98
200313.8314.98314.981.7313.8314.981.62
601204514514511.34514511.26
1404524524521.44524521.32
160464464.4464.581.9464.4464.41.81
180421.2421.2421.823.6421.2421.23.23
200427.4427.4427.42.7427.4427.42.61
80100578.6578.6578.61.4578.6578.61.31
120541.4541.4542.246.9541.4542.246.84
140506506506.886.45065066.33
160504.8505.2506.146.7505.2505.26.7
180500.6502502.87.4501.275027.34
200481.4481.8482.867.5481.8481.87.48
10080666.4666.4667.17.4666.4666.757.37
100642642642.8610.4642642.639.81
120597.2598.2600.115.1598.2600.114.85
140548.4548.4548.668.8548.4548.668.13
160555555556.2212.8555555.8612.53
180561.6562562.714.1562562.4513.75
200550.2551.2552.8415550.6551.2714.64
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ibada, A.J.; Tüű-Szabó, B.; Kóczy, L.T. The Circle Group Heuristic to Improve the Efficiency of the Discrete Bacterial Memetic Evolutionary Algorithm Applied for TSP, TRP, and TSPTW. Symmetry 2025, 17, 1683. https://doi.org/10.3390/sym17101683

AMA Style

Ibada AJ, Tüű-Szabó B, Kóczy LT. The Circle Group Heuristic to Improve the Efficiency of the Discrete Bacterial Memetic Evolutionary Algorithm Applied for TSP, TRP, and TSPTW. Symmetry. 2025; 17(10):1683. https://doi.org/10.3390/sym17101683

Chicago/Turabian Style

Ibada, Ali Jawad, Boldizsár Tüű-Szabó, and László T. Kóczy. 2025. "The Circle Group Heuristic to Improve the Efficiency of the Discrete Bacterial Memetic Evolutionary Algorithm Applied for TSP, TRP, and TSPTW" Symmetry 17, no. 10: 1683. https://doi.org/10.3390/sym17101683

APA Style

Ibada, A. J., Tüű-Szabó, B., & Kóczy, L. T. (2025). The Circle Group Heuristic to Improve the Efficiency of the Discrete Bacterial Memetic Evolutionary Algorithm Applied for TSP, TRP, and TSPTW. Symmetry, 17(10), 1683. https://doi.org/10.3390/sym17101683

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop