Dynamic programming resource allocation

A question is this type if and only if it asks to allocate a fixed resource (money, workers, items) across multiple schemes or categories to optimise total return using dynamic programming.

7 questions · Standard +0.0

Sort by: Default | Easiest first | Hardest first
Edexcel D2 2009 June Q7
13 marks Moderate -0.3
7. Minty has \(\pounds 250000\) to allocate to three investment schemes. She will allocate the money to these schemes in units of \(\pounds 50000\). The net income generated by each scheme, in \(\pounds 1000\) s, is given in the table below.
\(\mathbf { \pounds 0 }\)\(\mathbf { \pounds 5 0 0 0 0 }\)\(\mathbf { \pounds 1 0 0 0 0 0 }\)\(\mathbf { \pounds 1 5 0 0 0 0 }\)\(\mathbf { \pounds 2 0 0 0 0 0 }\)\(\mathbf { \pounds 2 5 0 0 0 0 }\)
Scheme1060120180240300
Scheme 2065125190235280
Scheme 3055110170230300
Minty wishes to maximise the net income. She decides to use dynamic programming to determine the optimal allocation, and starts the table shown in your answer book.
  1. Complete the table in the answer book to determine the amount Minty should allocate to each scheme in order to maximise the income. State the maximum income and the amount that should be allocated to each scheme.
  2. For this problem give the meaning of the table headings
    1. Stage,
    2. State,
    3. Action.
Edexcel D2 2013 June Q8
12 marks Standard +0.3
8. A factory can process up to five units of carrots each month. Each unit can be sold fresh or frozen or canned.
The profits, in \(\pounds 100\) s, for the number of units sold, are shown in the table.
The total monthly profit is to be maximised.
Number of units012345
Fresh04585120150175
Frozen04570100120130
Canned03575125155195
Use dynamic programming to determine how many of the five units should be sold fresh, frozen and canned in order to maximise the monthly profit. State the maximum monthly profit.
(Total 12 marks)
Edexcel D2 2014 June Q7
13 marks Moderate -0.5
7. Susie has hired a team of four workers who can make three types of toy. The total number of toys the team can produce will depend on which toys they make, and on how many workers are assigned to make each type of toy. The table shows how many of each toy would be made if different numbers of workers were assigned to make them. Each worker is to be assigned to make just one type of toy and all four workers are to be assigned. Susie wishes to maximise the total number of toys produced.
\cline { 3 - 7 } \multicolumn{2}{c|}{}Number of workers
\cline { 3 - 7 } \multicolumn{2}{c|}{}01234
\multirow{2}{*}{
T
O
Y
S
}
Bicycle080170260350
\cline { 2 - 7 }Dolls House095165245335
\cline { 2 - 7 }Train Set0100180260340
  1. Use dynamic programming to determine the allocation of workers which maximises the total number of toys made. You should show your working in the table provided in the answer book.
    (12)
  2. State the maximum total number of toys produced by this team.
    (1)
    (Total 13 marks)
Edexcel FD2 2023 June Q6
13 marks Standard +0.3
6. Polly is a motivational speaker who is planning her engagements for the next four weeks. Polly will
  • visit four different countries in these four weeks
  • visit just one country each week
  • leave from her home, S , and return there only after visiting the four countries
  • travel directly from one country to the next
Polly wishes to determine a schedule of four countries to visit.
Table 1 shows the countries Polly could visit each week. \begin{table}[h]
Week1234
Possible countries to visitA or BC, D or EF or GH, I or J
\captionsetup{labelformat=empty} \caption{Table 1}
\end{table} Table 2 shows the speaker fee, in \(\pounds 100\) s, Polly would expect to earn in each country. \begin{table}[h]
CountryABCDEFGHIJ
Earnings in \(\boldsymbol { \pounds } \mathbf { 1 0 0 s }\)47454847494445474948
\captionsetup{labelformat=empty} \caption{Table 2}
\end{table} Table 3 shows the cost, in \(\pounds 100\) s, of travelling between the countries. \begin{table}[h]
ABCDEFGHIJ
S52788
A345
B546
C75
D67
E76
F678
G786
\captionsetup{labelformat=empty} \caption{Table 3}
\end{table} Polly's expected income is the value of the speaker fee minus the cost of travel.
She wants to find a schedule that maximises her total expected income for the four weeks. Use dynamic programming to determine the optimal schedule. Complete the table provided in the answer book and state the maximum expected income.
(13)
Edexcel D2 2017 June Q7
13 marks Moderate -0.3
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 £ 1000 s, for the number of each exported batch type.
ABCDEF
A-8375826997
B83-9410377109
C7594-97120115
D8210397-105125
E6977120105-88
F9710911512588-
2.
1234Supply
A1517201133
B1211182121
C1813101625
Demand21172813
  1. 1234Supply
    A33
    B21
    C25
    Demand21172813
    1234Supply
    A33
    B21
    C25
    Demand21172813
    1234Supply
    A33
    B21
    C25
    Demand21172813
    1234Supply
    A33
    B21
    C25
    Demand21172813
    1234Supply
    A33
    B21
    C25
    Demand21172813
    1234Supply
    A33
    B21
    C25
    Demand21172813
    1234Supply
    A33
    B21
    C25
    Demand21172813
    1234Supply
    A33
    B21
    C25
    Demand21172813
    1234Supply
    A33
    B21
    C25
    Demand21172813
    3.
    B plays 1B plays 2B plays 3
    A plays 10- 26
    A plays 2341
    A plays 3- 11- 3
    4.
    1234
    A5384-20
    B87724138
    C70515225
    D45-8170
    5. (a)
  2. You may not need to use all of these tableaux
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
    \(r\)15- 23100180
    \(s\)101101080
    \(t\)16- 2001100
    \(P\)- 1- 2- 50000
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)

  3. 6. (a) Value of initial flow
    (b) Capacity of cut \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{d5798c81-290a-4e4b-aa46-497b62ca899b-20_1931_1099_507_408} \captionsetup{labelformat=empty} \caption{Diagram 1}
    \end{figure} \includegraphics[max width=\textwidth, alt={}, center]{d5798c81-290a-4e4b-aa46-497b62ca899b-21_1874_953_653_589}
    7. You may not need to use all the rows of this table
    StageStateActionDest.Value
    T-shirt
    StageStateActionDest.Value
    Maximum annual profit £ \(\_\_\_\_\)
