56 Travellig Salesman Problem using Branch & Bound

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024

ความคิดเห็น • 32

  • @kshitizmayank7208
    @kshitizmayank7208 ปีที่แล้ว +16

    thanks a lot, sir. previously I did this problem using abdul bari Sir's method where he used the adjacency matrix and all. but our college prefers methods used in the book of Levitan. Luckily you picked the exact question and now I'm confident enough to solve it when it comes

  • @pranavmaiya4386
    @pranavmaiya4386 4 หลายเดือนก่อน +6

    to understand why sir made the 2nd assumption of considering b is visited before visiting c , you need to go back to brute force method .
    in brute force we got (n-1)! combinations right , but actually since the graph is undirected , half of the combination are actually reverse of the other half , so in essence , we have only (n-1)!/2 unique combinations . suppose we considered that we have (n-1)! combinations , half of them would have b preceding c , and the other half of them would have b succeeding c in all the possible combinations .
    thats why we make an assumption that b is visited before visiting c , so that the other half becomes redundant , if you still didnt understand go to section 3.4 of anany levitin textbook and read the brute force approach to solving the TSP

  • @roshankumaru8611
    @roshankumaru8611 2 ปีที่แล้ว +13

    Sir I think there should be a correction in 21:38 as edge DE is already considered we are supposed to take DE and EA (3 and 8 respectively) for values of E and not EA and the next least edge (8 and 2 that you have taken).

    • @royalboy850
      @royalboy850 2 ปีที่แล้ว +2

      Sir is right I think you guys are wrong

    • @serene0808
      @serene0808 ปีที่แล้ว +2

      You are right

    • @Hy_there01
      @Hy_there01 11 หลายเดือนก่อน +1

      true

    • @KushagraJain-fc3nt
      @KushagraJain-fc3nt 19 วันที่ผ่านมา

      right , came down to comments to write the same point

  • @Chidanand21
    @Chidanand21 ปีที่แล้ว +9

    I am still perplexed as to why b is visited before c?

    • @TOOXGAME
      @TOOXGAME 11 หลายเดือนก่อน +1

      Did you find out why?..

    • @h03j0
      @h03j0 หลายเดือนก่อน

      im very early but apparently thats part of the question, its just, there.

  • @HarjinderKaur-sl5uu
    @HarjinderKaur-sl5uu 10 หลายเดือนก่อน +2

    Thankyou so much sir i searched a lot and finally got this video😊

  • @supreetchavan23
    @supreetchavan23 20 วันที่ผ่านมา

    thank you sir for these videos

  • @sathviksrikanth7362
    @sathviksrikanth7362 ปีที่แล้ว +1

    Thanks a lot for this entire series sir!

  • @rengarajansrinivasan4356
    @rengarajansrinivasan4356 2 ปีที่แล้ว +4

    Thanks a ton sir!!!!

  • @guruprasadkulkarnibidar
    @guruprasadkulkarnibidar ปีที่แล้ว +1

    Why second assumption done? Any purpose of it

  • @pawanpt2682
    @pawanpt2682 10 หลายเดือนก่อน +1

    Thankyou sir

  • @smitha7264
    @smitha7264 11 หลายเดือนก่อน

    Thank you so much sir.

  • @serene0808
    @serene0808 ปีที่แล้ว

    Thank you sir ! 🙏

  • @anonymousguy9263
    @anonymousguy9263 2 ปีที่แล้ว +2

    Sır are the lectures for DAA completed??

    • @datastructuresalgorithmsby7411
      @datastructuresalgorithmsby7411  2 ปีที่แล้ว +2

      Refer Advanced Algorithms in the playlist for the continuation

    • @anonymousguy9263
      @anonymousguy9263 2 ปีที่แล้ว +2

      @@datastructuresalgorithmsby7411 thank you sır
      Lectures wıll be helpful..

  • @user-sy1ex3vn1c
    @user-sy1ex3vn1c 8 หลายเดือนก่อน

    Sir your explanation is nice, but the calculation is difficult to understand, and you not providing the clear picture to understand the concepts in this TSP.

  • @visheshkrishnasa1288
    @visheshkrishnasa1288 2 ปีที่แล้ว

    Sir for a-c the lower bound will also be 14(same as a-b). Then why are we selecting only the path a-b and not a-c(one of the possible outcomes)?

    • @adithyang6672
      @adithyang6672 2 ปีที่แล้ว +2

      because u cant consider both ab and ac at the same time one is going path other is returning path, soo we just assume one u,
      can assume as c also just try and see u will get the same answer

  • @rithviksen5329
    @rithviksen5329 3 ปีที่แล้ว +2

    Sir why are we assuming that we will not visit c from a?

    • @datastructuresalgorithmsby7411
      @datastructuresalgorithmsby7411  3 ปีที่แล้ว

      When are not supposed to assume any such things, only to avoid the calculations we have assumed in this problem

  • @kumargoudar8463
    @kumargoudar8463 ปีที่แล้ว +1

    17.49 s=37

  • @sanjeevtyagi8819
    @sanjeevtyagi8819 3 ปีที่แล้ว

    Sir please upload Traveling salesman from dp