SlideShare une entreprise Scribd logo
1  sur  7
By,
SHAILESH JADHAV
RAHUL CHAUGULE
v VIRAJ PATIL
HISTORY
 In the 1800s, Travelling salesman problems were looked by Sir William
Rowan Hamilton and Thomas Kirkman.
 Hassler Whitney at Princeton University introduced the name
travelling salesman problem
 In the 1950s and 1960s, the problem became increasingly popular in
scientific circles in Europe and the USA.
 Richard M. Karp showed in 1972 that the Hamiltonian cycle problem
was NP-complete.
INTRODUCTION
 The travelling salesman problem consists of a salesman and a set of cities.
The salesman has to visit each one of the cities starting from a certain one
(e.g. the hometown) and returning to the same city. The challenge of the
problem is that the travelling salesman wants to minimize the total length of
the trip.
 Travelling salesman problem is one of the most extensively studied
optimization problem that is used to find the shortest possible route.
 TSP has many applications including following:
1. The delivery of meals to office persons.
2. Manufacture of microchips.
3. The routing of courier trucks.
4. The routing of any salesman.
SOLVING METHODS
 Try every possibility: (n-1)!Possibilities- Takes longer time.
 Optimising Methods: obtain guaranteed optimal solution.
 Heuristic Method: obtain ‘good’ solution ‘quickly’ by intuitive methods
.No guarantee of optimality.
Objective function
The mathematical formulation of the problem can be as in Eq.
Where,
d(i,j)- Distance travelled from city ‘i’ to city ‘j’.
x(i.j) –cost of travel from city ‘i’ to city ’j’.
min
x
x(i, j)d(i, j)
j 1
n
i 1
n

s.t.
x(i, j) 1, i  1,2,...,n
j 1
n

x(i, j) 1, j  1,2,...,n
i 1
n

x(i, j)  S  1, S  {1,2,...,n}
i , jS
n

x(i, j) {0,1}
TYPES OF PROBLEM
1.SYMMETRIC TSP
2.ASYMMETRIC TSP
1 2 3 4
1 -- 30 44 56
2 20 -- 38 68
3 25 60 -- 25
4 75 35 45 --
CONCLUSION
 Travelling salesman problem is one of the most extensively studied
optimization problem that is used to find the shortest possible route.
 By knowing or solving the Travelling salesman problem we get the
optimal travelling distance/path cost.
 We should know which appropriate method to be used while solving
TSP.

Contenu connexe

En vedette

Saturday Morning Heroes Challenge
Saturday Morning Heroes Challenge Saturday Morning Heroes Challenge
Saturday Morning Heroes Challenge Jim Pappas
 
Diggbuy外贸推广使用教程
Diggbuy外贸推广使用教程Diggbuy外贸推广使用教程
Diggbuy外贸推广使用教程Felix Lion
 
Wubbo Ockels Ecolution 17042010
Wubbo Ockels Ecolution 17042010Wubbo Ockels Ecolution 17042010
Wubbo Ockels Ecolution 17042010VPRO Beagle
 

En vedette (6)

TNA 11 May 2015
TNA 11 May 2015TNA 11 May 2015
TNA 11 May 2015
 
Saturday Morning Heroes Challenge
Saturday Morning Heroes Challenge Saturday Morning Heroes Challenge
Saturday Morning Heroes Challenge
 
Diggbuy外贸推广使用教程
Diggbuy外贸推广使用教程Diggbuy外贸推广使用教程
Diggbuy外贸推广使用教程
 
Page One Engine Discount
Page One Engine DiscountPage One Engine Discount
Page One Engine Discount
 
DUT
DUTDUT
DUT
 
Wubbo Ockels Ecolution 17042010
Wubbo Ockels Ecolution 17042010Wubbo Ockels Ecolution 17042010
Wubbo Ockels Ecolution 17042010
 

Similaire à Traveling salesman problem(tsp)

The Travelling Salesman Problem_BharatKumar.pptx
The Travelling Salesman Problem_BharatKumar.pptxThe Travelling Salesman Problem_BharatKumar.pptx
The Travelling Salesman Problem_BharatKumar.pptxneerajk59291
 
A New Approach to Solve Initial Basic Feasible Solution for the Transportatio...
A New Approach to Solve Initial Basic Feasible Solution for the Transportatio...A New Approach to Solve Initial Basic Feasible Solution for the Transportatio...
A New Approach to Solve Initial Basic Feasible Solution for the Transportatio...Dr. Amarjeet Singh
 
An Implementational approach to genetic algorithms for TSP
An Implementational approach to genetic algorithms for TSPAn Implementational approach to genetic algorithms for TSP
An Implementational approach to genetic algorithms for TSPSougata Das
 
