Using Python to Solve Computationally Hard Problems

Size: px
Start display at page:

Download "Using Python to Solve Computationally Hard Problems"

Transcription

1 Using Python to Solve Computationally Hard Problems

2 Using Python to Solve Computationally Hard Problems Rachael Madsen Optimal Design Software LLC BS in Mathematics Software Engineer & Architect Python programmer

3 NP-Complete Problems

4 NP-Complete Problems An individual solution can be checked for correctness in polynomial time, but.. A solution cannot be derived in polynomial time

5 NP-Complete Problems Nodes Polynomial (n 2 ) Exponential (2 n ) x Factorial (n!) x x 10 89

6 NP-Complete Problems Sequencing tasks or objects for any optimization Database design & normalization Games

7 The Traveling Salesman Problem

8 Traveling Salesman Problem Given a list of cities and their pairwise distances, find the shortest possible route that visits each city exactly once and returns to the origin city.

9 Algorithms

10 Algorithms Changing data may change which algorithm is best

11 Algorithms Searching available software implementations may yield the best results

12 Algorithms Considerations

13 Algorithms > Considerations Ease of Implementation

14 Algorithms > Considerations Quality of Solution

15 Algorithms > Considerations > Quality of Solution You are looking for a solution, not the solution

16 Algorithms > Considerations > Quality of Solution π = k= k 8k k k k + 6

17 Algorithms > Considerations > Quality of Solution Will this algorithm generate valleys?

18 Algorithms > Considerations Complexity

19 Algorithms > Considerations > Complexity Simple 50 lines of code Complex 100,000+ lines of code

20 Algorithms > Considerations Parallelization

21 Algorithms > Considerations Processing Power

22 Starting From Scratch

23 Starting From Scratch (it s a bad idea)

24 Python Options

25 Python Options Where to Look

26 Python Options > Where to Look Google code Git Forums Technical books

27 Python Options Licenses

28 Python Options Evaluation

29 Python Options > Evaluation Operations Research Tools Developed at Google browse/trunk/python/tsp.py?r=303

30 Python Options > Evaluation > or-tools Runtime Lines of code: 132 Hardware availability

31 Python Options > Evaluation > or-tools Quality of Solution

32 Python Options > Evaluation Github user trevlovett Python Ant Colony TSP Solver Python-Ant-Colony-TSP-Solver

33 Python Options > Evaluation > Ant Colony TSP Solver Runtime Lines of code: 132 Hardware availability

34 Python Options > Evaluation > Ant Colony TSP Solver Quality of Solution

35 Optimization

36 Optimization Confirm implementation of algorithm as written Check for most efficient coding practices

37 Optimization Use scientific package such as SciPy to rewrite code for speed Break out select code into C routine

38 Optimization Parallelize GPU CPU

39 Optimization Beware of fencepost errors and differences in hardware

40 Web Resources

41 Web Resources The Stony Brook Code Repository, Concorde TSP Solver plement.shtml TSP, github user denlunev, Operations Research Tools, Google, Ant Colony TSP Solver, github user trevlovett

42 Bibliography

43 Bibliography Introduction to Graph Theory, 2 nd Edition, Douglas Brent West, Prentice Hall, 2000 The Traveling Salesman Problem: A Computational Study, Applegate, Bixby, Chvátal & Cook, Princeton U. Press, 2007 The Traveling Salesman Problem: A Guided Tour of Combinatorial Optimization, Lawler, Lenstra, Kan & Shmoys, Wiley, 1985 The Traveling Salesman Problem and its Variations, Gutin & Punnen, Springer, 2002

44 Bibliography Combinatorial Optimization: Theory and Algorithms, 2 nd Edition, Korte & Vygen, Springer, 2002 Combinatorial Optimization, Cook, Cunningham, Pulleyblank & Schrijver, Wiley-Interscience, 1997 Local Search in Combinatorial Optimization, Aarts & Lenstra, Wiley, 1997 Combinatorial Algorithms: Generation, Enumeration, and Search, Kreher & Stinson,CRC Press, 1998

45 Bibliography Counting: The Art of Enumerative Combinatorics, Martin, Springer, 2001 Counting and Configurations, Herman, Kucera & Simsa, Springer, 2003 Abstract Algebra, 3 rd Edition, Dummit & Foote, Wiley, 2003

46 Thank You!

Effective Tour Searching for Large TSP Instances. Gerold Jäger

