Abstract
This article presents a critical evaluation of swarm intelligence techniques for solving combinatorial optimization problems. Since, unarguably, the traveling salesman’s problem is the most developed, studied, and popular combinatorial problem, this study uses it as a benchmark. After a number of experimental investigations involving 24 popular but complex benchmark symmetric traveling salesman’s problem instances and 15 asymmetric traveling salesman’s problem of the 19 instances available in TSPLIB95, the African buffalo optimization proved to be the best algorithm in terms of efficiency and effectiveness in solving the problems under investigation.
Introduction
The recent advances in science and engineering have led to the merger of several disciplines in multidisciplinary researches that have led to several scientific and technological breakthroughs the world over. One of the visible areas of interdisciplinary research is in robotic engineering. 1 Robotics basically involves the interaction and utilization of principles and concepts between mathematics, chemistry, physics, artificial intelligence, electronics, and mechanical engineering in the design of hardware that can move and act in different ways to achieve a given objective. 2,3 The interaction of artificial intelligence and robotics helps to create machines that emulate man and other animals. 4 In fact, robots are only as “intelligent” as the artificial intelligence techniques/programs that control them. 5 One of the biggest contributions of artificial intelligence (AI), therefore, is the creation of “smarter” robots. Examples of these smarts robots include robotic pets, 6 robotic cockroaches, 7 robotic toys, robotic tennis players, advanced prostheses, 8 and so on. The traveling salesman’s problem (TSP), which is a popular concept of artificial intelligence, finds relevance in robotics especially in robotic flow shops, multirobot routing, robotic path planning, and so on. 9,10 Furthermore, in robotics, to unravel the traveling costs between two goals/targets for a robot, there must, first, be a plan for a collision-free path between the targets and the robot, hence the need for TSP principles. 11
In virtually all manufacturing processes, cost reduction without compromising efficiency and effectiveness is a major consideration all over the world. The quest for cost minimization and profit maximization has led researchers to investigate the possibility of drawing inspiration from nature to attempt solutions to myriads of problems in engineering, science, mathematics, economics, technology, and industrial processes. These efforts have yielded several dividends, leading to the proposal of a number of bioinspired algorithms such as the ant colony optimization (ACO), 12 African buffalo optimization (ABO), 13 firefly optimization (FFA), 14 honeybee mating optimization for TSP (HBMO-TSP), 15 particle swarm optimization (PSO), 16 genetic algorithm (GA), 17 bat algorithm (BA), 18 adaptive simulated annealing with greedy search (ASA-GS), 19 and so on. These algorithms have been applied to solve a number of optimization problems such as TSP, 20 numerical optimization of benchmark test functions, 21 tuning of proportional, integral and derivative (PID) controllers, 22 vehicle routing, 23 networking and other logistic problems, 24 among others, with amazing results. In general, bioinspired algorithms have been one of the major scientific breakthroughs in the past three decades through their exploitation of intelligence characteristics of animals, plants, and other natural elements in the ecosystem in their cooperative or competitive mechanisms in arriving at solutions.
In particular, swarm intelligence algorithms refer to the branch of optimization algorithms that simulate and model the imprecision, randomized, and stochastic features of these physical, chemical, or biological elements in arriving at marvelous solutions. The sheer number of the existing swarm intelligence techniques (scores of them, actually) creates room for healthy comparative performance assessments of these algorithms in order to assist researchers and users, in general, in determining the “best” choice whenever there is an optimization problem to solve. This is the motivation for this study.
Specifically, this article examines the application of some metaheuristics (FFA, simulated annealing (SA), ABO, GA, PSO, ACO, BA) and two hybrid-algorithms-turned-heuristics (HBMO-TSP and ASA-GS) to solve the benchmark TSP available in TSPLIB95. 25
The rest of this article is organized as follows: The second section examines combinatorial optimization and the comparative algorithms; third section deals with the experimental setting, simulation outcomes, and discussions; a critical evaluation of the performances cost considerations is the focus of the fourth section; and the final section draws conclusions on the study.
Combinatorial optimization
Combinatorial optimization is a branch of computer science that is concerned with searching for an optimal object/path/method/solution among a set of objects/paths/methods/solutions especially in situations where an exhaustive search is not feasible. Examples of such problems include the minimum spanning tree problem, the packing problem, the TSP, and so on. 26
The TSP is about the most popular combinatorial problem in literature today. It is basically the problem of a particular salesman who has customers scattered all over a big city or in a number of locations within a geographical area. The salesman has a duty to visit all of his customers and then return to an initial starting location with the constraint of visiting each location only once and possibly not repeat a route. The objective is to identify the closest or cheapest route. The concept of the TSP has found application in a number of real-life situation in industry such as in car assembly plants where car manufacturers need the cheapest and fastest procedure to assemble cars. Other application areas include a post office official who is required to deliver mails to different locations and then return to the initial starting location, a school bus driver who is required to pick school children from various locations and return them to their homes after school, robotic path planning, robotic scheduling, and so on. 20,27
The TSP consists of two kinds of problems, namely, symmetric and asymmetric TSP. In the symmetric TSP, the distance/cost between location
Comparative algorithms
In discussing the performance assessment of swarm intelligence techniques, this study examines nine optimization algorithms comprising of seven metaheuristics and two hybrid algorithms designed to serve as heuristics. Heuristic algorithms refer to such methods that are developed to provide solutions to some specific kinds of problems by thoroughly exploiting some a priori knowledge of the problem under consideration. There are of less scope than the mataheuristics. The use of heuristics enable algorithms to obtain quality solutions to difficult optimization problems at a reasonable time, even though they are still near-exact algorithms, like their metaheuristic counterparts. 29 That is to say that heuristic algorithms do not guarantee the exact optimal solutions.
Metaheuristics, on the other hand, simply means “beyond heuristics” and are generally expected to have broader applications than heuristics through the use of intelligent memory, experiential, and other biases to help guide the search process. 30 In general, metaheuristic algorithms employ some local search in addition to global exploration through the use of randomizations. Randomizations help these algorithms to steer away from being restricted to a local environment to a more global search. The overall aim of any metaheuristic algorithm is to achieve the best possible result by using internal mechanisms to achieve adequate exploration and exploitation of the search space. 31 Broadly, metaheuristics have wide applicability ranging from bioinformatics to telecommunications, robotic engineering, economics, manufacturing, 32 and so on.
Similarly, hybrid algorithms is simply the combination of two or more heuristics and/or metaheuristics in order to solve a problem. The benefit of algorithm hybridization is to harness the strengths of each of the algorithms while avoiding their particular noticeable weaknesses. The overall benefit of hybridization of algorithms being greater efficiency and effectiveness of the search enterprise. 33
Genetic algorithm
The GA was developed by John Holland in the early 1970s as a model of biological evolutions which uses such operators as selection, crossover, mutation, and inversion. It uses the computation to represent a population of individuals as x–y chromosomes in the form of character strings. The selected individuals in a population are made to evolve through crossover and mutations to form the next generation from where the best generations are selected to form the next generation. This process is continued until we arrive at the optimal or near optimal solution to a particular problem. Real-life applications of GAs include automotive design, robotics, airline revenue management, control engineering, water resource management, software testing, and so on. 34,35
The GA was originally invented to optimize problems that can be represented as a vector of binary values. In such problems, the GA has proven to be very effective. The efficiency of the GA is, however, in doubt, partly because it employs a complicated fitness function in addition to its use of several parameters such as population size, crossover, mutation rate, recombination, selection operator, and so on. 36 The GA pseudocode is shown in Figure 1.

