Massively Parallel Approximation Algorithms for the Traveling Salesman Problem

Size: px
Start display at page:

Download "Massively Parallel Approximation Algorithms for the Traveling Salesman Problem"

Transcription

1 Massively Parallel Approximation Algorithms for the Traveling Salesman Problem Vaibhav Gandhi May 14, 2015 Abstract This paper introduces the reader to massively parallel approximation algorithms which compute an optimal tour close to the best tour for a traveling salesman going through a set of cities. The algorithms mentioned in this paper take advantage of parallel computing. The paper compares and analyzes the results of an exhaustive search against the massively parallel approximation algorithms. 1 Introduction The traveling salesman problem (TSP) describes a salesman who needs to travel through a list of given cities exactly once by taking the shortest possible tour. The problem is NP-Complete since there are no known polynomial time algorithms to solve it. The main motivation to solve this problem is that the applications of Traveling Salesman are immense. It can be used by banks to find an optimal route for updating cash in ATMs, by delivery companies to chalk out the best possible route between the delivery centers and save up on fuel and man hours. It can be used outside of delivery based applications too. For example it can be used for drilling holes in circuits. The easiest way to solve the traveling salesman problem would be by using brute force search which is also called as exhaustive search. The algorithm involves going through each possible ordered permutation of cities and finding out the cheapest route. The running time for this approach is O(n!) which is the factorial of the number of cities. One can easily say that this kind of solution is not feasible even for computing the route between 20 cities. This is a serious limitation. Recent advances by vendors like Amazon, Google and Microsoft have made cloud services easily accessible to the public. One can easily harness the power of the cloud to solve huge problems at a fraction of the cost in parallel by making use of multiple cores on multiple nodes. Traveling salesman is one such problem that can be modified for such infrastructure. 1

2 This paper proposes two Massively Parallel Approximation algorithms which can be used to obtain approximate solutions close to the best solutions for the traveling salesman problem. The paper is broken down as follows: Section 2 provides a brief overview of the literature that was reviewed and that inspired the design of these algorithms. Section 3 provides description of the algorithms. Section 4 discusses the results of the experiments. Section 5 contains an analysis of the results and Section 6 concludes the paper with final comments and future plans in this area. 2 Related Work The following papers were reviewed and used a basis for designing the algorithms proposed in this paper. 1. A parallel Tabu search algorithm for large traveling salesman problems [2]: Fiechter, the author, proposes the use of Tabu Search for global optimization. The algorithm starts of by generating a tour and then making modifications to it iteratively till we get the possible tour. The methods mentioned in the paper are adapted for parallel computing and used to find tours for up to 100,000 cities. 2. Parallel Heuristics for TSP on MapReduce [3]: The authors of this paper propose an adapted version of Neighbourhood Search and Tabu Search that uses MapReduce to compute tours in parallel. The results of these 2 algorithms are compared against a sequential algorithm and the authors conclude that the algorithms are not well suited for MapReduce. 3. Ant Colony System: A Cooperative Learning Approach to the Traveling Salesman Problem[1]: The authors of this paper are intrigued by the way ants move around and they adapt this knowledge to solve the traveling salesman problem. 4. New Parallel Randomized Algorithms for the Traveling Salesman Problem [5]: The authors demonstrate a new method based on randomized optimization which partitions feasible regions into sub regions and manipulates the regions based on random sampling. The techniques described further on in this paper take inspiration from the literature reviewed but differs a lot from it. Concepts like Tabu search and Randomized optimizations were modified for these techniques. The central idea of both of the techniques is to start with a tour and work on it to reach local minima whereas some of the papers reviewed usually worked by computing a tour. 3 Algorithm Description The algorithms mentioned below makes use of a seed to generate a graph of cities in a 1000 x 1000 area. The seed is used to initialize the pseudo random 2

3 number generator. The random number generator randomly assigns each city an x and y coordinate in this space. The distance between any two cities is the Euclidean Distance which is the length of the line segment connecting the two cities. The cost of the tour or length of the route is computed by calculating the Euclidean Distance between subsequent cities. 3.1 Exhaustive Branch and Bound Search Exhaustive search goes through each possible tour and finds the shortest possible route. For the purpose of this research paper, a modified version of exhaustive search was implemented to work on a multi-core computer. Each core would compute a different tour and the results from all the cores were combined to find the shortest tour. Over all for a quad core computer, each core would compute (n!)/4 routes where n is the number of cities. Despite executing the algorithm in parallel, the running time of the program was in exponential time. To overcome this, the exhaustive algorithm was modified to make use of branch and bound pruning. A starting city is known, which is the root node. The nodes of the tree are different cities. A branch is a route from root to the leaf node. Cities do not repeat in a branch. Every time a branch is computed, a cost which is the length of the tour, is obtained. This cost is maintained globally. Every new branch computed is checked against the lowest cost of previous branches. This is called bounding. Any branch that exceeds the bounds is pruned, i.e. the route is going to lead to a lengthier tour and thus is not worth computing. This results in fewer computations without affecting the quality of the solution. 3.2 Approximation Algorithms The algorithms mentioned below start by generating a tour and processing it to find the most optimal approximate tour Massively Parallel Stochastic Search Stochastic Search is a modified Local Search. The problem of getting stuck in local minima in local search leads to not so optimal results. Stochastic Search randomizes the initialization step which leads to random solutions. The stochastic algorithm randomly generates an initial tour using a combination of user submitted seed and the iteration number. The cost of this tour is computed. The cities in this tour are randomly swapped and resulting in new routes and after each swapping the cost is recomputed. This step is repeated till the cost of the current route is better than the cost of the previous route. The point where there is no improvement in the cost is the local minima. The steps listed above are repeated for a number of iterations and the lowest local minima from these iterations is the lowest cost route using this approach. 3

4 The program was modified to work on a multi-core computer. For a quad core computer, each core would compute n/4 routes where n is the number of iterations Massively Parallel Random Search The Random Search algorithm randomly generates an initial tour using a combination of user submitted seed and the iteration number. The cost of this tour is computed. This is repeated for a number of iterations and the lowest cost from these iterations is the lowest cost route using this approach. 4 Results A 16 core parallel computer was used for all the experiments mentioned in this paper. Different systems were not used so as to compare the time complexity of both algorithms as well as the superiority of the results. Parallel Java 2, a library developed by Prof. Alan Kaminsky [4] was used for handling all the parallel communication, segmentation of iterations and management of task between cores and aggregation of the results from the different cores. The results obtained from the Exhaustive Search are used as a benchmark for the Approximation Algorithms. Shown below in Table 1 is a copy of the results for the exhaustive search for seed 456. Table 2 and Table 3 contain a snapshot of the data from Stochastic Search and Random Search for the same seed. Cities Time (ms) Cost Table 1: Exhaustive Cost values for Seed : 456 All the remaining graphical plots of the results are presented in Appendix A. The data for other seeds can be found in an accompanying cd drive. 4

