SlideShare una empresa de Scribd logo
1 de 5
Descargar para leer sin conexión
ISSN: 2278 – 1323
                                           International Journal of Advanced Research in Computer Engineering & Technology
                                                                                                Volume 1, Issue 5, July 2012




    An ACO Approach to Solve a Variant of TSP
                                                Bharat V. Chawda, Nitesh M. Sureja


                                                                          Salesman Problem in section II. A discussion on ACO
   Abstract – This study is an investigation on the application of         approach is presented in section III. Section IV discusses the
Ant Colony Optimization to a variant of TSP. This paper                    proposed ACO model. Implementation details along with
presents an Ant Colony Optimization (ACO) approach to solve                results of proposed model are discussed in section V. Finally
a randomly generated TSP problem known as RTSP. TSP data                   the paper ends with conclusions and acknowledgment.
sets, used in this research, are created randomly with
coordinates in the range 0 to 100. The source code for the above
has been developed in MATLAB 7. Ant Colony Optimization is                        II. RANDOM TRAVELING SALESMAN PROBLEM
applied on several randomly generated TSP data sets. The                      Travelling Salesman Problem (TSP) is the most studied
results obtained from the model has been collected and                     problem for finding optimal solution. Given a graph G with n
analyzed based on several criteria like convergence time,                  number of cities, the objective is to find a shortest close tour
quality of solution, and length of the tour. From the analysis, it
is found that this approach works very well in terms of                    that visits each city once returning to the starting city. As far
convergence time and length of the tour. At the same time,                 as the heuristic approach is concerned, TSP has provided
results start to degrade itself with the increase in size of the data      many algorithms for finding near optimal solutions for
set. It is clearly found that this approach can produce best               symmetric as well as asymmetric TSP. This paper presents an
results for any optimization problem if it is applied properly.            ACO approach for solving a variant of TSP known as
                                                                           Random Traveling Salesman (RTSP) [14][15]. In this variant
  Index Terms – Ant Colony Optimization, Nature Inspired
                                                                           TSP dataset is generated randomly instead of using available
Approach, Optimization, Random Traveling Salesman Problem
                                                                           dataset on TSPLIB. All the city coordinates are generated
                         I. INTRODUCTION                                   here are in the range 0 to 100.
  Normal mathematical approach generally fails while it is                               III. ANT COLONY OPTIMIZATION
applied to solve a NP-hard optimization problem like TSP.
This type of problems leads researchers to develop some                        ACO [10][11][12] is an algorithm inspired by the foraging
alternative approaches to find the solutions. Numerous                     behavior of the real ants. The behavior of the real ants while
approaches are proposed by the various authors. Nature and                 searching for the food is modeled mathematically in this
Biology inspired approaches are the part of them. These                    algorithm. Real ants deposit a definite amount of pheromone
approaches consist of Simulated Annealing (SA) [1], Genetic                in its path while traveling from its nest to the food. They also
Algorithms (GA) [2], Particle Swarm Optimization (PSO)                     deposit some pheromone value on the path while returning.
[3], Bee Colony Optimization (BCO) [4], Artificial Immune                  The ants following the shorter path return earlier with
System (AIS) [5], Firefly Algorithms (FA) [6], Monkey                      increasing the amount of pheromone deposit on the path at a
Search (MS) [7], Harmony Search (HS) [8], Bat Inspired                     faster rate. After some time this path becomes favorite path to
Approach (BIA) [9] and Ant Colony Optimization (ACO)                       travel for all ants as this one is a shorter path. Also the
[10] as some examples of them. We use Ant Colony                           pheromone evaporates by a certain amount at a defined stable
Optimization (ACO) approach in this paper. Ant Colony                      rate after a certain interval. The longer paths which are not
Optimization (ACO) approach is inspired by the foraging                    visited frequently are eliminated due to this evaporation. So
behavior of ants. Foraging behavior of the ants are observed               here all ants start their journey with the knowledge left by the
and modeled mathematically to solve the optimization                       ants which traversed previously and try to follow the shortest
problems. Marco Dorigo is the man who proposed this                        path directed by the pheromone trail created by them. A
approach first [10]. He applied this to various problems and               number of artificial ants try to build solutions for the problem
found that this approach has a big potential in it for solving             considered with the help of the pheromone deposit
various problems. We apply ACO approach to Random                          knowledge and some other required information related to
Traveling Salesman Problem (RTSP) in this paper.                           the specific problem.
    The paper starts with a discussion on Random Travelling                  A. Working of ACO
                                                                              All the problems are converted in to a graph before
   Manuscript received June, 2012.                                         applying ACO to them. Traveling salesman problem is a very
   Bharat V Chawda, Computer Engineering Department, B. & B. Institute     good example of it to understand. Here, in a graph all cities
