SlideShare a Scribd company logo
1 of 46
A New Spatial Approach for Efficient Transformation of
Equality - Generalized TSP to TSP
Mohammed Zia
PhD in Geomatics Engineering
Istanbul Technical University, Turkey18th August 2017
TSP or Travelling Salesman Problem?
TSP or Travelling Salesman Problem
TSP or Travelling Salesman Problem
TSP or Travelling Salesman Problem
TSP or Travelling Salesman Problem
1
2
3
4
5
9999 24 45 56 98
24 9999 10 24 32
45 10 9999 65 54
56 24 65 9999 100
98 32 54 100 9999
1 2 3 4 5
1
2
3
4
5
Cost Matrix
Equality Generalized Travelling Salesman Problem?
Equality Generalized Travelling Salesman Problem
Equality Generalized Travelling Salesman Problem
Cost Matrix
nth
nth
Equality Generalized Travelling Salesman Problem
Solution?
Equality Generalized Travelling Salesman Problem
Solution?
Brute Force Heuristic Methods
Equality Generalized Travelling Salesman Problem
Heuristic Solution
Equality Generalized Travelling Salesman Problem Instance
Clustered Travelling Salesman Problem Instance
Travelling Salesman Problem Instance
SOLUTION
Reduce to
Reduce to
Solve TSP
Derive Solution
Equality Generalized Travelling Salesman Problem
Heuristic Solution
Charles E. Noon and James C. Bean, February 1993, An Efficient
Transformation Of The Generalized Traveling Salesman Problem, INFOR
Information Systems and Operational Research, Volume 30 (1), DOI:
10.1080/03155986.1993.11732212
What is Cost?
What is Cost?
In Vehicle Navigation Instances
1. Distance
2. Time
3. Fuel Consumption
4. Scenic Beauty
5. Any Hybrid
What is Cost?
In Vehicle Navigation Instances
1. Distance Static
2. Time Dynamic
3. Fuel Consumption Dynamic
4. Scenic Beauty Dynamic
5. Any Hybrid Static/Dynamic
Equality - Generalized TSP with Static/Dynamic Costs
?
?
? ? ?
?
?
? ? ?
?
?
Equality - Generalized TSP with Dynamic Costs
Equality Generalized Travelling Salesman Problem Instance
Clustered Travelling Salesman Problem Instance
Travelling Salesman Problem Instance
SOLUTION
Reduce to
Reduce to
Solve TSP
Derive Solution
Current Equality Generalized TSP Instance with Empty Cost Matrix
?
Equality - Generalized TSP for Vehicle Navigation
Dynamic Costs – Dynamic Data – Cost Matrix on the fly
Static Costs – Static Data – Pre-processing possible
Equality - Generalized TSP for Vehicle Navigation
2 Problems in Pre-Processing
(a) What is Distance? Dijkstra Distance / Displacement.
Equality - Generalized TSP for Vehicle Navigation
2 Problems in Pre-Processing
(a) What is Distance?
(b) Matrix size is very big Ex. Istanbul – 23,000 Amenities
Dijkstra Distance / Displacement.
Equality - Generalized TSP for Vehicle Navigation
Distance = Dijkstra Distance or Displacement?
35,000 measurements
from 210 cities
Dijkstra Distance
Displacement
Equality - Generalized TSP for Vehicle Navigation
?
?
? ? ?
?
?
? ? ?
?
?
Displacement
Equality - Generalized TSP for Vehicle Navigation
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA NA = 9999
1 2 3 4 5 6 7 8 9 10 11 12
1
2
3
4
5
6
7
8
9
10
11
12
Equality - Generalized TSP for Vehicle Navigation
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA NA = 9999
1 2 3 4 5 6 7 8 9 10 11 12
1
2
3
4
5
6
7
8
9
10
11
12
122 – (32 + 42 + 22 + 32)
or
𝑛2- 𝑚=1
𝑘
|𝑚|2
Equality - Generalized TSP for Vehicle Navigation
How to reduce Cost Matrix Size?
Equality - Generalized TSP for Vehicle Navigation
Equality - Generalized TSP for Vehicle Navigation
Equality - Generalized TSP for Vehicle Navigation
Equality - Generalized TSP for Vehicle Navigation
Equality - Generalized TSP for Vehicle Navigation
1
2
3
4
56
7
8
9
10
11
12
X
Y
Equality - Generalized TSP for Vehicle Navigation
1
2
3
4
56
7
8
9
10
11
12
X
Y
Equality - Generalized TSP for Vehicle Navigation
1
2
3
4
56
7
8
9
10
11
12
X
Y
Average Cost1
Average Cost3
Product Cost =
Avg. Cost1 x Avg. Cost2 x Avg. Cost3
Equality - Generalized TSP for Vehicle Navigation
Each Cluster = [Product Cost1, Product Cost2, Product Cost3, . . . . ., Product Costp]
Sorted List
Equality - Generalized TSP for Vehicle Navigation
5%
Each Cluster = [Product Cost1, Product Cost2, Product Cost3, . . . . ., Product Costp]
Sorted List
Equality - Generalized TSP for Vehicle Navigation
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA NA = 9999
1 2 3 4 5 6 7 8 9 10 11 12
1
2
3
4
5
6
7
8
9
10
11
12
1 4 5 8 10 11
NA
NA
NA
NA
NA
NA
1
4
5
8
10
11
Equality - Generalized TSP for Vehicle Navigation
2 Problems in Pre-Processing
(a) What is Distance?
(b) Matrix size is very big Ex. Istanbul – 23,000 Amenities
Dijkstra Distance / Displacement.
Equality - Generalized TSP for Vehicle Navigation
2 Problems in Pre-Processing
(a) What is Distance?
(b) Matrix size is very big
Equality - Generalized TSP for Vehicle Navigation
GTSP Sample Instance Library
Download - http://www.cs.rhul.ac.uk/home/zvero/GTSPLIB/
Presented Approach Vs Generalized Lin–Kernighan–Helsgaun Approach
For GLKH State-of-the-Art Approach –
Keld Helsgaun, 2015, Solving the equality generalized traveling salesman
problem using the Lin–Kernighan–Helsgaun Algorithm, Mathematical
Programming Computation, Volume 7, Page 269–287, DOI 10.1007/s12532-015-
0080-8
Equality - Generalized TSP for Vehicle Navigation
Average % Standard Deviation of Cluster’s Cost
Error %
Presented
Approach
GLKH Approach
Equality - Generalized TSP for Vehicle Navigation
# of Clusters in Sample Instance
Time taken (s)
Presented
Approach
GLKH Approach
Equality - Generalized TSP for Vehicle Navigation
# of Nodes in Sample Instance
Matrix Size
Presented
Approach
GLKH Approach
Equality - Generalized TSP for Vehicle Navigation
# of Nodes in Sample Instance
Matrix Size
with value
≠ 0 or 9999 Presented
Approach
GLKH Approach
Average % Standard Deviation of Cluster’s Cost
Error %
# of Clusters in Sample Instance
Time
taken (s)
# of Nodes in Sample Instance
Matrix Size
# of Nodes in Sample Instance
Matrix Size
with value
≠ 0 or 9999
For 5%
Equality - Generalized TSP for Vehicle Navigation
Gain in Time & Space – Polynomial Order
Lose in Error – Logarithmic Order
World TSP tour
Length: 7,516,353,779km
Cities: 1,904,711
Source: http://www.math.uwaterloo.ca/tsp/world/pictures.html
Thank You!