5 Table 2: Stochastic and Random data for Seed : 456 5

6 Table 3: Continuation of Stochastic and Random data for Seed : 456 6

7 Figure 1: Plot of Cost Comparison for 10 iterations for Seed : 456 Stochastic Search performs way better than Random Search as compared to Exhaustive Search in terms of cost as expected for 10 iterations Figure 2: Plot of Time Comparison for 10 iterations for Seed : 456 Time required for Stochastic Search and Random Search is negligible (approx 10ms) for 10 iterations as compared to Exhaustive Search. 7

8 Figure 3: Plot of Cost Comparison for iterations for Seed : 456 Stochastic Search performs close to Exhaustive Search in terms of cost but Random Search is not good enough for iterations. Figure 4: Plot of Time Comparison for iterations for Seed : 456 Time required for Stochastic Search and Random Search is negligible (approx 100ms) for iterations as compared to Exhaustive Search. 8

9 Figure 5: Plot of Percentage Cost Difference for 10 cities for Seed : 456 The percentage cost difference of Stochastic or Random Search vs Exhaustive Search constantly decreases till it eventually reaches 0. Figure 6: Plot of Percentage Cost Difference for 18 cities for Seed : 456 The percentage cost difference of Stochastic or Random Search vs Exhaustive Search constantly decreases till it reaches a threshold after which there is no improvement. 9

10 Figure 7: Plot of Percentage Cost Difference for Stochastic Search for Seed : 456 Stochastic Search approaches cost obtained from Exhaustive Search. Figure 8: Plot of Percentage Cost Difference for Random Search for Seed : 456 For more number of cities, Random search performs poorly. 10

11 5 Analysis Massively Parallel Stochastic Search works much better than Massively Parallel Random Search as compared to the results from Branch and Bound Exhaustive Search. Stochastic Search comes to within 5% of the cost of the Exhaustive Search but in 0.05% time. Stochastic Search was expected to perform better than the Random Search and it did as shown in the results. This is because Stochastic Search improves on the randomly generated tour in each iteration to reach a better local minima as compared to the Random Search. As cities increase, Stochastic Search as well as Random Search require more number of iterations to reach the solution closest to the tour computed from Exhaustive Search. This is because the number of possibilities increase exponentially for each new city (O(n!) number of possibility where n is the number of cities). Both Random Search and Stochastic Search require only a fraction of the time (0.05%) of Exhaustive Search despite the number of iterations because the algorithms do not compute the possibilities but rather process a randomly generated tour at each iteration which is very fast. 6 Future Work As observed from the results, the Stochastic Search is able to evaluate the same route as Exhaustive Search or in most cases computes a route with cost approaching less than 5% cost difference. This is achieved at a fraction of the time of Exhaustive search. Random Search on the other hand does not get such good results. This was expected from the start. In future, I want to try different approaches that would lead to better results in terms of cost and time. I also want to try the current algorithms on real data sourced from one of the maps to visualize the results. References [1] M. Dorigo and L. M. Gambardella. Ant colony system: a cooperative learning approach to the traveling salesman problem. Evolutionary Computation, IEEE Transactions on, 1(1):53 66, [2] C.-N. Fiechter. A parallel tabu search algorithm for large traveling salesman problems. Discrete Applied Mathematics, 51(3): , [3] S. Jain and M. Mallozzi. Parallel heuristics for tsp on mapreduce. Brown University, [4] A. Kaminsky. Parallel java 2 library, [5] L. Shi, S. Ólafsson, and N. Sun. New parallel randomized algorithms for the traveling salesman problem. Computers & Operations Research, 26(4): ,

12 Appendix A : Graphical Plots Figure 9: Plot of Cost Comparison for 10 iterations for Seed :

13 Figure 10: Plot of Time Comparison for 10 iterations for Seed : Figure 11: Plot of Cost Comparison for iterations for Seed :

14 Figure 12: Plot of Time Comparison for iterations for Seed : Figure 13: Plot of Percentage Cost Difference for 10 cities for Seed :

15 Figure 14: Plot of Percentage Cost Difference for 18 cities for Seed : Figure 15: Plot of Percentage Cost Difference for Stochastic Search vs Exhaustive Search for Seed :

16 Figure 16: Plot of Percentage Cost Difference for Random Search vs Exhaustive Search for Seed :

17 Figure 17: Plot of Cost Comparison for 10 iterations for Seed :

18 Figure 18: Plot of Time Comparison for 10 iterations for Seed : Figure 19: Plot of Cost Comparison for iterations for Seed :

19 Figure 20: Plot of Time Comparison for iterations for Seed : Figure 21: Plot of Percentage Cost Difference for 10 cities for Seed :

20 Figure 22: Plot of Percentage Cost Difference for 18 cities for Seed : Figure 23: Plot of Percentage Cost Difference for Stochastic Search vs Exhaustive Search for Seed :

21 Figure 24: Plot of Percentage Cost Difference for Random Search vs Exhaustive Search for Seed :

22 Figure 25: Plot of Cost Comparison for 10 iterations for Seed :

23 Figure 26: Plot of Time Comparison for 10 iterations for Seed : Figure 27: Plot of Cost Comparison for iterations for Seed :

24 Figure 28: Plot of Time Comparison for iterations for Seed : Figure 29: Plot of Percentage Cost Difference for 10 cities for Seed :

25 Figure 30: Plot of Percentage Cost Difference for 18 cities for Seed : Figure 31: Plot of Percentage Cost Difference for Stochastic Search vs Exhaustive Search for Seed :

26 Figure 32: Plot of Percentage Cost Difference for Random Search vs Exhaustive Search for Seed :

27 Figure 33: Plot of Cost Comparison for 10 iterations for Seed :

28 Figure 34: Plot of Time Comparison for 10 iterations for Seed : 9876 Figure 35: Plot of Cost Comparison for iterations for Seed :

29 Figure 36: Plot of Time Comparison for iterations for Seed : 9876 Figure 37: Plot of Percentage Cost Difference for 10 cities for Seed :

30 Figure 38: Plot of Percentage Cost Difference for 18 cities for Seed : 9876 Figure 39: Plot of Percentage Cost Difference for Stochastic Search vs Exhaustive Search for Seed :

