Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 40 6 b Solution Created 2026-10-03 Updated 2026-10-14
Use the relative-error approximation for minimization convention: an -approximation returns a feasible solution of value with on every instance, where is the optimum. Equivalently the relative excess is at most ; the multiplicative-ratio convention reports instead.
Before item is assigned, the total load already placed is . The lighter of two bins has load at most half that total. Positivity of the weights givesChoose a bin attaining the final maximum load , and let be its last assigned item. No later item enters that bin, soEvery feasible schedule has and . HenceThe ordered weights make the greedy loads after two assignments and then , regardless of how the final tie is resolved. The optimal partition has loads . Thus the factor is attained, not merely a loose bound. We conclude the sharp greedy two-bin scheduling bound