Effective Tour Searching for Large TSP Instances. Gerold Jäger Effective Tour Searching for Large TSP Instances Gerold Jäger Martin-Luther-University Halle-Wittenberg joint work with Changxing Dong, Paul Molitor, Dirk Richter November 14, 2008 Overview 1 Introduction

More information

Recent PTAS Algorithms on the Euclidean TSP

Recent PTAS Algorithms on the Euclidean TSP Recent PTAS Algorithms on the Euclidean TSP by Leonardo Zambito Submitted as a project for CSE 4080, Fall 2006 1 Introduction The Traveling Salesman Problem, or TSP, is an on going study in computer science.

More information

Improving the Held and Karp Approach with Constraint Programming

Improving the Held and Karp Approach with Constraint Programming Improving the Held and Karp Approach with Constraint Programming Pascal Benchimol 1, Jean-Charles Régin 2, Louis-Martin Rousseau 1, Michel Rueher 2, Willem-Jan van Hoeve 3 1 CIRRELT,École Polytechnique

More information

The Traveling Salesman Problem: State of the Art

The Traveling Salesman Problem: State of the Art The Traveling Salesman Problem: State of the Art Thomas Stützle stuetzle@informatik.tu-darmstadt.de http://www.intellektik.informatik.tu-darmstadt.de/ tom. Darmstadt University of Technology Department

More information

Effective Tour Searching for Large TSP Instances. Gerold Jäger

Effective Tour Searching for Large TSP Instances. Gerold Jäger Effective Tour Searching for Large TSP Instances Gerold Jäger Martin-Luther-University Halle-Wittenberg (Germany) joint work with Changxing Dong, Paul Molitor, Dirk Richter German Research Foundation Grant

More information

State Space Reduction for the Symmetric Traveling Salesman Problem through Halves Tour Complement

State Space Reduction for the Symmetric Traveling Salesman Problem through Halves Tour Complement State Space Reduction for the Symmetric Traveling Salesman Problem through Halves Tour omplement Kamal R l-rawi ept of omputer Science, Faculty of Information Technology, Petra University, JORN E-mail:kamalr@uopedujo

More information

Some Useful Links and Software Sites on Optimization

Some Useful Links and Software Sites on Optimization Appendix A Some Useful Links and Software Sites on Optimization A.1 General Optimization/Operations Research Sites 1. Optimization FAQ (LP and NLP FAQ) [14] contains a lot of information and html links

More information

Solution of P versus NP problem

Solution of P versus NP problem Algorithms Research 2015, 4(1): 1-7 DOI: 105923/jalgorithms2015040101 Solution of P versus NP problem Mustapha Hamidi Meknes, Morocco Abstract This paper, taking Travelling Salesman Problem as our object,

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

A SAT Based Effective Algorithm for the Directed Hamiltonian Cycle Problem

A SAT Based Effective Algorithm for the Directed Hamiltonian Cycle Problem A SAT Based Effective Algorithm for the Directed Hamiltonian Cycle Problem Gerold Jäger and Weixiong Zhang 2 Computer Science Institute Christian-Albrechts-University of Kiel D-248 Kiel, Germany E-mail:

More information

Figurative Tours and Braids

Figurative Tours and Braids Figurative Tours and Braids Robert Bosch Dept. of Mathematics Oberlin College rbosch@oberlin.edu Tom Wexler Dept. of Computer Science Oberlin College wexler@cs.oberlin.edu Abstract We start with a rectangular

More information

Linear and Integer Programming (ADM II) Script. Rolf Möhring WS 2010/11

Linear and Integer Programming (ADM II) Script. Rolf Möhring WS 2010/11 Linear and Integer Programming (ADM II) Script Rolf Möhring WS 200/ Contents -. Algorithmic Discrete Mathematics (ADM)... 3... 4.3 Winter term 200/... 5 2. Optimization problems 2. Examples... 7 2.2 Neighborhoods

More information

High Performance GPU Accelerated Local Optimization in TSP

High Performance GPU Accelerated Local Optimization in TSP 2013 IEEE 27th International Symposium on Parallel & Distributed Processing Workshops and PhD Forum High Performance GPU Accelerated Local Optimization in TSP Kamil Rocki, Reiji Suda The University of

More information

DM515 Spring 2011 Weekly Note 7

DM515 Spring 2011 Weekly Note 7 Institut for Matematik og Datalogi Syddansk Universitet May 18, 2011 JBJ DM515 Spring 2011 Weekly Note 7 Stuff covered in Week 20: MG sections 8.2-8,3 Overview of the course Hints for the exam Note that

More information

Combinatorial Optimization

Combinatorial Optimization Combinatorial Optimization Frank de Zeeuw EPFL 2012 Today Introduction Graph problems - What combinatorial things will we be optimizing? Algorithms - What kind of solution are we looking for? Linear Programming

More information

Approximating TSP Solution by MST based Graph Pyramid

Approximating TSP Solution by MST based Graph Pyramid Approximating TSP Solution by MST based Graph Pyramid Y. Haxhimusa 1,2, W. G. Kropatsch 2, Z. Pizlo 1, A. Ion 2 and A. Lehrbaum 2 1 Department of Psychological Sciences, Purdue University 2 PRIP, Vienna

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

Heuristic Approaches to Solve Traveling Salesman Problem

Heuristic Approaches to Solve Traveling Salesman Problem TELKOMNIKA Indonesian Journal of Electrical Engineering Vol. 15, No. 2, August 2015, pp. 390 ~ 396 DOI: 10.11591/telkomnika.v15i2.8301 390 Heuristic Approaches to Solve Traveling Salesman Problem Malik

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

Journal of Problem Solving The Role of Problem Representation in Producing Near-Optimal TSP Tours

Journal of Problem Solving The Role of Problem Representation in Producing Near-Optimal TSP Tours Journal of Problem Solving The Role of Problem Representation in Producing Near-Optimal TSP Tours Pierson Fleischer, Sébastien Hélie, and Zygmunt Pizlo Purdue University Correspondence: Correspondence

More information

Improvement heuristics for the Sparse Travelling Salesman Problem

Improvement heuristics for the Sparse Travelling Salesman Problem Improvement heuristics for the Sparse Travelling Salesman Problem FREDRICK MTENZI Computer Science Department Dublin Institute of Technology School of Computing, DIT Kevin Street, Dublin 8 IRELAND http://www.comp.dit.ie/fmtenzi

More information

A Rule Based Evolutionary Optimization Approach for the Traveling Salesman Problem

A Rule Based Evolutionary Optimization Approach for the Traveling Salesman Problem A Rule Based Evolutionary Optimization Approach for the Traveling Salesman Problem Eric Sandgren 1 (eric.sandgren@unlv.edu), David Webb 2 (david.webb@pmusa.com), Jan B. Pedersen 1 (matt@cs.unlv.edu) 1

More information

The metric travelling salesman problem: pareto-optimal heuristic algorithms

The metric travelling salesman problem: pareto-optimal heuristic algorithms 295 The metric travelling salesman problem: pareto-optimal heuristic algorithms Ekaterina Beresneva Faculty of Computer Science National Research University Higher School of Economics Moscow, Russia, +7(925)538-40-58

More information

A Theoretical Framework to Solve the TSPs as Classification Problems and Shortest Hamiltonian Path Problems

A Theoretical Framework to Solve the TSPs as Classification Problems and Shortest Hamiltonian Path Problems American Journal of Intelligent Systems 2014, 4(1): 1-8 DOI: 10.5923/j.ajis.20140401.01 A Theoretical Framework to Solve the TSPs as Classification Problems and Shortest Hamiltonian Path Problems Akihiko

More information

Massively Parallel Approximation Algorithms for the Traveling Salesman Problem

Massively Parallel Approximation Algorithms for the Traveling Salesman Problem 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

More information

Combinatorial Optimization Lab No. 10 Traveling Salesman Problem

Combinatorial Optimization Lab No. 10 Traveling Salesman Problem Combinatorial Optimization Lab No. 10 Traveling Salesman Problem Industrial Informatics Research Center http://industrialinformatics.cz/ May 29, 2018 Abstract In this lab we review various ways how to

More information

The Subtour LP for the Traveling Salesman Problem

The Subtour LP for the Traveling Salesman Problem The Subtour LP for the Traveling Salesman Problem David P. Williamson Cornell University November 22, 2011 Joint work with Jiawei Qian, Frans Schalekamp, and Anke van Zuylen The Traveling Salesman Problem

More information

A COMPARATIVE STUDY OF BRUTE FORCE METHOD, NEAREST NEIGHBOUR AND GREEDY ALGORITHMS TO SOLVE THE TRAVELLING SALESMAN PROBLEM