31 Figure 40: Plot of Percentage Cost Difference for Random Search vs Exhaustive Search for Seed :

32 Figure 41: Plot of Cost Comparison for 10 iterations for Seed :

33 Figure 42: Plot of Time Comparison for 10 iterations for Seed : 1053 Figure 43: Plot of Cost Comparison for iterations for Seed :

34 Figure 44: Plot of Time Comparison for iterations for Seed : 1053 Figure 45: Plot of Percentage Cost Difference for 10 cities for Seed :

35 Figure 46: Plot of Percentage Cost Difference for 18 cities for Seed : 1053 Figure 47: Plot of Percentage Cost Difference for Stochastic Search vs Exhaustive Search for Seed :

36 Figure 48: Plot of Percentage Cost Difference for Random Search vs Exhaustive Search for Seed :

37 Figure 49: Plot of Cost Comparison for 10 iterations for Seed :

38 Figure 50: Plot of Time Comparison for 10 iterations for Seed : 2179 Figure 51: Plot of Cost Comparison for iterations for Seed :

39 Figure 52: Plot of Time Comparison for iterations for Seed : 2179 Figure 53: Plot of Percentage Cost Difference for 10 cities for Seed :

40 Figure 54: Plot of Percentage Cost Difference for 18 cities for Seed : 2179 Figure 55: Plot of Percentage Cost Difference for Stochastic Search vs Exhaustive Search for Seed :

41 Figure 56: Plot of Percentage Cost Difference for Random Search vs Exhaustive Search for Seed :

42 Figure 57: Plot of Cost Comparison for 10 iterations for Seed :

43 Figure 58: Plot of Time Comparison for 10 iterations for Seed : 6630 Figure 59: Plot of Cost Comparison for iterations for Seed :

44 Figure 60: Plot of Time Comparison for iterations for Seed : 6630 Figure 61: Plot of Percentage Cost Difference for 10 cities for Seed :

45 Figure 62: Plot of Percentage Cost Difference for 18 cities for Seed : 6630 Figure 63: Plot of Percentage Cost Difference for Stochastic Search vs Exhaustive Search for Seed :

46 Figure 64: Plot of Percentage Cost Difference for Random Search vs Exhaustive Search for Seed :

47 Figure 65: Plot of Cost Comparison for 10 iterations for Seed :

48 Figure 66: Plot of Time Comparison for 10 iterations for Seed : 5545 Figure 67: Plot of Cost Comparison for iterations for Seed :

49 Figure 68: Plot of Time Comparison for iterations for Seed : 5545 Figure 69: Plot of Percentage Cost Difference for 10 cities for Seed :

50 Figure 70: Plot of Percentage Cost Difference for 18 cities for Seed : 5545 Figure 71: Plot of Percentage Cost Difference for Stochastic Search vs Exhaustive Search for Seed :

51 Figure 72: Plot of Percentage Cost Difference for Random Search vs Exhaustive Search for Seed :

52 Figure 73: Plot of Cost Comparison for 10 iterations for Seed :

53 Figure 74: Plot of Time Comparison for 10 iterations for Seed : 1078 Figure 75: Plot of Cost Comparison for iterations for Seed :

54 Figure 76: Plot of Time Comparison for iterations for Seed : 1078 Figure 77: Plot of Percentage Cost Difference for 10 cities for Seed :

55 Figure 78: Plot of Percentage Cost Difference for 18 cities for Seed : 1078 Figure 79: Plot of Percentage Cost Difference for Stochastic Search vs Exhaustive Search for Seed :

56 Figure 80: Plot of Percentage Cost Difference for Random Search vs Exhaustive Search for Seed :

Fuzzy Inspired Hybrid Genetic Approach to Optimize Travelling Salesman Problem

Fuzzy Inspired Hybrid Genetic Approach to Optimize Travelling Salesman Problem Fuzzy Inspired Hybrid Genetic Approach to Optimize Travelling Salesman Problem Bindu Student, JMIT Radaur binduaahuja@gmail.com Mrs. Pinki Tanwar Asstt. Prof, CSE, JMIT Radaur pinki.tanwar@gmail.com Abstract

More information

Travelling Salesman Problem: Tabu Search

Travelling Salesman Problem: Tabu Search Travelling Salesman Problem: Tabu Search (Anonymized) April 2017 Abstract The Tabu Search algorithm is a heuristic method to find optimal solutions to the Travelling Salesman Problem (TSP). It is a local

More information

Travelling salesman problem using reduced algorithmic Branch and bound approach P. Ranjana Hindustan Institute of Technology and Science

Travelling salesman problem using reduced algorithmic Branch and bound approach P. Ranjana Hindustan Institute of Technology and Science Volume 118 No. 20 2018, 419-424 ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu ijpam.eu Travelling salesman problem using reduced algorithmic Branch and bound approach P. Ranjana Hindustan

More information

Machine Learning for Software Engineering

Machine Learning for Software Engineering Machine Learning for Software Engineering Introduction and Motivation Prof. Dr.-Ing. Norbert Siegmund Intelligent Software Systems 1 2 Organizational Stuff Lectures: Tuesday 11:00 12:30 in room SR015 Cover

More information

(Refer Slide Time: 01:00)

(Refer Slide Time: 01:00) Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture minus 26 Heuristics for TSP In this lecture, we continue our discussion

More information

ACO and other (meta)heuristics for CO

ACO and other (meta)heuristics for CO ACO and other (meta)heuristics for CO 32 33 Outline Notes on combinatorial optimization and algorithmic complexity Construction and modification metaheuristics: two complementary ways of searching a solution

More information

Homework 2: Search and Optimization

Homework 2: Search and Optimization Scott Chow ROB 537: Learning Based Control October 16, 2017 Homework 2: Search and Optimization 1 Introduction The Traveling Salesman Problem is a well-explored problem that has been shown to be NP-Complete.

More information

Pre-requisite Material for Course Heuristics and Approximation Algorithms

Pre-requisite Material for Course Heuristics and Approximation Algorithms Pre-requisite Material for Course Heuristics and Approximation Algorithms This document contains an overview of the basic concepts that are needed in preparation to participate in the course. In addition,

More information

CSE 417 Branch & Bound (pt 4) Branch & Bound

CSE 417 Branch & Bound (pt 4) Branch & Bound CSE 417 Branch & Bound (pt 4) Branch & Bound Reminders > HW8 due today > HW9 will be posted tomorrow start early program will be slow, so debugging will be slow... Review of previous lectures > Complexity

More information

Parallel Computing in Combinatorial Optimization