of    Technology,    Gujarat    Technological    University,   (e-mail:    are represented by the nodes while the arcs represent the path
bharat.bbit@gamil.com). Ahmedabad, India, Mobile No. 09978917637
    Nitesh M Sureja, Computer Engineering Department, G.H. Patel
                                                                           between the cities. We have to find a tour made of nodes and
College of Engineering and Technology, Gujarat Technological University,   arcs, which represents a shortest tour in terms of distance,
(e-mail: nmsureja@gamil.com). Ahmedabad, India, Mobile No.                 cost and quality. We use two things or parameters, distance
09825313936


                                                                                                                                        222
                                                    All Rights Reserved © 2012 IJARCET
ISSN: 2278 – 1323
                                                     International Journal of Advanced Research in Computer Engineering & Technology
                                                                                                          Volume 1, Issue 5, July 2012


between the cities and a pheromone value laid/evaporated                                                        𝒎
on/from the arcs (paths). ACO works as follows [10][13].                                                                 𝒌
   In the construction of the solution, first we put ants on the                               𝝉 𝒊𝒋 ← 𝝉 𝒊𝒋 +         𝚫 𝝉 𝒊𝒋
                                                                                                                                     (3)
nodes randomly. Normally we keep number of ants same as                                                        𝒌=𝟏
number of cities. After this initialization, all ants start their                Where,
journey to find a shortest tour. Ants select the next city to be                      1.     m is the number of ants
visited using a probabilistic mechanism. When ant k is in city                        2.     Δ τij is the quantity of pheromone laid on edge
i and has so far constructed the partial solution, the                                       (i, j) by ant m.
probability of going to city j is given by
                                                                             Δ τij is calculated as
                              𝜶             𝜷
                     𝝉 𝒊𝒋          𝜼 𝒊𝒋
          𝒌
        𝒑 𝒊𝒋 =                                       𝒊𝒇 𝒋𝝐𝜨 𝒊𝒌                       𝐤      𝟏 𝐂 𝐤,    𝐢𝐟 𝐚𝐫𝐜 𝐢, 𝐣 𝐛𝐞𝐥𝐨𝐧𝐠𝐬 𝐭𝐨 𝐓 𝐤     (4)
                                                 𝜷                   (1)          ∆𝛕 𝐢𝐣 =
                            𝝉 𝒊𝒋
                                   𝜶
                                          𝜼 𝒊𝒋                                              𝟎,        𝐨𝐭𝐡𝐫𝐰𝐢𝐬𝐞
                 𝒍𝝐𝜨 𝒊𝒌
                                                                          Where Ck represents the length of the tour Tk built by kth
   Where, 𝛮 𝑖𝑘 is the feasible neighborhood of ant k when ant.
being at city i, that is, the set of cities that ant k has not visited
yet [10]. α and β are the parameters which control the relative                      IV. PROPOSED ACO-RTSP MODEL
importance of the pheromone values and the heuristic
                                                                           Random Traveling Salesman problem (RTSP) has been
information ηij, which is the inverse of the distance between
                                                                        already mentioned previously [14][15]. To repeat it, all the
city i and j. We can say, in general, arcs that is used by many
                                                                        TSP data sets are created by randomly generating city
ants and which are part of short tours, receive more
pheromone and are therefore more likely to be chosen by ants            coordinates in the range 0 to 100. The task is to find a
in future iterations of the algorithm. Pseudo code of ACO               sequence of cities to minimize traveled distance for those
algorithm is as follows.                                                data sets. Pheromone trails and heuristic information is same
                                                                        as in the TSP: pheromone trails are associated with the arcs
         1. Procedure ACO                                               (edges), and heuristic values are given by the inverse of the
         2. Initialize pheromone trails and other parameters            distance between cities. Pseudo code of the proposed
         3. while (termination criteria not met)                        ACO-RTSP Model to solve RTSP is given as per following:
               {
                      a. Construct the Solutions                                 1. Generate TSP Data Set Randomly
                      b. Daemon Actions % optional                               2. Procedure ACO
                      c. Update Pheromone Trails                                 3. Initialize pheromone trails and other parameters
               }                                                                 4. while (termination criteria not met)
         4. end ACO procedure                                                           {
                                                                                               a. Construct the Solutions
             Fig. 01 Pseudo code of ACO [10][11][12]
                                                                                               b. Daemon Actions % optional
   After all ants construct their solution (tour), each solution                               c. Update Pheromone Trails
is analyzed to find the best solution from all constructed                             }
solutions. If the best solution found in current iteration is                    5. end ACO procedure
better than previous best one, a replacement is performed.
                                                                              Fig. 02 Pseudo Code for Proposed ACO-RTSP Model
