A2 June 2022 Q6

EdexcelCurrent spec14 marksDynamic Programming

6. Bernie makes garden sheds. He can build up to four sheds each month.

If he builds more than two sheds in any one month, he must hire an additional worker at a cost of £250 for that month.

In any month in which sheds are made, the overhead costs are £35 for each shed made that month.

A maximum of three sheds can be held in storage at the end of any one month, at a cost of £80 per shed per month.

Sheds must be delivered at the end of the month.

The order schedule for sheds is

MonthJanuaryFebruaryMarchAprilMay
Number ordered13352

There are no sheds in storage at the beginning of January and Bernie plans to have no sheds left in storage after the May delivery.

Use dynamic programming to determine the production schedule that minimises the costs given above. Complete the working in the table provided below and state the minimum cost. (14)

StageStateActionDestinationValue
May200160 = 160*
11080 + 35 = 115*
02070 = 70*
MonthJanuaryFebruaryMarchAprilMay
Number made

Minimum cost: