Swarm Intelligence Traveling Salesman Problem and Ant System
|
|
- Scott Griffith
- 5 years ago
- Views:
Transcription
1 Swarm Intelligence Leslie Pérez áceres Hayfa Hammami IRIIA Université Libre de ruxelles (UL) ruxelles, elgium
2 Outline 1.oncept review 2.Travelling salesman problem Problem definition xamples 3.Ant System Algorithm escription Applied to TSP 4.lass exercise 5.Practical exercise 2/24
3 oncept review Optimization problems Objective function Search space Local / global optima Searching xact vs. approximation methods onstructive vs. perturbative xploration and exploitation 3/24
4 Traveling Salesman Problem Informal definition Given a set of customer cities, a salesman from his home town needs to find a shortest tour that takes him through all customers just once and then back home. 4/24
5 Traveling Salesman Problem (TSP) Main reasons for choosing the TSP: It is a classical combinatorial optimization problem. It is NP hard. It is the problem to which the Ant System algorithm was first applied. Often used to test new algorithms and variants. 5/24
6 Traveling Salesman Problem Formal efinition The TSP can be modelled as a Graph G(N,A) where: N is the set of nodes representing the cities A is the set of arcs ach arc is assign a cost value (length) d dij is the arc cost, or the length from city i to city j 7 10 A /24
7 Traveling Salesman Problem Formal definition Find a minimum length f(π) Hamiltonian circuit of a graph G(N,A), where n is number of nodes and π is a permutation of the nodes indices. n 1 f (π)= d π(i)π(i+1) + d π(n)π (1) i=1 7/24
8 Traveling Tournament Problem First attempt to solve onstructive heuristic The nearest neighborhood heuristic is a simple greedy-type construction heuristic It starts from a randomly chosen city Greedy rule: select the closest city that is not yet visited 7 10 A Initial city: losest city: losest city: losest city: losest city: Return city A cost: 8 cost: 7 cost: 13 cost: 7 cost: 9 Total: 44 8/24
9 Traveling Tournament Problem First attempt to solve The nearest neighbour algorithm is easy to implement and executes quickly. Usually the last a few edges added are extremely large, due to the greedy" nature. In some cases it even constructs the unique worst possible tour. How to generate a tour more intelligently? Learn from the previous constructions! 9/24
10 Ant System Ant System is a basic ant behaviour based algorithm. Ants visit the cities sequentially till they obtain a tour. Transition from city i to j depends on: Heuristic desirability to visit city j when in city i, associated to a static value based on the edgecost (distance) ηij Pheromone that represents the learned desirability to visit city i when in city j associated to a dynamic value τij 10/24
11 Ant System Stochastic Solution onstruction Use memory to remember partial tours. eing at a city i choose next city j probabilistically among feasible neighbouring cities. Probabilistic choice depends on: pheromone trails τij heuristic information ηij = 1/dij Random proportional rule at node i is: pkij (t)= [τij (t)]α [ηij ]β k, if j Ν i α β [τ (t )] [η ] il il k l Νi 11/24
12 Ant System Pheromone Update Use pheromone evaporation to avoid unlimited increase of pheromone trails and allow forgetting of earlier choices Pheromone evaporation rate 0 < ρ 1 Use pheromone deposite to positive feedback, reinforcing components of good solutions etter solutions give more feedback 12/24
13 Ant System Pheromone Update xample of pheromone update m τij (t ) = (1 ρ) τ(t 1) + k Δ τ ij k=1 1 Δ τ =, if arc (i, j) is used by ant k on its tour Lk k ij Lk: Tour length of ant k m: number of ants 13/24
14 Ant System Simple pseudo code While!termination() For k = 1 To m o #m number of ants ants[k][1] SelectRandomity() For i = 2 To n o #n number of cities ants[k][i] ASecisionRule(ants, i) ndfor ants[k][n+1] ants[k][1] #to complete the tour ndfor UpdatePheromone(ants) ndwhile 14/24
15 Ant System Simple example For our example with #ants=3, α=2, β=1, ρ=0.5 and τ0=1 1 6 A Pheromone trails 6 Heuristic Information nij A A 1/1 ½ ½ 1/6 1/1 1/6 1/8 1/10 ½ 1/6 1/12 ¼ ½ 1/8 1/12 1/1 1/6 1/10 ¼ 1/1 - tij A A /24
16 Ant System Simple example For ant #1 we start from city (random), selection probabilities α k ij p (t )= [τij (t )] [ηij ] pij [τil (t )]α [ηil ]β l Ν β A [ 0, 0.264, 0.323, 0.354, 1 ] k i Select a city rand 0.80 pij ity selected A [ 0, 0.267, 0.494, 1 ] Select a city rand 0.27 pij ity selected A [ 0, 0.843, 1 ] Select a city rand 0.88 ity selected 16/24
17 Ant System Simple example First iteration we can have: Ant #1: ----A- Ant #2: A-----A Ant #3: ----A- Update the pheromone using this tours m τij (t )=[1 ρ] τ(t 1)+ Δ τijk k=1 And then iterate tij A A /24
18 Ant System xercise #1 Implement Ant System according to the provided template. ++ The following slides give a practical view of the Ant System algorithm procedures. 18/24
19 Ant System Algorithm Solution onstruction 1 Procedure onstructsolutions () 2 For k = 1 To m o #m number of ants 3 For i = 1 To n o #n number of cities 4 ant[k].visited[i] false 5 ndfor 6 ndfor 7 step 1 8 For k = 1 To m o 9 r random{1,..., n} 10 ant[k].tour [step] r 11 ant[k].visited [r] true 12 ndfor 13 While (step < n) o 14 step step For k = 1 To m o 16 ASecisionRule(k, step) 17 ndfor 18 ndwhile 19 For k = 1 To m o 20 ant[k].tour [n+1] ant[k].tour[1] 21 ant[k].tour length omputetourlength(k) 22 ndfor 23 ndprocedure 19/24
20 Ant System Algorithm ecision Rule Procedure ASecisionRule(k, i) #k ant identifier #i counter for construction step c ant[k].tour[i-1] sum_prob = 0.0 For j = 1 To n o If ant[k].visited[j] Then selection_prob[j] 0.0 lse selection_prob[j] choice_info[c][j] sum_prob sum_prob + selection_prob[j] ndif ndfor r random[0, sum_prob] j 1 p selection_prob[j] While (p < r ) o j j + 1 p p + selection_prob[j] ndwhile ant[k].tour[i] j ant[k].visited[j] true ndprocedure 20/24
21 Ant System Algorithm Pheromone Update Procedure ASPheromoneUpdate () vaporate() For k = 1 To m o epositpheromone(k) ndfor omputehoiceinformation() ndprocedure 21/24
22 Ant System Algorithm Pheromone Update Procedure vaporate For i = 1 To n o For j = i To n o pheromone[i][j] (1 ρ) pheromone[i][j] pheromone[j][i] pheromone[i][j] #pheromones are symmetric ndfor ndfor ndprocedure 22/24
23 Ant System Algorithm Pheromone Update 1 Procedure epositpheromone(k) 2 #k ant identifier 3 τ 1/ant[k].tour_length 4 For i = 1 To n o 5 j ant[k].tour[i] 6 l ant[k].tour[i+1] 7 pheromone[j][l] pheromone[j][l] + τ 8 pheromone[l][j] pheromone[j][l] 9 ndfor 10 ndprocedure 23/24
24 Ant System xercise #2 Test and analyse the behaviour of the algorithm. Modify some parameters: Number of ants α, β, ρ What effect can you appreciate? What is the reason? 24/24
Ant Colony Optimization: an introduction. Daniel Chivilikhin
Ant Colony Optimization: an introduction Daniel Chivilikhin 03.04.2013 Outline 1. Biological inspiration of ACO 2. Solving NP-hard combinatorial problems 3. The ACO metaheuristic 4. ACO for the Traveling
More informationARTIFICIAL INTELLIGENCE
BABEŞ-BOLYAI UNIVERSITY Faculty of Computer Science and Mathematics ARTIFICIAL INTELLIGENCE Solving search problems Informed local search strategies Nature-inspired algorithms March, 2017 2 Topics A. Short
More informationAnt Algorithms. Ant Algorithms. Ant Algorithms. Ant Algorithms. G5BAIM Artificial Intelligence Methods. Finally. Ant Algorithms.
G5BAIM Genetic Algorithms G5BAIM Artificial Intelligence Methods Dr. Rong Qu Finally.. So that s why we ve been getting pictures of ants all this time!!!! Guy Theraulaz Ants are practically blind but they
More informationOutline. Ant Colony Optimization. Outline. Swarm Intelligence DM812 METAHEURISTICS. 1. Ant Colony Optimization Context Inspiration from Nature
DM812 METAHEURISTICS Outline Lecture 8 http://www.aco-metaheuristic.org/ 1. 2. 3. Marco Chiarandini Department of Mathematics and Computer Science University of Southern Denmark, Odense, Denmark
More informationImplementation of Travelling Salesman Problem Using ant Colony Optimization
RESEARCH ARTICLE OPEN ACCESS Implementation of Travelling Salesman Problem Using ant Colony Optimization Gaurav Singh, Rashi Mehta, Sonigoswami, Sapna Katiyar* ABES Institute of Technology, NH-24, Vay
More informationAlgorithms and Complexity theory
Algorithms and Complexity theory Thibaut Barthelemy Some slides kindly provided by Fabien Tricoire University of Vienna WS 2014 Outline 1 Algorithms Overview How to write an algorithm 2 Complexity theory
More informationSensitive Ant Model for Combinatorial Optimization
Sensitive Ant Model for Combinatorial Optimization CAMELIA CHIRA cchira@cs.ubbcluj.ro D. DUMITRESCU ddumitr@cs.ubbcluj.ro CAMELIA-MIHAELA PINTEA cmpintea@cs.ubbcluj.ro Abstract: A combinatorial optimization
More informationAlgorithm Design Strategies V
Algorithm Design Strategies V Joaquim Madeira Version 0.0 October 2016 U. Aveiro, October 2016 1 Overview The 0-1 Knapsack Problem Revisited The Fractional Knapsack Problem Greedy Algorithms Example Coin
More informationIntuitionistic Fuzzy Estimation of the Ant Methodology
BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 9, No 2 Sofia 2009 Intuitionistic Fuzzy Estimation of the Ant Methodology S Fidanova, P Marinov Institute of Parallel Processing,
More informationMetaheuristics and Local Search
Metaheuristics and Local Search 8000 Discrete optimization problems Variables x 1,..., x n. Variable domains D 1,..., D n, with D j Z. Constraints C 1,..., C m, with C i D 1 D n. Objective function f :
More information3D HP Protein Folding Problem using Ant Algorithm
3D HP Protein Folding Problem using Ant Algorithm Fidanova S. Institute of Parallel Processing BAS 25A Acad. G. Bonchev Str., 1113 Sofia, Bulgaria Phone: +359 2 979 66 42 E-mail: stefka@parallel.bas.bg
More informationMetaheuristics and Local Search. Discrete optimization problems. Solution approaches
Discrete Mathematics for Bioinformatics WS 07/08, G. W. Klau, 31. Januar 2008, 11:55 1 Metaheuristics and Local Search Discrete optimization problems Variables x 1,...,x n. Variable domains D 1,...,D n,
More informationResearch Article Ant Colony Search Algorithm for Optimal Generators Startup during Power System Restoration
Mathematical Problems in Engineering Volume 2010, Article ID 906935, 11 pages doi:10.1155/2010/906935 Research Article Ant Colony Search Algorithm for Optimal Generators Startup during Power System Restoration
More informationSelf-Adaptive Ant Colony System for the Traveling Salesman Problem
Proceedings of the 29 IEEE International Conference on Systems, Man, and Cybernetics San Antonio, TX, USA - October 29 Self-Adaptive Ant Colony System for the Traveling Salesman Problem Wei-jie Yu, Xiao-min
More informationTravelling Salesman Problem
Travelling Salesman Problem Fabio Furini November 10th, 2014 Travelling Salesman Problem 1 Outline 1 Traveling Salesman Problem Separation Travelling Salesman Problem 2 (Asymmetric) Traveling Salesman
More informationSolving the Homogeneous Probabilistic Traveling Salesman Problem by the ACO Metaheuristic
Solving the Homogeneous Probabilistic Traveling Salesman Problem by the ACO Metaheuristic Leonora Bianchi 1, Luca Maria Gambardella 1 and Marco Dorigo 2 1 IDSIA, Strada Cantonale Galleria 2, CH-6928 Manno,
More informationCS/COE
CS/COE 1501 www.cs.pitt.edu/~nlf4/cs1501/ P vs NP But first, something completely different... Some computational problems are unsolvable No algorithm can be written that will always produce the correct
More informationD1 Discrete Mathematics The Travelling Salesperson problem. The Nearest Neighbour Algorithm The Lower Bound Algorithm The Tour Improvement Algorithm
1 iscrete Mathematics The Travelling Salesperson problem The Nearest Neighbour lgorithm The Lower ound lgorithm The Tour Improvement lgorithm The Travelling Salesperson: Typically a travelling salesperson
More informationSwarm intelligence: Ant Colony Optimisation
Swarm intelligence: Ant Colony Optimisation S Luz luzs@cs.tcd.ie October 7, 2014 Simulating problem solving? Can simulation be used to improve distributed (agent-based) problem solving algorithms? Yes:
More informationIntro to Contemporary Math
Intro to Contemporary Math Hamiltonian Circuits and Nearest Neighbor Algorithm Nicholas Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK Agenda Hamiltonian Circuits and the Traveling Salesman
More informationCapacitor Placement for Economical Electrical Systems using Ant Colony Search Algorithm
Capacitor Placement for Economical Electrical Systems using Ant Colony Search Algorithm Bharat Solanki Abstract The optimal capacitor placement problem involves determination of the location, number, type
More information2 Notation and Preliminaries
On Asymmetric TSP: Transformation to Symmetric TSP and Performance Bound Ratnesh Kumar Haomin Li epartment of Electrical Engineering University of Kentucky Lexington, KY 40506-0046 Abstract We show that
More informationPart B" Ants (Natural and Artificial)! Langton s Vants" (Virtual Ants)! Vants! Example! Time Reversibility!
Part B" Ants (Natural and Artificial)! Langton s Vants" (Virtual Ants)! 11/14/08! 1! 11/14/08! 2! Vants!! Square grid!! Squares can be black or white!! Vants can face N, S, E, W!! Behavioral rule:!! take
More informationData Structures and Algorithms (CSCI 340)
University of Wisconsin Parkside Fall Semester 2008 Department of Computer Science Prof. Dr. F. Seutter Data Structures and Algorithms (CSCI 340) Homework Assignments The numbering of the problems refers
More informationImproving convergence of combinatorial optimization meta-heuristic algorithms
Sapienza Università di Roma A.A. 2012-2013 Facoltà di Scienze Matematiche Fisiche e Naturali Dipartimento di Matematica Guido Castelnuovo PhD in Mathematics Improving convergence of combinatorial optimization
More informationA Framework for Integrating Exact and Heuristic Optimization Methods
A Framework for Integrating Eact and Heuristic Optimization Methods John Hooker Carnegie Mellon University Matheuristics 2012 Eact and Heuristic Methods Generally regarded as very different. Eact methods
More informationCheck off these skills when you feel that you have mastered them. Write in your own words the definition of a Hamiltonian circuit.
Chapter Objectives Check off these skills when you feel that you have mastered them. Write in your own words the definition of a Hamiltonian circuit. Explain the difference between an Euler circuit and
More informationCHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1
CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY E. Amaldi Foundations of Operations Research Politecnico di Milano 1 Goal: Evaluate the computational requirements (this course s focus: time) to solve
More information1 Heuristics for the Traveling Salesman Problem
Praktikum Algorithmen-Entwurf (Teil 9) 09.12.2013 1 1 Heuristics for the Traveling Salesman Problem We consider the following problem. We want to visit all the nodes of a graph as fast as possible, visiting
More informationAnalysis of Algorithms. Unit 5 - Intractable Problems
Analysis of Algorithms Unit 5 - Intractable Problems 1 Intractable Problems Tractable Problems vs. Intractable Problems Polynomial Problems NP Problems NP Complete and NP Hard Problems 2 In this unit we
More informationPROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE
Artificial Intelligence, Computational Logic PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE Lecture 4 Metaheuristic Algorithms Sarah Gaggl Dresden, 5th May 2017 Agenda 1 Introduction 2 Constraint
More information7.1 Basis for Boltzmann machine. 7. Boltzmann machines
7. Boltzmann machines this section we will become acquainted with classical Boltzmann machines which can be seen obsolete being rarely applied in neurocomputing. It is interesting, after all, because is
More informationA Survey on Travelling Salesman Problem
A Survey on Travelling Salesman Problem Sanchit Goyal Department of Computer Science University of North Dakota Grand Forks, North Dakota 58203 sanchitgoyal01@gmail.com Abstract The Travelling Salesman
More informationWarm-up Find the shortest trip (total distance) starting and ending in Chicago and visiting each other city once.
Warm-up Find the shortest trip (total distance) starting and ending in Chicago and visiting each other city once. Minimum-cost Hamiltonian Circuits Practice Homework time Minneapolis Cleveland 779 354
More informationTRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW)
TRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW) Aakash Anuj 10CS30043 Surya Prakash Verma 10AE30026 Yetesh Chaudhary 10CS30044 Supervisor: Prof. Jitesh Thakkar TSP Given a list of cities and the distances
More informationFinding optimal configurations ( combinatorial optimization)
CS 1571 Introduction to AI Lecture 10 Finding optimal configurations ( combinatorial optimization) Milos Hauskrecht milos@cs.pitt.edu 539 Sennott Square Constraint satisfaction problem (CSP) Constraint
More informationArtificial Intelligence Heuristic Search Methods
Artificial Intelligence Heuristic Search Methods Chung-Ang University, Jaesung Lee The original version of this content is created by School of Mathematics, University of Birmingham professor Sandor Zoltan
More information3.4 Relaxations and bounds
3.4 Relaxations and bounds Consider a generic Discrete Optimization problem z = min{c(x) : x X} with an optimal solution x X. In general, the algorithms generate not only a decreasing sequence of upper
More informationMethods for finding optimal configurations
CS 1571 Introduction to AI Lecture 9 Methods for finding optimal configurations Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Search for the optimal configuration Optimal configuration search:
More informationData Structures in Java
Data Structures in Java Lecture 21: Introduction to NP-Completeness 12/9/2015 Daniel Bauer Algorithms and Problem Solving Purpose of algorithms: find solutions to problems. Data Structures provide ways
More informationMethods for finding optimal configurations
S 2710 oundations of I Lecture 7 Methods for finding optimal configurations Milos Hauskrecht milos@pitt.edu 5329 Sennott Square S 2710 oundations of I Search for the optimal configuration onstrain satisfaction
More informationTraffic Signal Control with Swarm Intelligence
009 Fifth International Conference on Natural Computation Traffic Signal Control with Swarm Intelligence David Renfrew, Xiao-Hua Yu Department of Electrical Engineering, California Polytechnic State University
More informationUnit 1A: Computational Complexity
Unit 1A: Computational Complexity Course contents: Computational complexity NP-completeness Algorithmic Paradigms Readings Chapters 3, 4, and 5 Unit 1A 1 O: Upper Bounding Function Def: f(n)= O(g(n)) if
More informationArtificial Intelligence Methods (G5BAIM) - Examination
Question 1 a) Explain the difference between a genotypic representation and a phenotypic representation. Give an example of each. (b) Outline the similarities and differences between Genetic Algorithms
More informationOverview. Optimization. Easy optimization problems. Monte Carlo for Optimization. 1. Survey MC ideas for optimization: (a) Multistart
Monte Carlo for Optimization Overview 1 Survey MC ideas for optimization: (a) Multistart Art Owen, Lingyu Chen, Jorge Picazo (b) Stochastic approximation (c) Simulated annealing Stanford University Intel
More informationHamiltonian Cycle. Zero Knowledge Proof
Hamiltonian Cycle Zero Knowledge Proof Hamiltonian cycle Hamiltonian cycle - A path that visits each vertex exactly once, and ends at the same point it started Example Hamiltonian cycle - A path that visits
More informationA reactive framework for Ant Colony Optimization
A reactive framework for Ant Colony Optimization Madjid Khichane 1,2, Patrick Albert 1, and Christine Solnon 2 1 ILOG SA, 9 rue de Verdun, 94253 Gentilly cedex, France {mkhichane,palbert}@ilog.fr 2 LIRIS
More informationAN ANT APPROACH FOR STRUCTURED QUADRATIC ASSIGNMENT PROBLEMS
AN ANT APPROACH FOR STRUCTURED QUADRATIC ASSIGNMENT PROBLEMS Éric D. Taillard, Luca M. Gambardella IDSIA, Corso Elvezia 36, CH-6900 Lugano, Switzerland. Extended abstract IDSIA-22-97 ABSTRACT. The paper
More informationThe Travelling Salesman Problem with Time Windows: Adapting Algorithms from Travel-time to Makespan Optimization
Université Libre de Bruxelles Institut de Recherches Interdisciplinaires et de Développements en Intelligence Artificielle The Travelling Salesman Problem with Time Windows: Adapting Algorithms from Travel-time
More informationLimits to Approximability: When Algorithms Won't Help You. Note: Contents of today s lecture won t be on the exam
Limits to Approximability: When Algorithms Won't Help You Note: Contents of today s lecture won t be on the exam Outline Limits to Approximability: basic results Detour: Provers, verifiers, and NP Graph
More informationOptimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur. Lecture - 20 Travelling Salesman Problem
Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur Lecture - 20 Travelling Salesman Problem Today we are going to discuss the travelling salesman problem.
More information5. Simulated Annealing 5.1 Basic Concepts. Fall 2010 Instructor: Dr. Masoud Yaghini
5. Simulated Annealing 5.1 Basic Concepts Fall 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Real Annealing and Simulated Annealing Metropolis Algorithm Template of SA A Simple Example References
More informationMathematics for Decision Making: An Introduction. Lecture 8
Mathematics for Decision Making: An Introduction Lecture 8 Matthias Köppe UC Davis, Mathematics January 29, 2009 8 1 Shortest Paths and Feasible Potentials Feasible Potentials Suppose for all v V, there
More informationMauro Birattari, Prasanna Balaprakash, and Marco Dorigo
Chapter 10 THE ACO/F-RACE ALGORITHM FOR COMBINATORIAL OPTIMIZATION UNDER UNCERTAINTY Mauro Birattari, Prasanna Balaprakash, and Marco Dorigo IRIDIA, CoDE, Université Libre de Bruxelles, Brussels, Belgium
More informationarxiv: v2 [cs.ds] 11 Oct 2017
Stochastic Runtime Analysis of a Cross-Entropy Algorithm for Traveling Salesman Problems Zijun Wu a,1,, Rolf H. Möhring b,2,, Jianhui Lai c, arxiv:1612.06962v2 [cs.ds] 11 Oct 2017 a Beijing Institute for
More informationAn ant colony algorithm applied to lay-up optimization of laminated composite plates
10(2013) 491 504 An ant colony algorithm applied to lay-up optimization of laminated composite plates Abstract Ant colony optimization (ACO) is a class of heuristic algorithms proposed to solve optimization
More informationSingle Machine Models
Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 8 Single Machine Models 1. Dispatching Rules 2. Single Machine Models Marco Chiarandini DM87 Scheduling, Timetabling and Routing 2 Outline Dispatching
More informationLin-Kernighan Heuristic. Simulated Annealing
DM63 HEURISTICS FOR COMBINATORIAL OPTIMIZATION Lecture 6 Lin-Kernighan Heuristic. Simulated Annealing Marco Chiarandini Outline 1. Competition 2. Variable Depth Search 3. Simulated Annealing DM63 Heuristics
More informationPolynomial-time Reductions
Polynomial-time Reductions Disclaimer: Many denitions in these slides should be taken as the intuitive meaning, as the precise meaning of some of the terms are hard to pin down without introducing the
More informationHamiltonian(t) - An Ant-Inspired Heuristic for Recognizing Hamiltonian Graphs
to appear in CEC 99 Hamiltonian(t) - An Ant-Inspired Heuristic for Recognizing Hamiltonian Graphs Israel A Wagner and Alfred M Bruckstein 3 IBM Haifa Research Lab, Matam, Haifa 395, Israel Department of
More informationNondeterministic Polynomial Time
Nondeterministic Polynomial Time 11/1/2016 Discrete Structures (CS 173) Fall 2016 Gul Agha Slides based on Derek Hoiem, University of Illinois 1 2016 CS Alumni Awards Sohaib Abbasi (BS 78, MS 80), Chairman
More informationArtificial Intelligence Methods (G5BAIM) - Examination
Question 1 a) According to John Koza there are five stages when planning to solve a problem using a genetic program. What are they? Give a short description of each. (b) How could you cope with division
More informationConstraint satisfaction search. Combinatorial optimization search.
CS 1571 Introduction to AI Lecture 8 Constraint satisfaction search. Combinatorial optimization search. Milos Hauskrecht milos@cs.pitt.edu 539 Sennott Square Constraint satisfaction problem (CSP) Objective:
More informationChapter 17: Ant Algorithms
Computational Intelligence: Second Edition Contents Some Facts Ants appeared on earth some 100 million years ago The total ant population is estimated at 10 16 individuals [10] The total weight of ants
More informationIntroduction to Integer Programming
Lecture 3/3/2006 p. /27 Introduction to Integer Programming Leo Liberti LIX, École Polytechnique liberti@lix.polytechnique.fr Lecture 3/3/2006 p. 2/27 Contents IP formulations and examples Total unimodularity
More information8.3 Hamiltonian Paths and Circuits
8.3 Hamiltonian Paths and Circuits 8.3 Hamiltonian Paths and Circuits A Hamiltonian path is a path that contains each vertex exactly once A Hamiltonian circuit is a Hamiltonian path that is also a circuit
More informationGTOC 7 Team 12 Solution
GTOC 7 Team 12 Solution Telespazio Vega Deutschland GmbH (Germany) Holger Becker, Gianni Casonato, Bernard Godard, Olympia Kyriopoulos, Ganesh Lalgudi, Matteo Renesto Contact: bernard godard
More informationStatistical Machine Translation. Part III: Search Problem. Complexity issues. DP beam-search: with single and multi-stacks
Statistical Machine Translation Marcello Federico FBK-irst Trento, Italy Galileo Galilei PhD School - University of Pisa Pisa, 7-19 May 008 Part III: Search Problem 1 Complexity issues A search: with single
More informationAn Enhanced Aggregation Pheromone System for Real-Parameter Optimization in the ACO Metaphor
An Enhanced Aggregation Pheromone System for Real-Parameter ptimization in the AC Metaphor Shigeyoshi Tsutsui Hannan University, Matsubara, saka 58-852, Japan tsutsui@hannan-u.ac.jp Abstract. In previous
More informationUpdating ACO Pheromones Using Stochastic Gradient Ascent and Cross-Entropy Methods
Updating ACO Pheromones Using Stochastic Gradient Ascent and Cross-Entropy Methods Marco Dorigo 1, Mark Zlochin 2,, Nicolas Meuleau 3, and Mauro Birattari 4 1 IRIDIA, Université Libre de Bruxelles, Brussels,
More informationThe quest for finding Hamiltonian cycles
The quest for finding Hamiltonian cycles Giang Nguyen School of Mathematical Sciences University of Adelaide Travelling Salesman Problem Given a list of cities and distances between cities, what is the
More informationSAT, Coloring, Hamiltonian Cycle, TSP
1 SAT, Coloring, Hamiltonian Cycle, TSP Slides by Carl Kingsford Apr. 28, 2014 Sects. 8.2, 8.7, 8.5 2 Boolean Formulas Boolean Formulas: Variables: x 1, x 2, x 3 (can be either true or false) Terms: t
More informationNP-Completeness. ch34 Hewett. Problem. Tractable Intractable Non-computable computationally infeasible super poly-time alg. sol. E.g.
NP-Completeness ch34 Hewett Problem Tractable Intractable Non-computable computationally infeasible super poly-time alg. sol. E.g., O(2 n ) computationally feasible poly-time alg. sol. E.g., O(n k ) No
More informationVehicle Routing and Scheduling. Martin Savelsbergh The Logistics Institute Georgia Institute of Technology
Vehicle Routing and Scheduling Martin Savelsbergh The Logistics Institute Georgia Institute of Technology Vehicle Routing and Scheduling Part II: Algorithmic Enhancements Handling Practical Complexities
More informationAlgorithms and Theory of Computation. Lecture 22: NP-Completeness (2)
Algorithms and Theory of Computation Lecture 22: NP-Completeness (2) Xiaohui Bei MAS 714 November 8, 2018 Nanyang Technological University MAS 714 November 8, 2018 1 / 20 Set Cover Set Cover Input: a set
More informationMotivation, Basic Concepts, Basic Methods, Travelling Salesperson Problem (TSP), Algorithms
Motivation, Basic Concepts, Basic Methods, Travelling Salesperson Problem (TSP), Algorithms 1 What is Combinatorial Optimization? Combinatorial Optimization deals with problems where we have to search
More information( ) ( ) ( ) ( ) Simulated Annealing. Introduction. Pseudotemperature, Free Energy and Entropy. A Short Detour into Statistical Mechanics.
Aims Reference Keywords Plan Simulated Annealing to obtain a mathematical framework for stochastic machines to study simulated annealing Parts of chapter of Haykin, S., Neural Networks: A Comprehensive
More informationLecture 6 January 21, 2013
UBC CPSC 536N: Sparse Approximations Winter 03 Prof. Nick Harvey Lecture 6 January, 03 Scribe: Zachary Drudi In the previous lecture, we discussed max flow problems. Today, we consider the Travelling Salesman
More informationTechnische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)
Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik Combinatorial Optimization (MA 4502) Dr. Michael Ritter Problem Sheet 1 Homework Problems Exercise
More informationVNS for the TSP and its variants
VNS for the TSP and its variants Nenad Mladenović, Dragan Urošević BALCOR 2011, Thessaloniki, Greece September 23, 2011 Mladenović N 1/37 Variable neighborhood search for the TSP and its variants Problem
More informationNP-Completeness. CptS 223 Advanced Data Structures. Larry Holder School of Electrical Engineering and Computer Science Washington State University
NP-Completeness CptS 223 Advanced Data Structures Larry Holder School of Electrical Engineering and Computer Science Washington State University 1 Hard Graph Problems Hard means no known solutions with
More informationABHELSINKI UNIVERSITY OF TECHNOLOGY
Approximation Algorithms Seminar 1 Set Cover, Steiner Tree and TSP Siert Wieringa siert.wieringa@tkk.fi Approximation Algorithms Seminar 1 1/27 Contents Approximation algorithms for: Set Cover Steiner
More informationBounds on the Traveling Salesman Problem
Bounds on the Traveling Salesman Problem Sean Zachary Roberson Texas A&M University MATH 613, Graph Theory A common routing problem is as follows: given a collection of stops (for example, towns, stations,
More informationA Note on the Parameter of Evaporation in the Ant Colony Optimization Algorithm
International Mathematical Forum, Vol. 6, 2011, no. 34, 1655-1659 A Note on the Parameter of Evaporation in the Ant Colony Optimization Algorithm Prasanna Kumar Department of Mathematics Birla Institute
More informationTraveling Salesman Problem (TSP) - Visit every city and then go home.
Traveling Salesman Problem (TSP) - Visit every city and then go home. Seattle Detroit Boston Toledo Cleveland L. A. Columbus New Orleans Atlanta Orlando A Hamiltonian Path is a path that goes through each
More informationSIMU L TED ATED ANNEA L NG ING
SIMULATED ANNEALING Fundamental Concept Motivation by an analogy to the statistical mechanics of annealing in solids. => to coerce a solid (i.e., in a poor, unordered state) into a low energy thermodynamic
More informationTractable & Intractable Problems
Tractable & Intractable Problems We will be looking at : What is a P and NP problem NP-Completeness The question of whether P=NP The Traveling Salesman problem again Programming and Data Structures 1 Polynomial
More informationMining Spatial Trends by a Colony of Cooperative Ant Agents
Mining Spatial Trends by a Colony of Cooperative Ant Agents Ashan Zarnani Masoud Rahgozar Abstract Large amounts of spatially referenced data has been aggregated in various application domains such as
More informationarxiv: v1 [math.oc] 22 Feb 2018
2VRP: a benchmark problem for small but rich VRPs. arxiv:1802.08042v1 [math.oc] 22 Feb 2018 Vladimir Deineko Bettina Klinz Abstract We consider a 2-vehicle routing problem (2VRP) which can be viewed as
More informationScheduling and Optimization Course (MPRI)
MPRI Scheduling and optimization: lecture p. /6 Scheduling and Optimization Course (MPRI) Leo Liberti LIX, École Polytechnique, France MPRI Scheduling and optimization: lecture p. /6 Teachers Christoph
More informationComputational Intelligence Methods
Computational Intelligence Methods Ant Colony Optimization, Partical Swarm Optimization Pavel Kordík, Martin Šlapák Katedra teoretické informatiky FIT České vysoké učení technické v Praze MI-MVI, ZS 2011/12,
More informationBranch-and-Bound for the Travelling Salesman Problem
Branch-and-Bound for the Travelling Salesman Problem Leo Liberti LIX, École Polytechnique, F-91128 Palaiseau, France Email:liberti@lix.polytechnique.fr March 15, 2011 Contents 1 The setting 1 1.1 Graphs...............................................
More informationHopfield networks. Lluís A. Belanche Soft Computing Research Group
Lluís A. Belanche belanche@lsi.upc.edu Soft Computing Research Group Dept. de Llenguatges i Sistemes Informàtics (Software department) Universitat Politècnica de Catalunya 2010-2011 Introduction Content-addressable
More informationExercises NP-completeness
Exercises NP-completeness Exercise 1 Knapsack problem Consider the Knapsack problem. We have n items, each with weight a j (j = 1,..., n) and value c j (j = 1,..., n) and an integer B. All a j and c j
More informationVIII. NP-completeness
VIII. NP-completeness 1 / 15 NP-Completeness Overview 1. Introduction 2. P and NP 3. NP-complete (NPC): formal definition 4. How to prove a problem is NPC 5. How to solve a NPC problem: approximate algorithms
More informationThe P versus NP Problem. Ker-I Ko. Stony Brook, New York
The P versus NP Problem Ker-I Ko Stony Brook, New York ? P = NP One of the seven Millenium Problems The youngest one A folklore question? Has hundreds of equivalent forms Informal Definitions P : Computational
More informationAnt Colony Optimization. Prepared by: Ahmad Elshamli, Daniel Asmar, Fadi Elmasri
Ant Colony Optimization Prepared by: Ahmad Elshamli, Daniel Asmar, Fadi Elmasri Section I (Introduction) Historical Background Ant System Modified algorithms Section II (Applications) TSP QAP Presentation
More informationMCMC Simulated Annealing Exercises.
Aula 10. Simulated Annealing. 0 MCMC Simulated Annealing Exercises. Anatoli Iambartsev IME-USP Aula 10. Simulated Annealing. 1 [Wiki] Salesman problem. The travelling salesman problem (TSP), or, in recent
More informationHamiltonian Cycle. Hamiltonian Cycle
Hamiltonian Cycle Hamiltonian Cycle Hamiltonian Cycle Problem Hamiltonian Cycle Given a directed graph G, is there a cycle that visits every vertex exactly once? Such a cycle is called a Hamiltonian cycle.
More informationAn ACO Algorithm for the Most Probable Explanation Problem
An ACO Algorithm for the Most Probable Explanation Problem Haipeng Guo 1, Prashanth R. Boddhireddy 2, and William H. Hsu 3 1 Department of Computer Science, Hong Kong University of Science and Technology
More information