7 Branch and Bound Introduction

Поделиться
HTML-код
  • Опубликовано: 17 сен 2024
  • Introduction to Branch and Bound
    State Space Trees
    FIFO Branch and Bound
    LIFO Branch and Bound
    LC Branch and Bound
    PATREON : www.patreon.co...
    Courses on Udemy
    ================
    Java Programming
    www.udemy.com/...
    Data Structures using C and C++
    www.udemy.com/...
    C++ Programming
    www.udemy.com/...

Комментарии • 255

  • @febinmathew7
    @febinmathew7 4 года назад +91

    Real Life Savior...in exams :) .. Thanks a lot!

  • @melissagblinwon9838
    @melissagblinwon9838 2 года назад +21

    This guy is really saving my life, I almost thought of giving up my course cuz my lectures made this topic seem difficult to understand. I wish I could give you their salary every month

  • @qjack
    @qjack 5 лет назад +19

    I am a senior developer and this video is such a lifesaver, I probably come back to it once a month.
    JK im a student who doesnt go to class

  • @vivekchanumolu3046
    @vivekchanumolu3046 6 лет назад +36

    Sir, these are the best lectures I heard for DAA ,so far. Your explanation is clean and also clear , THANK YOU for these videos

  • @89zaidansari86
    @89zaidansari86 2 года назад +22

    Sir u r trully a gem 💎
    Ur teaching level is so adorable
    U r using a easiest flow of English from which everyone can understand what u r saying
    And the last thing that u just nailed it

    • @gagansain1664
      @gagansain1664 Год назад +1

      yrr tumhe kya samajh aata hai is hippo ka

  • @NoctLightCloud
    @NoctLightCloud 3 года назад +127

    omg I wished to give you the salary of my useless, passionless math professor. She hates students! Greetings from Austria, and THANK YOU.

    • @apusingh1967
      @apusingh1967 3 года назад +5

      yeah some teachers feel students are dumb and hate it. but they have the problem. they are not able to teach since they do not understand concepts and probably did their degrees by brute force memorizing the subject.

    • @stanleyarthur3062
      @stanleyarthur3062 3 года назад

      you probably dont give a damn but does anybody know a tool to get back into an Instagram account..?
      I stupidly forgot the password. I would love any tricks you can give me!

    • @enriquedamian2023
      @enriquedamian2023 3 года назад

      @Stanley Arthur instablaster ;)

    • @_ajay1_37
      @_ajay1_37 2 месяца назад

      ​@@stanleyarthur3062 did u find

  • @vishwajeetarkile2036
    @vishwajeetarkile2036 2 года назад +89

    Watching 2 days before exam ☠️😢😢

  • @saigayathriravichandran
    @saigayathriravichandran 4 месяца назад +1

    sir you are the greatest mentor i've everseen

  • @laxmiprashanth9482
    @laxmiprashanth9482 2 года назад +4

    If subjects are thaught by well experienced like you it is very interesting to explore Thankyou for your passion towards students

  • @gamersquad8819
    @gamersquad8819 4 года назад +14

    sir please upload these topics also "Least Cost(LC) Search, The15-puzzle problem, Control abstractions for LCSearch, FIFO Branch-and-Bound, LC Branch-and-Bound"

  • @iwishthiswouldwork1
    @iwishthiswouldwork1 4 года назад +12

    Hi, excellent material and great explanations. I believe LIFO Branch and Bound that you're describing is a depth-first search, based on the definition of DFS/BFS and from wikipedia for B&B

    • @arunsharma2999
      @arunsharma2999 2 года назад

      More of a mix and match of bfs and dfs

  • @ernanibatista1806
    @ernanibatista1806 5 лет назад +5

    tks from Brazil, so clear

  • @SigmaGrindsetMindset
    @SigmaGrindsetMindset 7 месяцев назад +10

    Watching this 40 mins before exam💀

  • @abob2457
    @abob2457 3 года назад +14

    Sir, this is amazing. Incredible explanation!

  • @vikings_kingdom763
    @vikings_kingdom763 6 лет назад +13

    his way of approach is simply superb...direct approach to concept with out any deviations. but we need Hamiltonian graph problem in backtracking..

  • @suciuandreicornel2746
    @suciuandreicornel2746 3 года назад +3

    thank you kind sir, I will not fail my exams this time! Good luck y'all

  • @amitkumarsingh2707
    @amitkumarsingh2707 3 года назад +3

    Finally found My Teacher who can teach me.

  • @Kwatch
    @Kwatch Год назад

    i like the way to look back at the cam. its good eye contact.

  • @shrutisharma3962
    @shrutisharma3962 3 года назад +4

    Real socially working personality love ❤️ you

  • @yasueayaka638
    @yasueayaka638 4 месяца назад

    I love This Subject because of you man.
    My teacher teach i could not understand anymore. She make this subject too difficult to understand.

  • @Ajinkya_Chirde_07
    @Ajinkya_Chirde_07 Год назад +1

    best explanation 🙂

  • @ramizayaasmeen5356
    @ramizayaasmeen5356 2 года назад +2

    Easy English that everyone can understand thank you for these clear concepts 🤗

  • @te_b_52_siddeshpatankar14
    @te_b_52_siddeshpatankar14 Год назад +1

    Best on the planet 👍🏻👍🏻🙏🏻🙏🏻🙏🏻💯💯💯

  • @kartik-yl2gu
    @kartik-yl2gu 10 месяцев назад +1

    sir you teach in a complicated way please make it simple for average students

  • @pruthvitanneru4559
    @pruthvitanneru4559 3 года назад +1

    Guruji you are great. Thanks for easily understanding this topic

  • @saisilpabijjala7046
    @saisilpabijjala7046 2 года назад

    Understood it immediately...thx from bottom of my heartiest ❤️

  • @ganeshjaggineni4097
    @ganeshjaggineni4097 Год назад +1

    NICE SUPER EXCELLENT MOTIVATED

  • @sahilchandel7152
    @sahilchandel7152 5 месяцев назад +8

    Watching 4 hour before the exam 💀💀

  • @vaibhavgajbey5311
    @vaibhavgajbey5311 4 года назад +1

    thank u sir this video is very helpful ... it saves me from a big dilemma

  • @nihabhagavatula8890
    @nihabhagavatula8890 6 лет назад +3

    Thanks a lot for the explanation.U have made DS&Algo a piece of cake..Once again Thanks a lot

  • @maxbadarne9149
    @maxbadarne9149 3 года назад +1

    bro i love this guy

  • @mohammedadel8948
    @mohammedadel8948 2 года назад +1

    Thank you for your hard work

  • @kshitijsingh609
    @kshitijsingh609 3 года назад +1

    You r doing amazing work sir. God bless u

  • @saadmahboob3084
    @saadmahboob3084 5 лет назад +2

    very good lectures from you. Please keep it up.

  • @luisfernandopazgaleano1472
    @luisfernandopazgaleano1472 2 года назад

    Thanks you so much for help me to understand this algoritmo

  • @aastikabanstola35
    @aastikabanstola35 4 месяца назад +1

    Watching 14 hours before exam😵‍💫😵‍💫

  • @tanmoydutta5846
    @tanmoydutta5846 2 года назад +6

    Sir, at the beginning, you said that the Branch and Bound technique is used to solve only minimisation problems. But what if at each node in LC-BB technique, we are expanding that node which has maximum cost? Then, won't that be solving a maximisation problem directly?

    • @1matzeplayer1
      @1matzeplayer1 2 года назад +3

      Listen around 0:30, you can convert a maximisation-problem into a minimisation-problem and then solve it.

    • @samirkumarpadhi
      @samirkumarpadhi 2 года назад

      @@1matzeplayer1 what does it mean maximization and minimization?

    • @1matzeplayer1
      @1matzeplayer1 2 года назад +1

      @@samirkumarpadhi You might remember from school, the function f(x) = -x^2+3 has a maximum at x = 0
      f(x) = x^2 - 2 has a minimum at x=0
      Just draw the graphs to see it visually. The same thing can be done for most functions by working with derivatives. It should be rather easy to look the topic up.

  • @khansaab-ho4cb
    @khansaab-ho4cb Год назад

    love from Kl University❤
    thank you for your videos sir really helpfull...

  • @lokendratiwari9820
    @lokendratiwari9820 9 месяцев назад

    Will watch 1 hour before exam.good 🌃

  • @xlayman38
    @xlayman38 4 года назад +3

    correction: Breadth-First-Search is visiting all nodes at the level by level.

  • @Sunny-ko6fw
    @Sunny-ko6fw Год назад +3

    3:45 missed no 14

  • @chrisjfox8715
    @chrisjfox8715 2 года назад +2

    When creating the first tree to begin with, [specifically at the 3:26 mark] why is the choice being made to only allow job numbers to be made in order of index number? That was not explained. That seems to be either an arbitrary choice or a very circumstantial one, depending on the application. Given the very generic setup beforehand, nothing says that J_j can't come before J_i for some j>i unless that constraint is given; the way this tree was created, it's as if all of these jobs have precedence with each other despite the fact that all of them are not necessarily needed.
    Please assist.

  • @md.hamjajulashmafeerahat6971
    @md.hamjajulashmafeerahat6971 Год назад

    From Wikipedia: A stack (LIFO queue) will yield a depth-first algorithm. A best-first branch and bound algorithm can be obtained by using a priority queue that sorts nodes on their lower bound.

  • @shashibhushan7294
    @shashibhushan7294 5 лет назад +8

    sir branch and bound use bfs and bfs use queue data structure at time 5.00 you used stack pls explain?

    • @shivanshusuryakar8692
      @shivanshusuryakar8692 3 года назад

      i had the same doubt , because the searching method is now acting as DFS, Did you get answer for that?

  • @deepakranganathan9644
    @deepakranganathan9644 5 лет назад +1

    simple and best explanation!!

    • @Farahat1234
      @Farahat1234 5 лет назад

      Are you there here for your ADA's paper😁😄

  • @Sandeep-wv4pz
    @Sandeep-wv4pz 2 месяца назад +3

    Watching 10 min before exam in 2x💀💀
    Post edit: I passed my exam 💀🥳

  • @shubhamojha8886
    @shubhamojha8886 6 лет назад +3

    Sir you are such a great person ......thank u so much sir

  • @119_shrenikshah7
    @119_shrenikshah7 3 года назад +5

    anyone knows the time complexity of branch and bound algorithm?

  • @kshitijakulkarni8292
    @kshitijakulkarni8292 5 лет назад +1

    Thank you so much Sir for these superb videos..

  • @sadrahakim1272
    @sadrahakim1272 3 года назад +1

    very good. thank you sir

  • @pocof3gt309
    @pocof3gt309 2 года назад

    Excellent award winning 🏆💪

  • @alfredkik3675
    @alfredkik3675 4 года назад

    I like you teaching! Best explanation.

  • @yupp_harish3936
    @yupp_harish3936 Год назад +2

    wherr is bounding function sir

  • @verystablegenius4720
    @verystablegenius4720 Год назад +1

    He is amazing

  • @rojithreji8413
    @rojithreji8413 6 лет назад +7

    sir, please include lower bound theories video tutorials.Also add videos about Monte Carlo method

  • @mansmor7211
    @mansmor7211 Год назад

    Very well explained as usual💯👍

  • @saikumarmadala5547
    @saikumarmadala5547 4 года назад +8

    Sir when we taking stack in branc and bound it undergoes to depth for search ,but in BB we follow bfs ???

    • @tulasidamarla
      @tulasidamarla 4 года назад +3

      You are right. When we are using stack(LIFO) for exploration of nodes happening DFS not BFS.

    • @sambasivaraovuyyuru7724
      @sambasivaraovuyyuru7724 3 года назад

      You are correct

    • @shivanshusuryakar8692
      @shivanshusuryakar8692 3 года назад

      @@tulasidamarla Yes it is now doing DFS , so is it now backtracking?

    • @seshasaisreechandra3780
      @seshasaisreechandra3780 3 года назад

      But when you are going to a node , you typically expand that nodes all children but not go onto the nodes child and there child straight away

  • @abdeali004
    @abdeali004 4 года назад +1

    Awesome 👍👍 sir.

  • @sairamustafa7343
    @sairamustafa7343 5 лет назад +2

    Kindly explain
    Definition of the state space.
    ?
    Branching operation.
    ?
    Feasibility checking operation.
    ?
    Bounding operation.
    ?

    • @abhinavdixit3037
      @abhinavdixit3037 4 года назад

      check the previous videos you may get some of the answers

  • @rohithauppala
    @rohithauppala 4 года назад +4

    Sir how to take costs in minimum cost branch and bound? can we take on our own or will be given in question?

  • @dkeyes501
    @dkeyes501 2 года назад

    Excellent video, thank you for sharing

  • @moneybagdeals
    @moneybagdeals 7 месяцев назад

    We are achiever's I have exam tomorrow now I'm watching it

  • @armaannaqash7801
    @armaannaqash7801 2 года назад +2

    How to calculate costs for nodes. In least cost as u did... 25 .12 ..19 ..30 in ist level and 8 and 7 in. 2nd level ..
    Would it be given in a question. Or we have to calculate it all by ourselves ??
    And what is this
    p={10,5,8,3} d={1,2,1,2}. U Haven't mentioned it !!

  • @Ami7166
    @Ami7166 4 года назад +1

    In 1st branching You didn't put 14th node. You got totally 16 nodes. Hope it was some numbering mistake?

  • @shawnwu4g97
    @shawnwu4g97 5 лет назад +3

    Dear Professor, I want to ask..
    Why the solution is {J1,J4} not {J1,J2}.
    {J1,J4} total profit is 13 and {J1,J2} total profit is 15
    why not take {J1,J2}?

    • @shawnwu4g97
      @shawnwu4g97 5 лет назад

      @@abdul_bari J1 and J4 deadline both is 2, isn't it?
      so when in deadline1 time we choose J1 and then into deadline2 time we choose J2 because its profit is bigger than J4, isn't it?

    • @shawnwu4g97
      @shawnwu4g97 5 лет назад

      Maybe I confused what you defined the deadline meaning.
      My understanding is when tree level=1, that means is deadline1, so we can choose anyone,
      and when tree level=2, it means is deadline 2,
      so in this level, we cannot choose less than deadline2 of job (like deadline1 of job).
      Is this right?

  • @Dheerajspiano
    @Dheerajspiano 4 года назад +4

    At 4:00 there is only 16 nodes, not 17. Since we have 4 jobs

    • @Rohit-tz6gs
      @Rohit-tz6gs 4 года назад

      After 13, he wrote 15 directly so getting 17.

  • @nishantpall1747
    @nishantpall1747 4 года назад +3

    Is LC-BB similar to greedy approach?

  • @aruneshnaha4113
    @aruneshnaha4113 8 месяцев назад

    00:00 Branch-and-bound is a problem-solving strategy for optimization problems.
    01:16 Two methods for solving variable size job problem: Subset and State Space Tree
    02:35 Breadth-first search algorithm for job selection
    03:46 Two methods for generating a state space tree
    05:00 Exploring nodes using stack
    06:18 Using stack or queue for node exploration in branch-and-bound search
    07:23 State space tree with cost function
    08:40 LC branch and bound is a faster method for exploring nodes with minimum cost.
    Crafted by Merlin AI.

  • @fiveh8muthavarapu403
    @fiveh8muthavarapu403 4 года назад

    Good teaching 👌 sir..

  • @abderrafiabdeddine7744
    @abderrafiabdeddine7744 6 месяцев назад

    At the end you cover all possible nodes, Right? So how can be the LC-BB faster?
    Maybe I didn't understand the problem clearly, when founding a node with minimum cost, can we found an other node (in an other branch which has a parent with a higher cost than the other branches) with a lower cost?
    If so then all the methods are equal

  • @tekszhufuni2963
    @tekszhufuni2963 5 лет назад

    you are the best teacher.. Thank you its really help..

  • @bhuvaneshwarang767
    @bhuvaneshwarang767 8 месяцев назад +1

    This lecture is fully dependent on referring javatpoint

  • @evinaslan164
    @evinaslan164 4 года назад

    Really good.. thanks..

  • @DILIPKUMAR-ws7td
    @DILIPKUMAR-ws7td 5 лет назад

    Thanks sir good teaching

  • @akashpatil1713
    @akashpatil1713 Год назад +1

    DANKE!

  • @theaditya752
    @theaditya752 6 лет назад +1

    Why did you take different cost for J3 and j4 at 8:52 ? Is it because of the fact we are going from node 3 instead of 1?

  • @deveshprakash9959
    @deveshprakash9959 3 года назад +1

    when solving by using stack ,Sir ,why u stopped after 12 ,can be expanded more after poping node 12,11 and so on. It need to be expanded more. Please reply someone if known.

    • @-R-Deeksha
      @-R-Deeksha 3 года назад +2

      After popping the number 2 stack becomes empty so we will be stopping there

    • @deveshprakash9959
      @deveshprakash9959 3 года назад

      @@-R-Deeksha Got it now 👍

  • @SudarshanKrSingh
    @SudarshanKrSingh 5 лет назад

    Good videos , thanks

  • @venkatramana9359
    @venkatramana9359 5 лет назад +1

    Thank you,sir

  • @Reloadedvivek
    @Reloadedvivek 4 месяца назад +1

    Watching 2 hour before exam

  • @ManikireddyAkhilandeswari
    @ManikireddyAkhilandeswari 9 месяцев назад

    Watching before 30min of exam

  • @dhruvkhokhar8162
    @dhruvkhokhar8162 Год назад

    Why did we discard J1 while exploring 3rd node in FIFO BB?

  • @SandeepRana-xn8mk
    @SandeepRana-xn8mk 4 года назад +1

    what is the difference between divide and conquer and branch and bound ?

  • @bablufunnyvideos8945
    @bablufunnyvideos8945 5 месяцев назад +1

    Watching 1 hour before exam🤒

  • @solutions9991
    @solutions9991 5 лет назад

    VEry good, thank you

  • @AlayDhagia
    @AlayDhagia 5 лет назад +1

    You are amazing, thank you for your help !!

  • @Prince-zf7sz
    @Prince-zf7sz 4 года назад +2

    why have you discarded first job in second branching,i.e., for J2 there is no J1

  • @chaituk2015
    @chaituk2015 6 лет назад +6

    Sir can u explain Travelling sales person by branch and bound
    FIFO Branch and Bound problem

  • @tubex1300
    @tubex1300 Год назад

    Master at minute 0.54 you are mentioned about two methods to generate state space tree? can you can tell what are they ?

  • @trezabhat33
    @trezabhat33 4 года назад

    Sir can u make a video on how to divide a set into three subset such that sum of the elements in each subset has minimum difference using branch and bound

  • @mrinalgautam9090
    @mrinalgautam9090 6 лет назад +1

    thanks for complete my presentation ..

  • @user-hb6mg9eb1k
    @user-hb6mg9eb1k 3 месяца назад

    Watching just 1 hour before exam😅😎

  • @3thrisha869
    @3thrisha869 2 года назад

    Tq so much sir

  • @roopanrodin7924
    @roopanrodin7924 5 лет назад

    sir,for bfs approach we must use queue,but your explanation is in stack for bfs ,which one is correct sir.Is it correct that branch and bound follows bfs

  • @ethanfang4214
    @ethanfang4214 3 года назад +2

    I think ,I'm training my English listening in this video

    • @andresroman9544
      @andresroman9544 3 года назад

      Even more if you aren't a native speaker, which is my case

  • @rithanyabalamurali6936
    @rithanyabalamurali6936 2 года назад

    do we use depth first search in least cost branch bound?

  • @faisalansari-gf7lc
    @faisalansari-gf7lc 9 месяцев назад +1

    Today is my exam🥲

  • @shihlihsu9918
    @shihlihsu9918 6 лет назад

    Thank you Sir!

  • @ankush_in_sync5998
    @ankush_in_sync5998 5 лет назад

    THANK YOU SIR

  • @hetvibhatt4311
    @hetvibhatt4311 2 года назад

    Thanks a lot