D1 June 2009 Q2

EdexcelOld spec9 marksAlgorithms

2.

3245172338281691210

The numbers in the list above represent the lengths, in metres, of ten lengths of fabric. They are to be cut from rolls of fabric of length 60m.

(a) Calculate a lower bound for the number of rolls needed. (2)
(b) Use the first-fit bin packing algorithm to determine how these ten lengths can be cut from rolls of length 60m. (4)
(c) Use full bins to find an optimal solution that uses the minimum number of rolls. (3)