Evolved and Timed Ants Optimizing the Parameters of a Time-Based Ant System Approach to the Traveling Salesman Problem Using a Genetic Algorithm.

Slides:



Advertisements
Similar presentations
Artificial Intelligence Presentation
Advertisements

CS6800 Advanced Theory of Computation
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
Swarm algorithms COMP308. Swarming – The Definition aggregation of similar animals, generally cruising in the same direction Termites swarm to build colonies.
Ant colonies for the traveling salesman problem Eliran Natan Seminar in Bioinformatics (236818) – Spring 2013 Computer Science Department Technion - Israel.
Ant Colony Optimization. Brief introduction to ACO Ant colony optimization = ACO. Ants are capable of remarkably efficient discovery of short paths during.
Algorithm Strategies Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Biologically Inspired Computation Lecture 10: Ant Colony Optimisation.
Anti-pheromone as a Tool for Better Exploration of Search Space by James Montgomery and Marcus Randall, Bond University, Australia.
Nature’s Algorithms David C. Uhrig Tiffany Sharrard CS 477R – Fall 2007 Dr. George Bebis.
Imagine that I am in a good mood Imagine that I am going to give you some money ! In particular I am going to give you z dollars, after you tell me the.
EAs for Combinatorial Optimization Problems BLG 602E.
Ant colony optimization algorithms Mykulska Eugenia
By Paul Cottrell, BSc, MBA, ABD. Author Complexity Science, Behavioral Finance, Dynamic Hedging, Financial Statistics, Chaos Theory Proprietary Trader.
Swarm intelligence Self-organization in nature and how we can learn from it.
Genetic Algorithms and Ant Colony Optimisation
EE4E,M.Sc. C++ Programming Assignment Introduction.
Graph Theory Hamilton Paths and Hamilton Circuits.
A Genetic Solution to the Travelling Salesman Problem Ryan Honig.
Swarm Intelligence 虞台文.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
CS440 Computer Science Seminar Introduction to Evolutionary Computing.
Ch.12 Machine Learning Genetic Algorithm Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2011.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
A Genetic Solution to the Travelling Salesman Problem Ryan Honig.
Design & Analysis of Algorithms Combinatory optimization SCHOOL OF COMPUTING Pasi Fränti
Ant Colony Optimization. Summer 2010: Dr. M. Ameer Ali Ant Colony Optimization.
Optimization of multi-pass turning operations using ant colony system Authors: K. Vijayakumar, G. Prabhaharan, P. Asokan, R. Saravanan 2003 Presented by:
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Discrete optimization of trusses using ant colony metaphor Saurabh Samdani, Vinay Belambe, B.Tech Students, Indian Institute Of Technology Guwahati, Guwahati.
1 “Genetic Algorithms are good at taking large, potentially huge search spaces and navigating them, looking for optimal combinations of things, solutions.
The Application of The Improved Hybrid Ant Colony Algorithm in Vehicle Routing Optimization Problem International Conference on Future Computer and Communication,
Artificial Intelligence for Games Online and local search
1 Genetic Algorithms and Ant Colony Optimisation.
Optimizing Pheromone Modification for Dynamic Ant Algorithms Ryan Ward TJHSST Computer Systems Lab 2006/2007 Testing To test the relative effectiveness.
Introduction to Genetic Algorithms. Genetic Algorithms We’ve covered enough material that we can write programs that use genetic algorithms! –More advanced.
Ant colony optimization. HISTORY introduced by Marco Dorigo (MILAN,ITALY) in his doctoral thesis in 1992 Using to solve traveling salesman problem(TSP).traveling.
Ant Colony Optimization Quadratic Assignment Problem Hernan AGUIRRE, Adel BEN HAJ YEDDER, Andre DIAS and Pascalis RAPTIS Problem Leader: Marco Dorigo Team.
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Optimization Problems
5 Fundamentals of Ant Colony Search Algorithms Yong-Hua Song, Haiyan Lu, Kwang Y. Lee, and I. K. Yu.
Lecture 7 Jianjun Hu Department of Computer Science and Engineering University of South Carolina CSCE350 Algorithms and Data Structure.
Ant Colony Optimization Andriy Baranov
The Ant System Optimization by a colony of cooperating agents.
Biologically Inspired Computation Ant Colony Optimisation.
By Eric Han, Chung Min Kim, and Kathryn Tarver Investigations of Ant Colony Optimization.
Genetic Search Algorithms Matt Herbster. Why Another Search?  Designed in the 1950s, heavily implemented under John Holland (1970s)  Genetic search.
Genetic Algorithms and TSP Thomas Jefferson Computer Research Project by Karl Leswing.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Swarm Robotics Research Team A Robotic Application of the Ant Colony Optimization Algorithm The Ant Colony Optimization (ACO) algorithm is generally used.
Ch3 /Lecture #4 Brute Force and Exhaustive Search 1.
Genetic Algorithms. Solution Search in Problem Space.
Ant Colony Optimisation. Emergent Problem Solving in Lasius Niger ants, For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature.
Exhaustive search Exhaustive search is simply a brute- force approach to combinatorial problems. It suggests generating each and every element of the problem.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
ROBOT NAVIGATION AI Project Asmaa Sehnouni Jasmine Dsouza Supervised by :Dr. Pei Wang.
Hamilton Paths and Hamilton Circuits
Unsolvable Problems December 4, 2017.
Comparing Genetic Algorithm and Guided Local Search Methods
Ant colonies for traveling salesman problem
Genetic Algorithms and TSP
Discrete Mathematics and Its Applications (5th Edition)
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Ant Colony Optimization
Design & Analysis of Algorithms Combinatorial optimization
Discrete Mathematics and Its Applications (5th Edition)
traveling salesman problem
Ants and the TSP.
The N-Queens Problem Search The N-Queens Problem Most slides from Milos Hauskrecht.
Presentation transcript:

