The Generalized Traveling Salesman Problem: A New Genetic Algorithm Approach

Similar documents
A Parallel Architecture for the Generalized Traveling Salesman Problem

Comparison of Heuristics for the Colorful Traveling Salesman Problem

A Parallel Architecture for the Generalized Travelling Salesman Problem: Project Proposal

A Parallel Architecture for the Generalized Travelling Salesman Problem: Mid Year Report

A Memetic Algorithm for the Generalized Traveling Salesman Problem

GENETIC ALGORITHM with Hands-On exercise

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

Khushboo Arora, Samiksha Agarwal, Rohit Tanwar

Comparison of TSP Algorithms

Shared Crossover Method for Solving Traveling Salesman Problem

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

A Random-Key Genetic Algorithm for the Generalized Traveling Salesman Problem

Optimizing the Sailing Route for Fixed Groundfish Survey Stations

A Steady-State Genetic Algorithm for Traveling Salesman Problem with Pickup and Delivery

Modified Order Crossover (OX) Operator

Mutations for Permutations

Fundamentals of Integer Programming

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

Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm

Local Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )

Fuzzy Inspired Hybrid Genetic Approach to Optimize Travelling Salesman Problem

ISSN: (Online) Volume 3, Issue 5, May 2015 International Journal of Advance Research in Computer Science and Management Studies

Introduction to Genetic Algorithms. Genetic Algorithms

A Web-Based Evolutionary Algorithm Demonstration using the Traveling Salesman Problem

Using Genetic Algorithm with Triple Crossover to Solve Travelling Salesman Problem

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

Escaping Local Optima: Genetic Algorithm

New Genetic Operators for Solving TSP: Application to Microarray Gene Ordering

Local Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )

LECTURE 3 ALGORITHM DESIGN PARADIGMS

Research Incubator: Combinatorial Optimization. Dr. Lixin Tao December 9, 2003

Adapting the Genetic Algorithm to the Travelling Saleman Problem

A Hybrid Genetic Algorithm for the Distributed Permutation Flowshop Scheduling Problem Yan Li 1, a*, Zhigang Chen 2, b

Hybrid approach for solving TSP by using DPX Cross-over operator

Genetic Algorithms. PHY 604: Computational Methods in Physics and Astrophysics II

Comparative Analysis of Genetic Algorithm Implementations

Midterm Examination CS540-2: Introduction to Artificial Intelligence

Dynamic Vehicle Routing Using Hybrid Genetic Algorithms

Genetic Algorithms with Oracle for the Traveling Salesman Problem

Local Search (Greedy Descent): Maintain an assignment of a value to each variable. Repeat:

Hybridizing PSM and RSM Operator for Solving NP-Complete Problems: Application to Travelling Salesman Problem

Algorithm Design Paradigms

6 ROUTING PROBLEMS VEHICLE ROUTING PROBLEMS. Vehicle Routing Problem, VRP:

Informed search algorithms. Chapter 4

A Genetic Algorithm-Based Approach for Building Accurate Decision Trees

SIMULATION APPROACH OF CUTTING TOOL MOVEMENT USING ARTIFICIAL INTELLIGENCE METHOD

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

Optimal tree for Genetic Algorithms in the Traveling Salesman Problem (TSP).

Artificial Intelligence

6.231 DYNAMIC PROGRAMMING LECTURE 15 LECTURE OUTLINE

Traveling Salesman Problem. Java Genetic Algorithm Solution

Evolutionary Computation for Combinatorial Optimization

ACCELERATING THE ANT COLONY OPTIMIZATION

Solving the Railway Traveling Salesman Problem via a Transformation into the Classical Traveling Salesman Problem

Vertex Cover Approximations

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

ABSTRACT THE MINIMUM LABELING SPANNING TREE PROBLEM AND SOME VARIANTS. Yupei Xiong, Doctor of Philosophy, 2005

IE 102 Spring Routing Through Networks - 1

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

Local Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )

Variable Neighborhood Search for Solving the Balanced Location Problem

Effective Optimizer Development for Solving Combinatorial Optimization Problems *

Evolutionary Computation: Solution Representation. Set Covering Problem. Set Covering Problem. Set Covering Problem 2/28/2008.

SLS Methods: An Overview

arxiv: v1 [cs.ai] 12 Feb 2017

Evolution of a Path Generator for a Round-Trip Symmetric Traveling Salesperson Problem Using Genetic Programming

A Hybrid Heuristic Approach for Solving the Generalized Traveling Salesman Problem

Evolutionary Computation. Chao Lan

Genetic Algorithm for Dynamic Capacitated Minimum Spanning Tree

PACKING AND OPTIMIZING THE CENTER OF GRAVITY LOCATION USING A GENETIC ALGORITHM