A COMPARATIVE STUDY OF BRUTE FORCE METHOD, NEAREST NEIGHBOUR AND GREEDY ALGORITHMS TO SOLVE THE TRAVELLING SALESMAN PROBLEM IMPACT: International Journal of Research in Engineering & Technology (IMPACT: IJRET) ISSN(E): 2321-8843; ISSN(P): 2347-4599 Vol. 2, Issue 6, Jun 2014, 59-72 Impact Journals A COMPARATIVE STUDY OF BRUTE

More information

Discrete Optimization

Discrete Optimization Discrete Optimization Quentin Louveaux ULg - Institut Montefiore 2016 Quentin Louveaux (ULg - Institut Montefiore) Discrete Optimization 2016 1 / 28 Discrete optimization problems What is a discrete optimization

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

MATH 409 LECTURE 10 DIJKSTRA S ALGORITHM FOR SHORTEST PATHS

MATH 409 LECTURE 10 DIJKSTRA S ALGORITHM FOR SHORTEST PATHS MATH 409 LECTURE 10 DIJKSTRA S ALGORITHM FOR SHORTEST PATHS REKHA THOMAS In this lecture we see the first algorithm to compute shortest paths from a given vertex r to all vertices v in a digraph G without

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

ON EXERCISING EVERY LINK OF A WEB-SITE WITH MINIMAL EFFORT VAIDYANATHAN SIVARAMAN SCHOOL OF COMPUTER SCIENCE AND ENGINEERING, ANNA UNIVERSITY

ON EXERCISING EVERY LINK OF A WEB-SITE WITH MINIMAL EFFORT VAIDYANATHAN SIVARAMAN SCHOOL OF COMPUTER SCIENCE AND ENGINEERING, ANNA UNIVERSITY TITLE: ON EXERCISING EVERY LINK OF A WEB-SITE WITH MINIMAL EFFORT AUTHOR: AFFILIATION: VAIDYANATHAN SIVARAMAN SCHOOL OF COMPUTER SCIENCE AND ENGINEERING, ANNA UNIVERSITY CONTACT ADDRESS: NO.49,VI BLOCK,CEG

More information

State Space Reduction for the SYMMETRIC Traveling Salesman Problem through Halves Tours Complement

State Space Reduction for the SYMMETRIC Traveling Salesman Problem through Halves Tours Complement T h e R e s e a r c h u l l e t i n o f J o r d a n M, V o l u m e I I ( I I ) P a g e 64 State Space Reduction for the SYMMTRI Traveling Salesman Problem through Halves Tours omplement Kamal R. l-rawi

More information

Part 3: Handling Intractability - a brief introduction

Part 3: Handling Intractability - a brief introduction COMP36111: Advanced Algorithms I Part 3: Handling Intractability - a brief introduction Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk December 2010 Introduction Course Structure

More information

Approximating TSP Solution by MST based Graph Pyramid

Approximating TSP Solution by MST based Graph Pyramid Approximating TSP Solution by MST based Graph Pyramid Y. Haxhimusa 1,2, W. G. Kropatsch 1, Z. Pizlo 2, A. Ion 1, and A. Lehrbaum 1 1 Vienna University of Technology, Faculty of Informatics, Pattern Recognition

More information

1 date: September 15, 1998 file: mitche1

1 date: September 15, 1998 file: mitche1 1 date: September 15, 1998 file: mitche1 CUTTING PLANE ALGORITHMS FOR INTEGER PROGRAMMING, Cutting plane algorithms Cutting plane methods are exact algorithms for integer programming problems. Theyhave

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

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

Math for Liberal Arts MAT 110: Chapter 13 Notes

Math for Liberal Arts MAT 110: Chapter 13 Notes Math for Liberal Arts MAT 110: Chapter 13 Notes Graph Theory David J. Gisch Networks and Euler Circuits Network Representation Network: A collection of points or objects that are interconnected in some

More information

Seismic Vessel Problem

Seismic Vessel Problem Seismic Vessel Problem Gregory Gutin, Helmut Jakubowicz, Shuki Ronen and Alexei Zverovitch November 14, 2003 Abstract We introduce and study a new combinatorial optimization problem, the Seismic Vessel

More information

P vs. NP. Simpsons: Treehouse of Horror VI