Evolved and Timed Ants Optimizing the Parameters of a Time-Based Ant System Approach to the Traveling Salesman Problem Using a Genetic Algorithm.

Who is Damon Cook? Senior: New Mexico State University Computer Science Department Sandia Summer Intern For Three Years Background in Java Programming Background in Emergent Behavior Programming

The Project This project looked for a solution to the Traveling Salesman Problem using an Ant System approach. Further, it optimized the Ant System using a Genetic Algorithm.

The Traveling Salesman Problem A traveling salesman must: Travel to many cities Take the quickest (shortest) route Only visit each city once End up back where he started

Number of Possible Paths Number of Cities Number of Paths

The Ant System Based on Foraging Patterns of Real-Life Ants: Ants move randomly through the map (group of cities) Ants drop pheromone Ants choose where to go next based on amount of pheromone Pheromone evaporates Optimal solution is found by ants Optimal solution is improved by local search function

The Timed Ant System This new system is based on the time taken between cities. for time = 0 to max_time STEP increment_value for i = 1 to number_of_ants if (ants[i] has time left to get to the next node) decrement ants[i]’s time left by increment_value else pick which node to move to next, set ants[i]’s time left and update the pheromone on the edge just passed

Genetic Algorithms Evolution Function Creates strings of bits that encode the parameters being evolved Gets fitness for strings and evolves based on fitness values Fitness Function Receives string of bits Returns fitness after running the decoded parameters through the program

Interacting Functions Evolution Function Fitness Function Sends in string of bits Returns fitness value

The Genetic Algorithm Used up to 100 generations (iterations of evolution function) of 50 bit strings each Each generation kept the bit strings from the previous generation that produced the shortest path Other bit strings made by combining the good ones Some random changes allowed in bit strings Fitness found based on best path found by Ant System

Parameters Evolved increment – 5 bits : range: 1 to 32 num_of_ants – 8 bits : range: 1 to 256 evaporation_increment – 5 bits : range: 1 to 32 evaporation_rate – 8 bits : range: 0 to 1 add_pheromone1 – 8 bits : range: 0 to 1 add_pheromone2 – 8 bits : range: 0 to 1 dist_factor – 10 bits : range: 0 to 10 pher_factor – 10 bits : range: 0 to 10 rand_thresh – 10 bits : range: 0 to 1

Maps Used These maps were found at the TSPLIB - an online resource for Traveling Salesman Problems and solutions Ulysses16 - A 16 city map (small) paths Eil51 - A 51 city map (medium) 1.55 * 10^66 paths

Results Optimal solutions were found for the ulysses16 map and near optimal solutions were found for the eil51 map. Semi-optimized parameters found for Ant System for each map

Conclusions Made Optimizing an Ant System with a Genetic Algorithm can improve the answers found Some parameters seem more important than others It is easy to get a good answer with 50 input strings

Future Work Use larger maps Put stronger constraints on input parameters Emphasize difference between major and minor parameters Improve Ant System algorithm Optimize Ant System in favor of time taken as well as best path found

So Who Cares? Classic Computer Science Problem that has never been solved Brute Force Methods Impractical or Even Impossible Many Applications Drilling holes in printed circuit boards Designing fiber-optic communications networks Coordinating military maneuvers Routing helicopters around oil rigs