BREAKING
Student finds x, x refuses to elaborateโ˜…Paper 1 still non-calculator, nation in shockโ˜…Local teen shows working, examiner weeps with joyโ˜…
  1. Home
  2. A Level
  3. Mathematics
  4. Edexcel
  5. Dynamic programming

Edexcel A Level Maths

Topic questions Decision mathematics Dynamic programming

Dynamic programming

5 questions · 68 marks · about 1.5 hours

Dynamic programming questions

Edexcel 9371 Dynamic programming 5 questions

Decision Mathematics 2 June 2015, Question 6 16 marks

Figure for question 6

The staged, directed network in Figure 2 represents a series of roads connecting 11 towns, S, A, B, C, D, E, F, G, H, J and T. The number on each arc shows the weight limit, in tonnes, for the corresponding road. Janet needs to drive a truck from S to T, passing through exactly three other towns. She needs to find the maximum weight of the truck that she can use.

(a)

Write down the type of dynamic programming problem that Janet needs to solve.

[1]
Reveal mark scheme Mark scheme for question 6(a)
(b)

Use dynamic programming to complete the table in the answer book.

[10]
Reveal mark scheme Mark scheme for question 6(b)
(c)

Hence find the maximum weight of the truck Janet can use.

[1]
(d)

Write down the route that Janet should take.

Janet intends to ask for the weight limit to be increased on one of the three roads leading directly into T. Janet wishes to maximise the weight of her truck.

[1]
(e)(i)

Determine which of the three roads she should choose and its new minimum weight limit.

(e)(ii)

Write down the maximum weight of the truck she would be able to use and the new route she would take.

[3]
Reveal mark scheme Mark scheme for question 6(e)(ii)

Decision Mathematics 2 June 2014, Question 7 14 marks

A company assembles microlight aircraft. They can assemble up to four aircraft in any one month, but if they assemble more than three they will have to hire additional space at a cost of ยฃ1000 per month. They can store up to two aircraft at a cost of ยฃ500 each per month. The overhead costs are ยฃ2000 in any month in which work is done. Aircraft are delivered at the end of each month. There are no aircraft in stock at the beginning of March and there should be none in stock at the end of July. The order book for aircraft is

MonthMarchAprilMayJuneJuly
Number ordered34243

Use dynamic programming to determine the production schedule which minimises the costs. Show your working in the table provided in the answer book and state the minimum production cost.

Pearson Education Ltd copyright policy.

1234
A191623โ€“
B24โ€“3023
C18172518
D24242624
Figure for question 7 Figure for question 7

_________________________________

_________________________________

_________________________________

_________________________________ 1 2 3 4

Figure for question 7

_________________________________

_________________________________

_________________________________

1 2 3 4 _________________________________

Figure for question 7

C _________________________________

D _________________________________

1 2 3 4 _________________________________

Figure for question 7

D _________________________________

Figure for question 7

_________________________________

_________________________________

_________________________________

_________________________________ 1 2 3 4

Figure for question 7

_________________________________

_________________________________

_________________________________

_________________________________ 1 2 3 4

Figure for question 7

_________________________________

_________________________________

_________________________________

_________________________________ 1 2 3 4

Figure for question 7

C _________________________________

D _________________________________

_________________________________

1 2 3 4 _________________________________

Figure for question 7

C _________________________________

D _________________________________

_________________________________

2.

ABCDEF
Aโ€“901308535125
B90โ€“801008388
C13080โ€“108106105
D85100108โ€“11088
E3583106110โ€“75
F125881058875โ€“
ABCDEF
Aโ€“901308535125
B90โ€“801008388
C13080โ€“108106105
D85100108โ€“11088
E3583106110โ€“75
F125881058875โ€“

3.

b.v.xyzrstValue
r53โ€“ 121002500
s3210101650
t1 2โ€“12001800
Pโ€“40โ€“50โ€“350000
[14]
Reveal mark scheme Mark scheme for question 7
(a)

You may not need to use all of these tableaux

Figure for question 7 Figure for question 7
(b)

4.

B plays 1B plays 2B plays 3B plays 4
A plays 12โ€“11โ€“3
A plays 2โ€“32โ€“21

5. (a) Initial flow value: ______________________________

Figure for question 7
(c)

(d)
Figure for question 7
(e)

6.

ABCDSupply
P1122131725
Q218191427
R151091228
Demand18162026

7.

MonthMarchAprilMayJuneJuly
Number ordered34243

You may not need to use all of these rows

Figure for question 7 Figure for question 7

Production schedule

MonthMarchAprilMayJuneJuly
Number made

Minimum production cost ยฃ

Decision Mathematics 2 June 2013, Question 7 13 marks

Nigel has a business renting out his fleet of bicycles to tourists. At the start of each year Nigel must decide on one of two actions: maths symbol Keep his fleet of bicycles, incurring maintenance costs. maths symbol Replace his fleet of bicycles. The cost of keeping the fleet of bicycles, the cost of replacing the fleet of bicycles and the annual income are dependent on the age of the fleet of bicycles. Table 1 shows these amounts, in ยฃ1000s.

