Aisha runs a small office-relocation company. For one client's move, the following box weights, in kg, must be packed into crates that can each hold a maximum of 20 kg, in the order the boxes are brought out of the office:
12, 9, 14, 7, 11, 8, 15, 6, 13, 10
Figure (to be drawn): A loading bay with a stack of ten labelled boxes and a row of crates awaiting packing.
(a)Calculate the theoretical lower bound for the number of crates needed.(2)
(b)Apply first-fit to the weights in the order given, packing into crates of capacity 20 kg. Show the contents of each crate, and state the number of crates used.(3)
(c)Sort the weights into decreasing order and apply first-fit decreasing, packing into crates of capacity 20 kg. Show the contents of each crate, and state the number of crates used.(3)
(d)Using a full-bin method, find as many crates as possible that can be exactly filled from the original ten weights, and state which items (if any) cannot be paired to exactly fill a crate.(3)
(e)Comment on what your answers to parts (b) to (d) show about the effectiveness of first-fit, first-fit decreasing and the full-bin method for this particular set of data.(2)
(Total for Question 12 is 13 marks)