Skip to content

Commit 050ea6e

Browse files
committed
Added a section on lower bounds to tutorial
1 parent bd8c7f8 commit 050ea6e

File tree

2 files changed

+40
-7
lines changed

2 files changed

+40
-7
lines changed
519 Bytes
Binary file not shown.

src/res/html/tutorial.html

Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ <h2>Introduction</h2>
3434
<h2><a name="ToC"></a>Table of Contents</h2>
3535
The remainder of this tutorial is organized as follows:
3636
<ul>
37-
<li><a href="#copt">Combinatorial optimization</a></li>
38-
<li><a href="#bin">Bin packing</a></li>
39-
<li><a href="#heur">Constructive heuristics</a></li>
40-
<li><a href="#ff">First-fit</a></li>
41-
<li><a href="#ffd">First-fit decreasing</a></li>
42-
<li><a href="#bf">Best-fit</a></li>
43-
<li><a href="#bfd">Best-fit decreasing</a></li>
37+
<li><a href="#copt">Combinatorial Optimization</a></li>
38+
<li><a href="#bin">Bin Packing</a></li>
39+
<li><a href="#bound">Lower Bounds</a></li>
40+
<li><a href="#heur">Constructive Heuristics</a></li>
41+
<li><a href="#ff">First-Fit</a></li>
42+
<li><a href="#ffd">First-Fit Decreasing</a></li>
43+
<li><a href="#bf">Best-Fit</a></li>
44+
<li><a href="#bfd">Best-Fit Decreasing</a></li>
4445
</ul>
4546

4647
<hr>
@@ -170,6 +171,38 @@ <h2><a name="bin"></a>Bin Packing</h2>
170171

171172
<hr>
172173

174+
<h2><a name="bound"></a>Lower Bounds</h2>
175+
176+
When solving a combinatorial optimization problem, it is sometimes useful
177+
to compute a lower bound for the objective function if the problem is a
178+
minimization problem, and similarly an upper bound if the problem is a
179+
maximization problem. Since Bin Packing is a minimization problem, we will
180+
explain the concept with a lower bound. A lower bound is a value that is
181+
definitely less than or equal to the optimal value. It is often possible to
182+
compute a lower bound much easier than it is to compute the actual optimal
183+
solution. Although there is no guarantee that a solution exists whose value
184+
is that of the lower bound, if you are able to find a solution whose value is
185+
the lower bound, then you know there is no reason to search any further
186+
for a better solution.
187+
188+
<p>There is a very easy way to compute a lower bound for a Bin Packing instance.
189+
Simply sum the sizes of the items. And then compute the ceiling of that sum
190+
divided by the bin capacity. This lower bound makes the very naive assumption
191+
that it is possible to pack the items in bins so that there is no wasted space.
192+
You clearly can't do any better than this, although it is rarely possible to
193+
actually pack the bins in this way.</p>
194+
195+
<p>In the Operations Menu of the application, there is a command "Compute
196+
Lower Bound" that computes a lower bound for the current instance. Use that
197+
command to compute the lower bound for the current Bin Packing instance.
198+
If you are still on the default instance, you will find that the lower
199+
bound is 5 bins. In this case, it turns out that the optimal solution is
200+
also 5 bins, but you have no way of knowing for sure at this point.</p>
201+
202+
<p>Return to <a href="#TOP">Top</a> or <a href="#ToC">Table of Contents</a>.</p>
203+
204+
<hr>
205+
173206
<h2><a name="heur"></a>Constructive Heuristics</h2>
174207

175208
Recall that the Bin Packing problem, as well as many other combinatorial optimization

0 commit comments

Comments
 (0)