P vs. NP. Simpsons: Treehouse of Horror VI P vs. NP Simpsons: Treehouse of Horror VI Attribution These slides were prepared for the New Jersey Governor s School course The Math Behind the Machine taught in the summer of 2012 by Grant Schoenebeck

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

A Memetic Algorithm for the Generalized Traveling Salesman Problem

A Memetic Algorithm for the Generalized Traveling Salesman Problem A Memetic Algorithm for the Generalized Traveling Salesman Problem Gregory Gutin Daniel Karapetyan Abstract The generalized traveling salesman problem (GTSP) is an extension of the well-known traveling

More information

Package TSP. February 15, 2013

Package TSP. February 15, 2013 Package TSP February 15, 2013 Type Package Title Traveling Salesperson Problem (TSP) Version 1.0-7 Date 2011-08-21 Author Michael Hahsler and Kurt Hornik Maintainer Michael Hahsler

More information

An Experimental Evaluation of the Best-of-Many Christofides Algorithm for the Traveling Salesman Problem

An Experimental Evaluation of the Best-of-Many Christofides Algorithm for the Traveling Salesman Problem An Experimental Evaluation of the Best-of-Many Christofides Algorithm for the Traveling Salesman Problem David P. Williamson Cornell University Joint work with Kyle Genova, Cornell University July 14,

More information

arxiv: v1 [math.co] 17 Oct 2017

arxiv: v1 [math.co] 17 Oct 2017 ON THE SKELETON OF THE PYRAMIDAL TOURS POLYTOPE VLADIMIR A. BONDARENKO, ANDREI V. NIKOLAEV arxiv:1710.06286v1 [math.co] 17 Oct 2017 Abstract. We consider the skeleton of the pyramidal tours polytope. Hamiltonian

More information

Polyhedral Combinatorics (ADM III)

Polyhedral Combinatorics (ADM III) 1 Polyhedral Combinatorics (ADM III) Prof. Dr. Dr. h.c. mult. Martin Grötschel Sommersemester 2010, Classes: TU MA 041, Tuesdays 16:15 17:45h, first class on April 13, 2010 LV-Nr.: 3236 L 414 Diese Vorlesung

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

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

Improved Large-Step Markov Chain Variants for the Symmetric TSP

Improved Large-Step Markov Chain Variants for the Symmetric TSP Journal of Heuristics, 3, 63 81 (1997) c 1997 Kluwer Academic Publishers. Manufactured in The Netherlands. Improved Large-Step Markov Chain Variants for the Symmetric TSP INKI HONG, ANDREW B. KAHNG UCLA

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

A simple exact separation algorithm for 2-matching inequalities

A simple exact separation algorithm for 2-matching inequalities A simple exact separation algorithm for 2-matching inequalities Julián Aráoz Simón Bolívar University, Venezuela Technical University of Catalonia, Spain Elena Fernández Technical University of Catalonia,

More information

Discussion. What problems stretch the limits of computation? Compare 4 Algorithms. What is Brilliance? 11/11/11

Discussion. What problems stretch the limits of computation? Compare 4 Algorithms. What is Brilliance? 11/11/11 11/11/11 UNIVERSITY of WISCONSIN-MADISON Computer Sciences Department CS 0: Introduction to Computation Discussion Professor Andrea Arpaci-Dusseau Is there an inherent difference between What problems

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

Using Proposed Hybrid Algorithm for Solving the Multi Objective Traveling Salesman Problem

Using Proposed Hybrid Algorithm for Solving the Multi Objective Traveling Salesman Problem Global Journal of Pure and Applied Mathematics. ISSN 0973-1768 Volume 12, Number 1 (2016), pp. 711-722 Research India Publications http://www.ripublication.com Using Proposed Hybrid Algorithm for Solving

More information

Approximating TSP Solution by MST Based Graph Pyramid

Approximating TSP Solution by MST Based Graph Pyramid Approximating TSP Solution by MST Based Graph Pyramid Yll Haxhimusa 1,2,WalterG.Kropatsch 1,ZygmuntPizlo 2,AdrianIon 1, and Andreas Lehrbaum 1 1 Vienna University of Technology, Faculty of Informatics,

More information

Approximate Shortest Path Algorithms for Sequences of Pairwise Disjoint Simple Polygons

