Conference PaperPDF Available

Solving Traveling Salesman Problem using Firefly algorithm and K-means Clustering

Authors:

Figures

Content may be subject to copyright.
978-1-5386-7942-5/19/$31.00 ©2019 IEEE
Solving Traveling Salesman Problem using Firefly
algorithm and K-means Clustering
Ameera Jaradat
Department of Computer Sciences
Yarmouk University
Irbid-Jordan
ameera@yu.edu.jo
Bara’ah Matalkeh
Department of Computer Sciences
Yarmouk University
Irbid-Jordan
bfmatalkah@hotmail.com
Waed Diabat
Department of Computer Sciences
Yarmouk University
Irbid-Jordan
aldiabatw@gmail.com
Abstract—Traveling Salesman Problem (TSP) is a
significant combinatorial optimization problem. TSP is NP-
hard problem which involves finding the minimum tour length
among a given set of nodes and return to the starting node
knowing that each node must be visited once. This paper
proposes a solution to TSP using Firefly Algorithm (FA) and k-
means clustering. The proposed approach comprises three
major steps: cluster the nodes, find the optimal path in each
cluster, and reconnect the clusters. The first step uses k-means
clustering to divide the nodes into sub-problems, the second
step utilizes FA to find the optimal path in each cluster, finally
reconnect all clusters and return the path between them. The
experimental results show that the proposed approach
provides better results when compared to other algorithms
from the literature.
Keywords—traveling salesman problem,firefly algorithm,k-
means clustering, NP-hard problem
I. INTRODUCTION
Travelling Salesman Problem (TSP) is a classical
combinatorial optimization problem, easy to describe but
hard to solve [1]. TSP consists of salesman and N cities, the
goal of this problem is to visit each city by the salesman once
with minimum tour length. The challenge in TSP is to find
the route that has a minimum distance.
TSP has many applications in vehicle routing and
communication networks [2]. Therefore, finding a solution to
the TSP is of a great importance. TSP is classified as a hard
problem, since finding the shortest route over a set of n cities
requires the total comparisons of (n-1)! Permutation vectors
[2]. Researchers have attempted to apply variety of heuristic
and Meta heuristic approaches. Meta heuristic attempts to
find optimal solutions through iteratively enhancing a
candidate solution taking in respect a measure of solution
quality [2, 3]. Although optimal solution is not guaranteed
by these heuristics, a near optimal results can be produced.
The goal of TSP is to find the minimum route among all
provided cities, visiting each city exactly once and returning
to the point of departure. TSP seems to be a simple problem,
but it is one of the most significant classical optimization
problems and it has been verified difficult to solve [1, 2].
This paper proposes a new approach to solve the TSP. First,
the approach assembles the nodes into a number of clusters.
Then, the firefly algorithm is applied to find the minimum
rout length in each cluster. Finally, the clusters are grouped
together through one global route.
Clustering involves partitioning or grouping a given set
of data into disjoint clusters. K-means is a simple
unsupervised learning algorithm that was developed to the
problem of clustering [6]. K-means has been widely
implemented in clustering applications due its effectiveness
in producing good results [8, 9].
Firefly algorithm is heuristic practices swarm
optimization algorithm that was formulated by Xin-She
Yang in 2008 [4]. The firefly algorithm stimulates the
flashing activities of fireflies and the phenomenon of
bioluminescent communication in solving problems. Firefly
algorithm has proven to be effective in solving many
optimization problems [5, 10].
TSP, classified NP complete, has attracted many
researchers of this field to find optimal tour. Recently,
researchers approaches the problem by developing heuristic
algorithms [8, 9].
Saloni Gupta and Poonam Panwar [7] provided a solution
to TSP using Genetic Algorithm (GA). The proposed
approach calculates the distances between all cities to be
visited and form a matrix of these distances. Then, the initial
city is selected randomly, which is followed by sequence of
genetic steps to extract the best path.
Li-Zhuang et al. [8] combined Genetic Algorithm (GA)
with k-mean clustering method to solve the TSP. The
approach involves dividing the cities into several groups by
using k-mean clustering. Then, apply Genetic Algorithm on
each group to find the sub-path.
Tanasanee Phienthrakul [9] proposed clustering
techniques (Gaussian mixer and k-means) to divide the cities
to smaller problems by grouping the nearest nodes with each
other. Then the optimal path is found in each cluster by
applying GA and Ant Colony Optimization (ACO). Finally,
clusters are connected to find the optimal path.
The main goal of this work is to propose a new approach
for solving travelling salesman problem (TSP). The approach
divides the graph into groups of nodes. Then, it uses FA
algorithm to generate best routs for each group. Later, these
groups are connected together in one global rout.
The rest of this paper is organized as follows: Section II
illustrates the firefly algorithm. Section III describes the k-
means clustering technique. The proposed method in Section
IV. Experimental results in Section V. Finally conclusion in
Section VI.
II. FIREFLY ALGORITHM
Firefly algorithm is a meta-heuristic algorithm based on
flashing patterns and behavior of fireflies, which was
introduced by Xin-She Yang in 2008 [4].Yang applied the
following assumptions regarding fireflies [4, 5]:

