Beruflich Dokumente
Kultur Dokumente
I.
I NTRODUCTION
II.
M ETHODOLOGY
Traveling Salesperson Problem methodology has been developed based upon concepts of graph theory and basic
algorithm provided by graph theory. Traveling Salesperson
Problem can be solved with the similar concepts of Shortest
Path algorithm and Minimum Spanning tree algorithms.
1)
2)
in Fig.
However, in 1971, S.A Cook proved that a particular NP
problem known as SAT (Satisfiability of sets of Boolean
clauses) has the property that, if it is solvable in polynomial
time, so are all NP problems. This is called a NP Complete
problem.Let A and B are two problems then problem A
reduces to B if and only if there is a way to solve A by
deterministic polynomial time algorithm using a deterministic
algorithm that solve B in polynomial time. In other word we
can say that if there exist a polynomial algorithm that solve
B then we can solve A in polynomial time.An NP-problem
such that,if it is in P, then NP = P. If a problem has this same
property then it is called NP-Hard Problem. Thus the class
of NP-Complete problem is the intersaction of the NP and NP
Hard classes. Normally the decision problems are NP complete
but Optimization problems are NP-Hard.However if problem A
is a decision problem and B is an optimization problem then it
is possible that A reduces B. There are some NP-hard problems
that are not NP-complete. For example, Halting problems.If an
NP-hard problem can be solved in polynomial time then all
the NP complete problems can be solved in polynomial time.
All the NP complete problems are NP-hard but there are some
NP-hard problems that not known to be NP-complete.
Algorthm:- Non-Determin()
// A[1:n] is a set of elements
// guessing stage
for i=1 to n do
A[i]:=choose(i);
// verification stage
if (A[i]=X) then
write(i);
success();
write(0);
fail();
V.
This
problem is NP problem as there may exist some path with
shortest distance between the cities. If you get the solution
by applying certain algorithm then traveling Salesperson
Problem is NP complete problem. If we get no solution at all
by applying an algorithm then Traveling Salesperson Problem
belongs to NP hard classes.
VI. A NALYSIS
By applying Non-deterministic algorithm, TSP problem can
be solved. At most of the time the Traveling Salesperson
Problem is the NP complete problem but it can be NP-hard
problem by some specific conditions.This problem can able to
differentiate NP complete and NP hard problem up to certain
extent.
VII. C ONCLUSION
NP completeness is the most helpful property for differentiating NP complete and NP hard problem. The Np-complete
has a property that it can be solved in polynomial time
if and only if all other NP-complete problems can also be
solved in polynomial time.Similarly if an NP-hard problem
can be solved in polynomial time then all the NP complete
problems can be solved in polynomial time. All NP-complete
problems are NP-hard but some NP-hard problems are not NPcomplete.With the help of Traveling Salesperson Problem, the
concept of Hamiltonian Cycle and Hamiltonian Path can be
explored.Hamiltonian path is the path which does not contain
any cycle.
R EFERENCES
[1]
[2]
[3]