Approximate Shortest Path Algorithms for Sequences of Pairwise Disjoint Simple Polygons CCCG 2010, Winnipeg MB, August 9 11, 2010 Approximate Shortest Path Algorithms for Sequences of Pairwise Disjoint Simple Polygons Xiuxia Pan, Fajie Li Reinhard Klette Abstract Assume that two points p

More information

Two new variants of Christofides heuristic for the Static TSP and a computational study of a nearest neighbor approach for the Dynamic TSP

Two new variants of Christofides heuristic for the Static TSP and a computational study of a nearest neighbor approach for the Dynamic TSP Two new variants of Christofides heuristic for the Static TSP and a computational study of a nearest neighbor approach for the Dynamic TSP Orlis Christos Kartsiotis George Samaras Nikolaos Margaritis Konstantinos

More information

Linear Programming and Integer Linear Programming

Linear Programming and Integer Linear Programming Linear Programming and Integer Linear Programming Kurt Mehlhorn May 26, 2013 revised, May 20, 2014 1 Introduction 2 2 History 3 3 Expressiveness 3 4 Duality 4 5 Algorithms 8 5.1 Fourier-Motzkin Elimination............................

More information

A COMPARATIVE STUDY OF FIVE PARALLEL GENETIC ALGORITHMS USING THE TRAVELING SALESMAN PROBLEM

A COMPARATIVE STUDY OF FIVE PARALLEL GENETIC ALGORITHMS USING THE TRAVELING SALESMAN PROBLEM A COMPARATIVE STUDY OF FIVE PARALLEL GENETIC ALGORITHMS USING THE TRAVELING SALESMAN PROBLEM Lee Wang, Anthony A. Maciejewski, Howard Jay Siegel, and Vwani P. Roychowdhury * Microsoft Corporation Parallel

More information

JOURNAL OF OBJECT TECHNOLOGY

JOURNAL OF OBJECT TECHNOLOGY JOURNAL OF OBJECT TECHNOLOGY Online at http://www.jot.fm. Published by ETH Zurich, Chair of Software Engineering JOT, 2005 Vol. 4, No. 1, January-February 2005 A Java Implementation of the Branch and Bound

More information

FLEXIBLE ROBOT-BASED INLINE QUALITY MONITORING USING PICTURE-GIVING SENSORS

FLEXIBLE ROBOT-BASED INLINE QUALITY MONITORING USING PICTURE-GIVING SENSORS FLEXIBLE ROBOT-BASED INLINE QUALITY MONITORING USING PICTURE-GIVING SENSORS Chen-Ko Sung, Andreas Jacubasch and Thomas Müller Fraunhofer Institute IITB, Fraunhoferstrasse 1, 76131 Karlsruhe, Germany chen-ko.sung@iitb.fraunhofer.de,

More information

An Algorithm for Solving the Traveling Salesman Problem