586
Any Firefly will be attracted to all other fireflies as
fireflies are unisexual.
The brighter firefly will attract the less bright firefly.
However, the light intensity decreases as the distance
between the fireflies increases.
The firefly will move randomly if there is no brighter
firefly.
Next, we refer to the Pseudo code of the firefly algorithm
that was proposed by Yang, X. S [4] for more detailed
description of the firefly optimization. Fig. 1 summarizes the
basic steps of the firefly algorithm.
1. Data input and initialization:
Generate an initial population of fireflies  
, and import the array of dataset. Each firefly generates an
initial solution randomly.
The initial value of the light intensity parameter is
initialized with initial path length. Firefly selects the next
city to fly to, its selection probability is associated with the
light intensity and path lengths between cities. Firefly will

choose a shorter path, and a city with higher intensity.
(Gamma) is the absorption coefficient and its value = 1, and
is the distance between two positions which is calculated
using Eq. (2).
2. Light Intensity and Attractiveness:
The light intensity decreases when a firefly moves, and

consequently its attractiveness will change. Attractiveness β
of a firefly is determined by its brightness which is
associated with the encoded objective function, light
intensity decreases with the distance from its source, varying
with the distance between firefly and firefly and light
  
that is absorbed in the media.
Light intensity varies according to the inverse square

law , is the intensity at the source.
  
(1)
  
3. Distance and Movement:
The distance between any two fireflies and at and ,
   
respectively, is the Cartesian distance:
(2)
  


The firefly with the best fitness value is selected to
participate in the next phase of optimization.
In case of equal brightness, the Firefly move randomly.
The firefly modifies its position using the current position.
The movement of a firefly attracted to another more
attractive (brighter) firefly is determined by:
(3)


!

 "#$% 
Fig.1. Steps of the Firefly Algorithm
III. K-MEANS CLUSTERING
K-means is considered among the simplest unsupervised
algorithms to group a given set of patterns into disjoint
clusters [6].The algorithm categorizes the data set into
&
groups of similarity. Similarity is measured using the
Euclidean distance [6, 8].
The main steps of k-mean algorithm can be summarized
as follows: first, define centers, one for each cluster or
&
partition. Next, associate each point in the given data set to
the nearest center. Then recalculate new centroid of
&
clusters resulting from the previous step. Now, apply a new
binding between the data set points and the nearest new
centers. This step will be repeated until centers do not move
any more [6]. Fig.2 illustrates the algorithmic steps of k-
means clustering.
Fig.2. Flowchart of the k-mean clustering method.
IV. PROPOSED METHODOLOGY
In this work, we are proposing a new heuristic approach