More Related Content

Similar to A New Spatial Approach for Efficient Transformation of Equality - Generalized TSP to TSP

Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemIRJET Journal
 
Operation research model for solving TSP
Operation research model for solving TSPOperation research model for solving TSP
Operation research model for solving TSPDrGovindshaysharma
 
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmComparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmIOSR Journals
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix DatasetBen Mabey
 
Travelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm OptimizationTravelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm OptimizationIlgın Kavaklıoğulları
 
Hybrid iterated local search algorithm for optimization route of airplane tr...
Hybrid iterated local search algorithm for optimization route of  airplane tr...Hybrid iterated local search algorithm for optimization route of  airplane tr...
Hybrid iterated local search algorithm for optimization route of airplane tr...IJECEIAES
 
A new hybrid approach for solving travelling salesman problem using ordered c...
A new hybrid approach for solving travelling salesman problem using ordered c...A new hybrid approach for solving travelling salesman problem using ordered c...
A new hybrid approach for solving travelling salesman problem using ordered c...eSAT Journals
 
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSA COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSecij
 
Supply chain logistics : vehicle routing and scheduling
Supply chain logistics : vehicle  routing and  schedulingSupply chain logistics : vehicle  routing and  scheduling
Supply chain logistics : vehicle routing and schedulingRetigence Technologies
 