An Algorithm for Solving the Traveling Salesman Problem JKAU: Eng. Sci.. vol. 4, pp. 117 122 (1412 A.H.l1992 A.D.) An Algorithm for Solving the Traveling Salesman Problem M. HAMED College ofarts and Science, Bahrain University, [sa Town, Bahrain ABSTRACT. The

More information

Approaches of the Travelling Salesman Problem

Approaches of the Travelling Salesman Problem Approaches of the Travelling Salesman Problem An Analysis of Four Algorithms Julia Redston College of Computing Georgia Institute of Technology Atlanta GA USA jredston3@gatech.edu Joseph Cantrell College

More information

Travelling Salesman Problem Using Bee Colony With SPV

Travelling Salesman Problem Using Bee Colony With SPV International Journal of Soft Computing and Engineering (IJSCE) Travelling Salesman Problem Using Bee Colony With SPV Nishant Pathak, Sudhanshu Prakash Tiwari Abstract Challenge of finding the shortest

More information

Rearrangement of DNA fragments: a branch-and-cut algorithm Abstract. In this paper we consider a problem that arises in the process of reconstruction

Rearrangement of DNA fragments: a branch-and-cut algorithm Abstract. In this paper we consider a problem that arises in the process of reconstruction Rearrangement of DNA fragments: a branch-and-cut algorithm 1 C. E. Ferreira 1 C. C. de Souza 2 Y. Wakabayashi 1 1 Instituto de Mat. e Estatstica 2 Instituto de Computac~ao Universidade de S~ao Paulo e-mail:

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

TSP Infrastructure for the Traveling Salesperson Problem

TSP Infrastructure for the Traveling Salesperson Problem TSP Infrastructure for the Traveling Salesperson Problem Michael Hahsler, Kurt Hornik Department of Statistics and Mathematics Wirtschaftsuniversität Wien Research Report Series Report 45 December 2006

More information

More NP-complete Problems. CS255 Chris Pollett May 3, 2006.

More NP-complete Problems. CS255 Chris Pollett May 3, 2006. More NP-complete Problems CS255 Chris Pollett May 3, 2006. Outline More NP-Complete Problems Hamiltonian Cycle Recall a hamiltonian cycle is a permutation of the vertices v i_1,, v i_n of a graph G so

More information

Pareto-optimal Algorithms for Metric TSP: Experimental Research

Pareto-optimal Algorithms for Metric TSP: Experimental Research Pareto-optimal Algorithms for Metric TSP: Experimental Research Ekaterina N. Beresneva (Chirkova) and Prof. Sergey M. Avdoshin Abstract The Travelling Salesman Problem (TSP) is a fundamental task in combinatorial

More information

TSP Art. Craig S. Kaplan School of Computer Science University of Waterloo

TSP Art. Craig S. Kaplan School of Computer Science University of Waterloo TSP Art Craig S. Kaplan School of Computer Science University of Waterloo csk@cgl.uwaterloo.ca Robert Bosch Department of Mathematics Oberlin College bobb@cs.oberlin.edu Abstract Bosch and Herman recently

More information

Efficient Bids on Task Allocation for Multi-Robot Exploration

Efficient Bids on Task Allocation for Multi-Robot Exploration Efficient Bids on Task Allocation for Multi-Robot Exploration Sanem Sariel Istanbul Technical University Department of Computer Engineering, Maslak, Istanbul TURKEY, 4469 sariel@cs.itu.edu.tr Tucker Balch

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

Construction heuristics for the asymmetric TSP

Construction heuristics for the asymmetric TSP European Journal of Operational Research 129 (2001) 555±568 www.elsevier.com/locate/dsw Theory and Methodology Construction heuristics for the asymmetric TSP Fred Glover a, Gregory Gutin b, *, Anders Yeo

More information

Introduction to Genetic Algorithms. Genetic Algorithms

Introduction to Genetic Algorithms. Genetic Algorithms Introduction to Genetic Algorithms Genetic Algorithms We ve covered enough material that we can write programs that use genetic algorithms! More advanced example of using arrays Could be better written

More information

A Meta-heuristic Applied for a Topologic Pickup and Delivery Problem with Time Windows Constraints

A Meta-heuristic Applied for a Topologic Pickup and Delivery Problem with Time Windows Constraints A Meta-heuristic Applied for a Topologic Pickup and Delivery Problem with Time Windows Constraints Jesús Fabián López Pérez Post-Graduate Program of Management Science, FACPYA UANL, Monterrey, México fabian.lopez@e-arca.com.mx

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

2 The Mixed Postman Problem with Restrictions on the Arcs

2 The Mixed Postman Problem with Restrictions on the Arcs Approximation Algorithms for the Mixed Postman Problem with Restrictions on the Arcs Francisco Javier Zaragoza Martínez Departamento de Sistemas, Universidad Autónoma Metropolitana Unidad Azcapotzalco

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

Size of a problem instance: Bigger instances take

Size of a problem instance: Bigger instances take 2.1 Integer Programming and Combinatorial Optimization Slide set 2: Computational Complexity Katta G. Murty Lecture slides Aim: To study efficiency of various algo. for solving problems, and to classify

More information

Analysis of TSP Optimization Problems using Genetic Algorithm

Analysis of TSP Optimization Problems using Genetic Algorithm Analysis of TSP Optimization Problems using Genetic Algorithm Aparna *, Waseem Ahmad Department of Computer Science & Engineering, AFSET, Faridabad, India Article Info Article history: Received 5 January

More information

SOLVING TRAVELING SALESMAN PROBLEMS USING HEURISTIC LEARNING APPROACH

SOLVING TRAVELING SALESMAN PROBLEMS USING HEURISTIC LEARNING APPROACH SOLVING TRAVELING SALESMAN PROBLEMS USING HEURISTIC LEARNING APPROACH Sim Kim Lau 1), Li-Yen Shue 2) 1) Department of Information Systems, University of Wollongong, Australia (simlau@uow.edu.au) 2) Department

More information

Fundamentals of Computer Science II

