Traveling Salesman Problem Using Dynamic Programming | DAA

An explanation of solving the Traveling Salesman Problem (TSP) using Dynamic Programming techniques. The video covers the problem setup with a directed graph G=(V,E), where V is the set of vertices, and E is the set of edges, focusing on the design and an

Traveling Salesman Problem Using Dynamic Programming | DAA
Sudhakar Atchala
258.2K views β€’ Sep 8, 2021
Traveling Salesman Problem Using Dynamic Programming | DAA

About this video

#sudhakaratchala #daavideos #dynamicprogramming
Let G=(V,E) be a directed graph with n vertices.
where V is set of vertices and E is set of edges
The edges are given along with their cost Cij where Cij 0 for all i,j

cost(i,j)= 0 if (i==j)
Cij if (i,j) Ο΅ E(G)
ꝏ if (i,j) ϡ E(G)

A tour for the graph G is directed cycle that includes every vertex exactly once, A tour starts at vertex β€˜1’ and ends with vertex ’1’,but the remaining vertex are visited exactly once. The cost of the tour is sum of costs of edges on the tour.
Let g(i,S) be a length of the minimum shortest path, starting at vertex β€˜i’ going through all the vertices in β€˜s’ exactly once and terminating at vertex β€˜i’.
g(i,S)=min{Cij + g(j, {S}-{j}}
jΟ΅S
where S=V-{1}
If there are n vertices are there then (n-1)! Possible cycles can be formed. And maximum possible edges are 2n

Objective of the travelling sales person problem is to find the minimum shortest path/optimal solution.

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

258.2K

Likes

3.8K

Duration

31:01

Published

Sep 8, 2021

User Reviews

4.7
(51)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.

Trending Now