Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 40 6 a Solution Created 2026-10-03 Updated 2026-10-14
Let indicate that item is placed in the first bin; otherwise it is placed in the second. The two-bin load balancing problem has the familiar mixed-integer formulationThe continuous variable becomes the maximum of the two bin loads at an optimum. A pure binary integer program, avoiding any integrality assumption on the weights or on , is obtained by labelling a heavier bin as the first bin:The constraint ensures that the first load is at least the second, so the objective is their maximum. Every partition can be relabelled in this way, and every binary solution gives a partition. Thus this all-integer assignment formulation has exactly the original optimal value.