D2 June 2017 Q7

EdexcelOld spec13 marksDynamic Programming

7. A clothing manufacturer can export a maximum of five batches of shirts each year.

Each exported batch contains just one type of shirt, the types being T-shirts, Rugby shirts and Polo shirts.

The table below shows the profit, in £1000s, for the number of each exported batch type.

Number of batches012345
T-shirt05595180230290
Rugby shirt065100160245285
Polo shirt070110175225310

The total annual profit is to be maximised.

(a) Use dynamic programming to determine the maximum annual profit. (11)
(b) Advise the manufacturer on the possible ways in which the five batches could be allocated. (2)