Fundamentals of Computer Science II Fundamentals of Computer Science II Keith Vertanen Museum 102 kvertanen@mtech.edu http://katie.mtech.edu/classes/csci136 CSCI 136: Fundamentals of Computer Science II Keith Vertanen Textbook Resources

More information

Questions? You are given the complete graph of Facebook. What questions would you ask? (What questions could we hope to answer?)

Questions? You are given the complete graph of Facebook. What questions would you ask? (What questions could we hope to answer?) P vs. NP What now? Attribution These slides were prepared for the New Jersey Governor s School course The Math Behind the Machine taught in the summer of 2011 by Grant Schoenebeck Large parts of these

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

CPSC 320: Intermediate Algorithm Design and Analysis. Tutorial: Week 3

CPSC 320: Intermediate Algorithm Design and Analysis. Tutorial: Week 3 CPSC 320: Intermediate Algorithm Design and Analysis Author: Susanne Bradley Tutorial: Week 3 At the time of this week s tutorial, we were approaching the end of our stable matching unit and about to start

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

Algorithms: Why and How. Dr. Ted Ralphs

Algorithms: Why and How. Dr. Ted Ralphs Algorithms: Why and How Dr. Ted Ralphs Algorithms: Why and How 1 What is an Algorithm? Algorithms: Why and How 1 What is an Algorithm? According to Webster s Collegiate Dictionary: A procedure for solving

More information

Constructing arbitrarily large graphs with a specified number of Hamiltonian cycles

Constructing arbitrarily large graphs with a specified number of Hamiltonian cycles Electronic Journal of Graph Theory and Applications 4 (1) (2016), 18 25 Constructing arbitrarily large graphs with a specified number of Hamiltonian cycles Michael School of Computer Science, Engineering

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

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

HEURISTICS optimization algorithms like 2-opt or 3-opt

HEURISTICS optimization algorithms like 2-opt or 3-opt Parallel 2-Opt Local Search on GPU Wen-Bao Qiao, Jean-Charles Créput Abstract To accelerate the solution for large scale traveling salesman problems (TSP), a parallel 2-opt local search algorithm with

More information

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 1: Introduction to Optimization. Instructor: Shaddin Dughmi

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 1: Introduction to Optimization. Instructor: Shaddin Dughmi CS599: Convex and Combinatorial Optimization Fall 013 Lecture 1: Introduction to Optimization Instructor: Shaddin Dughmi Outline 1 Course Overview Administrivia 3 Linear Programming Outline 1 Course Overview

More information

Tolerance based Greedy Heuristics for the Asymmetric TSP. Gerold Jäger Martin Luther University Halle-Wittenberg

Tolerance based Greedy Heuristics for the Asymmetric TSP. Gerold Jäger Martin Luther University Halle-Wittenberg Tolerance based Greedy Heuristics for the Asymmetric TSP Gerold Jäger Martin Luther University Halle-Wittenberg Cooperation with Boris Goldengorin DFG Project: Paul Molitor December 21, 200 Overview 1

More information

Computing Crossing-Free Configurations with Minimum Bottleneck

Computing Crossing-Free Configurations with Minimum Bottleneck Computing Crossing-Free Configurations with Minimum Bottleneck Sándor P. Fekete 1 and Phillip Keldenich 1 1 Department of Computer Science, TU Braunschweig, Germany {s.fekete,p.keldenich}@tu-bs.de Abstract

More information

Computational Complexity and Implications for Security DRAFT Notes on Infeasible Computation for MA/CS 109 Leo Reyzin with the help of Nick Benes

Computational Complexity and Implications for Security DRAFT Notes on Infeasible Computation for MA/CS 109 Leo Reyzin with the help of Nick Benes Computational Complexity and Implications for Security DRAFT Notes on Infeasible Computation for MA/CS 109 Leo Reyzin with the help of Nick Benes The Study of Computational Complexity Let s summarize what

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

A SURVEY ON DIFFERENT METHODS TO SOLVE TRAVELLING SALESMAN PROBLEM

A SURVEY ON DIFFERENT METHODS TO SOLVE TRAVELLING SALESMAN PROBLEM A SURVEY ON DIFFERENT METHODS TO SOLVE TRAVELLING SALESMAN PROBLEM Harshala Ingole 1, V.B.Kute 2 1,2 Computer Engineering & RTM Nagpur University, (India) ABSTRACT Travelling salesman problem acts as an

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