Next step is known as Pheromone Update. It is done in two
ways known as pheromone evaporation and pheromone
laying. The pheromone values are updated by all the ants that                        V. IMPLEMENTATION AND RESULTS
have built solutions. First the pheromone values on all arcs              The proposed ACO-RTSP Model is implemented by using
are lowered by a constant factor which is known as MATLAB 07. Pentium dual core machine with 1(one) GB
pheromone evaporation. After that, a certain amount of RAM is used to run the algorithm. Various data sets, in the
pheromone values are added on the arcs the ants have crossed range of 10 to 200 cities, of Random Traveling Salesman
in their tour which is known as pheromone laying. Problem (RTSP) are used to test the proposed model.
Pheromone evaporation is implemented as per equation (2).                 After generating a random data set of TSP, remaining steps
                     𝝉 𝒊𝒋 ← (𝟏 − 𝝆)𝝉 𝒊𝒋                        (2)     of proposed ACO-RTSP model are implemented using the
                                                                       equations 1 to 4. This model runs itself till the termination
   Where, ρ is the evaporation rate.                                   criteria are satisfied. We can use more than one termination
                                                                       criteria in the model such as predefined number of iterations,
    After evaporation, all ants perform pheromone laying stagnations in the result, time-limit etc. Here, stagnation in
operation by depositing a certain amount of pheromone as per the result is used as the termination criteria. Results obtained
equation (3).                                                          and shown in table 01 are averaged over 25 runs of proposed
                                                                       model for each data set. Results are also represented
                                                                       graphically in figures 03-to-14.

                                                                                                                                           223
                                                            All Rights Reserved © 2012 IJARCET
ISSN: 2278 – 1323
                             International Journal of Advanced Research in Computer Engineering & Technology
                                                                                  Volume 1, Issue 5, July 2012


Table 01 Results of Proposed ACO-RTSP Model

  City Problem         Length       Iterations
       10               302.00         12.12
       20               336.00         13.28
       30               460.04         19.56
       40               509.36         20.60
       50               586.20         23.88
       75               671.96         25.36
       95               771.68         29.56
       115              842.32         30.12
       135              945.36         30.84
       155              965.96         31.68
       175             1057.96         32.24
       200             1149.56         35.88                         Fig. 06 40-City Data Set Results




       Fig. 03 10-City Data Set Results                              Fig. 07 50-City Data Set Results




       Fig. 04 20-City Data Set Results                              Fig. 08 75-City Data Set Results




       Fig. 05 30-City Data Set Results                              Fig. 09 95-City Data Set Results


                                                                                                          224
                                     All Rights Reserved © 2012 IJARCET
ISSN: 2278 – 1323
                      International Journal of Advanced Research in Computer Engineering & Technology
                                                                           Volume 1, Issue 5, July 2012




Fig. 10 115-City Data Set Results                                Fig. 14 200-City Data Set Results


                                                                         VI. CONCLUSION
                                                   An approach based on Ant Colony Optimization is
                                                proposed in this paper. This approach is applied to various
                                                data sets created for Random Traveling Salesman Problem.
                                                This Approach produces the acceptable optimal solutions for
                                                all data sets ranging from 10 cities to 200 cities. We can also
                                                see that model starts to degrade in its performance in terms of
                                                solution quality with the increase in the size of problem. We
                                                conclude with a statement that this approach has a lot of
                                                potential in it which can be applied to solve any kind of
                                                optimization problem.
Fig. 11 135-City Data Set Results
                                                                        ACKNOWLEDGMENT
                                                      We thank all who have supported us for this research.

                                                                               REFERENCES

                                                [1]  David Bookstaber, “Simulated Annealing for Traveling Salesman
                                                     Problem”, Spring, 1997
                                                [2] Holland, J.H. “Adaptation in Natural and Artificial Systems”. MIT
                                                     Press, 1992
                                                [3] Kennedy, J.; Eberhart, R. (1995). "Particle Swarm Optimization".
                                                     Proceedings of IEEE International Conference on Neural Networks.
                                                     IV. pp. 1942–1948
                                                [4] D. Karaboga, B. Basturk, “A powerful and efficient algorithm for
                                                     numerical function optimization: artificial bee colony (ABC)
                                                     algorithm”, Journal of Global Optimization 39 (2007) 459–471
                                                [5] D. Dasgupta, “Artificial Immune Systems and Their Applications”,
Fig. 12 155-City Data Set Results                    Springer, Berlin, 1999
                                                [6] X.S Yang, “Fire fly algorithm for multimodal optimization”, in
                                                     proceedings of the stochastic Algorithms. Foundations and
                                                     Applications (SAGA 109) vol.5792 of Lecture notes in Computer
                                                     Sciences Springer,Oct.2009
                                                [7] R. Zhao, W. Tang, “Monkey Algorithm for Global Numerical
                                                     Optimization”, Journal of Uncertain Systems, Vol. 2, No. 3, pp.
                                                     165-176, (2008)
                                                [8] X.S. Yang, “Harmony Search as a Metaheuristic Algorithm”, Studies
                                                     in Computational Intelligence, Springer Berlin, Vol. 191, pp. 1-14
                                                     (2009)
                                                [9] X.-S. Yang, “A New Metaheuristic Bat-Inspired Algorithm”, Studies
                                                     in Computational Intelligence, Springer Berlin, 284, Springer, 65-74
                                                     (2010).
                                                [10] M. Dorigo, L. Gambardella, “Ant colonies for the Traveling salesman
                                                     problem.” Biosystems 43 (1997): (73-81).
                                                [11] M. Dorigo, T. Stutzle, “Ant Colony optimization”, A Bradford book,
                                                     MIT Press Cambridge, Massachucetts london, England (2004) .
                                                [12] M. Dorigo, V. Maniezzo, A. Colomi, “The Ant System: Optimization