GA pseudocode. GA: genetic algorithm.
Ant colony optimization
This is one of the most popular metaheuristic algorithms in literature. The ACO algorithm was developed by Marco Dorigo and Di Caro in 1999 after some initial work on the ant system by Marco Dorigo and ant colony system by Dorigo and Gambardella. 37 The ACO was inspired by the random walk of ants in search of food. Once a food source is located, the ant that discovered the food carries a particle of the food and, as it returns to the nest, usually follows a shorter route and continually deposits some amount of pheromones as a way of informing other ants of its breakthrough. The neighboring ants, perceiving the scent of the pheromone, will likely join the successful ant to track the food source.
Once these ants get to the food source, they, in turn, carry some fragments of the food and on their way back to the nest, drop pheromones as they further optimize the route of the initial ant. This process increases the pheromone concentration on the favorite ‘shortest’ route and in that process attracts other ants. Within a short while, the colony of ants are on the optimized route moving to and from the food source. On the other hand, when an ant arrives at the food and could not find food, may be, because that food is exhausted or the particular ant missed the direction of the food source, on its way back, it drops no pheromone and so with time that route loses its attraction due to pheromone evaporation. This situation leads the ants to explore other areas. 38 The ACO pseudocode is presented in Figure 2.

ACO pseudocode. ACO: ant colony optimization.
Particle swarm optimization
PSO, inspired by the flocking of birds and schooling of fishes in search of food, was proposed by Kennedy and Eberhart as a population-based, stochastic, global optimization technique with the aim of being simple, easy to implement yet efficient search technique. 39 Till date, it has proven to be a very successful algorithm enjoying wide applicability in several problem domains. The PSO harnesses the velocity and positions of these simple ants in its search for solutions.
Each agent, called particles in PSO, represents a solution to the problem being solved using five major parameters, namely, the current position, the particles’ best position, the best position found by its neighbor, the individual particle’s knowledge of its best position achieved so far, as well as its current velocity. Using a simple rule, a particle updates its velocity and position with each iteration as the algorithm progresses until it reaches termination condition. Moreover, an information repository is maintained that documents the best achieved objective function values for each particle involved in the search process. 39
PSO models the behavior of, for example, a swarm of birds searching for a food source. The entire particles converge on the best solution through the use of the information gathered by each particle, the neighboring particle, as well as that obtained from the entire flock. The algorithm starts by initializing the particles in the search space, followed by updating the position and velocity of each particle in each iteration. The PSO pseudocode is presented in Figure 3.