Parallel Computing in Combinatorial Optimization Parallel Computing in Combinatorial Optimization Bernard Gendron Université de Montréal gendron@iro.umontreal.ca Course Outline Objective: provide an overview of the current research on the design of parallel

More information

Parallel Programming to solve Traveling Salesman Problem. Team Parallax Jaydeep Untwal Sushil Mohite Harsh Sadhvani parallax.hpearth.

Parallel Programming to solve Traveling Salesman Problem. Team Parallax Jaydeep Untwal Sushil Mohite Harsh Sadhvani parallax.hpearth. Parallel Programming to solve Traveling Salesman Problem Team Parallax Jaydeep Untwal Sushil Mohite Harsh Sadhvani parallax.hpearth.com What is the traveling salesman problem? Given a list of cities and

More information

Ant Colony Optimization: The Traveling Salesman Problem

Ant Colony Optimization: The Traveling Salesman Problem Ant Colony Optimization: The Traveling Salesman Problem Section 2.3 from Swarm Intelligence: From Natural to Artificial Systems by Bonabeau, Dorigo, and Theraulaz Andrew Compton Ian Rogers 12/4/2006 Traveling

More information

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS Gabriela Ochoa http://www.cs.stir.ac.uk/~goc/ OUTLINE Optimisation problems Optimisation & search Two Examples The knapsack problem

More information

CS 440 Theory of Algorithms /

CS 440 Theory of Algorithms / CS 440 Theory of Algorithms / CS 468 Algorithms in Bioinformaticsi Brute Force. Design and Analysis of Algorithms - Chapter 3 3-0 Brute Force A straightforward approach usually based on problem statement

More information

Massively Parallel Seesaw Search for MAX-SAT

Massively Parallel Seesaw Search for MAX-SAT Massively Parallel Seesaw Search for MAX-SAT Harshad Paradkar Rochester Institute of Technology hp7212@rit.edu Prof. Alan Kaminsky (Advisor) Rochester Institute of Technology ark@cs.rit.edu Abstract The

More information

Amanur Rahman Saiyed (Indiana State University) THE TRAVELING SALESMAN PROBLEM November 22, / 21

Amanur Rahman Saiyed (Indiana State University) THE TRAVELING SALESMAN PROBLEM November 22, / 21 . Amanur Rahman Saiyed (Indiana State University) THE TRAVELING SALESMAN PROBLEM November 22, 2011 1 / 21 THE TRAVELING SALESMAN PROBLEM Amanur Rahman Saiyed Indiana State University November 22, 2011

More information

Optimal tour along pubs in the UK

Optimal tour along pubs in the UK 1 From Facebook Optimal tour along 24727 pubs in the UK Road distance (by google maps) see also http://www.math.uwaterloo.ca/tsp/pubs/index.html (part of TSP homepage http://www.math.uwaterloo.ca/tsp/

More information

IE 102 Spring Routing Through Networks - 1

IE 102 Spring Routing Through Networks - 1 IE 102 Spring 2017 Routing Through Networks - 1 The Bridges of Koenigsberg: Euler 1735 Graph Theory began in 1735 Leonard Eüler Visited Koenigsberg People wondered whether it is possible to take a walk,

More information

Solving the Traveling Salesman Problem using Reinforced Ant Colony Optimization techniques

Solving the Traveling Salesman Problem using Reinforced Ant Colony Optimization techniques Solving the Traveling Salesman Problem using Reinforced Ant Colony Optimization techniques N.N.Poddar 1, D. Kaur 2 1 Electrical Engineering and Computer Science, University of Toledo, Toledo, OH, USA 2

More information

Non-deterministic Search techniques. Emma Hart

Non-deterministic Search techniques. Emma Hart Non-deterministic Search techniques Emma Hart Why do local search? Many real problems are too hard to solve with exact (deterministic) techniques Modern, non-deterministic techniques offer ways of getting

More information

CSC 8301 Design and Analysis of Algorithms: Exhaustive Search

CSC 8301 Design and Analysis of Algorithms: Exhaustive Search CSC 8301 Design and Analysis of Algorithms: Exhaustive Search Professor Henry Carter Fall 2016 Recap Brute force is the use of iterative checking or solving a problem by its definition The straightforward

More information

Parallel Genetic Algorithm to Solve Traveling Salesman Problem on MapReduce Framework using Hadoop Cluster

Parallel Genetic Algorithm to Solve Traveling Salesman Problem on MapReduce Framework using Hadoop Cluster Parallel Genetic Algorithm to Solve Traveling Salesman Problem on MapReduce Framework using Hadoop Cluster Abstract- Traveling Salesman Problem (TSP) is one of the most common studied problems in combinatorial

More information

An Ant Approach to the Flow Shop Problem

An Ant Approach to the Flow Shop Problem An Ant Approach to the Flow Shop Problem Thomas Stützle TU Darmstadt, Computer Science Department Alexanderstr. 10, 64283 Darmstadt Phone: +49-6151-166651, Fax +49-6151-165326 email: stuetzle@informatik.tu-darmstadt.de

More information

Chapter 3: Solving Problems by Searching

Chapter 3: Solving Problems by Searching Chapter 3: Solving Problems by Searching Prepared by: Dr. Ziad Kobti 1 Problem-Solving Agent Reflex agent -> base its actions on a direct mapping from states to actions. Cannot operate well in large environments

More information

Unit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W.

Unit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W. : Coping with NP-Completeness Course contents: Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems Reading: Chapter 34 Chapter 35.1, 35.2 Y.-W. Chang 1 Complexity

More information

Coping with the Limitations of Algorithm Power Exact Solution Strategies Backtracking Backtracking : A Scenario

Coping with the Limitations of Algorithm Power Exact Solution Strategies Backtracking Backtracking : A Scenario Coping with the Limitations of Algorithm Power Tackling Difficult Combinatorial Problems There are two principal approaches to tackling difficult combinatorial problems (NP-hard problems): Use a strategy

More information

Assignment 3b: The traveling salesman problem

Assignment 3b: The traveling salesman problem Chalmers University of Technology MVE165 University of Gothenburg MMG631 Mathematical Sciences Linear and integer optimization Optimization with applications Emil Gustavsson Assignment information Ann-Brith

More information

Combinatorial Optimization - Lecture 14 - TSP EPFL

Combinatorial Optimization - Lecture 14 - TSP EPFL Combinatorial Optimization - Lecture 14 - TSP EPFL 2012 Plan Simple heuristics Alternative approaches Best heuristics: local search Lower bounds from LP Moats Simple Heuristics Nearest Neighbor (NN) Greedy

More information

