0/1 Knapsack Problem Using FIFO Branch and Bound || Design and Analysis of Algorithms || DAA

  Рет қаралды 83,337

Sudhakar Atchala

Sudhakar Atchala

2 жыл бұрын

#sudhakaratchala #daavideos #daaplaylist
In 0/1 knapsack problem. We define upper(the global variable) and c’(x) and u(x) for each node.
c’(x) is the used to find the cost of the node(or effort) starting from the root.
In 0/1 knapsack c’(x) means the maximum profit at that node(with fractions ).
u(x) is used to find an improved upper bound value.
In 0/1 knapsack u(x) means the maximum profit at that node (without fractions).
After the E-node is expanded
It generates a list of live nodes
c’(x) and u(x) is calculated for each generated live node.
If an improved u(x) is generated for any newly generated live node then, update upper to u(x).
Kill the nodes whose c’(x) is greater than upper(updated)
The selection of next E-node is depends on the approach used.
LC BB - selects whose live nodes cost is least
FIFO BB - selects from next live node from the queue
LIFO BB- selects from next live node from the stack

Пікірлер: 35
@kalahasthijwalahimabindu477
@kalahasthijwalahimabindu477 2 жыл бұрын
Very clear and neat explanation sir.Your daa videos helps me a lot to write the exam
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
All the best for your exam. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@user-gm4bm5er4z
@user-gm4bm5er4z 11 күн бұрын
Sir, Your explanation is so clear Thank you so much Sir, please do the video for 0/1 knapsack using LIFO branch and bound
@funera143
@funera143 2 жыл бұрын
Sir today i have an exam of daa wrote well because of your videos 🙌
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Good 👍. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@kingdeepak3297
@kingdeepak3297 9 ай бұрын
Sir, u are really a life saver
@SudhakarAtchala
@SudhakarAtchala 9 ай бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
@bhargav5611
@bhargav5611 Жыл бұрын
Clearly explained sir thank you
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
You are welcome
@sindhusri1886
@sindhusri1886 7 ай бұрын
Very helpful & useful sir thank uh❤
@SudhakarAtchala
@SudhakarAtchala 7 ай бұрын
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@maddularohit2845
@maddularohit2845 2 жыл бұрын
Excellent 🔥🔥
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@user-hs7qi5tt2e
@user-hs7qi5tt2e 2 ай бұрын
Super explanation sir❤
@SudhakarAtchala
@SudhakarAtchala Ай бұрын
Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@MBindu-kc2nj
@MBindu-kc2nj 2 жыл бұрын
Very helpful sir
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@geethika2767
@geethika2767 8 ай бұрын
👏🏻👏🏻👏🏻👏🏻👏🏻
@SudhakarAtchala
@SudhakarAtchala 8 ай бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@munawarahmedkhan4905
@munawarahmedkhan4905 Жыл бұрын
Great and awesome explanation sir 🫡
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@anchurimanideep4828
@anchurimanideep4828 9 ай бұрын
Thankyou so much sir
@SudhakarAtchala
@SudhakarAtchala 9 ай бұрын
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@dheerajdont2759
@dheerajdont2759 6 ай бұрын
Thank you sir 🙏
@SudhakarAtchala
@SudhakarAtchala 5 ай бұрын
So nice of you. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@RVB938
@RVB938 Ай бұрын
Thankyou Sir ❤❤❤❤❤
@SudhakarAtchala
@SudhakarAtchala Ай бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@srimanikantakavali5058
@srimanikantakavali5058 4 ай бұрын
thanku sir
@SudhakarAtchala
@SudhakarAtchala 4 ай бұрын
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@divyatallapalli-cd9tw
@divyatallapalli-cd9tw 28 күн бұрын
👌
@SudhakarAtchala
@SudhakarAtchala 27 күн бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@navya2209
@navya2209 Жыл бұрын
Sir Can u please upload the topic about NP-Hard and NP-Complete in daa
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
K. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@Skzforeverrock
@Skzforeverrock Жыл бұрын
thank you sir
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Beautiful gymnastics 😍☺️
00:15
Lexa_Merin
Рет қаралды 15 МЛН
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 15 МЛН
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,2 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
7.2 0/1 Knapsack using Branch and Bound
10:48
Abdul Bari
Рет қаралды 1,1 МЛН
NP Hard and NP Complete Problems, Non Deterministic Algorithms |DAA|
10:21
7.3 Traveling Salesman Problem - Branch and Bound
24:42
Abdul Bari
Рет қаралды 1,7 МЛН
DAA in Telugu || 0/1 Knapsack Problem using FIFO  Branch and Bound  in Telugu
29:50
Beautiful gymnastics 😍☺️
00:15
Lexa_Merin
Рет қаралды 15 МЛН