Traveling Salesman Problem using Dynamic Programming || Sales Person || DAA || Design and Analysis

  Рет қаралды 92,698

Sudhakar Atchala

Sudhakar Atchala

2 жыл бұрын

#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.

Пікірлер: 68
@lavanyas7300
@lavanyas7300 8 ай бұрын
Tomorrow is my exam , I'm watching it right now, The explanation was 👌, thank you sir.
@SudhakarAtchala
@SudhakarAtchala 8 ай бұрын
All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@durgasreechowdhary9159
@durgasreechowdhary9159 Жыл бұрын
your way of explanation is terrific and very easy to understand sir, thankyou
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
You are most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@maruthimandava435
@maruthimandava435 Жыл бұрын
You r my daa professor.😅thank you so muchhh sir.!💫🙇
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
It's my pleasure. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@sindhupannuri8488
@sindhupannuri8488 Ай бұрын
Tq sir❤️, your videos are very meaningful to us.Very interesting teaching and I specifically enjoy your lectures because before your turn I am solving the calculations😅
@SudhakarAtchala
@SudhakarAtchala Ай бұрын
So nice of you. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@suryavamshisravanisuryavam9065
@suryavamshisravanisuryavam9065 Жыл бұрын
Sir ur teaching was to good...... I real feel happy to watch your videos......
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Glad to hear that. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@subramanig2279
@subramanig2279 Жыл бұрын
really i great sir i had never seen this kind explanation.even from my teachers also
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@RK-info2023
@RK-info2023 8 ай бұрын
thankyou so much for this eternity Knowledge, sir.
@SudhakarAtchala
@SudhakarAtchala 8 ай бұрын
So nice of you. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@tejaswini4142
@tejaswini4142 2 жыл бұрын
Sir, Tons of thanks to you !!! You made this concept so clear.
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@laxminarayanamoyya
@laxminarayanamoyya 7 ай бұрын
Super..... sir love you ❤
@SudhakarAtchala
@SudhakarAtchala 7 ай бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@dhusarijoseph5140
@dhusarijoseph5140 5 ай бұрын
Thank you sir...for your wonderful explanation (GOD OF SEM 🙏)
@SudhakarAtchala
@SudhakarAtchala 5 ай бұрын
You are most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@kind_beatz
@kind_beatz Жыл бұрын
more helpful sir thank you so much❤❤
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Always welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@ravalimanchala8170
@ravalimanchala8170 2 жыл бұрын
Complete perfect explanation sir tq
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@leelavivek6187
@leelavivek6187 2 жыл бұрын
Nice explanation sir💥💥
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@tejaswiniandalamala4422
@tejaswiniandalamala4422 Жыл бұрын
Awesome sir
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@prabhudas2642
@prabhudas2642 8 ай бұрын
great explanation sir...
@SudhakarAtchala
@SudhakarAtchala 8 ай бұрын
Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@mothilal9029
@mothilal9029 Жыл бұрын
Vere level❤
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@lokeshwaraachari6781
@lokeshwaraachari6781 Жыл бұрын
Nice explanation sir ...
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@epicstrangeryt1647
@epicstrangeryt1647 7 ай бұрын
Today is my final exam still i watching your channel❤
@SudhakarAtchala
@SudhakarAtchala 7 ай бұрын
All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@-Srinu-ob2sk
@-Srinu-ob2sk 2 жыл бұрын
Sir, you explanation is so good, thank you very much, please use a big board.
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
K. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@sumithakhil440
@sumithakhil440 6 ай бұрын
Nice explanation sir🎉
@SudhakarAtchala
@SudhakarAtchala 6 ай бұрын
Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@Instant_Family_Hub
@Instant_Family_Hub 8 ай бұрын
Saved my life sir
@SudhakarAtchala
@SudhakarAtchala 8 ай бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@a1arts25
@a1arts25 6 ай бұрын
Nice explanation sir
@SudhakarAtchala
@SudhakarAtchala 6 ай бұрын
Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@prathekshag9720
@prathekshag9720 Жыл бұрын
Awesome sir. Sir plz do optimal binary search tree and warshall’s algorithm transitive closure
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
In KZfaq type Sudhakar binary search tree then u will get many videos. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@samudralashanmukrao2185
@samudralashanmukrao2185 2 жыл бұрын
Sir I have daa external exam on 14th please complete all the videos before 14
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Will try. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@snehasonu9055
@snehasonu9055 2 жыл бұрын
Sir your explanation is awesome 😄 sir please do upload 8 Queens problem please sir
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
refer this kzfaq.info/get/bejne/et6Un6-G1dOynok.html u can explain this and write solution of 8 queen's. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@snehasonu9055
@snehasonu9055 2 жыл бұрын
@@SudhakarAtchala Tq sir
@hematulasibasava5252
@hematulasibasava5252 11 ай бұрын
sir can u plzz explain reliability design from dynamic programming
@SudhakarAtchala
@SudhakarAtchala 11 ай бұрын
Very soon, if any other topics are there which are not uploaded then plz send those topics to my mail id Sudhakar.atchala@gmail.com. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@kenenisakibu8748
@kenenisakibu8748 2 жыл бұрын
sir your explanation is best.can you send your source code?
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
No source code. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@user-ew1js1ub9t
@user-ew1js1ub9t Жыл бұрын
Multistage graph problem chesi videos pettandi sir
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Okay this week only i will upload. Plz reply any other missing topics. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@bhanutejaswini4309
@bhanutejaswini4309 Жыл бұрын
Sir please upload video on optimal binary search trees using dynamic programming within two three days sir 🙏
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Ok i will try my best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@bhanutejaswini4309
@bhanutejaswini4309 Жыл бұрын
@@SudhakarAtchala thank you sir
@sudhanwabokade1285
@sudhanwabokade1285 2 жыл бұрын
First view sirr!!
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Keep watching. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@nandapandu3745
@nandapandu3745 Жыл бұрын
Sir I need reliability design problem
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Okay sure. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@LE_MadhukarKota
@LE_MadhukarKota Жыл бұрын
Konchem pedda board konukovachu kada saar, consider this as a suggestion
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks for your advice. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@bandinivas247
@bandinivas247 9 ай бұрын
YOU R SAYING GOOD...BUT....SOME WHAT FAST....SAY SLOWLY
@SudhakarAtchala
@SudhakarAtchala 9 ай бұрын
Noted. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 61 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 21 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 181 МЛН
Travelling Sales Person - Branch & Bound with Example Part -1 |DAA|
18:01
4.7 Traveling Salesperson Problem - Dynamic Programming
15:25
Abdul Bari
Рет қаралды 1,5 МЛН
Traveling Salesman Problem using Dynamic Programming | DAA
31:33
Jenny's Lectures CS IT
Рет қаралды 534 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 61 МЛН