Lab practice session.pptx
Lab practice session.pptxLab practice session.pptx
Lab practice session.pptxakashayosha
 
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm OptimizationA Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm OptimizationRajib Roy
 
The Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
The Optimizing Multiple Travelling Salesman Problem Using Genetic AlgorithmThe Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
The Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithmijsrd.com
 
Optimization Approach for Capacitated Vehicle Routing Problem Using Genetic A...
Optimization Approach for Capacitated Vehicle Routing Problem Using Genetic A...Optimization Approach for Capacitated Vehicle Routing Problem Using Genetic A...
Optimization Approach for Capacitated Vehicle Routing Problem Using Genetic A...ijsrd.com
 
SPLT Transformer.pptx
SPLT Transformer.pptxSPLT Transformer.pptx
SPLT Transformer.pptxSeungeon Baek
 
# Can we trust ai. the dilemma of model adjustment
# Can we trust ai. the dilemma of model adjustment# Can we trust ai. the dilemma of model adjustment
# Can we trust ai. the dilemma of model adjustmentTerence Huang
 
Solving capacity problems as asymmetric
Solving capacity problems as asymmetricSolving capacity problems as asymmetric
Solving capacity problems as asymmetricijaia
 

Similar to A New Spatial Approach for Efficient Transformation of Equality - Generalized TSP to TSP (20)

Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
 
Operation research model for solving TSP
Operation research model for solving TSPOperation research model for solving TSP
Operation research model for solving TSP
 
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmComparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix Dataset
 
paper
paperpaper
paper
 
Travelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm OptimizationTravelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm Optimization
 
Real time traffic management - challenges and solutions
Real time traffic management - challenges and solutionsReal time traffic management - challenges and solutions
Real time traffic management - challenges and solutions
 
Hybrid iterated local search algorithm for optimization route of airplane tr...
Hybrid iterated local search algorithm for optimization route of  airplane tr...Hybrid iterated local search algorithm for optimization route of  airplane tr...
Hybrid iterated local search algorithm for optimization route of airplane tr...
 
NP-Completeness - II
NP-Completeness - IINP-Completeness - II
NP-Completeness - II
 
A new hybrid approach for solving travelling salesman problem using ordered c...
A new hybrid approach for solving travelling salesman problem using ordered c...A new hybrid approach for solving travelling salesman problem using ordered c...
A new hybrid approach for solving travelling salesman problem using ordered c...
 
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSA COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
 
Supply chain logistics : vehicle routing and scheduling
Supply chain logistics : vehicle  routing and  schedulingSupply chain logistics : vehicle  routing and  scheduling
Supply chain logistics : vehicle routing and scheduling
 
Lab practice session.pptx
Lab practice session.pptxLab practice session.pptx
Lab practice session.pptx
 
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm OptimizationA Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
A Dynamic Logistic Dispatching System With Set-Based Particle Swarm Optimization
 
The Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
The Optimizing Multiple Travelling Salesman Problem Using Genetic AlgorithmThe Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
The Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
 
Optimization Approach for Capacitated Vehicle Routing Problem Using Genetic A...
Optimization Approach for Capacitated Vehicle Routing Problem Using Genetic A...Optimization Approach for Capacitated Vehicle Routing Problem Using Genetic A...
Optimization Approach for Capacitated Vehicle Routing Problem Using Genetic A...
 
