SlideShare una empresa de Scribd logo
1 de 18
Travelling Salesman Problem
Chapter 1 & 2



Raditya W Erlangga (G651120714)
Jemy Arieswanto (G651120664)
Amalia Rahmawati (G651120634)
Bogor, February 16th 2013
AGENDA

• Introduction
• NP-Complete Overview
• TSP
•Q&A
TRAVELLING SALESMAN
            PROBLEM
Find the shortest possible route
that visits each city exactly once
   and returns to the origin city




    SECURITY UPDATE

    <ISC SA or IR Number>
    <Date>
P, NP, NP-COMPLETE, NP-HARD



                  Nondeterministic-
Polynomial Time   Polynomial Time     NP-Complete   NP-Hard
P (POLYNOMIAL TIME)

» P is the set of all decision problems which can be solved in polynomial
  time by a deterministic Turing machine. Since it can be solved in
  polynomial time, it can also be verified in polynomial time
» E.g:
   • Linear Programming -> determining a way to achieve the best
       outcome (such as maximum profit or lowest cost) in a given
       mathematical model
   • finding Maximum Matching -> graph matching
NP (NON-DETERMINISTIC POLYNOMIAL)

» NP is the set of all decision problems (question with yes-or-no answer)
  for which the 'yes'-answers can be verified in polynomial time (O(nk)
  where n is the problem size, and k is a constant) by a deterministic
  Turing machine. Polynomial time is sometimes used as the definition of
  fast or quickly
» P is a subset of NP
» E.g:
   • TSP
NP-COMPLETE

» A problem x that is in NP is also in NP-Complete if and only if every
  other problem in NP can be quickly (ie. in polynomial time)
  transformed into x. In other words:
   • x is in NP, and
   • Every problem in NP is reducible to x
» So what makes NP-Complete so interesting is that if any one of the NP-
  Complete problems was to be solved quickly then all NP problems can
  be solved quickly
» E.g:
   • TSP
NP-HARD
» NP-Hard are problems that are at least as hard as the hardest problems
  in NP. Note that NP-Complete problems are also NP-hard. However not
  all NP-hard problems are NP (or even a decision problem), despite
  having 'NP' as a prefix. That is the NP in NP-hard does not mean 'non-
  deterministic polynomial time’
» E.g:
   • TSP
P, NP, NP-COMPLETE, AND NP-HARD CORRELATION
TSP IS NP-HARD




U$ 1m
IF P = NP IS SOLVED


Millenium Prize
Problem
AND CREDITS FROM
SCIENTISTS AROUND
THE WORLD




source: http://www.claymath.org/millennium/P_vs_NP/
TSP HISTORY


» 1920: Karl Menger introduced the concept to colleagues in Vienna
» 1930: Intensive discussion in math community in Princeton University
» 1940: Merrill Meeks Flood publicized TSP to mass
» 1948: Flood presented TSP to RAND Corp. RAND is a non-profit
  organization that focuses in intellectual research and development
  within the US
» 1950: Linear Programming was becoming a vital force in computing
  solutions to combinatorial optimization problems. The US Airforce
  needed the method to optimize solutions of their combinatorial
  transportation problem
» 1960’s: The TSP could not be solved in polynomial time using Linear
  Programming techniques
TSP has never been
solved
 by scientists and experts so far
TSP OVERVIEW (1)

» Find the shortest possible route that visits each city exactly once and
  returns to the origin city -> Hamiltonian cycle
» Posed such computational complexity that any programmable efforts
  to solve such problems would grow superpolynomially with the
  problem size
» Can be used in :
   • transportation: school bus routes, service calls, delivering meals
   • manufacturing: an industrial robot that drills holes in printed
      circuit boards
   • VLSI (microchip) layout
   • communication: planning new telecommunication networks
TSP OVERVIEW (2)

» One way to solve TSP is to use exhaustive search to find all possible
  combinations of the next city to visit
» However, the method is costly, since the number of possible tours of a map
  with n cities is (n − 1)! / 2

         #cities            #tours
            5                 12
            6                 60
            7                360
            8                2,520
            9               20,160
           10               181,440


» 25 cities will require:
   310,224,200,866,619,719,680,000
TSP OVERVIEW (3)
 Vehicle Routing - Meet customers demands within given time windows
 using lorries of limited capacity
                     10am-1pm              7am-8am        3am-5am




4pm-7pm                                                             6pm-7pm
                                          Depot



          8am-10am




                                                        6am-9am
                                2pm-3pm


                                Much more difficult than TSP
TSP OVERVIEW (4)

» Until this very day, an efficient solution to the general case TSP, or even
  to any of its NP-hard variations, has not been found
