Computer Science, asked by Srinivasrao1796, 1 year ago

Difference between backtrack and branch and bound

Answers

Answered by syedtalha777
0
What are the differences between 'backtracking' and 'Branch & Bound' algorithm techniques?

Still have a question? Ask your own!

What is your question?

Ad by Commonlounge

Want to learn deep learning in 2 weeks for free?

25 crisp tutorials on neural networks, convolutional networks, word embeddings and adversarial networks.

Start Now

2 ANSWERS

Manan Parikh, Confused one.

Answered Nov 30, 2013

Backtracking
[1] It is used to find all possible solutions available to the problem.
[2] It traverse tree by DFS(Depth First Search).
[3] It realizes that it has made a bad choice & undoes the last choice by backing up.
[4] It search the state space tree until it found a solution.
[5] It involves feasibility function.

Branch-and-Bound
[1] It is used to solve optimization problem.
[2] It may traverse the tree in any manner, DFS or BFS.
[3] It realizes that it already has a better optimal solution that the pre-solution leads to so it abandons that pre-solution.
[4] It completely searches the state space tree to get optimal solution.
[5] It involves bounding function.

Similar questions