587
that combines K-mean clustering algorithm with firefly
algorithm to solve TSP.
Let be a weighted graph of nodes representing the
'()
cities and edges with weights representing the distances
between these cities. The proposed algorithm can be
summarized in three basic steps:
Apply k-means clustering on nodes, this step will
divide the nodes into k clusters.
Apply Firefly algorithm to find the minimal tour in
each cluster.
Connect the clusters with each other and locate the
final solution.
Next, we provide a detailed explanation of each step of
the proposed algorithm through an illustrative
example.
A. K-means Clustering on Nodes
This paper uses k-means clustering because it is a
distance-based clustering algorithm. The first step of this
method has grouped the nodes in the TSP using k-means
clustering technique. The number of clusters is defined as:
(4)
& *
Where is the number clusters, is the number of nodes
&*
for TSP. Initially, the centroids are selected randomly from
TSP nodes. Each node in the TSP is assigned to the nearest
cluster based on the minimum distance between it and the
centroids then recalculate the centroid of clusters, as shown
in Fig. 3 This will be repeated until the values of centroids
are not changed.
Fig. 3. The application of K-means clustering.
Fig. 1 illustrates the result of applying k-mean clustering
on the input graph of (17) nodes, where according to
&+
Eq. (4).
B. Finding Optimal Path in Each Cluster
The optimal path in each cluster will be found after all of
the nodes in the TSP are clustered. This paper uses firefly
algorithm to find the shortest path in the clusters. FA starts
by generating an initial population for the fireflies randomly,
where each firefly represents one solution of TSP.
The firefly that has less bright will move towards the
brightest firefly based on the brightness of fireflies, after that
update the light intensity and find the current best solution.
This will continue looping until the maximum iteration is
reached. Fig. 4 illustrates the result of applying firefly
algorithm to find the minimum tour in each cluster.
Fig. 4. Finding the optimal path in each cluster.
C. Connect the Clusters
After finding the optimal path in each cluster, the clusters
will be connected with each other. At this point, we have k-
clusters each contains local minimal tour. The goal is to
reconnect these clusters by connecting the endpoints of each
tour to produce one global minimal tour.
To connect the tour of the k-clusters we apply the following
procedure:
1. Calculate the distances between the centroids of
each cluster.
2. Select the two clusters with the minimum distance
between their centroids.
3. Combine the selected clusters in one larger cluster.
4. Concatenate the tours of these two clusters.
5. Repeat step 2 until the global minimum tour is
generated.
Fig. 5. Cluster reconnection.
Fig. 5 illustrates the concatenation of cluster 2 and cluster
3 as they have a minimum distance between their centroids.
Then Fig. 6 shows the final concatenation that leads to the
global minimum tour.