» However, there are approximation solutions to solve the TSP:
   • Polynomial Time Approximation Scheme (PTAS)
   • Christofides Algorithm
   • Double MST Algorithm
   • Arora’s Algorithm
   • Mitchell’s Algorithm
QUESTIONS?
THANK YOU

Más contenido relacionado

La actualidad más candente

Solving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithmSolving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithmAlex Bidanets
 
Traveling salesman problem
Traveling salesman problemTraveling salesman problem
Traveling salesman problemJayesh Chauhan
 
NP Complete Problems
NP Complete ProblemsNP Complete Problems
NP Complete ProblemsNikhil Joshi
 
Greedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack ProblemGreedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack ProblemMadhu Bala
 
sum of subset problem using Backtracking
sum of subset problem using Backtrackingsum of subset problem using Backtracking
sum of subset problem using BacktrackingAbhishek Singh
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problemWajahat Hussain
 
All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithmSrikrishnan Suresh
 
Travelling Salesman Problem
Travelling Salesman ProblemTravelling Salesman Problem
Travelling Salesman ProblemShikha Gupta
 
Greedy Algorithm
Greedy AlgorithmGreedy Algorithm
Greedy AlgorithmWaqar Akram
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithmMegha Sharma
 

La actualidad más candente (20)

Backtracking
BacktrackingBacktracking
Backtracking
 
Solving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithmSolving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithm
 
Branch and bound
Branch and boundBranch and bound
Branch and bound
 
Divide and Conquer
Divide and ConquerDivide and Conquer
Divide and Conquer
 
Traveling salesman problem
Traveling salesman problemTraveling salesman problem
Traveling salesman problem
 
Greedy Algorihm
Greedy AlgorihmGreedy Algorihm
Greedy Algorihm
 
NP Complete Problems
NP Complete ProblemsNP Complete Problems
NP Complete Problems
 
Greedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack ProblemGreedy Algorithm - Knapsack Problem
Greedy Algorithm - Knapsack Problem
 
sum of subset problem using Backtracking
sum of subset problem using Backtrackingsum of subset problem using Backtracking
sum of subset problem using Backtracking
 
NP completeness
NP completenessNP completeness
NP completeness
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
 
Tsp branch and-bound
Tsp branch and-boundTsp branch and-bound
Tsp branch and-bound
 
All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithm
 
Greedy algorithms
Greedy algorithmsGreedy algorithms
Greedy algorithms
 
Travelling Salesman Problem
Travelling Salesman ProblemTravelling Salesman Problem
Travelling Salesman Problem
 
AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
RM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lectureRM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lecture
 
Greedy Algorithm
Greedy AlgorithmGreedy Algorithm
Greedy Algorithm
 
Local search algorithm
Local search algorithmLocal search algorithm
Local search algorithm
 

Destacado

Traveling salesman problem
Traveling salesman problemTraveling salesman problem
Traveling salesman problemMohamed Gad
 
Solving travelling salesman problem using firefly algorithm
Solving travelling salesman problem using firefly algorithmSolving travelling salesman problem using firefly algorithm
Solving travelling salesman problem using firefly algorithmishmecse13
 
The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen ProblemSukrit Gupta
 
The Travelling Salesman Problem
The Travelling Salesman ProblemThe Travelling Salesman Problem
The Travelling Salesman Problemguest3d82c4
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back trackingTech_MX
 

Destacado (6)

Traveling salesman problem
Traveling salesman problemTraveling salesman problem
Traveling salesman problem
 
Solving travelling salesman problem using firefly algorithm
Solving travelling salesman problem using firefly algorithmSolving travelling salesman problem using firefly algorithm
Solving travelling salesman problem using firefly algorithm
 
The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen Problem
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
 
The Travelling Salesman Problem
The Travelling Salesman ProblemThe Travelling Salesman Problem
The Travelling Salesman Problem
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
 

Similar a Travelling Salesman Problem

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ı
 
Traveling Salesman Problem (TSP)
Traveling Salesman Problem (TSP)Traveling Salesman Problem (TSP)
Traveling Salesman Problem (TSP)Maksym Voitko
 
A New Spatial Approach for Efficient Transformation of Equality - Generalize...
A New Spatial Approach for Efficient Transformation of  Equality - Generalize...A New Spatial Approach for Efficient Transformation of  Equality - Generalize...
A New Spatial Approach for Efficient Transformation of Equality - Generalize...Mohammed Zia
 
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
 