The Traveling Salesman problem ppt.pptx
The Traveling Salesman problem ppt.pptxThe Traveling Salesman problem ppt.pptx
The Traveling Salesman problem ppt.pptxHalimFerchichi
 
Optimal Vacation Itinerary Modeling
Optimal Vacation Itinerary ModelingOptimal Vacation Itinerary Modeling
Optimal Vacation Itinerary ModelingGerard Trimberger
 
Transportation Problem In Linear Programming
Transportation Problem In Linear ProgrammingTransportation Problem In Linear Programming
Transportation Problem In Linear ProgrammingMirza Tanzida
 

Similaire à Traveling salesman problem(tsp) (8)

The Travelling Salesman Problem_BharatKumar.pptx
The Travelling Salesman Problem_BharatKumar.pptxThe Travelling Salesman Problem_BharatKumar.pptx
The Travelling Salesman Problem_BharatKumar.pptx
 
A New Approach to Solve Initial Basic Feasible Solution for the Transportatio...
A New Approach to Solve Initial Basic Feasible Solution for the Transportatio...A New Approach to Solve Initial Basic Feasible Solution for the Transportatio...
A New Approach to Solve Initial Basic Feasible Solution for the Transportatio...
 
K046036367
K046036367K046036367
K046036367
 
An Implementational approach to genetic algorithms for TSP
An Implementational approach to genetic algorithms for TSPAn Implementational approach to genetic algorithms for TSP
An Implementational approach to genetic algorithms for TSP
 
Presentation socg
Presentation socgPresentation socg
Presentation socg
 
The Traveling Salesman problem ppt.pptx
The Traveling Salesman problem ppt.pptxThe Traveling Salesman problem ppt.pptx
The Traveling Salesman problem ppt.pptx
 
Optimal Vacation Itinerary Modeling
Optimal Vacation Itinerary ModelingOptimal Vacation Itinerary Modeling
Optimal Vacation Itinerary Modeling
 
Transportation Problem In Linear Programming
Transportation Problem In Linear ProgrammingTransportation Problem In Linear Programming
Transportation Problem In Linear Programming
 

Dernier

Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfNainaShrivastava14
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 
signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsapna80328
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfisabel213075
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfManish Kumar
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodManicka Mamallan Andavar
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosVictor Morales
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.elesangwon
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 

Dernier (20)

Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 
signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveying
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Designing pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptxDesigning pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptx
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdf
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument method
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitos
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 

Traveling salesman problem(tsp)

  • 2. HISTORY  In the 1800s, Travelling salesman problems were looked by Sir William Rowan Hamilton and Thomas Kirkman.  Hassler Whitney at Princeton University introduced the name travelling salesman problem  In the 1950s and 1960s, the problem became increasingly popular in scientific circles in Europe and the USA.  Richard M. Karp showed in 1972 that the Hamiltonian cycle problem was NP-complete.
  • 3. INTRODUCTION  The travelling salesman problem consists of a salesman and a set of cities. The salesman has to visit each one of the cities starting from a certain one (e.g. the hometown) and returning to the same city. The challenge of the problem is that the travelling salesman wants to minimize the total length of the trip.  Travelling salesman problem is one of the most extensively studied optimization problem that is used to find the shortest possible route.  TSP has many applications including following: 1. The delivery of meals to office persons. 2. Manufacture of microchips. 3. The routing of courier trucks. 4. The routing of any salesman.
  • 4. SOLVING METHODS  Try every possibility: (n-1)!Possibilities- Takes longer time.  Optimising Methods: obtain guaranteed optimal solution.  Heuristic Method: obtain ‘good’ solution ‘quickly’ by intuitive methods .No guarantee of optimality.
  • 5. Objective function The mathematical formulation of the problem can be as in Eq. Where, d(i,j)- Distance travelled from city ‘i’ to city ‘j’. x(i.j) –cost of travel from city ‘i’ to city ’j’. min x x(i, j)d(i, j) j 1 n i 1 n  s.t. x(i, j) 1, i  1,2,...,n j 1 n  x(i, j) 1, j  1,2,...,n i 1 n  x(i, j)  S  1, S  {1,2,...,n} i , jS n  x(i, j) {0,1}
  • 6. TYPES OF PROBLEM 1.SYMMETRIC TSP 2.ASYMMETRIC TSP 1 2 3 4 1 -- 30 44 56 2 20 -- 38 68 3 25 60 -- 25 4 75 35 45 --
  • 7. CONCLUSION  Travelling salesman problem is one of the most extensively studied optimization problem that is used to find the shortest possible route.  By knowing or solving the Travelling salesman problem we get the optimal travelling distance/path cost.  We should know which appropriate method to be used while solving TSP.