General Purpose Methods for Combinatorial Optimization

A Genetic Algorithm Applied to Graph Problems Involving Subsets of Vertices

Job Shop Scheduling Problem (JSSP) Genetic Algorithms Critical Block and DG distance Neighbourhood Search

Combinatorial Optimization - Lecture 14 - TSP EPFL

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

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

Traveling Salesman Problem with Time Windows Solved with Genetic Algorithms

PATH PLANNING OF ROBOT IN STATIC ENVIRONMENT USING GENETIC ALGORITHM (GA) TECHNIQUE

Heuristic Optimisation

The study of comparisons of three crossover operators in genetic algorithm for solving single machine scheduling problem. Quan OuYang, Hongyun XU a*

Introduction to Approximation Algorithms

Informed search algorithms. (Based on slides by Oren Etzioni, Stuart Russell)

Non-deterministic Search techniques. Emma Hart

Outline. Best-first search. Greedy best-first search A* search Heuristics Local search algorithms

Combination of Genetic Algorithm with Dynamic Programming for Solving TSP

Variable Neighborhood Search Based Algorithm for University Course Timetabling Problem

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

Time Complexity Analysis of the Genetic Algorithm Clustering Method

Introduction to Genetic Algorithms. Based on Chapter 10 of Marsland Chapter 9 of Mitchell

LECTURE 20: SWARM INTELLIGENCE 6 / ANT COLONY OPTIMIZATION 2

a a b b a a a a b b b b

Using Genetic Algorithms to Solve the Box Stacking Problem

Uninformed Search Methods. Informed Search Methods. Midterm Exam 3/13/18. Thursday, March 15, 7:30 9:30 p.m. room 125 Ag Hall

arxiv: v1 [cs.ai] 9 Oct 2013

The generalized minimum spanning tree (GMST) problem occurs in telecommunications network planning,

A Tabu Search Heuristic for the Generalized Traveling Salesman Problem

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

Planning and Search. Genetic algorithms. Genetic algorithms 1

DETERMINING MAXIMUM/MINIMUM VALUES FOR TWO- DIMENTIONAL MATHMATICLE FUNCTIONS USING RANDOM CREOSSOVER TECHNIQUES

Genetic Algorithm for Dynamic Capacitated Minimum Spanning Tree

Transcription:

The Generalized Traveling Salesman Problem: A New Genetic Algorithm Approach by John Silberholz, University of Maryland Bruce Golden, University of Maryland Presented at INFORMS 2007 Coral Gables, January 2007

Outline of Lecture The generalized traveling salesman problem (GTSP) Formulation Previously published heuristics The mrox genetic algorithm Rotational component Population isolation mechanism Computational Results Conclusions 2

The GTSP Formulation Traveling salesman problem visits every city in tour Instead of visiting every node, generalized traveling salesman problem (GTSP) breaks nodes into clusters and a tour visits exactly one node in each cluster Other formulations visit 1 nodes (allowing shorter pathways in datasets that don t conform to inequality) Many applications Airplane and vehicle routing Rural mail delivery Warehouse order picking Computer file sequencing 3

The GTSP Example Different colors indicate different clusters 4

The mrox Genetic Algorithm Heuristics needed to make solutions to datasets like the previous one possible with standard computational resources The mrox GA was developed to produce better solution qualities than previously published heuristics Heuristic must still produce reasonable runtimes to be effective 5

The mrox GA implementation Path representation Standard genetic algorithm 50 chromosomes in population 30 new chromosomes each generation through crossover 20 replicated chromosomes each generation Local improvement through 2-opt and swap Isolated population model 6

Crossover A novel crossover (modified rotational ordered crossover, or mrox) was developed and implemented, using the idea of rotation through adjacent nodes and rotation through node clusters Rotation through clusters at the cut points Rightmost section of p 2 s unique nodes, inserted on the left of the first cut point Maintained from p 1 Leftmost section of p 2 s unique nodes, inserted on the right of the second cut point Cyclic rotation of nodes from p 2 7

mrox crossover An example 12-city dataset for this example found in paper Node 1 2 3 4 5 6 7 8 9 10 11 12 Cluster 1 2 3 4 5 6 Consider crossover between two parents p 1 = { 12 1 3 10 6 8 } p 2 = { 2 4 6 8 10 12 } Retain part between cutpoints from p 1 O = { x x 3 10 x x } 8