Metaheuristic Development Methodology. Fall 2009 Instructor: Dr. Masoud Yaghini

Metaheuristic Development Methodology. Fall 2009 Instructor: Dr. Masoud Yaghini Metaheuristic Development Methodology Fall 2009 Instructor: Dr. Masoud Yaghini Phases and Steps Phases and Steps Phase 1: Understanding Problem Step 1: State the Problem Step 2: Review of Existing Solution

More information

A combination of clustering algorithms with Ant Colony Optimization for large clustered Euclidean Travelling Salesman Problem

A combination of clustering algorithms with Ant Colony Optimization for large clustered Euclidean Travelling Salesman Problem A combination of clustering algorithms with Ant Colony Optimization for large clustered Euclidean Travelling Salesman Problem TRUNG HOANG DINH, ABDULLAH AL MAMUN Department of Electrical and Computer Engineering

More information

CSC Design and Analysis of Algorithms. Lecture 4 Brute Force, Exhaustive Search, Graph Traversal Algorithms. Brute-Force Approach

CSC Design and Analysis of Algorithms. Lecture 4 Brute Force, Exhaustive Search, Graph Traversal Algorithms. Brute-Force Approach CSC 8301- Design and Analysis of Algorithms Lecture 4 Brute Force, Exhaustive Search, Graph Traversal Algorithms Brute-Force Approach Brute force is a straightforward approach to solving a problem, usually

More information

Algorithms & Complexity

Algorithms & Complexity Algorithms & Complexity Nicolas Stroppa - nstroppa@computing.dcu.ie CA313@Dublin City University. 2006-2007. November 21, 2006 Classification of Algorithms O(1): Run time is independent of the size of

More information

Algorithms for Euclidean TSP

Algorithms for Euclidean TSP This week, paper [2] by Arora. See the slides for figures. See also http://www.cs.princeton.edu/~arora/pubs/arorageo.ps Algorithms for Introduction This lecture is about the polynomial time approximation

More information

Using Genetic Algorithms to optimize ACS-TSP

Using Genetic Algorithms to optimize ACS-TSP Using Genetic Algorithms to optimize ACS-TSP Marcin L. Pilat and Tony White School of Computer Science, Carleton University, 1125 Colonel By Drive, Ottawa, ON, K1S 5B6, Canada {mpilat,arpwhite}@scs.carleton.ca

More information

TABU search and Iterated Local Search classical OR methods