SPLT Transformer.pptx
SPLT Transformer.pptxSPLT Transformer.pptx
SPLT Transformer.pptx
 
# Can we trust ai. the dilemma of model adjustment
# Can we trust ai. the dilemma of model adjustment# Can we trust ai. the dilemma of model adjustment
# Can we trust ai. the dilemma of model adjustment
 
Solving capacity problems as asymmetric
Solving capacity problems as asymmetricSolving capacity problems as asymmetric
Solving capacity problems as asymmetric
 
Combinatorial Optimization
Combinatorial OptimizationCombinatorial Optimization
Combinatorial Optimization
 

Recently uploaded

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Recently uploaded (20)

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 

A New Spatial Approach for Efficient Transformation of Equality - Generalized TSP to TSP

  • 1. A New Spatial Approach for Efficient Transformation of Equality - Generalized TSP to TSP Mohammed Zia PhD in Geomatics Engineering Istanbul Technical University, Turkey18th August 2017
  • 2. TSP or Travelling Salesman Problem?
  • 3. TSP or Travelling Salesman Problem
  • 4. TSP or Travelling Salesman Problem
  • 5. TSP or Travelling Salesman Problem
  • 6. TSP or Travelling Salesman Problem 1 2 3 4 5 9999 24 45 56 98 24 9999 10 24 32 45 10 9999 65 54 56 24 65 9999 100 98 32 54 100 9999 1 2 3 4 5 1 2 3 4 5 Cost Matrix
  • 9. Equality Generalized Travelling Salesman Problem Cost Matrix nth nth
  • 10. Equality Generalized Travelling Salesman Problem Solution?
  • 11. Equality Generalized Travelling Salesman Problem Solution? Brute Force Heuristic Methods
  • 12. Equality Generalized Travelling Salesman Problem Heuristic Solution Equality Generalized Travelling Salesman Problem Instance Clustered Travelling Salesman Problem Instance Travelling Salesman Problem Instance SOLUTION Reduce to Reduce to Solve TSP Derive Solution
  • 13. Equality Generalized Travelling Salesman Problem Heuristic Solution Charles E. Noon and James C. Bean, February 1993, An Efficient Transformation Of The Generalized Traveling Salesman Problem, INFOR Information Systems and Operational Research, Volume 30 (1), DOI: 10.1080/03155986.1993.11732212
  • 15. What is Cost? In Vehicle Navigation Instances 1. Distance 2. Time 3. Fuel Consumption 4. Scenic Beauty 5. Any Hybrid
  • 16. What is Cost? In Vehicle Navigation Instances 1. Distance Static 2. Time Dynamic 3. Fuel Consumption Dynamic 4. Scenic Beauty Dynamic 5. Any Hybrid Static/Dynamic
  • 17. Equality - Generalized TSP with Static/Dynamic Costs ? ? ? ? ? ? ? ? ? ? ? ?
  • 18. Equality - Generalized TSP with Dynamic Costs Equality Generalized Travelling Salesman Problem Instance Clustered Travelling Salesman Problem Instance Travelling Salesman Problem Instance SOLUTION Reduce to Reduce to Solve TSP Derive Solution Current Equality Generalized TSP Instance with Empty Cost Matrix ?
  • 19. Equality - Generalized TSP for Vehicle Navigation Dynamic Costs – Dynamic Data – Cost Matrix on the fly Static Costs – Static Data – Pre-processing possible
  • 20. Equality - Generalized TSP for Vehicle Navigation 2 Problems in Pre-Processing (a) What is Distance? Dijkstra Distance / Displacement.
  • 21. Equality - Generalized TSP for Vehicle Navigation 2 Problems in Pre-Processing (a) What is Distance? (b) Matrix size is very big Ex. Istanbul – 23,000 Amenities Dijkstra Distance / Displacement.
  • 22. Equality - Generalized TSP for Vehicle Navigation Distance = Dijkstra Distance or Displacement? 35,000 measurements from 210 cities Dijkstra Distance Displacement
  • 23. Equality - Generalized TSP for Vehicle Navigation ? ? ? ? ? ? ? ? ? ? ? ? Displacement
  • 24. Equality - Generalized TSP for Vehicle Navigation NA NA NA NA NA NA NA NA NA NA NA NA NA = 9999 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
  • 25. Equality - Generalized TSP for Vehicle Navigation NA NA NA NA NA NA NA NA NA NA NA NA NA = 9999 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 122 – (32 + 42 + 22 + 32) or 𝑛2- 𝑚=1 𝑘 |𝑚|2
  • 26. Equality - Generalized TSP for Vehicle Navigation How to reduce Cost Matrix Size?
  • 27. Equality - Generalized TSP for Vehicle Navigation
  • 28. Equality - Generalized TSP for Vehicle Navigation
  • 29. Equality - Generalized TSP for Vehicle Navigation
  • 30. Equality - Generalized TSP for Vehicle Navigation
  • 31. Equality - Generalized TSP for Vehicle Navigation 1 2 3 4 56 7 8 9 10 11 12 X Y
  • 32. Equality - Generalized TSP for Vehicle Navigation 1 2 3 4 56 7 8 9 10 11 12 X Y
  • 33. Equality - Generalized TSP for Vehicle Navigation 1 2 3 4 56 7 8 9 10 11 12 X Y Average Cost1 Average Cost3 Product Cost = Avg. Cost1 x Avg. Cost2 x Avg. Cost3
  • 34. Equality - Generalized TSP for Vehicle Navigation Each Cluster = [Product Cost1, Product Cost2, Product Cost3, . . . . ., Product Costp] Sorted List
  • 35. Equality - Generalized TSP for Vehicle Navigation 5% Each Cluster = [Product Cost1, Product Cost2, Product Cost3, . . . . ., Product Costp] Sorted List
  • 36. Equality - Generalized TSP for Vehicle Navigation NA NA NA NA NA NA NA NA NA NA NA NA NA = 9999 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 4 5 8 10 11 NA NA NA NA NA NA 1 4 5 8 10 11
  • 37. Equality - Generalized TSP for Vehicle Navigation 2 Problems in Pre-Processing (a) What is Distance? (b) Matrix size is very big Ex. Istanbul – 23,000 Amenities Dijkstra Distance / Displacement.
  • 38. Equality - Generalized TSP for Vehicle Navigation 2 Problems in Pre-Processing (a) What is Distance? (b) Matrix size is very big
  • 39. Equality - Generalized TSP for Vehicle Navigation GTSP Sample Instance Library Download - http://www.cs.rhul.ac.uk/home/zvero/GTSPLIB/ Presented Approach Vs Generalized Lin–Kernighan–Helsgaun Approach For GLKH State-of-the-Art Approach – Keld Helsgaun, 2015, Solving the equality generalized traveling salesman problem using the Lin–Kernighan–Helsgaun Algorithm, Mathematical Programming Computation, Volume 7, Page 269–287, DOI 10.1007/s12532-015- 0080-8
  • 40. Equality - Generalized TSP for Vehicle Navigation Average % Standard Deviation of Cluster’s Cost Error % Presented Approach GLKH Approach
  • 41. Equality - Generalized TSP for Vehicle Navigation # of Clusters in Sample Instance Time taken (s) Presented Approach GLKH Approach
  • 42. Equality - Generalized TSP for Vehicle Navigation # of Nodes in Sample Instance Matrix Size Presented Approach GLKH Approach
  • 43. Equality - Generalized TSP for Vehicle Navigation # of Nodes in Sample Instance Matrix Size with value ≠ 0 or 9999 Presented Approach GLKH Approach
  • 44. Average % Standard Deviation of Cluster’s Cost Error % # of Clusters in Sample Instance Time taken (s) # of Nodes in Sample Instance Matrix Size # of Nodes in Sample Instance Matrix Size with value ≠ 0 or 9999 For 5%
  • 45. Equality - Generalized TSP for Vehicle Navigation Gain in Time & Space – Polynomial Order Lose in Error – Logarithmic Order
  • 46. World TSP tour Length: 7,516,353,779km Cities: 1,904,711 Source: http://www.math.uwaterloo.ca/tsp/world/pictures.html Thank You!