Eeee2017 Conference - OR in the digital era - ICT challenges | Presentation
Eeee2017 Conference - OR in the digital era - ICT challenges | PresentationEeee2017 Conference - OR in the digital era - ICT challenges | Presentation
Eeee2017 Conference - OR in the digital era - ICT challenges | PresentationChristos Papalitsas
 
Algorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSPAlgorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSPCarrie Romero
 
The Traveling Salesman Problem: A Neural Network Perspective
The Traveling Salesman Problem: A Neural Network PerspectiveThe Traveling Salesman Problem: A Neural Network Perspective
The Traveling Salesman Problem: A Neural Network Perspectivemustafa sarac
 
Nearest Neighbor Customer Insight
Nearest Neighbor Customer InsightNearest Neighbor Customer Insight
Nearest Neighbor Customer InsightMapR Technologies
 
Modelling the London Tube Network in Grakn
Modelling the London Tube Network in GraknModelling the London Tube Network in Grakn
Modelling the London Tube Network in GraknVaticle
 
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...csandit
 
Solving capacity problems as asymmetric
Solving capacity problems as asymmetricSolving capacity problems as asymmetric
Solving capacity problems as asymmetricijaia
 
Job Shop Scheduling with Setup Times Release times and Deadlines
Job Shop Scheduling with Setup Times  Release times and DeadlinesJob Shop Scheduling with Setup Times  Release times and Deadlines
Job Shop Scheduling with Setup Times Release times and DeadlinesAlkis Vazacopoulos
 
1907555 ant colony optimization for simulated dynamic multi-objective railway...
1907555 ant colony optimization for simulated dynamic multi-objective railway...1907555 ant colony optimization for simulated dynamic multi-objective railway...
1907555 ant colony optimization for simulated dynamic multi-objective railway...Mamun Hasan
 

Similar a Travelling Salesman Problem (20)

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
 
P vs NP
P vs NP P vs NP
P vs NP
 
DAA.pdf
DAA.pdfDAA.pdf
DAA.pdf
 
DAA.pdf
DAA.pdfDAA.pdf
DAA.pdf
 
Traveling Salesman Problem (TSP)
Traveling Salesman Problem (TSP)Traveling Salesman Problem (TSP)
Traveling Salesman Problem (TSP)
 
NP-Completeness - II
NP-Completeness - IINP-Completeness - II
NP-Completeness - II
 
A New Spatial Approach for Efficient Transformation of Equality - Generalize...
A New Spatial Approach for Efficient Transformation of  Equality - Generalize...A New Spatial Approach for Efficient Transformation of  Equality - Generalize...
A New Spatial Approach for Efficient Transformation of Equality - Generalize...
 
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
 
Eeee2017 Conference - OR in the digital era - ICT challenges | Presentation
Eeee2017 Conference - OR in the digital era - ICT challenges | PresentationEeee2017 Conference - OR in the digital era - ICT challenges | Presentation
Eeee2017 Conference - OR in the digital era - ICT challenges | Presentation
 
Algorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSPAlgorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSP
 
The Traveling Salesman Problem: A Neural Network Perspective
The Traveling Salesman Problem: A Neural Network PerspectiveThe Traveling Salesman Problem: A Neural Network Perspective
The Traveling Salesman Problem: A Neural Network Perspective
 
class23.ppt
class23.pptclass23.ppt
class23.ppt
 
Nearest Neighbor Customer Insight
Nearest Neighbor Customer InsightNearest Neighbor Customer Insight
Nearest Neighbor Customer Insight
 
Travelling salesmen problem
Travelling salesmen problemTravelling salesmen problem
Travelling salesmen problem
 
Modelling the London Tube Network in Grakn
Modelling the London Tube Network in GraknModelling the London Tube Network in Grakn
Modelling the London Tube Network in Grakn
 
Combinatorial Optimization
Combinatorial OptimizationCombinatorial Optimization
Combinatorial Optimization
 
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
 
Solving capacity problems as asymmetric
Solving capacity problems as asymmetricSolving capacity problems as asymmetric
Solving capacity problems as asymmetric
 
Job Shop Scheduling with Setup Times Release times and Deadlines
Job Shop Scheduling with Setup Times  Release times and DeadlinesJob Shop Scheduling with Setup Times  Release times and Deadlines
Job Shop Scheduling with Setup Times Release times and Deadlines
 
1907555 ant colony optimization for simulated dynamic multi-objective railway...
1907555 ant colony optimization for simulated dynamic multi-objective railway...1907555 ant colony optimization for simulated dynamic multi-objective railway...
1907555 ant colony optimization for simulated dynamic multi-objective railway...
 

Último

Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 

Último (20)

Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 