PSO pseudocode. PSO: particle swarm optimization.
Honeybee mating optimization algorithm for the TSP
HBMO-TSP is a hybridization of HBMO algorithm, the expanding neighborhood search strategy, and the multiple phase neighborhood search-greedy randomized adaptive search procedure algorithm. It is a successful experiment of developing a hybrid algorithm to serve as a heuristic. 15 The HBMO-TSP is presented in Figure 4.

HBMO-TSP pseudocode. HBMO-TSP: honeybee mating optimization for traveling salesman’s problem.
Adaptive simulated annealing with greedy search
ASA-GS is a recently developed local search algorithm based on SA and with components of greedy search method designed primarily to solve the TSP. It is another successful experiment to adapt a metaheuristic into a heuristic in order to obtain an effective and efficient performance. This algorithm is a combination of SA with three kinds of mutations and different probabilities during its search.
The ASA-GS uses greedy search mechanism to speed up its convergence rate. Similarly, it employs such parameters as cool coefficient of the temperature, greedy search time, compulsive accept time, and the probability of new solution accept probability parameters depending on the size of the TSP instance. 19 The ASA-GS pseudocode is shown in Figure 5.

ASA-GS pseudocode. ASA-GS: adaptive simulated annealing with greedy search.
African buffalo optimization
The ABO algorithm is a simulation of the movement and herd management structure of the African buffalos as they move around the African deserts, savannah, and forests in search of lush grazing lands. The African buffalos manage their large herds of, sometimes, up to 1200 using two major sounds: /waaa/ asking the buffalos to further explore the landscape and /maaa/ sounds that require the buffalos to further exploit their immediate environments for possible solutions (see ABO pseudocode in Figure 6).

ABO pseudocode. ABO: African buffalo optimization.
Bat algorithm
The BA is a swarm intelligence optimization algorithm developed in 2010 by Yang. 40 The BA simulates and models the echolocation or biosonar features of microbats (see Figure 7). Since its design and implementation, a few other variants of this algorithm have been developed.

BA pseudocode. BA: bat algorithm.
The classical BA and its variants such as the improved BA have been successfully applied in a wide range of fields. Some of these fields are the continuous optimization, TSP, clustering problems, combinatorial optimization, image processing, and so on. 18
Firefly optimization
This population-based algorithm, which was inspired by the flashing attitude of fireflies, was developed by Xin-She Yang. 41 In this algorithm, a number of fireflies work together to solve a problem through bioluminescent glowing that enables them to efficiently solve problems. The solutions to problems are modelled as a firefly whose flashes are proportional to the quality of solutions they represent. As a result, a brighter firefly attracts other colleagues, and this aids further exploration of the search space.
The four main characteristics of the algorithm include
42
All fireflies are unisex, so they are attracted by a brighter colleague notwithstanding the sex. The brightness of a firefly is a function of the distance between the fireflies: the nearer they are to one another, the more the effect of the brightness of the brighter firefly and vice versa. If there is no brighter firefly than a particular firefly, the firefly without a brighter colleague moves randomly. The landscape of the objective function affects the brightness of the firefly. The brightness of the firefly is proportional to the objective function in a maximization problem. The FFA pseudocode is presented in Figure 8.