Fig. 13 175-City Data Set Results                    by a colony of cooperating agents”, IEEE Transactions on Systems,
                                                     Man and Cybematics-Part B, Vol. 26, No.1, 1996.



                                                                                                                    225
                              All Rights Reserved © 2012 IJARCET
ISSN: 2278 – 1323
                                              International Journal of Advanced Research in Computer Engineering & Technology
                                                                                                   Volume 1, Issue 5, July 2012


[13] M. Dorigo, L. Gambardella, “Antcolony System: A Cooperstive
     learning Approach to the Traveling salesman problem.” IEEE Trans.
     Evol.Comp. 1 (1997): 53-66.
[14] N. Sureja, B. Chawda, “Random Traveling Salesman problem using
     Genetic Algorithms,” IFRSA’s International Journal Of Computing,
     Vol 2, issue 2, April 2012
[15] N. Sureja, B. Chawda, “Random Travelling Salesman Problem using
     SA,” International Journal of Emerging Technology and Advanced
     Engineering, Volume 2, Issue 4, April 2012
[16] A. Zhou, L. Kang, Z. Yan, “Solving Dynamic TSP with Evolutionary
     Approach in Real Time”, Proceedings of the congress on Evolutionary
     computation, Canberra, Australia, 8 – 12, December 2003, IEEE Press,
     951 – 957,2003.


                    Mr. Bharat V. Chawda is a B.E. and M.E. in
                    Computer Engineering. He is a Gold-Medalist in M.E.
                    from Sardar Patel University, Vallabh Vidyanagar. His
                    current profile comprises of Lecturer (Computer
                    Engineering) B. & B. Institute of Technology, Vallabh
                    Vidyanagar. He is a life member of ISTE and IEANG.
                    He has been offering his services as reviewer of various
                    national and international Journals and conferences. He
                    has guided more than 35 Diploma level Projects and 1
PG dissertations. He has published books with titles, Operating Systems,
Database Management Systems, and Relational Database Management
Systems. He has published 3 International Journal papers and 2 Conference
papers. His fields of interest and research are Nature and Bio inspired
Computing, Artificial Intelligence and Image Processing.


                     Professor Nitesh M. Sureja is a Diploma, B.E., and
                     M.E., all in Computer Engineering. Currently he is
                     pursuing his Ph.D. in Computer Engineering from
                     NIMS University, Jaipur, Rajasthan, india. He has an
                     industrial experience of four years in Raj Infotech as a
                     Sales and Service engineer of Computer Systems and
                     Peripherals. He worked in CCET Wadhwan City
                     (Saurashtra University) as Lecturer. He also worked in
                     SPCE Visnagar (Hemchandracharya North Gujarat
University) as Lecturer and incharge of the Department of Computer and IT.
His current profile comprises of Associate Professor (Computer
Engineering) G.H. Patel College of Engineering and Technology, Vallabh
Vidyanagar. He is a life member of ISTE and member of IEANG and
IMETE. He has been offering his services as reviewer of various national
and international Journals such as IJCSI and UBICC, and reviewer of various
international and national conferences. He has guided more than 50 UG
Projects and 2 PG. dissertations. He has published 4 International Journal
papers and 3 Conference papers. His fields of interest and research are
Swarm Intelligence, Nature and Bio inspired Computing and Artificial
Intelligence.




                                                                                                                           226
                                                       All Rights Reserved © 2012 IJARCET

Más contenido relacionado

Similar a 222 226

A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSA COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSecij
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.pptAhmedSalimJAlJawadi
 
Algorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSPAlgorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSPCarrie Romero
 
Mobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimizationMobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimizationeSAT Publishing House
 
Hybrid iterated local search algorithm for optimization route of airplane tr...
Hybrid iterated local search algorithm for optimization route of  airplane tr...Hybrid iterated local search algorithm for optimization route of  airplane tr...
Hybrid iterated local search algorithm for optimization route of airplane tr...IJECEIAES
 
An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based onIJCI JOURNAL
 
tAnt colony optimization for
tAnt colony optimization fortAnt colony optimization for
tAnt colony optimization forcsandit
 
Ant colony optimization for
Ant colony optimization forAnt colony optimization for
Ant colony optimization forcsandit
 
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...ijaia
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfnrusinhapadhi
 
