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

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 

Dernier (20)

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 

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.