588
Fig. 6. Final path of Traveling Salesman Problem.
V. EXPERIMENTAL RESULTS
In this paper, we combine K-mean clustering with Firefly
to generate a solution to the travelling salesman problem
using java eclipse on a platform with the specifications of
Intel CORE i3 and 4GB RAM.
To evaluate the proposed methods we tested the
algorithm on variety of TSP datasets (eil51, eil76, pr76 and
ulysses16) from TSPLIB [11]. These datasets in two-
dimensional Euclidean distance. The experiment was
repeated 20 times to produce the average and minimum tour
length on each dataset. The experimental results were
compared against other proposed algorithm that also use
clustering approach.
Table 1 shows the resulting tour length upon applying
our proposed approach (k-mean clustering and firefly). It
also compares these results to the results of applying other
algorithm from the literature on the same data set [7, 8, 9].
Results showed that combining k-mean clustering with
firefly produces either better or competitive tour in most of
the cases. The proposed algorithm scores better results for
the data sets (eil76, pr76 and ulysses16). On the other hand,
Ant colony algorithm seems to produces better results for the
data set (eil51), however, the difference is very small.
TABLE I. COMPARISON BETWEEN CLUSTERING ANT COLONY,
FIREFLY AND CLUSTERING FIREFLY ALGORITHMS
Datasets Optimal
Path Algorithm Minimum Average
Ant Colony
using Clustering 484 –
Genetic
Algorithm using
Clustering
484 -
Firefly
Algorithm 435.60 451.37
eil51 426
Firefly using
Clustering 485.31 531.95
Ant Colony
using Clustering 624 –
Genetic
Algorithm using
Clustering
624
Firefly
Algorithm ––
eil76 538
Firefly using
Clustering 613.02 633.15
Datasets Optimal
Path Algorithm Minimum Average
Ant Colony
using Clustering 125464 –
Genetic
Algorithm using
Clustering
125243 -
Firefly
Algorithm ––
pr76 108159
Firefly using
Clustering 112386.74 119931.63
Ant Colony
using Clustering 7400 7808
Genetic
Algorithm using
Clustering
7399 7400
Firefly
Algorithm 7399 7408
ulysses16 6859
Firefly using
Clustering 7084 7326
In average, firefly algorithm using k-means clustering
technique can minimize the length of TSP tour in
comparison with clustering ant colony algorithm and firefly
algorithm
VI. CONCLUSION
This paper has proposed Firefly algorithm with clustering
technique to solve TSP. The proposed method involves three
major steps: First, the nodes are divided into sup problems
using k-means clustering method. Then, the firefly algorithm
is applied in each cluster to find the optimal path. Finally, the
local best paths of all clusters are connected to form one
global path that traverse all nodes. The experimental results
prove the effectiveness of the firefly algorithm with k-means
clustering in providing a competitive solution to the TSP.
REFERENCES
[1] Rego, César et al. “Traveling salesman problem heuristics: Leading
methods, implementations and latest advances.” European Journal of
Operational Research, vol. 211, pp. 427-441, 2011.
[2] Matai, Rajesh et al. “Traveling Salesman Problem : An Overview of
Applications , Formulations , and Solution Approaches,” 2012.
[3] J. Kennedy, “Particle Swarm Optimization.” Swarm Intelligence vol.
1, pp. 33–57, 2007.
[4] X. S. Yang, “Nature-Inspired Metaheuristic Algorithms.” 2008.
[5] X. S. Yang, “Firefly Algorithms for Multimodal
Optimization.” SAGA, 2009.
[6] V. Faber, “Clustering and the Continuous k-meansAlgorithm, Los
Alamos Science, vol. 22, pp. 138-144, 1994.
[7] S. Gupta, and P. Poonam,“Solving travelling salesman problem using
genetic algorithm,” International Journal of Advanced Research in
Computer Science and Software Engineering, vol. 3(6), pp. 376-380,
2013.
[8] L. Tan, Y. Tan, G. Yun and C. Zhang, “An improved genetic
algorithm based on k-means clustering for solving traveling salesman
problem,”Computer Science, Technology and Application:
Proceedings of the 2016 International Conference on Computer
Science, Technology and Application (CSTA2016), pp. 334-343,
2017.
[9] T. Phienthrakul, “Clustering Evolutionary Computation for Solving
Travelling Salesman Problems,” International Journal of Advanced
Computer Science and Information Technology (IJACSIT), vol. 3(3),
pp. 243-262, 2014.
[10] Jaradat, A., Banihamad, “Community Structure Detection Using
Firefly Algorithm,” International Journal of Applied Metaheuristic
Computing, vol. 9(4), pp. 52-70, 2018.
[11] TSPLIB, http://www.iwr.uni-
heidelberg.de/groups/comopt/software/TSPLIB95/tsp/

