Lec-24 Traveling Salesman Problem(TSP)

Поділитися
Вставка
  • Опубліковано 9 вер 2024
  • Lecture series on Advanced Operations Research by Prof. G.Srinivasan, Department of Management Studies, IIT Madras. For more details on NPTEL visit nptel.iitm.ac.in

КОМЕНТАРІ • 212

  • @jagdishtilokani2531
    @jagdishtilokani2531 3 роки тому +10

    He is a professor from department of management studies and still explained the algorithm far better than most of the cse professors.

    • @maker72460
      @maker72460 Рік тому

      Management people use optimization methods a lot!

  • @zhuoyunjin4476
    @zhuoyunjin4476 10 років тому +43

    Best explanation I found online. Thanks, Professor!

  • @guicarboneti
    @guicarboneti 2 роки тому +5

    I spent hours looking for some explanation for the reason of choosing the shortest subtours to eliminate and then comes this old video and this great professor explains everything! Thank you very much!

    • @paramshah1349
      @paramshah1349 Рік тому +1

      What is the explanation that you found, can you explain pls?

  • @sumithaswar490
    @sumithaswar490 11 років тому +3

    Awesomeness level over 9000. You Sir are too good, explanation much better than the one done by my Prof. at Cal. State University

  • @yashthedreamer
    @yashthedreamer 14 років тому +2

    Best and most lucid lecture on TSP ... something I have been
    searching for 3 days.
    Thank you very much !

  • @amiththomas3884
    @amiththomas3884 9 років тому +5

    Loving this tutorial :)
    Came here just to learn the algorithm. Ended up really interested in the whole concept.

  • @yshasft
    @yshasft 14 років тому +1

    The entire series of OR is simply fabulous. Easily understandable even by a layman. Thank you so much sir.

  • @SanjayKonaecar
    @SanjayKonaecar Місяць тому

    Glad to understand now in 2024 from a video which was posted 14 years ago which such proper explanation. Thank you sir from Germany 🙏🙏🙏

  • @davidhand8337
    @davidhand8337 6 років тому +1

    Great video, especially from 30:00 onward. Went through every step, with no skipping. Perfect for learning this algorithm.

  • @user-wt9xo5ys1m
    @user-wt9xo5ys1m 5 років тому +2

    Most of the lectures on this problem were just talking without real results but this one is totaly different thank you for ur offerts

  • @kelvinkoiser
    @kelvinkoiser Рік тому +1

    12 year video sorting my issues today, thank you Prof. I have been struggling to understand these theorems for the last 1 week.

  • @mosyemessy
    @mosyemessy 12 років тому

    I really really like Prof. G.Srinivasan. He enunciates well, provides good examples and he is very accurate. He is also very much talented in teaching. Thanks.

  • @Dave-lr2wo
    @Dave-lr2wo 7 років тому

    I know next to nothing about math and found this perfectly clear. Wish I had teachers like you when I was in school -- then I probably would know more than nothing about math now.

  • @clloydmathison995
    @clloydmathison995 6 років тому

    This guy is a good instructor...he makes a complex mathematical problem seems easy.

  • @Joshmaradomx
    @Joshmaradomx 12 років тому +1

    Well done Sir!
    I have on 2 weeks a Freight Logistics Exam and this vid helped me so much on my preparation, keep going with this magnificent job!!
    Greets from the Technical University of Munich.

  • @brucenguyen5264
    @brucenguyen5264 10 років тому +14

    Thank you sir,
    from Australia

  • @Mbc43m276
    @Mbc43m276 7 років тому +2

    IIT has the best minds in india. very good lecture

  • @productionnet2242
    @productionnet2242 7 років тому

    The Ui - Uj constraint corresponds to the formulation proposed by Tucker and Miller in 1960. It is defined for i,j >=2....n, and ij. A small mistake, but this guy is awesome.

  • @keerthanaashok6884
    @keerthanaashok6884 8 років тому +4

    Really an excellent lecture Sir.
    thank you so much . the lecture helped me a lot.

  • @siddhartharao1484
    @siddhartharao1484 10 років тому +2

    Too Good!! Superbly taught! Thank you sOOO much sir!

  • @lohitchinthala7886
    @lohitchinthala7886 7 років тому +22

    30:40 if any one looking for diff. branch and bound methods for TSP

  • @ROHITGR72
    @ROHITGR72 12 років тому

    I never took a book to study or.
    Your lectures are more than enough to us.......
    Thank you sir.....

  • @MaxammedBile
    @MaxammedBile 10 років тому +2

    thank you for the effort you put on this video. it really is gonna help me alot to perform well in the upcoming exams. I liked the way you clarified the algorithm and you made it look easy.

  • @zaacymay
    @zaacymay 9 років тому

    Excellent summary of the TSP and B&B algorithm. Extremely helpful.

  • @janicklasralphjames9179
    @janicklasralphjames9179 11 років тому

    Hey, he is just trying to find the best paths, he goes in order because it will be easier to work with the table, u will get the same solution if u go 1 to 5 and choose 5 to 2, then 2 to 4 ......
    overall u just find the paths the best solution should contain in any order. Hope this answered ur question.
    Very good video, good job sir.

  • @timpanitimptim
    @timpanitimptim 11 років тому +1

    At 26:08, what are these u1 and u2 and u3 and so forth defined as? 28:26, he says its always possible to find u1 and u5 to make that inequality satisfied.

  • @md.sabbirahmed9029
    @md.sabbirahmed9029 6 років тому

    Obviously best lecture. Explanation is very clear. Thank you sir.

  • @elishaayoo3689
    @elishaayoo3689 6 років тому

    That's my Don! Enjoying much your lectures.

  • @galluer
    @galluer 10 років тому

    @Sampath Krishnan yes you can do that. But you would have to solve all other branches for solution/elimination anyways. Essentially, you fix one path and find the shortest path based on the remainder matrix. In this respect, the node you start off for evaluation of the remainder matrix is your choice.

  • @stevenson720
    @stevenson720 4 роки тому +1

    Thank you from Ireland

  • @TheFusEE
    @TheFusEE 14 років тому

    Absolutely BRILLIANT and GREAT!! So well explained and described!

  • @divyanshujhawar3671
    @divyanshujhawar3671 5 років тому +7

    26:40 How come professor wrote "U5 - U4 + 5

  • @noorulsaba9179
    @noorulsaba9179 3 роки тому

    Really good explanation. I am really impressed by his lecture style, very simple and easy to understand.

    • @datdang5042
      @datdang5042 2 роки тому

      Do you know how to work it out in excel ?

  • @crazypanther1
    @crazypanther1 10 років тому

    Just one word sir ... Brilliant!!!

  • @vijeta268
    @vijeta268 6 років тому +7

    @24:34 can anyone explain what is 'u_i/j' exactly, in the modified constraint?

  • @TheViniArya
    @TheViniArya 13 років тому

    @chandrataken No, because we have to return to the initial node at the end. So if we start from node1, we have to come back to the same node and hence, 3-1 is not considered as a subtour. Its basically completing the cycle. I hope u got it :)

  • @johnward9255
    @johnward9255 2 роки тому

    What an excellent explanation. Thank you so much!!!

  • @PremRajasekaran
    @PremRajasekaran 13 років тому

    salute you Sir, you are far far far far better than English profs.

  • @Lostpanda123
    @Lostpanda123 14 років тому

    The greatest techer of all time!

  • @aayushkapadia4491
    @aayushkapadia4491 5 років тому

    Best Explanation of TSP problem.

  • @dhanashreenemade3009
    @dhanashreenemade3009 8 років тому +1

    This video was very helpful... thank you...!

  • @yourmomlikesmeinbed
    @yourmomlikesmeinbed 12 років тому

    Articulate to the max. Straight G of the teaching world.

  • @milenavuk
    @milenavuk 2 роки тому

    Thank you so much for this lecture Professor. Really helpful.

  • @kagisomokena7140
    @kagisomokena7140 10 років тому

    Thank you very much sir, you have saved me a lot of time in explaining the TSP

  • @romzen
    @romzen 7 років тому

    Thank you, Professor. This helped me a lot in my B.Sc. thesis!

  • @Devina0514
    @Devina0514 11 років тому

    Dear Prof., I show my respect to you!

  • @kakorckaact07
    @kakorckaact07 13 років тому

    Yay! Thank you. This is very helpful since I'm not learning anything from my Algorithm prof...

  • @st1ry1ntz
    @st1ry1ntz 11 років тому

    I'd never be able to graduate without his help. Thanks :D!

  • @olgapawlowicz6232
    @olgapawlowicz6232 9 років тому

    And the another question is about 49:00.
    Why there are considered only two edges: 3 - 2 and 3 - 5, whereas 3-4 does not create a subtour?
    There are made edges: 1-3 and 2-4
    Adding edge 3-2 leads to 1-3-2-4, which is ok,
    adding edge 3-5 leads to 1-3-5, 2-4 which is also ok,
    adding edge 3-4 leads to 1-3-4-2

  • @VishnuBJanga
    @VishnuBJanga 9 років тому

    Thank you so much Sir! You're teaching methodology is awesome !
    Regards.

  • @jack76781
    @jack76781 13 років тому

    @bbbarhas these lectures were given in Indian universities we're lucky they lecture in english

  • @happinin
    @happinin 13 років тому

    this guy is BETTER than the english lecturer i have at my university in the algorithms subject and he explains it so damn well. professor you are brilliant and anyone who doesnt understand you is fucking illiterate. this is coming from an aussie!

  • @ArunDevKaushik
    @ArunDevKaushik 6 років тому +7

    46:30 why it is 33. X13 has assigned than why he consider X31? It must be 34.

    • @shikhar2811
      @shikhar2811 3 роки тому

      You are right i also had the same doubt.

  • @lucellenaidoo7194
    @lucellenaidoo7194 8 років тому

    this lecture helped me a lot in my research of TSP

    • @datdang5042
      @datdang5042 2 роки тому

      Do you know how to work it out in excel ?

  • @lechiman01
    @lechiman01 14 років тому

    thankyou keep up the good work sure it is helping loads of people

  • @samkris6089
    @samkris6089 11 років тому +2

    Can someone explain this - after branching off for example from X15 (with cost 31), how is he forming branches to X21, X23, X24? Since X15 is already fixed, shouldn't the next path only be from point 5 which is the destination reached? So the child branches from X15 should only be X52, X53, X54? Similar for X32 and others?

  • @raziebe
    @raziebe 7 років тому

    According to the wiki of TSP en.wikipedia.org/wiki/Travelling_salesman_problem . In the subtours elimination the i starts from 2. The professor wrote it correectly so now I am able to understand this constraints.

  • @daizybhadresha5167
    @daizybhadresha5167 9 років тому +1

    Perfecttttt for any learner!!!!!!

    • @alexantosh
      @alexantosh 9 років тому +4

      Daizy Bhadresha hi, what does U stand for in the Ui -Uj + nXij

  • @shubhamthapliyal988
    @shubhamthapliyal988 5 років тому

    Brilliant teacher

  • @chandrataken
    @chandrataken 13 років тому +3

    I think when you go through this, you are missing some of the subtour eliminations.
    For example when 1 - 3 is set, and then 2 - 4 is set, you include 3 -1 in the row minimum summation. But wouldn't 1 - 3, then 3 - 1 be a subtour??

  • @mittijoshi
    @mittijoshi 13 років тому

    best to learn TSP ,,,thanX for posting this video..

  • @johnyepthomi892
    @johnyepthomi892 3 роки тому

    awesome.. keep it going.learning a lot.

  • @kousarmuskan4979
    @kousarmuskan4979 6 років тому

    Appreciated Sir .. Thank You . great explanation.

  • @ChitStarkid94
    @ChitStarkid94 8 років тому

    Thank you, Professor. Very helpful!

  • @ankurmishra5463
    @ankurmishra5463 8 років тому

    Thank you sir this video is very help full to me

  • @jkantrance202
    @jkantrance202 11 років тому +2

    Thank you so much for this! You are so much better than my professor at NU who doesn't give a fuck about people who fall behind. Basically, the class asked me go fuck myself, but with your material and all the great wonders of open source, I will jump back. Thanks for giving me the help to get back in the game. Yeah, and I agree with st1ry1ntz...I will be graduating now !!! Hahaa~

  • @ChiragRajputS
    @ChiragRajputS 5 років тому +1

    They way it's done, it's hard to implement programmatically

  • @ANAYKhairatkar
    @ANAYKhairatkar 12 років тому

    salute sir...u are the best

  • @jacobli2676
    @jacobli2676 7 років тому

    Great tutorial for learners, thanks

  • @vitoriaheliane7238
    @vitoriaheliane7238 3 роки тому

    Awesome!!! Thanks a lot!!!

  • @adg764
    @adg764 12 років тому

    whoa !! awesome !! great material !

  • @parthaghosh975
    @parthaghosh975 11 років тому

    Awesome explanation, too good!!

  • @DOMINICTSONGO
    @DOMINICTSONGO 8 років тому

    This is really interesting.

  • @alexantosh
    @alexantosh 9 років тому +1

    int the inequality: Ui -Uj + nXij

    • @nickyouyang3723
      @nickyouyang3723 9 років тому +1

      alexantosh it's an artificial variable

  • @troff15
    @troff15 13 років тому

    @jack76781 FYI, this lecture was given in one of the IITs, and all lectures in all the IITs are given in English.

  • @WeslleyCXS
    @WeslleyCXS 11 років тому

    "i" is the vertical position in a table and "j" is the horizontal position

  • @Psycheoflame
    @Psycheoflame 10 років тому +1

    Thank you Professor.

  • @programm.r
    @programm.r 8 років тому

    Very helpful. Thank you!

  • @olgapawlowicz6232
    @olgapawlowicz6232 9 років тому

    @TheViniArya- it does not make sens.
    When we already have 1-3 and we added tour 3 - 1 we create subtour, because every vertex have only one enterance and one exit, It means the tpur 1-3-1 is closed and does not have connection to other vertex.
    I can't get this. Once we consider about subtour once not.

  • @geniusvincy
    @geniusvincy 8 років тому

    helped in ca final operations research...thank you :)

    • @sagnik1991
      @sagnik1991 8 років тому

      true. am using this video as well. same is not available in sanjay agarwals video.

  • @sanketpatel8504
    @sanketpatel8504 11 років тому

    hats off sir...u are damn brilliant

  • @abhaymathur5342
    @abhaymathur5342 11 років тому

    in a 5 city problem, there are 4 possible types of sub-tours(st) : loop of 4 cities, 3 cities 2 cities & 1 city. a problem is only completed if all of the cities are visited. so if there is a ST of 4 cities there has to be an ST of 1 city. so by eliminating 1 city ST, the 4-city ST is automatically eliminated. similarly for 3 city ST there has to be 2 single city ST or one 2-city ST.......hence for 5 city prob. eliminating 1 & 2 city ST can ensure elimination of all STs

    • @datdang5042
      @datdang5042 2 роки тому

      Do you know how to work it out in excel ?

  • @chinthaladivyasree4816
    @chinthaladivyasree4816 6 років тому

    Tqq sir I like u r teaching

  • @gkthakral
    @gkthakral 11 років тому

    thannks a lot sir..!! that was reaalllyy helpful for me :) :)

  • @carolaosorio5015
    @carolaosorio5015 5 років тому

    You are great!!!

  • @bobbeeez
    @bobbeeez 13 років тому

    excellent.......................!!

  • @thearcticfox13
    @thearcticfox13 11 років тому +1

    What to do when the matrix is not symmetric?

  • @lukekreung
    @lukekreung 13 років тому

    Great lecture, but is it not true that the number of Hamiltonian cycles in a complete graph is (1/2)(n-1)! because you can reverse the order of the cycles?

  • @isaacpemberthy507
    @isaacpemberthy507 9 років тому

    Regards, great explanation, thank you for that. But I have two questions, first the significance of the variable U, and second as I can include inequality constraint that a program that handles linear models, for example Excel Solver. Thanks, again

  • @TheGrizzFul
    @TheGrizzFul 12 років тому

    I think since the travel costs do not depend on the direction we take around the tour, we should divide the number of feasible solutions by 2 to get (n-1)!/2. ?

  • @yinengwu8927
    @yinengwu8927 5 років тому

    very helpful, thanks!

  • @OscarZhang1990
    @OscarZhang1990 11 років тому +1

    Can someone tell me, near 25:00 what is Ui and Uj ?

  • @1993memory
    @1993memory 12 років тому

    Thank you professor!!!!

  • @fullstopnick
    @fullstopnick 11 років тому

    brilliant. thank you very much.

  • @songzhang4010
    @songzhang4010 11 років тому

    it seems that symmetric and anti-symmtric don't conflict. check the definition in any discrete math text book.

  • @butifarra61
    @butifarra61 10 років тому

    thanks you sir. Kudos.

  • @MoutsKla
    @MoutsKla 14 років тому

    Excellent!!!!

  • @CamiloSanchez1979
    @CamiloSanchez1979 11 років тому +12

    why are all this videos about algorithms and stuff like that all from India?

    • @tppt3987
      @tppt3987 4 роки тому +2

      Wdym??

    • @islamamaize6298
      @islamamaize6298 4 роки тому +2

      @@tppt3987 why are you so butthurt abt it?

    • @stevenson720
      @stevenson720 4 роки тому +1

      Because the indians are big into stem and realized how useful, especially in a poor country teaching this way is. No university campus required.

    • @AkshayKumar-wu8fc
      @AkshayKumar-wu8fc 3 роки тому

      @@stevenson720 Do you know what the population of our students in colleges or school may be double or triple of your total population.

    • @AkshayKumar-wu8fc
      @AkshayKumar-wu8fc 3 роки тому

      @@stevenson720 there were over 2.6 million primary school teachers in India. Then you think about it how many students are in India.

  • @tharunyachandu8870
    @tharunyachandu8870 11 років тому

    thank you so much for the class

  • @talhasayed8674
    @talhasayed8674 11 років тому

    I have the same doubt. And I still can't figure out why he chose 2. Maybe because it's an arbitrary choice or maybe because 2 is the next number after 1. Still no concrete reason though.