Travelling Salesman Problem

  • 1. Travelling Salesman Problem Chapter 1 & 2 Raditya W Erlangga (G651120714) Jemy Arieswanto (G651120664) Amalia Rahmawati (G651120634) Bogor, February 16th 2013
  • 2. AGENDA • Introduction • NP-Complete Overview • TSP •Q&A
  • 3. TRAVELLING SALESMAN PROBLEM Find the shortest possible route that visits each city exactly once and returns to the origin city SECURITY UPDATE <ISC SA or IR Number> <Date>
  • 4. P, NP, NP-COMPLETE, NP-HARD Nondeterministic- Polynomial Time Polynomial Time NP-Complete NP-Hard
  • 5. P (POLYNOMIAL TIME) » P is the set of all decision problems which can be solved in polynomial time by a deterministic Turing machine. Since it can be solved in polynomial time, it can also be verified in polynomial time » E.g: • Linear Programming -> determining a way to achieve the best outcome (such as maximum profit or lowest cost) in a given mathematical model • finding Maximum Matching -> graph matching
  • 6. NP (NON-DETERMINISTIC POLYNOMIAL) » NP is the set of all decision problems (question with yes-or-no answer) for which the 'yes'-answers can be verified in polynomial time (O(nk) where n is the problem size, and k is a constant) by a deterministic Turing machine. Polynomial time is sometimes used as the definition of fast or quickly » P is a subset of NP » E.g: • TSP
  • 7. NP-COMPLETE » A problem x that is in NP is also in NP-Complete if and only if every other problem in NP can be quickly (ie. in polynomial time) transformed into x. In other words: • x is in NP, and • Every problem in NP is reducible to x » So what makes NP-Complete so interesting is that if any one of the NP- Complete problems was to be solved quickly then all NP problems can be solved quickly » E.g: • TSP
  • 8. NP-HARD » NP-Hard are problems that are at least as hard as the hardest problems in NP. Note that NP-Complete problems are also NP-hard. However not all NP-hard problems are NP (or even a decision problem), despite having 'NP' as a prefix. That is the NP in NP-hard does not mean 'non- deterministic polynomial time’ » E.g: • TSP
  • 9. P, NP, NP-COMPLETE, AND NP-HARD CORRELATION
  • 10. TSP IS NP-HARD U$ 1m IF P = NP IS SOLVED Millenium Prize Problem AND CREDITS FROM SCIENTISTS AROUND THE WORLD source: http://www.claymath.org/millennium/P_vs_NP/
  • 11. TSP HISTORY » 1920: Karl Menger introduced the concept to colleagues in Vienna » 1930: Intensive discussion in math community in Princeton University » 1940: Merrill Meeks Flood publicized TSP to mass » 1948: Flood presented TSP to RAND Corp. RAND is a non-profit organization that focuses in intellectual research and development within the US » 1950: Linear Programming was becoming a vital force in computing solutions to combinatorial optimization problems. The US Airforce needed the method to optimize solutions of their combinatorial transportation problem » 1960’s: The TSP could not be solved in polynomial time using Linear Programming techniques
  • 12. TSP has never been solved by scientists and experts so far
  • 13. TSP OVERVIEW (1) » Find the shortest possible route that visits each city exactly once and returns to the origin city -> Hamiltonian cycle » Posed such computational complexity that any programmable efforts to solve such problems would grow superpolynomially with the problem size » Can be used in : • transportation: school bus routes, service calls, delivering meals • manufacturing: an industrial robot that drills holes in printed circuit boards • VLSI (microchip) layout • communication: planning new telecommunication networks
  • 14. TSP OVERVIEW (2) » One way to solve TSP is to use exhaustive search to find all possible combinations of the next city to visit » However, the method is costly, since the number of possible tours of a map with n cities is (n − 1)! / 2 #cities #tours 5 12 6 60 7 360 8 2,520 9 20,160 10 181,440 » 25 cities will require: 310,224,200,866,619,719,680,000
  • 15. TSP OVERVIEW (3) Vehicle Routing - Meet customers demands within given time windows using lorries of limited capacity 10am-1pm 7am-8am 3am-5am 4pm-7pm 6pm-7pm Depot 8am-10am 6am-9am 2pm-3pm Much more difficult than TSP
  • 16. TSP OVERVIEW (4) » Until this very day, an efficient solution to the general case TSP, or even to any of its NP-hard variations, has not been found » However, there are approximation solutions to solve the TSP: • Polynomial Time Approximation Scheme (PTAS) • Christofides Algorithm • Double MST Algorithm • Arora’s Algorithm • Mitchell’s Algorithm

Notas del editor

  1. Slide title text color may be changed once the photo background is added.