FA pseudocode.
Experiment
The experiments in this study were performed with the aid of a MATLAB code and executed in a MATLAB 2012b by Mathworks Inc. Compiler on Intel Duo Core™ i7-3770 CPU, 3.40 GHz with 4 GB RAM.
To authenticate the veracity of the comparative algorithms in solving the TSP, the authors carried out experiments on about 24 symmetric and 15 asymmetric TSP TSPLIB95. 43 The city coordinates data are available in literature. 44
Experimental parameters
For the sets of experiments involving PSO, the parameters are as follows: population size, 200; iteration (
Experimental parameters.
ABO: African buffalo optimization; ACO: ant colony optimization; ASA-GS: adaptive simulated annealing with greedy search; HBMO: honeybee mating optimization; GA: genetic algorithm; N/A: not applicable.
Experimental data
In the first experiment, 10 benchmark TSP instances from the TSPLIB 45 ranging from 52 cities to 14,051 cities were investigated. The choice of the TSP data sets is made in such a way as to test the capacity of the comparative algorithms in searching edges and nodes of less than 100 cities (Berlin52, St70, Pr76, and Rat99) to searching TSP of less than 200 cities (Pr107, Pr124, Ch130, Pr152, and U159) and then to problems that run to a few hundreds of cities (Rat575 and Brd14051). The stopping criterion is when there is no more improvement in the best result obtained by the comparative algorithms.
Experimental results and discussion
In evaluating the performance of swarm intelligence techniques in solving combinatorial optimization problems, the performance of popular and very effective cum efficient algorithms in literature, namely, PSO, ABO, ACO, and the GA 9,10 was investigated in the first experiment. The experimental parameters are presented in Table 1, and the simulation results are shown in Table 2.
Comparative experimental results.
Rel. error % = relative error percentage; best = best result obtained by an algorithm; ABO: African buffalo optimization; PSO: particle swarm optimization; ACO: ant colony optimization; GA: genetic algorithm.
In Table 2, relative error percent values were obtained with the formula
As can be seen in Table 2 and Figure 9, the ABO clearly proved to be more effective than the other algorithms (PSO, ACO, and GA) in that it was able to obtain the closest solution in all the test cases under investigation. For instance, apart from obtaining the closest results to the optimal solution, the ABO got optimal results in Berlin52 and Rat99 and the ACO in u159. Meanwhile, the PSO and the GA were only able to obtain the optimal result in Berlin52. Similar trend can be observed in the paired samples statistical test outcome where ABO has the least mean score of −64.4000000 standard deviation of 19.4482779 as well as least standard error mean of 44.0974174 when compared with the optima (see the shaded portion of Table 3).

Simulation output chart.
Paired samples test.
Using the cumulative relative error as a yardstick, the cumulative relative error percentage of ABO is a mere 0.57% compared to PSO’s 26.85%, ACO’s 17.03%, and GA’s 21.81%. The outstanding performance of ABO is traceable to the algorithms use of relatively fewer parameters than its competitors. Another possible reason for the ABO’s effectiveness could be its use of straightforward calculation of fitness function. This development lends credence to the need for lean metaheuristics design as recently advocated by some experts. 23,46
Performance cost consideration
The primary focus of the second experiment is to investigate the performance cost of the algorithms because the time needed to get optimal or near-optimal solutions may be as important as the solutions themselves since time correlates with cost in production engineering as well as in business, generally. An efficient algorithm, therefore, has to be one that obtains good solutions at a reasonable time. 47 The CPU time was used to evaluate the algorithms’ performance cost in this study. The fastest CPU time spent in solving each of the benchmark TSP instances is indicated in Table 3. The comparative algorithms are The ABO, GA, 9 HBMO, 48 ACO, 10 SA, 19 and ASA-GS. 12 The experiments were carried out using benchmark TSP cities ranging from 16 to 14,051 cities. The results are presented in Table 4.
Comparative performance cost considerations.
ABO: African buffalo optimization; GA: genetic algorithm; HBMO: honeybee mating optimization; ACO: ant colony optimization; SA simulated annealing; ASA-GS: adaptive simulated annealing with greedy search.
The good run of the ABO continues as can be seen in Table 4. The ABO, aside from its effectiveness in obtaining solutions, is also efficient in its search by utilizing fewer computer resources than its peers. The ABO obtained optimal solutions faster than every other algorithm under review here in all the test cases; the only exception being in Ulysses 16 where the SA marginally obtained a better result of 0.02 to ABO 0.03 s. The ABO’s exceptional performance becomes more glaring when one considers that the other algorithms are among the best in literature and were published only recently. 10
A further analysis reveals that it took ABO a total of 79.82 seconds to solve all the 15 TSP instances under investigation (including, of course, the most time-consuming Brd14051). The GA spent 210.81 s to provide solutions to 13 cases excluding Brd14051. The HBMO spent 987.87 s; ACO took 5381.69 s for just six TSP instances; SA took 44.43 s for 13 test cases excluding the time-consuming Brd14051; and ASA-GS spent 2229.92 s for 12 TSP instances. From the foregoing discussion and analysis, it is safe to conclude that the ABO is at least 12 times faster than the HMBO and 27 faster than ASA-GS. Similarly, juxtaposing the TSP test cases attempted by the other algorithms with the results obtained by ABO in those same instances, the ABO is 59.24 faster than SA; 277.38 faster than the GA, and over 14,545 faster than ACO.
In conclusion, the ABO has proved to be more efficient than its peers. Again, its efficiency is attributable to its lean metaheuristic design concept coupled with its straightforward fitness, the regular communication among the buffalos, and regular updating of the location of the best buffalo in each iteration.
ABO, BA, and FFA
To conclude this evaluation, a third round of experiments were performed involving some of the most recently designed algorithms: the ABO, BA, and the FFA. These are some of the best performing algorithms in literature presently. They were designed with some of the latest designed technologies in mind. They could be referred to as the 21st century algorithms. The experiment involved 16 symmetric TSP and 15 ATSP test instances. The symmetric TSP test instances are Oliver 30, Eil51, Berlin52, St70, Eil76, KroA100, KroB100, KroC100, KroD100, KroE100, Eil101, Pr107, Pr124, Pr136, Pr144, Pr152, and Pr299. The asymmetric TSP instances are Br17, Ftv33, Ftv35, Ftv38, P43, Ftv44, Ftv47, Ry48p, Ft53, Ftv55, Ftv55, Ftv64, Ftv70, Ft70, Kro124p, and Rbg333. The experimental outcome of this investigation is presented in Table 5.
Simulation results of ABO, BA, and FFA.
ABO: African buffalo optimization; BA: bat algorithm; FFA: firefly optimization; TSP: traveling salesman’s problem.
Table 5 shows the excellent performance of the algorithms under investigation here. In terms of obtaining the optimal solution, all the algorithms did quite well. For instance, ABO obtained five optimal results to BA’s six and FFA’s 11. Those are commanding performances by the recently developed algorithms. However, a closer look reveals that ABO’s results were closer to the optimal results than the other two algorithms. Metaheuristics are actually near-exact algorithms.
Moreover, in terms of the efficiency of the algorithms, that is where there is a wide gulf in performances. The ABO was more efficient than the other algorithms in all test instances, whether in the symmetric or asymmetric cases. It obtained solutions in less time than the other algorithms. Overall, ABO spent 3.323 s to provide solutions to all the test instances. Meanwhile, the BA took 448.8 s and the FFA 528.8 s. As pointed out earlier, this is a major hallmark of a good algorithm. 47
Conclusion
This article examined some swarm intelligence techniques in providing solutions to combinatorial optimization problems, namely the symmetric and asymmetric TSP. The TSP, though an Artificial Intelligence concept, has been successfully applied to robotic path planning, robotic flow shop, robot routing, robotic scheduling, and so on. 49,27 After an investigation of 24 benchmark symmetric and 15 asymmetric test instances from the TSPLIB, the conclusion is that, overall, the ABO proved to be a more efficient and effective algorithm, then the FFA, HBMO, GA, BA, PSO, ASA-GS, ACO in that order. The reason for the good performance of the first two algorithms could be traceable to recent innovations in optimization algorithm design. The HBMO-TSP puts up a very good performance in spite of its use of several parameters. Its excellent showing could be because it was designed primarily for the TSP, thus serving as a heuristic.
Rather disturbing is the performance of ASA-GS that had a similar design concept like the HBMO-TSP but fell short of expectations. It proved to be a slow algorithm. This may be due to its use of several parameters. Finally, the ACO’s below par performance could be traceable to its use of path construction mechanism rather than the better-performing path-improvement mechanism trend of modern optimization algorithm development.
In view of the above findings, it is our belief that robotic researchers and engineers confronted with robotic path planning, flow shop, multirobot routing, and scheduling will find the findings of this study useful in their robotic designs and manufacturing. Finally, we recommend further research interdisciplinary investigations between artificial intelligence and robotics as we believe that these two disciplines hold a great promise for human development and advancement
Footnotes
Acknowledgements
This article is a revised and expanded version of a paper entitled “African Buffalo Optimization: A Swarm Intelligence Technique” presented at IEEE-IRIS 2015, October 18–20, 2015, Langkawi, Malaysia. The authors appreciate the Faculty of Computer Systems and Software engineering, Universiti Malaysia Pahang for funding and the Ministry of Higher Education, Malaysia, for financial assistance.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This study was funded by Faculty of Computer Systems and Software Engineering, Universiti Malaysia Pahang under grant GRS 1403118 and Ministry of Higher Education, Malaysia, under Fundamental Research Grant Scheme RDU 140101.
