<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Algorithms Q&amp;A - Recent questions in Branch &amp; Bound</title>
<link>https://notexponential.com/questions/branch-%26-bound</link>
<description>Powered by Question2Answer</description>
<item>
<title>Solve a set of inter-related recurrence relations</title>
<link>https://notexponential.com/775/solve-a-set-of-inter-related-recurrence-relations</link>
<description>T(n) = R(n-1) + n log n&lt;br /&gt;
R(n) = T(n-1) + n^2</description>
<category>Branch &amp; Bound</category>
<guid isPermaLink="true">https://notexponential.com/775/solve-a-set-of-inter-related-recurrence-relations</guid>
<pubDate>Sat, 10 Dec 2022 22:01:12 +0000</pubDate>
</item>
<item>
<title>How can we solve the 8 puzzle problem using Branch &amp; Bound approach?</title>
<link>https://notexponential.com/630/how-can-solve-the-puzzle-problem-using-branch-bound-approach</link>
<description>We want to solve the 8-puzzle, or generally, the n-puzzle (where n is m*m - 1 for some integer) problem. &amp;nbsp;How can we use B&amp;amp;B to solve this problem, and what are the lower/upper bounds?</description>
<category>Branch &amp; Bound</category>
<guid isPermaLink="true">https://notexponential.com/630/how-can-solve-the-puzzle-problem-using-branch-bound-approach</guid>
<pubDate>Tue, 09 Apr 2019 14:57:40 +0000</pubDate>
</item>
<item>
<title>You are given a Boolean formula involving variables X1, X2, ... Xn.</title>
<link>https://notexponential.com/549/you-are-given-a-boolean-formula-involving-variables-x1-x2-xn</link>
<description>&lt;p&gt;You are given a Boolean formula involving variables X&lt;sub&gt;1&lt;/sub&gt;, X&lt;sub&gt;2&lt;/sub&gt;, ... X&lt;sub&gt;n&lt;/sub&gt;. The Boolean formula is of form (C&lt;sub&gt;1&amp;nbsp;&lt;/sub&gt;AND C&lt;sub&gt;2&amp;nbsp;&lt;/sub&gt;AND C&lt;sub&gt;3&lt;/sub&gt;... AND C&lt;sub&gt;m&lt;/sub&gt;), where each clause is a disjunction (logical &quot;or&quot; function) of the X variables. You have to assign true/false values to the variables so as to maximize the number of clauses that evaluate to true. Present a branch and bound approach for this optimization problem.&lt;/p&gt;</description>
<category>Branch &amp; Bound</category>
<guid isPermaLink="true">https://notexponential.com/549/you-are-given-a-boolean-formula-involving-variables-x1-x2-xn</guid>
<pubDate>Sat, 14 Apr 2018 00:05:40 +0000</pubDate>
</item>
<item>
<title>Given jobs, resources and cost matrix, what assignment minimizes the overall cost?</title>
<link>https://notexponential.com/457/given-jobs-resources-matrix-assignment-minimizes-overall</link>
<description>&lt;p&gt;&lt;/p&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;width:325pt; border-spacing: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;height:16.0pt; width:65pt&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;width:65pt&quot;&gt;4&lt;/td&gt;&lt;td style=&quot;width:65pt&quot;&gt;5&lt;/td&gt;&lt;td style=&quot;width:65pt&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;width:65pt&quot;&gt;11&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;height:16.0pt&quot;&gt;3&lt;/td&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;height:16.0pt&quot;&gt;4&lt;/td&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;9&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;height:16.0pt&quot;&gt;3&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;td&gt;12&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;height:16.0pt&quot;&gt;4&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;9&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;Given jobs, resources and cost&amp;nbsp;matrix.....for which assignment overall cost is minimum?&lt;/p&gt;</description>
<category>Branch &amp; Bound</category>
<guid isPermaLink="true">https://notexponential.com/457/given-jobs-resources-matrix-assignment-minimizes-overall</guid>
<pubDate>Mon, 08 May 2017 23:34:51 +0000</pubDate>
</item>
<item>
<title>The lower bound for the Traveling Salesman Problem</title>
<link>https://notexponential.com/404/the-lower-bound-for-the-traveling-salesman-problem</link>
<description>When applying the B&amp;amp;B approach to the Traveling Salesman Problem, we want to minimize the distance (which may satisfy the triangle inequality) or the cost (which may not satisfy the triangle inequality). What is the efficient way to set the lower bound?&lt;br /&gt;
&lt;br /&gt;
I saw from some online resources that we need to consider both the incoming and outgoing edges and their weights, which is either the distance or the cost. We can do a reduction on the weight matrix by subtracting the smallest numbers in each row, and subtracting the smallest numbers in each column, until there is a 0. But I don&amp;#039;t quiet understand why is that. Is there other ways to set the lower bounds?</description>
<category>Branch &amp; Bound</category>
<guid isPermaLink="true">https://notexponential.com/404/the-lower-bound-for-the-traveling-salesman-problem</guid>
<pubDate>Mon, 05 Dec 2016 22:05:10 +0000</pubDate>
</item>
<item>
<title>Employee to project assignment reward problem</title>
<link>https://notexponential.com/398/employee-to-project-assignment-reward-problem</link>
<description>Describe a Branch &amp;amp; Bound algorithm to solve the employee to project assignment reward problem. You are given n employees and n projects. You are also given an array A[i,j] which contains the revenue realized by that assignment of employee i to project j. Describe your B&amp;amp;B solution to maximize the reward.</description>
<category>Branch &amp; Bound</category>
<guid isPermaLink="true">https://notexponential.com/398/employee-to-project-assignment-reward-problem</guid>
<pubDate>Mon, 05 Dec 2016 05:35:27 +0000</pubDate>
</item>
</channel>
</rss>