589
... Based on the table it has been shown that the PSO method has been used in many studies to overcome the shortcomings of clustering methods. The study of [79] has used several optimization techniques to improve the k-means clustering, based on the [84] 2019 evaluation results it has been shown that the PSO method has got higher results compared to other techniques such as ABC, ACO, GA, and so on. The study of [80] used k-means method in segmentation task, then combined PSO with k-means called (PSOK) which got higher results. ...
... The study of [80] used k-means method in segmentation task, then combined PSO with k-means called (PSOK) which got higher results. More so, based on the study [84], it has been proven that the firefly technique also can improve the k-means, where they used ACO, GA, Firefly, and each of them with k-means in TSP solution, it is shown that firefly can improve K-means better that other techniques. ...
... Also, the crossover and mutation steps in GA are improved to enhance the performance of the problem solving. The optimization model in [20] uses FA and kmeans clustering to identify the minimum tour length among a given set of nodes. The methodology consists of three major steps namely clustering the nodes using kmeans clustering, finding the optimal path in each of the cluster using FA, and reconnecting all the clusters and returning the path between them. ...
Article
Full-text available
The study addresses the optimization of land transportation in the context of vehicle routing, a critical aspect of transportation logistics. The specific objectives are to employ various meta-heuristic optimization techniques, including Genetic Algorithms (GA), Ant Colony Optimization (ACO), Firefly Algorithm (FA), Particle Swarm Optimization (PSO), and Q-Learning reinforcement algorithm, to find the optimal solutions for vehicle routing problems. The primary aim is to enhance the efficiency and effectiveness of land transportation systems by minimizing factors such as travel distance or time while adhering to constraints. The study evaluates the advantages and limitations of each algorithm and introduces a novel-based approach that integrates Q-learning with the FA. The results demonstrate that these meta-heuristic optimization techniques offer promising solutions for complex vehicle routing challenges. The integrated Q-learning with Firefly Algorithm (iQLFA) emerges as the most successful approach among them, showcasing its potential to significantly improve transportation optimization outcomes.
... Yu jiankun [5] proposed that Formal techniques is a significant method to improve the product believability and PAR strategies is one of the delegates .Derivation of the entire cycle depends on thorough numerical premise, in contrast to customary post-approval strategy, the calculation a definite clarification of the beginning, yet additionally during the time spent building up the program, rightness and dependability are ensured. Ameera Jaradat [6] proposed an answer for TSP utilizing Firefly Algorithm (FA) and kmeans clustering. The proposed technique includes three significant advances: First, the hubs are partitioned into sup issues utilizing kmeans grouping strategy. ...
Article
Global Position System (GPS) application is quite possibly the most valuable instrument in transportation the executives nowadays. The Roadway transportation is an significant function of GPS. To track down the briefest courses to a spot is the key issue of organization investigation. To address this issue, we have numerous calculations and procedures like Dijkstra algorithm, Ant Colony Optimization, Bellman Portage Algorithm, Floyd-Warshall algorithm, Genetic Algorithm, A* Algorithm furthermore, numerous others. In this paper our fundamental goal is to assess the brute force algorithm and the dynamic programming algorithm in settling the Shortest path issue (The travelling salesman issue). The paper will be finished up by giving the results of time and space complexity of these algorithms. To help a salesman visit every one of the urban communities in the rundown (giving the area of urban areas as the information) and he knows the area of the multitude of urban communities and track down the shortest path with the end goal that he visits every one of the urban areas just a single time and gets back to the city where he begun. The distance (cost) and the relating way ought to be shown as yield.
Article
Full-text available
The Traveling Salesman Problem (TSP) effectively represents the complex distribution issues encountered by couriers, who must carefully plan a route that includes all customer addresses while minimizing the distance traveled. As the magnitude of deliveries and the range of destinations expand, the courier's responsibility becomes progressively challenging. In this particular context, the objective of our research is to expand the existing knowledge and explore the complete capabilities of Deep Q-Network (DQN) models in order to achieve the most efficient route determination. This endeavor can potentially bring about significant changes in the courier and delivery service sector. The foundation of our unique methodology relies on an empirical inquiry, utilizing a comprehensive dataset including 178 observations obtained from motorcycle-based package delivery agents. Our research is carefully planned and executed using a comprehensive factorial experimental design. This design incorporates three crucial factors: the number of hidden layers, episodes, and epochs. The hidden layer parameter is set to a singular level, while the episode parameter is configured to explore five levels, and the epoch parameter is designed to travel four levels. The evaluation of our DQN models' performance is conducted utilizing the MSE metric as a measure. This assessment is carried out at every iterative cycle, ensuring thorough scrutiny. The central focus of our research centers on the intricate connection between episodes and epochs, and their influence on MSE. The findings of our study reveal that the association between episodes, epochs, and errors is not statistically significant although different level of episodes and epochs produces slightly different level of error.
Chapter
Nowadays, decision making is one of the most important and influential aspects of everyday life, and the application of metaheuristics and heuristics facilitates the process. Thus, this paper presents a performance analysis of the combination of constructive heuristics used to generate initial solutions for metaheuristics applied to scheduling problems. Namely, Nawaz, Enscore, and Ham Heuristic (NEH), Palmer Heuristic and Campbell, Dudek, and Smith Heuristic (CDS) with Cuckoo Search, Firefly Algorithm and Simulated Annealing. The aim is to compare the performance of these combinations to analyse the efficiency, effectiveness and robustness of each. All combinations were analysed in an in-depth computational study and then subjected to a statistical study to support an accurate analysis of the results. The results of the analysis show that the Firefly Algorithm associated with NEH, despite having a high runtime, performs better than the other combinations. However, the best effectiveness-efficiency ratio corresponds to SA-Palmer and SA-CDS.KeywordsNawaz, Enscore, and HamPalmerCampbell, Dudek, and SmithFirefly AlgorithmCuckoo Search AlgorithmSimulated Annealing
Article
Locating, routing and deploying essential goods and equipment are proactive disaster management strategies which received attention during recent decades. Many artificial intelligence (AI) based methods have been applied to respond to disasters in the past decade. However, there lacks a systematic review on these approaches. This paper reviews such papers published over the period of 2012–2022. These publications were examined according to their goal of using AI-based methods (e.g., for disaster management or for essential goods and equipment locating and deployment). We examined the approaches adopted and their specific application areas within the broad spectrum of disaster management. Based on our review, we recommend a few areas which could benefit from AI-based methods, especially for the less explored area of locating and routing problem during disasters. This research would be helpful for academics and practitioners alike in effectively adopting AI methods to improve the resilience and response in disastrous events.
Article
Full-text available
This survey paper presents a collection of the most important algorithms for the well-known Traveling Salesman Problem (TSP) using Self-Organizing Maps (SOM). Each one of the presented models is characterized by its own features and advantages. The modes are compared to each other to find their differences and similarities. The models are classified in two basic categories, namely the enriched and hybrid models. For each model we present information regarding its performance, the required number of iterations, as well as the number of neurons that are capable of solving the TSP problem. Based on the experimental results, the best model is identified for different occasions. The paper is a good starting point for anyone who is interested in solving TSP with SOM and desires to grasp a lot about this renowned problem.
Article
Tool path optimization approaches are often used to reduce production time and cost, energy consumption, etc. on Computer Numerical Control Machines. Thus, several artificial intelligence algorithms based on Traveling Salesman Problem (TSP) have been implemented to optimize tool trajectory length in various production sectors mainly the holes drilling process. In this field, this article exhibits first a related works survey detailing the main used algorithms. Then, it suggests a novel approach for optimizing non-productive tool paths for drilling a hole series. The proposed approach entitled Adaptive-Dhouib-Matrix-3 (A-DM3) is based on combining the iterated stochastic Dhouib-Matrix-3 (DM3) with a tabu memory inspired by Tabu Search (TS) metaheuristic. To confirm its ability and stability to find the shortest drilling tool path, A-DM3 method is tested on six practical case studies of a rectangular matrix of holes. Further, it is compared to some commonly used algorithms such as Genetic Algorithm (GA), Ant Colony Optimization (ACO) and some of its derivates, modified Shuffled Frog Leaping Algorithm (mSFLA), Cuckoo Search (CS), and hybrid Cuckoo Search Genetic Algorithm (CS-GA). Computational results proved the superiority of the proposed A-DM3 compared to these well-known metaheuristics in literature, particularly in a medium and large number of holes. Hence, A-DM3 provided a new shortest path length record with an improvement exceeding 100% in some cases compared to competing algorithms.
Article
Full-text available
This article describes how parallel to the continuous growth of the Internet, which allows people to share and collaborate more, social networks have become more attractive as a research topic in many different disciplines. Community structures are established upon interactions between people. Detection of these communities has become a popular topic in computer science. How to detect the communities is of great importance for understanding the organization and function of networks. Community detection is considered a variant of the graph partitioning problem which is NP-hard. In this article, the Firefly algorithm is used as an optimization algorithm to solve the community detection problem by maximizing the modularity measure. Firefly algorithm is a new Nature-inspired heuristic algorithm that proved its good performance in a variety of applications. Experimental results obtained from tests on real-life networks demonstrate that the authors' algorithm successfully detects the community structure.
Conference Paper
Full-text available
Based on k-means clustering, we designed and implemented an improved genetic algorithm(IGA) to find the best solution for the traveling salesman problem. IGA includes three characteristics of classical genetic algorithm(CGA). The first characteristic is the use of k-means clustering method on all cities to reduce the complexity of the problem by dividing the cities into several groups. The second characteristic is the adoption of genetic algorithm in each group for optimizing the sub-path. The third characteristic is the use of evolution operation on the inter-group for integral optimization. We performed many experiments to test the ability of IGA. Our experimental results show that IGA is more effective than CGA, especially for large-scale traveling salesman problems.
Article
Full-text available
Travelling salesman problem (TSP) is a combinatorial optimization problem. It is NP hard problem and TSP is the most intensively studied problem in the area of optimization. But with the increase in the number of cities, the complexity of the problem goes on increasing. In this paper, we have solved Travelling Salesman Problem using Genetic algorithm approach. System starts from a matrix of the calculated Euclidean distances between the cities to be visited by the travelling salesman and randomly chosen city order as the initial population. Then new generations are created repeatedly until the proper path is reached upon reaching a stopping criterion.
Article
Full-text available
Particle swarm optimization (PSO) has undergone many changes since its introduction in 1995. As researchers have learned about the technique, they have derived new versions, developed new applications, and published theoretical studies of the effects of the various parameters and aspects of the algorithm. This paper comprises a snapshot of particle swarming from the authors’ perspective, including variations in the algorithm, current and ongoing research, applications and open problems.
Article
Full-text available
discussed in the accompanying article, involve datasets so large that their direct manipulation is impractical. Some method of data compres-sion or consolidation must first be applied to reduce the size of the dataset without losing the essential character of the data. All consolidation methods sacrifice some detail; the most desirable methods are computationally efficient and yield re-sults that are, at least for practical applications, representative of the original data. Here we introduce several widely used algorithms that consolidate data by clustering, or grouping, and then present a new method, the continuous k-means algorithm,* developed at the Laboratory specifically for clustering large datasets.
Article
Full-text available
Heuristics for the traveling salesman problem (TSP) have made remarkable advances in recent years. We survey the leading methods and the special components responsible for their successful implementations, together with an experimental analysis of computational tests on a challenging and diverse set of symmetric and asymmetric TSP benchmark problems. The foremost algorithms are represented by two families, deriving from the Lin–Kernighan (LK) method and the stem-and-cycle (S&C) method. We show how these families can be conveniently viewed within a common ejection chain framework which sheds light on their similarities and differences, and gives clues about the nature of potential enhancements to today’s best methods that may provide additional gains in solving large and difficult TSPs.