NON - EUCLIDEAN METRIC AND PATH PLANNING
NON - EUCLIDEAN METRIC AND PATH PLANNINGNON - EUCLIDEAN METRIC AND PATH PLANNING
NON - EUCLIDEAN METRIC AND PATH PLANNINGIJCSES Journal
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationJoy Dutta
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationMeenakshi Devi
 
An optimal design of current conveyors using a hybrid-based metaheuristic alg...
An optimal design of current conveyors using a hybrid-based metaheuristic alg...An optimal design of current conveyors using a hybrid-based metaheuristic alg...
An optimal design of current conveyors using a hybrid-based metaheuristic alg...IJECEIAES
 
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemIRJET Journal
 
Solving real world delivery problem using improved max-min ant system with lo...
Solving real world delivery problem using improved max-min ant system with lo...Solving real world delivery problem using improved max-min ant system with lo...
Solving real world delivery problem using improved max-min ant system with lo...ijaia
 

Similar a 222 226 (20)

A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSA COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt
 
Algorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSPAlgorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSP
 
Mobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimizationMobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimization
 
Hybrid iterated local search algorithm for optimization route of airplane tr...
Hybrid iterated local search algorithm for optimization route of  airplane tr...Hybrid iterated local search algorithm for optimization route of  airplane tr...
Hybrid iterated local search algorithm for optimization route of airplane tr...
 
An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based on
 
tAnt colony optimization for
tAnt colony optimization fortAnt colony optimization for
tAnt colony optimization for
 
Ant colony optimization for
Ant colony optimization forAnt colony optimization for
Ant colony optimization for
 
Swapnil Shahade
Swapnil  ShahadeSwapnil  Shahade
Swapnil Shahade
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
 
NON - EUCLIDEAN METRIC AND PATH PLANNING
NON - EUCLIDEAN METRIC AND PATH PLANNINGNON - EUCLIDEAN METRIC AND PATH PLANNING
NON - EUCLIDEAN METRIC AND PATH PLANNING
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
An optimal design of current conveyors using a hybrid-based metaheuristic alg...
An optimal design of current conveyors using a hybrid-based metaheuristic alg...An optimal design of current conveyors using a hybrid-based metaheuristic alg...
An optimal design of current conveyors using a hybrid-based metaheuristic alg...
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
 
Solving real world delivery problem using improved max-min ant system with lo...
Solving real world delivery problem using improved max-min ant system with lo...Solving real world delivery problem using improved max-min ant system with lo...
Solving real world delivery problem using improved max-min ant system with lo...
 

Más de Editor IJARCET

Electrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturizationElectrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturizationEditor IJARCET
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Editor IJARCET
 
Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Editor IJARCET
 
Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Editor IJARCET
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Editor IJARCET
 
Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Editor IJARCET
 
Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Editor IJARCET
 
Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Editor IJARCET
 
Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Editor IJARCET
 
Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Editor IJARCET
 
Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Editor IJARCET
 
Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Editor IJARCET
 
Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Editor IJARCET
 
Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Editor IJARCET
 
Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Editor IJARCET
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Editor IJARCET
 
Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Editor IJARCET
 
Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Editor IJARCET
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Editor IJARCET
 
Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Editor IJARCET
 

Más de Editor IJARCET (20)

Electrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturizationElectrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturization
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207
 
Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199
 
Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194
 
Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189
 
Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185
 
Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176
 
Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172
 
Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164
 
Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158
 
Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154
 
Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147
 
Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124
 
Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138
 
Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129
 
Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113
 
Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107
 

Último

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Último (20)

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

