0
Upcoming SlideShare
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Standard text messaging rates apply

# The Travelling Salesman Problem

3,732

Published on

Just mine and mrs leonards school work

Just mine and mrs leonards school work

Published in: Education, Technology
1 Like
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total Views
3,732
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
192
0
Likes
1
Embeds 0
No embeds

No notes for slide

### Transcript

• 1. The Travelling Salesman Problem By Matt Leonard & Nathan Rodger
• 2. So What Is The Problem?
• The problem is: when given an amount of cities, and the costs of travelling from one city to the next, what is the least costly trip you could make to visit each city once before returning to your start city. (This is the only city you can visit twice)
• So, For Example…
• 3. Is there a route that takes you through every city and back to the start point ‘A’ for less than 520? The answer is yes. The solution is ABCGFDEA A G B F C E D 100 80 70 70 120 60 40 70 90 110 50 30
• 4. So can a computer solve this problem?
• Well in theory yes it can, however there are some problems…
• An exact solution was found for 15,112 German towns in 2001.
• If a computer was asked to calculate the solution it would take….
22.6 years!
• 5.
• In 2005, the travelling salesman problem was tested visiting all 33,810 points in a circuit board.
• It was solved using Concorde
• A tour of length 66,048,945 units was found and it was proven that no shorter tour exists.
• The computation took approximately 15.7 CPU years.
• (Concorde is a program used for solving the TSP)
• 6.
• So if you thought computers could do things quickly… check this out.
• In 2006 an instance with 85,900 points was tested.
• Once again it was solved using Concorde.
This would take a WHOPPING 136 computer years!!!
• 7. So what does this all mean?
• Computers can work out the TSP, but increase the amount of units involved and the computer starts to struggle.
• Devising algorithms for finding exact solutions will only work reasonably fast for relatively small problem sizes.
• So when you increase the set of instructions, a computer will take longer to process the data.
• 8.
• We hope you understand more about the travelling salesman problem.
• We thank you for viewing this presentation and hope you have learnt a little bit more about computers in general.
• Any Questions..?