Beruflich Dokumente
Kultur Dokumente
By
Shreya Chamalwar (9)
Pranoti Sahare (24)
Pratiksha Lanjewar (26)
Aditi Garade (46)
Priyanka Bains (50)
Introduction
Problem Statement
Algorithm
Example
Application
Advantages
Disadvantages
Conclusion
References
INTRODUCTION
The Traveling Salesman Problem (often called TSP) is a classic algorithmic problem
in the field of computer science and operations research.
Then we have to obtain the cheapest round-trip such that each city is visited
exactly ones returning to starting city, completes the tour.
C ({1}, 1) = 0
for s = 2 to n do
for all subsets S ∈ {1, 2, 3, …, n} of size s and containing 1
C (S, 1) = ∞
for all j ∈ S and j ≠ 1
C (S, j) = min (C (S – {j}, i) + d(i, j) for i∈ S and i≠ j }
Return minj C ({1, 2, 3, .., n}, j) + d(j, i)
EXAMPLE
Consider the following sets of cities :
The problem lies in finding a minimal path passing from all vertices once. For
example the path Path1 {A, B, C, D, E, A} and the path Path2 {A, B, C, E, D, A}
pass all the vertices but Path1 has a total length of 24 and Path2 has a total length
of 31.
APPLICATIONS
The continued study of this problem coupled with novel and creative approaches
may some day yield a method that will lead to a polynomial-time solution for all
NP-complete problems.
In the meantime, the study of this problem has yielded solutions that are “good
enough” for practical application – so good that often the search for an optimal
solution is not even worth the effort.
REFERENCES
http://www.wikipedia.org
http://www.cs.duke.edu/
http://scef.unime.it/plebe/pubs/ICANN2002.ps.gz