Edexcel D2 2018 June Q6
15 marks Standard +0.3
6. Jonathan is an author who is planning his next book tour. He will visit four countries over a period of four weeks. He will visit just one country each week. He will leave from his home, S , and will only return there after visiting the four countries. He will travel directly from one country to the next. He wishes to determine a schedule of four countries to visit. Table 1 shows the countries he could visit each week. \begin{table}[h]
1234
A
B
C
D
1234
A
B
C
D
1234
A
B
C
D
2.
B plays 1B plays 2B plays 3B plays 4
A plays 1- 325- 1
A plays 2- 531- 1
A plays 3- 2542
A plays 42- 3- 14
- 325
- 254
2- 3- 1
3.
12345
A2531272935
B2933403537
C2829353637
D343536\(x\)41
E3635323133
  1. You may not need to use all of these tables
    12345
    A
    B
    C
    D
    E
    12345
    A
    B
    C
    D
    E
    12345
    A
    B
    C
    D
    E
    12345
    A
    B
    C
    D
    E
    12345
    A
    B
    C
    D
    E
    12345
    A
    B
    C
    D
    E
    12345
    A
    B
    C
    D
    E
    12345
    A
    B
    C
    D
    E
    12345
    A
    B
    C
    D
    E
    4. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{4abb2325-b9df-4849-b08c-7db465fe85e0-18_1056_1572_1450_185} \captionsetup{labelformat=empty} \caption{Diagram 1}
    \end{figure} Maximum flow along SBET: \(\_\_\_\_\) \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{4abb2325-b9df-4849-b08c-7db465fe85e0-19_1043_1572_1505_187} \captionsetup{labelformat=empty} \caption{Diagram 2}
    \end{figure} 5.
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
    \(r\)- 2- 6110040
    \(s\)23201080
    \(t\)12200150
    \(P\)- 4- 2\(- k\)0000
    You may not need to use all of these tableaux
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    b.v.\(x\)\(y\)\(z\)\(r\)\(s\)\(t\)ValueRow Ops
    \(P\)
    6.
    StageStateActionDestinationValue
    0IISS\(30 - 5 = 25 ^ { * }\)
    StageStateActionDestinationValue
    END
Edexcel FD2 2020 June Q7
12 marks Standard +0.3
7. A manufacturer can export five batches of footwear each year. Each exported batch contains just one type of footwear. The types of footwear are trainers, sandals or high heels. The table below shows the profit, in \(\pounds 1000\) s, for the number of batches of each type of footwear.
1234
A
B
C
D
1234
A
B
C
D
1234
A
B
C
D
1234
A
B
C
D
1234
A
B
C
D
1234
A
B
C
D
1234
A
B
C
D
1234
A
B
C
D
2. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e0fc09f9-06ea-4528-a2de-f409112d85cc-12_956_1333_258_283} \captionsetup{labelformat=empty} \caption{Figure 1}
\end{figure} \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e0fc09f9-06ea-4528-a2de-f409112d85cc-13_954_1322_260_278} \captionsetup{labelformat=empty} \caption{Figure 1}
\end{figure} 3. \begin{table}[h]
PQRSupply
A25241742
B7121468
C13112025
D16151340
Demand597244
\captionsetup{labelformat=empty} \caption{Table 1}
\end{table}
PQR
A
B
C
D
PQR
A
B
C
D
PQR
A
B
C
D
PQR
A
B
C
D
PQR
A
B
C
D
PQR
A
B
C
D
PQR
A
B
C
D
PQR
A
B
C
D
PQR
A
B
C
D
4. .
5. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e0fc09f9-06ea-4528-a2de-f409112d85cc-21_666_1239_1155_413} \captionsetup{labelformat=empty} \caption{Diagram 1}
\end{figure} 6. Player A \begin{table}[h]
\captionsetup{labelformat=empty} \caption{Player B}
\cline { 2 - 4 } \multicolumn{1}{c|}{}Option XOption YOption Z
Option Q153
Option R4- 31
Option S2- 4- 2
Option T3- 20
\end{table} 7.
StageStateActionDestinationValue
Trainers0000
StageStateActionDestinationValue