mrox crossover An example A reminder parents are p 1 = { 12 1 3 10 6 8 } p 2 = { 2 4 6 8 10 12 } Retained nodes 3 and 10 are from clusters 2 and 5 Thus, nodes from other clusters are taken in order from p 2 2, 6, 8, 12 (clusters 1, 2, 4, and 6) From rotational aspect, nodes will be entered in orders: (2, 6, 8, 12), (6, 8, 12, 2), (8, 12, 2, 6), (12, 2, 6, 8) If we allow reversals, we ll also consider orderings: (12, 8, 6, 2), (8, 6, 2, 12), (6, 2, 12, 8), (2, 12, 8, 6) 9

mrox crossover An example Last modification involves rotation through clusters adjoining cutpoint Thus, if we insert (2, 6, 8, 12), we need to consider { 8 12 3 10 2 6 } { 8 12 3 10 1 6 } { 8 11 3 10 2 6 } { 8 11 3 10 1 6 } This increases survival rate of new tour orientation 10

mrox crossover An example The final result of this example crossover, with associated costs Rotational Crossover Reverse Rotational Crossover pos1 pos2 pos3 pos4 pos5 pos6 cost pos1 pos2 pos3 pos4 pos5 pos6 cost 6 8 3 10 12 2 317 2 12 3 10 8 6 379 6 8 3 10 11 2 293 2 12 3 10 7 6 362 6 7 3 10 12 2 306 2 11 3 10 8 6 296 6 7 3 10 11 2 282 2 11 3 10 7 6 279 8 12 3 10 2 6 346 12 8 3 10 6 2 408 8 12 3 10 1 6 276 12 8 3 10 5 2 362 8 11 3 10 2 6 315 12 7 3 10 6 2 308 8 11 3 10 1 6 245 12 7 3 10 5 2 262 12 2 3 10 6 8 326 8 6 3 10 2 12 266 12 2 3 10 5 8 318 8 6 3 10 1 12 215 12 1 3 10 6 8 297 8 5 3 10 2 12 331 12 1 3 10 5 8 289 8 5 3 10 1 12 280 2 6 3 10 8 12 350 6 2 3 10 12 8 286 2 6 3 10 7 12 244 6 2 3 10 11 8 314 2 5 3 10 8 12 377 6 1 3 10 12 8 238 2 5 3 10 7 12 271 6 1 3 10 11 8 266 { 8 6 3 10 1 12 } is final child 11

Local Optimization One method was the 2-opt: Another method was the swap: 12

Isolated population method Isolated Population (Little local optimization) Isolated Population (Little local optimization) Isolated Population (Little local optimization) Isolated Population (Little local optimization) Isolated Population (Little local optimization) Isolated Population (Little local optimization) Isolated Population (Little local optimization) Final Population (More local optimization) Combination done with greedy algorithm Combination after 10 static generations Termination after 150 static generations 13

Computational Experiments Computational experiments run on TSPLib datasets with Fishetti et al. s clusterization method Heuristic programmed in Java and run on a computer with a 3.0 GHz processor and 1 GB RAM Compared to Snyder and Daskin s GA model for same problem Easy to code Also a GA Best results to date S+D s GA was coded so comparisons could be made and larger datasets could be tested 14

Computational Experiments mrox GA compared with other published heuristics Heuristic mrox GA NN FST-Lagr FST-Root B&C Average pct. above optimal 0.03 S+D GA 0.11 1.77 GI 3 0.98 83.09 1.48 0.46 0.11 0.00 Average runtime (sec.) 2.69 171.56 16.44 964.79 3356.47 15

Computational Experiments On larger datasets (from 493 to 1084 nodes), comparison could only be made with S+D s GA No optimum values available Computational tests featured 150-gen. mrox GA, 50-gen. mrox GA, and S+D GA in 13 large datasets Best solution quality: 11 for 150-gen., 2 for 50-gen., 0 for S+D GA Best runtime: 9 for 50-gen., 4 for S+D GA, 0 for 150-gen. For 150-gen. model, S+D GA has runtime advantage and mrox GA has solution quality advantage With 50-gen. model, mrox GA shows a 47.52% decrease in runtime and a 0.56% decrease in solution quality, making it comparably superior 16

Computational Experiments Isolated population method tested with different numbers of isolated populations 7-population model has 0.04% better solution quality than 1-population model, with a 3.2% longer runtime 20-population model has 0.006% better solution quality than 7-population model, with a 10.35% longer runtime Diminishing returns clearly seen; a small number of isolated populations seems appropriate 17

Computational Experiments mrox crossover tested against the OX crossover A 0.18% increase in solution quality was measured A 2.59% faster runtime was also measured mrox appears to be superior to the OX crossover, and should be used in its place 18

Conclusions We have developed an effective heuristic to approach the GTSP The mrox can be applied to other transportation problems The isolated population mechanism with varying location optimization levels can be applied to many GAs in a variety of areas 19