TABU search and Iterated Local Search classical OR methods TABU search and Iterated Local Search classical OR methods tks@imm.dtu.dk Informatics and Mathematical Modeling Technical University of Denmark 1 Outline TSP optimization problem Tabu Search (TS) (most

More information

Outline. TABU search and Iterated Local Search classical OR methods. Traveling Salesman Problem (TSP) 2-opt

Outline. TABU search and Iterated Local Search classical OR methods. Traveling Salesman Problem (TSP) 2-opt TABU search and Iterated Local Search classical OR methods Outline TSP optimization problem Tabu Search (TS) (most important) Iterated Local Search (ILS) tks@imm.dtu.dk Informatics and Mathematical Modeling

More information

Introduction to Combinatorial Algorithms

Introduction to Combinatorial Algorithms Fall 2009 Intro Introduction to the course What are : Combinatorial Structures? Combinatorial Algorithms? Combinatorial Problems? Combinatorial Structures Combinatorial Structures Combinatorial structures

More information

A HYBRID GENETIC ALGORITHM A NEW APPROACH TO SOLVE TRAVELING SALESMAN PROBLEM

A HYBRID GENETIC ALGORITHM A NEW APPROACH TO SOLVE TRAVELING SALESMAN PROBLEM A HYBRID GENETIC ALGORITHM A NEW APPROACH TO SOLVE TRAVELING SALESMAN PROBLEM G.ANDAL JAYALAKSHMI Computer Science and Engineering Department, Thiagarajar College of Engineering, Madurai, Tamilnadu, India

More information

Practice Final Exam 1

Practice Final Exam 1 Algorithm esign Techniques Practice Final xam Instructions. The exam is hours long and contains 6 questions. Write your answers clearly. You may quote any result/theorem seen in the lectures or in the

More information

Solving Traveling Salesman Problem on High Performance Computing using Message Passing Interface

Solving Traveling Salesman Problem on High Performance Computing using Message Passing Interface Solving Traveling Salesman Problem on High Performance Computing using Message Passing Interface IZZATDIN A. AZIZ, NAZLEENI HARON, MAZLINA MEHAT, LOW TAN JUNG, AISYAH NABILAH Computer and Information Sciences

More information

Outline of the module

Outline of the module Evolutionary and Heuristic Optimisation (ITNPD8) Lecture 2: Heuristics and Metaheuristics Gabriela Ochoa http://www.cs.stir.ac.uk/~goc/ Computing Science and Mathematics, School of Natural Sciences University

More information

Innovative Systems Design and Engineering ISSN (Paper) ISSN (Online) Vol.5, No.1, 2014

Innovative Systems Design and Engineering ISSN (Paper) ISSN (Online) Vol.5, No.1, 2014 Abstract Tool Path Optimization of Drilling Sequence in CNC Machine Using Genetic Algorithm Prof. Dr. Nabeel Kadim Abid Al-Sahib 1, Hasan Fahad Abdulrazzaq 2* 1. Thi-Qar University, Al-Jadriya, Baghdad,

More information

Dynamic programming. Trivial problems are solved first More complex solutions are composed from the simpler solutions already computed

Dynamic programming. Trivial problems are solved first More complex solutions are composed from the simpler solutions already computed Dynamic programming Solves a complex problem by breaking it down into subproblems Each subproblem is broken down recursively until a trivial problem is reached Computation itself is not recursive: problems

More information

Introduction to Approximation Algorithms

Introduction to Approximation Algorithms Introduction to Approximation Algorithms Dr. Gautam K. Das Departmet of Mathematics Indian Institute of Technology Guwahati, India gkd@iitg.ernet.in February 19, 2016 Outline of the lecture Background

More information

INF Biologically inspired computing Lecture 1: Marsland chapter 9.1, Optimization and Search Jim Tørresen

INF Biologically inspired computing Lecture 1: Marsland chapter 9.1, Optimization and Search Jim Tørresen INF3490 - Biologically inspired computing Lecture 1: Marsland chapter 9.1, 9.4-9.6 2017 Optimization and Search Jim Tørresen Optimization and Search 2 Optimization and Search Methods (selection) 1. Exhaustive

More information

Combining Two Local Searches with Crossover: An Efficient Hybrid Algorithm for the Traveling Salesman Problem

Combining Two Local Searches with Crossover: An Efficient Hybrid Algorithm for the Traveling Salesman Problem Combining Two Local Searches with Crossover: An Efficient Hybrid Algorithm for the Traveling Salesman Problem Weichen Liu, Thomas Weise, Yuezhong Wu and Qi Qi University of Science and Technology of Chine

More information

Module 6 NP-Complete Problems and Heuristics

Module 6 NP-Complete Problems and Heuristics Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 39217 E-mail: natarajan.meghanathan@jsums.edu P, NP-Problems Class

More information

CSCE 350: Chin-Tser Huang. University of South Carolina

CSCE 350: Chin-Tser Huang. University of South Carolina CSCE 350: Data Structures and Algorithms Chin-Tser Huang huangct@cse.sc.edu University of South Carolina Announcement Homework 2 will be returned on Thursday; solution will be available on class website

More information

Overview. H. R. Alvarez A., Ph. D.

Overview. H. R. Alvarez A., Ph. D. Network Modeling Overview Networks arise in numerous settings: transportation, electrical, and communication networks, for example. Network representations also are widely used for problems in such diverse

More information

Ant Colony Optimization for dynamic Traveling Salesman Problems

Ant Colony Optimization for dynamic Traveling Salesman Problems Ant Colony Optimization for dynamic Traveling Salesman Problems Carlos A. Silva and Thomas A. Runkler Siemens AG, Corporate Technology Information and Communications, CT IC 4 81730 Munich - Germany thomas.runkler@siemens.com

More information

Reduce Total Distance and Time Using Genetic Algorithm in Traveling Salesman Problem

Reduce Total Distance and Time Using Genetic Algorithm in Traveling Salesman Problem Reduce Total Distance and Time Using Genetic Algorithm in Traveling Salesman Problem A.Aranganayaki(Research Scholar) School of Computer Science and Engineering Bharathidasan University Tamil Nadu, India

More information

A heuristic approach to find the global optimum of function

A heuristic approach to find the global optimum of function Journal of Computational and Applied Mathematics 209 (2007) 160 166 www.elsevier.com/locate/cam A heuristic approach to find the global optimum of function M. Duran Toksarı Engineering Faculty, Industrial

More information

February 19, Integer programming. Outline. Problem formulation. Branch-andbound

February 19, Integer programming. Outline. Problem formulation. Branch-andbound Olga Galinina olga.galinina@tut.fi ELT-53656 Network Analysis and Dimensioning II Department of Electronics and Communications Engineering Tampere University of Technology, Tampere, Finland February 19,

More information

Genetic Algorithms with Oracle for the Traveling Salesman Problem

Genetic Algorithms with Oracle for the Traveling Salesman Problem PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY VOLUME 7 AUGUST 25 ISSN 17-884 Genetic Algorithms with Oracle for the Traveling Salesman Problem Robin Gremlich, Andreas Hamfelt, Héctor

More information

Solving a combinatorial problem using a local optimization in ant based system

Solving a combinatorial problem using a local optimization in ant based system Solving a combinatorial problem using a local optimization in ant based system C-M.Pintea and D.Dumitrescu Babeş-Bolyai University of Cluj-Napoca, Department of Computer-Science Kogalniceanu 1, 400084

More information

Module 6 NP-Complete Problems and Heuristics

Module 6 NP-Complete Problems and Heuristics Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 397 E-mail: natarajan.meghanathan@jsums.edu Optimization vs. Decision

More information

Search Algorithms. IE 496 Lecture 17

Search Algorithms. IE 496 Lecture 17 Search Algorithms IE 496 Lecture 17 Reading for This Lecture Primary Horowitz and Sahni, Chapter 8 Basic Search Algorithms Search Algorithms Search algorithms are fundamental techniques applied to solve

More information

EXECUTION PLAN OPTIMIZATION TECHNIQUES

EXECUTION PLAN OPTIMIZATION TECHNIQUES EXECUTION PLAN OPTIMIZATION TECHNIQUES Július Štroffek Database Sustaining Engineer Sun Microsystems, Inc. Tomáš Kovařík Faculty of Mathematics and Physics, Charles University, Prague PostgreSQL Conference,

More information

RESEARCH ARTICLE. Accelerating Ant Colony Optimization for the Traveling Salesman Problem on the GPU

RESEARCH ARTICLE. Accelerating Ant Colony Optimization for the Traveling Salesman Problem on the GPU The International Journal of Parallel, Emergent and Distributed Systems Vol. 00, No. 00, Month 2011, 1 21 RESEARCH ARTICLE Accelerating Ant Colony Optimization for the Traveling Salesman Problem on the

More information

An Ant System with Direct Communication for the Capacitated Vehicle Routing Problem

An Ant System with Direct Communication for the Capacitated Vehicle Routing Problem An Ant System with Direct Communication for the Capacitated Vehicle Routing Problem Michalis Mavrovouniotis and Shengxiang Yang Abstract Ant colony optimization (ACO) algorithms are population-based algorithms

More information

Module 6 P, NP, NP-Complete Problems and Approximation Algorithms

Module 6 P, NP, NP-Complete Problems and Approximation Algorithms Module 6 P, NP, NP-Complete Problems and Approximation Algorithms Dr. Natarajan Meghanathan Associate Professor of Computer Science Jackson State University Jackson, MS 39217 E-mail: natarajan.meghanathan@jsums.edu

More information

Traveling Salesman Problem. Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij

Traveling Salesman Problem. Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij Traveling Salesman Problem Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij 1 Contents TSP and its applications Heuristics and approximation algorithms Construction heuristics,

More information

Ant Algorithms. Simulated Ant Colonies for Optimization Problems. Daniel Bauer July 6, 2006

Ant Algorithms. Simulated Ant Colonies for Optimization Problems. Daniel Bauer July 6, 2006 Simulated Ant Colonies for Optimization Problems July 6, 2006 Topics 1 Real Ant Colonies Behaviour of Real Ants Pheromones 2 3 Behaviour of Real Ants Pheromones Introduction Observation: Ants living in

More information

Optimization Techniques for Design Space Exploration

Optimization Techniques for Design Space Exploration 0-0-7 Optimization Techniques for Design Space Exploration Zebo Peng Embedded Systems Laboratory (ESLAB) Linköping University Outline Optimization problems in ERT system design Heuristic techniques Simulated

More information

Parallel Implementation of Travelling Salesman Problem using Ant Colony Optimization

Parallel Implementation of Travelling Salesman Problem using Ant Colony Optimization Parallel Implementation of Travelling Salesman Problem using Ant Colony Optimization Gaurav Bhardwaj Department of Computer Science and Engineering Maulana Azad National Institute of Technology Bhopal,

More information

Computational Complexity CSC Professor: Tom Altman. Capacitated Problem

Computational Complexity CSC Professor: Tom Altman. Capacitated Problem Computational Complexity CSC 5802 Professor: Tom Altman Capacitated Problem Agenda: Definition Example Solution Techniques Implementation Capacitated VRP (CPRV) CVRP is a Vehicle Routing Problem (VRP)

More information

Chapter 14 Section 3 - Slide 1

Chapter 14 Section 3 - Slide 1 AND Chapter 14 Section 3 - Slide 1 Chapter 14 Graph Theory Chapter 14 Section 3 - Slide WHAT YOU WILL LEARN Graphs, paths and circuits The Königsberg bridge problem Euler paths and Euler circuits Hamilton

More information

Solving Traveling Salesman Problem Using Parallel Genetic. Algorithm and Simulated Annealing

Solving Traveling Salesman Problem Using Parallel Genetic. Algorithm and Simulated Annealing Solving Traveling Salesman Problem Using Parallel Genetic Algorithm and Simulated Annealing Fan Yang May 18, 2010 Abstract The traveling salesman problem (TSP) is to find a tour of a given number of cities

More information

Solving Travelling Salesmen Problem using Ant Colony Optimization Algorithm

Solving Travelling Salesmen Problem using Ant Colony Optimization Algorithm SCITECH Volume 3, Issue 1 RESEARCH ORGANISATION March 30, 2015 Journal of Information Sciences and Computing Technologies www.scitecresearch.com Solving Travelling Salesmen Problem using Ant Colony Optimization

More information

Applications of Mathematics to Real-World Problems

Applications of Mathematics to Real-World Problems Applications of Mathematics to Real-World Problems Michelle Dunbar Maths Teachers Day @ UoW SMAS/SMART June 25, 2013 Michelle Dunbar, SMART, UoW Applications of Mathematics to Real-World Problems 1/28

More information

Using Genetic Algorithm with Triple Crossover to Solve Travelling Salesman Problem

Using Genetic Algorithm with Triple Crossover to Solve Travelling Salesman Problem Proc. 1 st International Conference on Machine Learning and Data Engineering (icmlde2017) 20-22 Nov 2017, Sydney, Australia ISBN: 978-0-6480147-3-7 Using Genetic Algorithm with Triple Crossover to Solve

More information

Examples of P vs NP: More Problems

Examples of P vs NP: More Problems Examples of P vs NP: More Problems COMP1600 / COMP6260 Dirk Pattinson Australian National University Semester 2, 2017 Catch Up / Drop in Lab When Fridays, 15.00-17.00 Where N335, CSIT Building (bldg 108)

More information

An Efficient Analysis for High Dimensional Dataset Using K-Means Hybridization with Ant Colony Optimization Algorithm

An Efficient Analysis for High Dimensional Dataset Using K-Means Hybridization with Ant Colony Optimization Algorithm An Efficient Analysis for High Dimensional Dataset Using K-Means Hybridization with Ant Colony Optimization Algorithm Prabha S. 1, Arun Prabha K. 2 1 Research Scholar, Department of Computer Science, Vellalar

More information

Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm

Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm IOSR Journal of Computer Engineering (IOSR-JCE) e-issn: 2278-661, p- ISSN: 2278-8727Volume 13, Issue 3 (Jul. - Aug. 213), PP 17-22 Comparison Study of Multiple Traveling Salesmen Problem using Genetic

More information

A Hybrid Method to Solve Travelling Salesman Problem

A Hybrid Method to Solve Travelling Salesman Problem A Hybrid Method to Solve Travelling Salesman Problem Bharati T Pandhare, Prof. Y R Kalshetty, M.E Student, Department of Computer Science & Engineering, SVERI COE Pandharpur, Maharashtra, India Associate

More information

The Heuristic Strategy Implementation to the Hopfield -Tank TSP Neural Algorithm

The Heuristic Strategy Implementation to the Hopfield -Tank TSP Neural Algorithm The Heuristic Strategy Implementation to the Hopfield -Tank TSP Neural Algorithm N. Kovač, S. Bauk Faculty of Maritime Studies, University of Montenegro Dobrota 36, 85 330 Kotor, Serbia and Montenegro

More information

Module 6 NP-Complete Problems and Heuristics

Module 6 NP-Complete Problems and Heuristics Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 97 E-mail: natarajan.meghanathan@jsums.edu Optimization vs. Decision

More information

IMPLEMENTATION OF A FIXING STRATEGY AND PARALLELIZATION IN A RECENT GLOBAL OPTIMIZATION METHOD

IMPLEMENTATION OF A FIXING STRATEGY AND PARALLELIZATION IN A RECENT GLOBAL OPTIMIZATION METHOD IMPLEMENTATION OF A FIXING STRATEGY AND PARALLELIZATION IN A RECENT GLOBAL OPTIMIZATION METHOD Figen Öztoprak, Ş.İlker Birbil Sabancı University Istanbul, Turkey figen@su.sabanciuniv.edu, sibirbil@sabanciuniv.edu

More information

Travelling Salesman Problem. Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij

Travelling Salesman Problem. Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij Travelling Salesman Problem Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij 1 Contents TSP and its applications Heuristics and approximation algorithms Construction heuristics,

More information

Simulating Human Performance on the Traveling Salesman Problem Abstract Introduction

Simulating Human Performance on the Traveling Salesman Problem Abstract Introduction Simulating Human Performance on the Traveling Salesman Problem Bradley J. Best (bjbest@cmu.edu), Herbert A. Simon (Herb_Simon@v.gp.cs.cmu.edu) Carnegie Mellon University Department of Psychology Pittsburgh,

More information

A HIGH PERFORMANCE ALGORITHM FOR SOLVING LARGE SCALE TRAVELLING SALESMAN PROBLEM USING DISTRIBUTED MEMORY ARCHITECTURES

A HIGH PERFORMANCE ALGORITHM FOR SOLVING LARGE SCALE TRAVELLING SALESMAN PROBLEM USING DISTRIBUTED MEMORY ARCHITECTURES A HIGH PERFORMANCE ALGORITHM FOR SOLVING LARGE SCALE TRAVELLING SALESMAN PROBLEM USING DISTRIBUTED MEMORY ARCHITECTURES Khushboo Aggarwal1,Sunil Kumar Singh2, Sakar Khattar3 1,3 UG Research Scholar, Bharati

More information

Assignment No 2 (Group B)

Assignment No 2 (Group B) Assignment No 2 (Group B) 1 Problem Statement : Concurrent Implementation of Travelling Salesman Problem. 2 Objective : To develop problem solving abilities using Mathematical Modeling. To apply algorithmic

More information

Theorem 2.9: nearest addition algorithm

Theorem 2.9: nearest addition algorithm There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used

More information

Enhanced ABC Algorithm for Optimization of Multiple Traveling Salesman Problem

Enhanced ABC Algorithm for Optimization of Multiple Traveling Salesman Problem I J C T A, 9(3), 2016, pp. 1647-1656 International Science Press Enhanced ABC Algorithm for Optimization of Multiple Traveling Salesman Problem P. Shunmugapriya 1, S. Kanmani 2, R. Hemalatha 3, D. Lahari

More information

Heuristic Optimization Introduction and Simple Heuristics

Heuristic Optimization Introduction and Simple Heuristics Heuristic Optimization Introduction and Simple Heuristics José M PEÑA (jmpena@fi.upm.es) (Universidad Politécnica de Madrid) 1 Outline 1. What are optimization problems? 2. Exhaustive vs. Heuristic approaches

More information

Lecture 1. 2 Motivation: Fast. Reliable. Cheap. Choose two.

Lecture 1. 2 Motivation: Fast. Reliable. Cheap. Choose two. Approximation Algorithms and Hardness of Approximation February 19, 2013 Lecture 1 Lecturer: Ola Svensson Scribes: Alantha Newman 1 Class Information 4 credits Lecturers: Ola Svensson (ola.svensson@epfl.ch)

More information

Precept 4: Traveling Salesman Problem, Hierarchical Clustering. Qian Zhu 2/23/2011

Precept 4: Traveling Salesman Problem, Hierarchical Clustering. Qian Zhu 2/23/2011 Precept 4: Traveling Salesman Problem, Hierarchical Clustering Qian Zhu 2/23/2011 Agenda Assignment: Traveling salesman problem Hierarchical clustering Example Comparisons with K-means TSP TSP: Given the

More information

Local Search Overview

Local Search Overview DM841 DISCRETE OPTIMIZATION Part 2 Heuristics Local Search Overview Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 3. Local Search 2 Outline

More information

Real-World Applications of Graph Theory

Real-World Applications of Graph Theory Real-World Applications of Graph Theory St. John School, 8 th Grade Math Class February 23, 2018 Dr. Dave Gibson, Professor Department of Computer Science Valdosta State University 1 What is a Graph? A

More information

METAHEURISTICS. Introduction. Introduction. Nature of metaheuristics. Local improvement procedure. Example: objective function

METAHEURISTICS. Introduction. Introduction. Nature of metaheuristics. Local improvement procedure. Example: objective function Introduction METAHEURISTICS Some problems are so complicated that are not possible to solve for an optimal solution. In these problems, it is still important to find a good feasible solution close to the

More information

Heuristic Search Methodologies

Heuristic Search Methodologies Linköping University January 11, 2016 Department of Science and Technology Heuristic Search Methodologies Report on the implementation of a heuristic algorithm Name E-mail Joen Dahlberg joen.dahlberg@liu.se

More information

CAD Algorithms. Categorizing Algorithms

CAD Algorithms. Categorizing Algorithms CAD Algorithms Categorizing Algorithms Mohammad Tehranipoor ECE Department 2 September 2008 1 Categorizing Algorithms Greedy Algorithms Prim s Algorithm (Minimum Spanning Tree) A subgraph that is a tree

More information

1. trees does the network shown in figure (a) have? (b) How many different spanning. trees does the network shown in figure (b) have?

1. trees does the network shown in figure (a) have? (b) How many different spanning. trees does the network shown in figure (b) have? 2/28/18, 8:24 M 1. (a) ow many different spanning trees does the network shown in figure (a) have? (b) ow many different spanning trees does the network shown in figure (b) have? L K M P N O L K M P N

More information

Approximation Algorithms

Approximation Algorithms 15-251: Great Ideas in Theoretical Computer Science Spring 2019, Lecture 14 March 5, 2019 Approximation Algorithms 1 2 SAT 3SAT Clique Hamiltonian- Cycle given a Boolean formula F, is it satisfiable? same,

More information

Ant Colony Optimization

Ant Colony Optimization Ant Colony Optimization CompSci 760 Patricia J Riddle 1 Natural Inspiration The name Ant Colony Optimization was chosen to reflect its original inspiration: the foraging behavior of some ant species. It

More information

Lecture 3. Brute Force

Lecture 3. Brute Force Lecture 3 Brute Force 1 Lecture Contents 1. Selection Sort and Bubble Sort 2. Sequential Search and Brute-Force String Matching 3. Closest-Pair and Convex-Hull Problems by Brute Force 4. Exhaustive Search

More information

An Ant Colony Optimization Algorithm for Solving Travelling Salesman Problem

An Ant Colony Optimization Algorithm for Solving Travelling Salesman Problem 1 An Ant Colony Optimization Algorithm for Solving Travelling Salesman Problem Krishna H. Hingrajiya, Ravindra Kumar Gupta, Gajendra Singh Chandel University of Rajiv Gandhi Proudyogiki Vishwavidyalaya,

More information

CMSC 451: Lecture 22 Approximation Algorithms: Vertex Cover and TSP Tuesday, Dec 5, 2017

CMSC 451: Lecture 22 Approximation Algorithms: Vertex Cover and TSP Tuesday, Dec 5, 2017 CMSC 451: Lecture 22 Approximation Algorithms: Vertex Cover and TSP Tuesday, Dec 5, 2017 Reading: Section 9.2 of DPV. Section 11.3 of KT presents a different approximation algorithm for Vertex Cover. Coping

More information

A Polynomial-Time Deterministic Approach to the Traveling Salesperson Problem

A Polynomial-Time Deterministic Approach to the Traveling Salesperson Problem A Polynomial-Time Deterministic Approach to the Traveling Salesperson Problem Ali Jazayeri and Hiroki Sayama Center for Collective Dynamics of Complex Systems Department of Systems Science and Industrial

More information

International Journal of Current Trends in Engineering & Technology Volume: 02, Issue: 01 (JAN-FAB 2016)

International Journal of Current Trends in Engineering & Technology Volume: 02, Issue: 01 (JAN-FAB 2016) Survey on Ant Colony Optimization Shweta Teckchandani, Prof. Kailash Patidar, Prof. Gajendra Singh Sri Satya Sai Institute of Science & Technology, Sehore Madhya Pradesh, India Abstract Although ant is

More information