retagged by
1,315 views

1 Answer

1 votes
1 votes

a) dynamic programming

Travelling Salesman Problem (TSP): Given a set of cities and distance between every pair of cities, the problem is to find the shortest possible route that visits every city exactly once and returns to the starting point.

in TSP we are covering every possiblity so dynamic programming.

Related questions

1 votes
1 votes
1 answer
2
LavTheRawkstar asked Feb 28, 2017
1,652 views
$\begin{bmatrix} 0& 29& 19& 25& 22\\ 20& 0& 21& 23& 21\\ 19& 21& 0& 21& 20\\ 25& 23& 21& 0& 32\\ 22& 21& 20& 22& 0 \end{bmatrix}$Find the shortest tour for given graph us...
0 votes
0 votes
1 answer
3
LavTheRawkstar asked Apr 15, 2017
1,477 views
Travelling Salesman problem considering the triangle inequality ,tell the procedure of finding the approximate solution in polynomial time using a suitable example.
0 votes
0 votes
0 answers
4
Sajal Mallick asked Nov 27, 2023
183 views
As we have to select maximal set of “non overlapping” activities. So like job scheduling algo of greedy we can solve it. So according to that complexity must be O(n l...