If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

The traveling sales man problem:

Started by Patrecia, 07-18-2013, 13:12:00

Previous topic - Next topic

PatreciaTopic starter

The traveling sales man problem:
This one is famous intractable problem. Suppose you are a salesperson you need to drive all the cities where you have client and you have to minimize the number of miles you have traveled,  in graph theory this is called traveling salesman problem or TSP but can be solved by finding the Hamiltonian cycle in a graph. The time complexity of the algorithm is O (N!). This problem can also be solved using Dijkstra's algorithm based on adjacency matrix representation of graphs.



If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...