Figure for question 7

Nigel has a new fleet of bicycles now and wishes to maximise his total profit over the next four

He is planning to sell his business at the end of the fourth year. The amount Nigel will receive will depend on the age of his fleet of bicycles. These amounts, in ยฃ1000s, are shown in Table 2.

Figure for question 7

Complete the table in the answer book to determine Nigelโ€™s best strategy to maximise his total profit over the next four years. You must state the action he should take each year (keep or replace) and his total profit.

Pearson Education Ltd copyright policy.

[13]
Reveal mark scheme Mark scheme for question 7
(a)

1. (a)

ABCDE
Aโ€“15192520
B15โ€“151525
C1915โ€“2211
D251522โ€“18
E20251118โ€“
(b)

(c)

ABCDE
Aโ€“15192520
B15โ€“151525
C1915โ€“2211
D251522โ€“18
E20251118โ€“
(d)

(e)

ABCDE
Aโ€“15192520
B15โ€“151525
C1915โ€“2211
D251522โ€“18
E20251118โ€“
(f)

2.

Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7

Demand 27 18 20 ________________________________

Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7

Demand 27 18 20

Figure for question 7 Figure for question 7

4.

B plays 1B plays 2B plays 3
A plays 154โ€“6
A plays 2โ€“1โ€“23
A plays 31โ€“12

5. (a)

b.v.xyzrstValue
rโ€“1201018
sโ€“13001122
zโ€“21100111
P2โ€“50001 215

(b) You may not need to use all of these tableaux

Figure for question 7 Figure for question 7

6.

Task 1Task 2Task 3
Harriet251243257
Jason244247255
Katherine249252246

7. You may not need to use all the rows in this table

StageState (Age of fleet of bicycles at start of year)Action (Keep or Replace)Dest. (Age of fleet of bicycles at end of year)Value (Profit)
End of Year 44(Sell)-1*
3(Sell)-2*
2(Sell)-4*
1(Sell)-6*
Year 43Keep41 + 2 โ€“ 3 = 0
Replace16 + 11 โ€“ 9 = 8*
2
Figure for question 7

Total profit

Decision Mathematics 2 June 2011, Question 7 13 marks

Patrick is to take orders for his companyโ€™s products. He will visit four countries over the next four weeks. He will visit just one country each week. He will leave from his office in London 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 in each week.

Figure for question 7

Table 2 shows the value of the orders, in ยฃ100s, he expects to take in each country.

Figure for question 7

Table 3 shows the cost, in ยฃ100s, of travelling between the various countries.

Figure for question 7

The expected income is the value of the expected orders minus the cost of travel. It is decided to use dynamic programming to find a schedule that maximises the total expected income for these four weeks.

Reveal mark scheme Mark scheme for question 7
(a)

Complete the table in the answer book to determine the optimal expected income.

[11]
Reveal mark scheme Mark scheme for question 7(a)
(b)

State Patrickโ€™s two optimal schedules.

Figure for question 7 Figure for question 7
[2]
Reveal mark scheme Mark scheme for question 7(b)
(c)

You may not need to use all these tables _____________________________________ A B C D _____________________________________

Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7

A B C D _____________________________________

Figure for question 7 Figure for question 7

You may not need to use all of these tableaux

Figure for question 7 Figure for question 7

4.

S plays 1S plays 2S plays 3
L plays 1โ€“4โ€“11
L plays 23โ€“1โ€“2
L plays 3โ€“302
Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7 Figure for question 7

Optimal expected income: ________________________________

Decision Mathematics 2 June 2008, Question 3 12 marks

Reveal mark scheme Mark scheme for question 3
(a)

Explain the difference between a maximin route and a minimax route in dynamic programming.

Figure for question 3

A Maximin route from L to R is to be found through the staged network shown in Figure 1.

[2]
Reveal mark scheme Mark scheme for question 3(a)
(b)

Use dynamic programming to complete the table in the answer book and hence find a maximin route.

[10]
Reveal mark scheme Mark scheme for question 3(b)

Report a problem with a question on this page
What is wrong?

Goes to whoever maintains the question split. No account needed and nothing is published on this page.

Memes

Certified Maths memes. Peer-reviewed by nobody.

Laugh now. Cry in the exam hall later. Then come back and do a past paper.

Learn the formula
Draw a vague triangle and hope
Me with 4 minutes left on Paper 3
Using a calculator
Using the formula sheet
Doing it in your head
Writing โ€˜by inspectionโ€™ and walking out
Maths enlightenment, ranked

Mum ๐Ÿ’–

did you do your maths homework sweetie?? ๐Ÿฅฐ

yes I solved for x

proud of you!!!

๐Ÿ“ฑ Screen time this week ยท TikTok6h 7m

x was never found

Maths starter pack

Protractor you've never usedCalculator older than youโ€œShow your workingโ€ traumaThis website
Collect all four