222 226

  • 1. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology Volume 1, Issue 5, July 2012 An ACO Approach to Solve a Variant of TSP Bharat V. Chawda, Nitesh M. Sureja  Salesman Problem in section II. A discussion on ACO Abstract – This study is an investigation on the application of approach is presented in section III. Section IV discusses the Ant Colony Optimization to a variant of TSP. This paper proposed ACO model. Implementation details along with presents an Ant Colony Optimization (ACO) approach to solve results of proposed model are discussed in section V. Finally a randomly generated TSP problem known as RTSP. TSP data the paper ends with conclusions and acknowledgment. sets, used in this research, are created randomly with coordinates in the range 0 to 100. The source code for the above has been developed in MATLAB 7. Ant Colony Optimization is II. RANDOM TRAVELING SALESMAN PROBLEM applied on several randomly generated TSP data sets. The Travelling Salesman Problem (TSP) is the most studied results obtained from the model has been collected and problem for finding optimal solution. Given a graph G with n analyzed based on several criteria like convergence time, number of cities, the objective is to find a shortest close tour quality of solution, and length of the tour. From the analysis, it is found that this approach works very well in terms of that visits each city once returning to the starting city. As far convergence time and length of the tour. At the same time, as the heuristic approach is concerned, TSP has provided results start to degrade itself with the increase in size of the data many algorithms for finding near optimal solutions for set. It is clearly found that this approach can produce best symmetric as well as asymmetric TSP. This paper presents an results for any optimization problem if it is applied properly. ACO approach for solving a variant of TSP known as Random Traveling Salesman (RTSP) [14][15]. In this variant Index Terms – Ant Colony Optimization, Nature Inspired TSP dataset is generated randomly instead of using available Approach, Optimization, Random Traveling Salesman Problem dataset on TSPLIB. All the city coordinates are generated I. INTRODUCTION here are in the range 0 to 100. Normal mathematical approach generally fails while it is III. ANT COLONY OPTIMIZATION applied to solve a NP-hard optimization problem like TSP. This type of problems leads researchers to develop some ACO [10][11][12] is an algorithm inspired by the foraging alternative approaches to find the solutions. Numerous behavior of the real ants. The behavior of the real ants while approaches are proposed by the various authors. Nature and searching for the food is modeled mathematically in this Biology inspired approaches are the part of them. These algorithm. Real ants deposit a definite amount of pheromone approaches consist of Simulated Annealing (SA) [1], Genetic in its path while traveling from its nest to the food. They also Algorithms (GA) [2], Particle Swarm Optimization (PSO) deposit some pheromone value on the path while returning. [3], Bee Colony Optimization (BCO) [4], Artificial Immune The ants following the shorter path return earlier with System (AIS) [5], Firefly Algorithms (FA) [6], Monkey increasing the amount of pheromone deposit on the path at a Search (MS) [7], Harmony Search (HS) [8], Bat Inspired faster rate. After some time this path becomes favorite path to Approach (BIA) [9] and Ant Colony Optimization (ACO) travel for all ants as this one is a shorter path. Also the [10] as some examples of them. We use Ant Colony pheromone evaporates by a certain amount at a defined stable Optimization (ACO) approach in this paper. Ant Colony rate after a certain interval. The longer paths which are not Optimization (ACO) approach is inspired by the foraging visited frequently are eliminated due to this evaporation. So behavior of ants. Foraging behavior of the ants are observed here all ants start their journey with the knowledge left by the and modeled mathematically to solve the optimization ants which traversed previously and try to follow the shortest problems. Marco Dorigo is the man who proposed this path directed by the pheromone trail created by them. A approach first [10]. He applied this to various problems and number of artificial ants try to build solutions for the problem found that this approach has a big potential in it for solving considered with the help of the pheromone deposit various problems. We apply ACO approach to Random knowledge and some other required information related to Traveling Salesman Problem (RTSP) in this paper. the specific problem. The paper starts with a discussion on Random Travelling A. Working of ACO All the problems are converted in to a graph before Manuscript received June, 2012. applying ACO to them. Traveling salesman problem is a very Bharat V Chawda, Computer Engineering Department, B. & B. Institute good example of it to understand. Here, in a graph all cities of Technology, Gujarat Technological University, (e-mail: are represented by the nodes while the arcs represent the path bharat.bbit@gamil.com). Ahmedabad, India, Mobile No. 09978917637 Nitesh M Sureja, Computer Engineering Department, G.H. Patel between the cities. We have to find a tour made of nodes and College of Engineering and Technology, Gujarat Technological University, arcs, which represents a shortest tour in terms of distance, (e-mail: nmsureja@gamil.com). Ahmedabad, India, Mobile No. cost and quality. We use two things or parameters, distance 09825313936 222 All Rights Reserved © 2012 IJARCET
  • 2. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology Volume 1, Issue 5, July 2012 between the cities and a pheromone value laid/evaporated 𝒎 on/from the arcs (paths). ACO works as follows [10][13]. 𝒌 In the construction of the solution, first we put ants on the 𝝉 𝒊𝒋 ← 𝝉 𝒊𝒋 + 𝚫 𝝉 𝒊𝒋 (3) nodes randomly. Normally we keep number of ants same as 𝒌=𝟏 number of cities. After this initialization, all ants start their Where, journey to find a shortest tour. Ants select the next city to be 1. m is the number of ants visited using a probabilistic mechanism. When ant k is in city 2. Δ τij is the quantity of pheromone laid on edge i and has so far constructed the partial solution, the (i, j) by ant m. probability of going to city j is given by Δ τij is calculated as 𝜶 𝜷 𝝉 𝒊𝒋 𝜼 𝒊𝒋 𝒌 𝒑 𝒊𝒋 = 𝒊𝒇 𝒋𝝐𝜨 𝒊𝒌 𝐤 𝟏 𝐂 𝐤, 𝐢𝐟 𝐚𝐫𝐜 𝐢, 𝐣 𝐛𝐞𝐥𝐨𝐧𝐠𝐬 𝐭𝐨 𝐓 𝐤 (4) 𝜷 (1) ∆𝛕 𝐢𝐣 = 𝝉 𝒊𝒋 𝜶 𝜼 𝒊𝒋 𝟎, 𝐨𝐭𝐡𝐫𝐰𝐢𝐬𝐞 𝒍𝝐𝜨 𝒊𝒌 Where Ck represents the length of the tour Tk built by kth Where, 𝛮 𝑖𝑘 is the feasible neighborhood of ant k when ant. being at city i, that is, the set of cities that ant k has not visited yet [10]. α and β are the parameters which control the relative IV. PROPOSED ACO-RTSP MODEL importance of the pheromone values and the heuristic Random Traveling Salesman problem (RTSP) has been information ηij, which is the inverse of the distance between already mentioned previously [14][15]. To repeat it, all the city i and j. We can say, in general, arcs that is used by many TSP data sets are created by randomly generating city ants and which are part of short tours, receive more pheromone and are therefore more likely to be chosen by ants coordinates in the range 0 to 100. The task is to find a in future iterations of the algorithm. Pseudo code of ACO sequence of cities to minimize traveled distance for those algorithm is as follows. data sets. Pheromone trails and heuristic information is same as in the TSP: pheromone trails are associated with the arcs 1. Procedure ACO (edges), and heuristic values are given by the inverse of the 2. Initialize pheromone trails and other parameters distance between cities. Pseudo code of the proposed 3. while (termination criteria not met) ACO-RTSP Model to solve RTSP is given as per following: { a. Construct the Solutions 1. Generate TSP Data Set Randomly b. Daemon Actions % optional 2. Procedure ACO c. Update Pheromone Trails 3. Initialize pheromone trails and other parameters } 4. while (termination criteria not met) 4. end ACO procedure { a. Construct the Solutions Fig. 01 Pseudo code of ACO [10][11][12] b. Daemon Actions % optional After all ants construct their solution (tour), each solution c. Update Pheromone Trails is analyzed to find the best solution from all constructed } solutions. If the best solution found in current iteration is 5. end ACO procedure better than previous best one, a replacement is performed. Fig. 02 Pseudo Code for Proposed ACO-RTSP Model Next step is known as Pheromone Update. It is done in two ways known as pheromone evaporation and pheromone laying. The pheromone values are updated by all the ants that V. IMPLEMENTATION AND RESULTS have built solutions. First the pheromone values on all arcs The proposed ACO-RTSP Model is implemented by using are lowered by a constant factor which is known as MATLAB 07. Pentium dual core machine with 1(one) GB pheromone evaporation. After that, a certain amount of RAM is used to run the algorithm. Various data sets, in the pheromone values are added on the arcs the ants have crossed range of 10 to 200 cities, of Random Traveling Salesman in their tour which is known as pheromone laying. Problem (RTSP) are used to test the proposed model. Pheromone evaporation is implemented as per equation (2). After generating a random data set of TSP, remaining steps 𝝉 𝒊𝒋 ← (𝟏 − 𝝆)𝝉 𝒊𝒋 (2) of proposed ACO-RTSP model are implemented using the equations 1 to 4. This model runs itself till the termination Where, ρ is the evaporation rate. criteria are satisfied. We can use more than one termination criteria in the model such as predefined number of iterations, After evaporation, all ants perform pheromone laying stagnations in the result, time-limit etc. Here, stagnation in operation by depositing a certain amount of pheromone as per the result is used as the termination criteria. Results obtained equation (3). and shown in table 01 are averaged over 25 runs of proposed model for each data set. Results are also represented graphically in figures 03-to-14. 223 All Rights Reserved © 2012 IJARCET
  • 3. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology Volume 1, Issue 5, July 2012 Table 01 Results of Proposed ACO-RTSP Model City Problem Length Iterations 10 302.00 12.12 20 336.00 13.28 30 460.04 19.56 40 509.36 20.60 50 586.20 23.88 75 671.96 25.36 95 771.68 29.56 115 842.32 30.12 135 945.36 30.84 155 965.96 31.68 175 1057.96 32.24 200 1149.56 35.88 Fig. 06 40-City Data Set Results Fig. 03 10-City Data Set Results Fig. 07 50-City Data Set Results Fig. 04 20-City Data Set Results Fig. 08 75-City Data Set Results Fig. 05 30-City Data Set Results Fig. 09 95-City Data Set Results 224 All Rights Reserved © 2012 IJARCET
  • 4. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology Volume 1, Issue 5, July 2012 Fig. 10 115-City Data Set Results Fig. 14 200-City Data Set Results VI. CONCLUSION An approach based on Ant Colony Optimization is proposed in this paper. This approach is applied to various data sets created for Random Traveling Salesman Problem. This Approach produces the acceptable optimal solutions for all data sets ranging from 10 cities to 200 cities. We can also see that model starts to degrade in its performance in terms of solution quality with the increase in the size of problem. We conclude with a statement that this approach has a lot of potential in it which can be applied to solve any kind of optimization problem. Fig. 11 135-City Data Set Results ACKNOWLEDGMENT We thank all who have supported us for this research. REFERENCES [1] David Bookstaber, “Simulated Annealing for Traveling Salesman Problem”, Spring, 1997 [2] Holland, J.H. “Adaptation in Natural and Artificial Systems”. MIT Press, 1992 [3] Kennedy, J.; Eberhart, R. (1995). "Particle Swarm Optimization". Proceedings of IEEE International Conference on Neural Networks. IV. pp. 1942–1948 [4] D. Karaboga, B. Basturk, “A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm”, Journal of Global Optimization 39 (2007) 459–471 [5] D. Dasgupta, “Artificial Immune Systems and Their Applications”, Fig. 12 155-City Data Set Results Springer, Berlin, 1999 [6] X.S Yang, “Fire fly algorithm for multimodal optimization”, in proceedings of the stochastic Algorithms. Foundations and Applications (SAGA 109) vol.5792 of Lecture notes in Computer Sciences Springer,Oct.2009 [7] R. Zhao, W. Tang, “Monkey Algorithm for Global Numerical Optimization”, Journal of Uncertain Systems, Vol. 2, No. 3, pp. 165-176, (2008) [8] X.S. Yang, “Harmony Search as a Metaheuristic Algorithm”, Studies in Computational Intelligence, Springer Berlin, Vol. 191, pp. 1-14 (2009) [9] X.-S. Yang, “A New Metaheuristic Bat-Inspired Algorithm”, Studies in Computational Intelligence, Springer Berlin, 284, Springer, 65-74 (2010). [10] M. Dorigo, L. Gambardella, “Ant colonies for the Traveling salesman problem.” Biosystems 43 (1997): (73-81). [11] M. Dorigo, T. Stutzle, “Ant Colony optimization”, A Bradford book, MIT Press Cambridge, Massachucetts london, England (2004) . [12] M. Dorigo, V. Maniezzo, A. Colomi, “The Ant System: Optimization Fig. 13 175-City Data Set Results by a colony of cooperating agents”, IEEE Transactions on Systems, Man and Cybematics-Part B, Vol. 26, No.1, 1996. 225 All Rights Reserved © 2012 IJARCET
  • 5. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology Volume 1, Issue 5, July 2012 [13] M. Dorigo, L. Gambardella, “Antcolony System: A Cooperstive learning Approach to the Traveling salesman problem.” IEEE Trans. Evol.Comp. 1 (1997): 53-66. [14] N. Sureja, B. Chawda, “Random Traveling Salesman problem using Genetic Algorithms,” IFRSA’s International Journal Of Computing, Vol 2, issue 2, April 2012 [15] N. Sureja, B. Chawda, “Random Travelling Salesman Problem using SA,” International Journal of Emerging Technology and Advanced Engineering, Volume 2, Issue 4, April 2012 [16] A. Zhou, L. Kang, Z. Yan, “Solving Dynamic TSP with Evolutionary Approach in Real Time”, Proceedings of the congress on Evolutionary computation, Canberra, Australia, 8 – 12, December 2003, IEEE Press, 951 – 957,2003. Mr. Bharat V. Chawda is a B.E. and M.E. in Computer Engineering. He is a Gold-Medalist in M.E. from Sardar Patel University, Vallabh Vidyanagar. His current profile comprises of Lecturer (Computer Engineering) B. & B. Institute of Technology, Vallabh Vidyanagar. He is a life member of ISTE and IEANG. He has been offering his services as reviewer of various national and international Journals and conferences. He has guided more than 35 Diploma level Projects and 1 PG dissertations. He has published books with titles, Operating Systems, Database Management Systems, and Relational Database Management Systems. He has published 3 International Journal papers and 2 Conference papers. His fields of interest and research are Nature and Bio inspired Computing, Artificial Intelligence and Image Processing. Professor Nitesh M. Sureja is a Diploma, B.E., and M.E., all in Computer Engineering. Currently he is pursuing his Ph.D. in Computer Engineering from NIMS University, Jaipur, Rajasthan, india. He has an industrial experience of four years in Raj Infotech as a Sales and Service engineer of Computer Systems and Peripherals. He worked in CCET Wadhwan City (Saurashtra University) as Lecturer. He also worked in SPCE Visnagar (Hemchandracharya North Gujarat University) as Lecturer and incharge of the Department of Computer and IT. His current profile comprises of Associate Professor (Computer Engineering) G.H. Patel College of Engineering and Technology, Vallabh Vidyanagar. He is a life member of ISTE and member of IEANG and IMETE. He has been offering his services as reviewer of various national and international Journals such as IJCSI and UBICC, and reviewer of various international and national conferences. He has guided more than 50 UG Projects and 2 PG. dissertations. He has published 4 International Journal papers and 3 Conference papers. His fields of interest and research are Swarm Intelligence, Nature and Bio inspired Computing and Artificial Intelligence. 226 All Rights Reserved © 2012 IJARCET