Content deleted Content added
Erel Segal (talk | contribs) |
Erel Segal (talk | contribs) |
||
Line 76:
* <math>OPT(J) \leq OPT(K)+2 k\cdot (2 + \ln(1/g))</math>.
== Step 3. Constructing the LP and rounding the
We consider the [[configuration linear program]] without the integrality constraints:<blockquote><math>\text{minimize}~~\mathbf{1}\cdot \mathbf{x}~~~\text{s.t.}~~ A \mathbf{x}\geq \mathbf{n}~~~\text{and}~~ \mathbf{x}\geq 0</math>.</blockquote>Here, we are allowed to use a fractional number of each configuration.
Line 86:
* LOPT(I) ≤ OPT(I), since LOPT(I) is a solution to a minimization problem with fewer constraints.
* OPT(I) < 2*FOPT(I), since in any packing with at least 2*FOPT(I) bins, the sum of the two least-full bins is at most ''B'', so they can be combined into a single bin.
A solution to the fractional LP can be rounded to an integral solution as follows.
▲Given an optimal solution to the fractional LP, it can be rounded into a solution for the integral ILP, proving that OPT(I) ≤ LOPT(I) + ''m''/2:
* Let '''x''' be an optimal [[basic feasible solution]] of the fractional LP.
* The principal part contains floor(''x<sub>c</sub>'') bins of each configuration ''c'' for which ''x<sub>c</sub>'' > 0.
* For the residual part (denoted by ''R''), we construct two candidate packings:
** A single bin of each configuration ''c'' for which ''x<sub>c</sub>'' > 0; all in all ''
** A greedy packing, with fewer than 2*FOPT(''R'') bins (since if there are at least 2*FOPT(''R'') bins, the two smallest ones can be combined).
* The smallest of these packings requires min(
* Adding to this the rounded-down bins of the principal part yields LOPT(I) +
* The execution time of this conversion algorithm is O(''n'' log ''n'').
Therefore, OPT(I) ≤ LOPT(I) + ''m''/2:
== Step 4. Solving the fractional LP ==
|