Edexcel D1 (Decision Mathematics 1) 2014 June

Question 1
View details
1. $$\begin{array} { l l l l l l l l l } 31 & 10 & 38 & 45 & 19 & 47 & 35 & 28 & 12 \end{array}$$
  1. Use the first-fit bin packing algorithm to determine how the numbers listed above can be packed into bins of size 60
  2. Carry out a quick sort to produce a list of the numbers in descending order. You should show the result of each pass and identify your pivots clearly.
  3. Use the first-fit decreasing bin packing algorithm to determine how the numbers listed can be packed into bins of size 60
  4. Determine whether the number of bins used in (c) is optimal. Give a reason for your answer.
Question 2
View details
2. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{23cc3c59-35d8-4120-9965-952c0ced5b3d-3_437_399_251_511} \captionsetup{labelformat=empty} \caption{Figure 1}
\end{figure} \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{23cc3c59-35d8-4120-9965-952c0ced5b3d-3_437_401_251_1151} \captionsetup{labelformat=empty} \caption{Figure 2}
\end{figure} Figure 1 shows the possible allocations of five employees, Ali (A), Campbell (C), Hugo (H), Janelle (J) and Polly (P), to five tasks 1, 2, 3, 4 and 5.
  1. Explain why it is not possible to find a complete matching. It is decided that one of the employees should be trained so that a complete matching becomes possible. There are only enough funds for one employee to be trained. Two employees volunteer to undergo training. Janelle can be trained to do task 1 or Hugo can be trained to do task 5.
  2. Decide which employee, Janelle or Hugo, should undergo training. Give a reason for your answer. You may now assume that the employee you identified in (b) has successfully undergone training. Figure 2 shows an initial matching.
  3. Starting from the given initial matching, use the maximum matching algorithm to find a complete matching. You should list the alternating path that you use, and state the complete matching.
Question 3
View details
3. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{23cc3c59-35d8-4120-9965-952c0ced5b3d-4_605_1378_248_370} \captionsetup{labelformat=empty} \caption{Figure 3}
\end{figure} Figure 3 represents a network of roads. The number on each arc represents the time taken, in minutes, to traverse each road.
  1. Use Dijkstra's algorithm to find the quickest route from S to T. State your quickest route and the time taken.
    (6) It is now necessary to include E in the route.
  2. Determine the effect that this will have on the time taken for the journey. You must state your new quickest route and the time it takes.
    (3)
Question 4
View details
4. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{23cc3c59-35d8-4120-9965-952c0ced5b3d-5_846_798_205_639} \captionsetup{labelformat=empty} \caption{Figure 4
[0pt] [The total weight of the network is 359 cm]}
\end{figure} Figure 4 represents the network of sensor wires used in a medical scanner. The number on each arc represents the length, in cm, of that section of wire. After production, each scanner is tested.
A machine will be programmed to inspect each section of wire.
It will travel along each arc of the network at least once, starting and finishing at A. Its route must be of minimum length.
  1. Use the route inspection algorithm to find the length of a shortest inspection route. You must make your method and working clear. The machine will inspect 15 cm of wire per second.
  2. Calculate the total time taken, in seconds, to test 120 scanners. It is now possible for the machine to start at one vertex and finish at a different vertex. An inspection route of minimum length is still required.
  3. Explain why the machine should be programmed to start at a vertex with odd degree. Due to constraints at the factory, only B or D can be chosen as the starting point and there will also be a 2 second pause between tests.
  4. Determine the new minimum total time now taken to test 120 scanners. You must state which vertex you are starting from and make your calculations clear.
    (4)
Question 5
View details
5. A linear programming problem in \(x\) and \(y\) is described as follows. Maximise \(\quad P = 2 x + 3 y\)
subject to $$\begin{aligned} x & \geqslant 25
y & \geqslant 25
7 x + 8 y & \leqslant 840
4 y & \leqslant 5 x
5 y & \geqslant 3 x
x , y & \geqslant 0 \end{aligned}$$
  1. Add lines and shading to Diagram 1 in the answer book to represent these constraints. Hence determine the feasible region and label it R .
  2. Use the objective line method to find the optimal vertex, V, of the feasible region. You must clearly draw and label your objective line and the vertex V.
  3. Calculate the exact coordinates of vertex V. Given that an integer solution is required,
  4. determine the optimal solution with integer coordinates. You must make your method clear.
Question 6
View details
6. (i) Draw the activity network described in the precedence table below, using activity on arc and the minimum number of dummies.
ActivityImmediately preceding activities
\(A\)-
B-
C-
DA, \(C\)
EB
\(F\)E
GA
\(H\)\(D , F\)
I\(D , F\)
JH, I
(ii) Explain why each of your dummies is necessary.
Question 7
View details
7. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{23cc3c59-35d8-4120-9965-952c0ced5b3d-8_620_1221_251_427} \captionsetup{labelformat=empty} \caption{Figure 5}
\end{figure} A project is modelled by the activity network shown in Figure 5. The activities are represented by the arcs. The number in brackets on each arc gives the time, in days, to complete the activity. Each activity requires one worker. The project is to be completed in the shortest possible time.
  1. Complete Diagram 1 in the answer book to show the early event times and late event times.
  2. Calculate the total float for activity D. You must make the numbers you use in your calculation clear.
  3. Calculate a lower bound for the number of workers needed to complete the project in the minimum time. You must show your working. The project is to be completed in the minimum time using as few workers as possible.
  4. Schedule the activities using Grid 1 in the answer book.
Question 8
View details
8. A manufacturer of frozen yoghurt is going to exhibit at a trade fair. He will take two types of frozen yoghurt, Banana Blast and Strawberry Scream. He will take a total of at least 1000 litres of yoghurt.
He wants at least \(25 \%\) of the yoghurt to be Banana Blast. He also wants there to be at most half as much Banana Blast as Strawberry Scream. Each litre of Banana Blast costs \(\pounds 3\) to produce and each litre of Strawberry Scream costs \(\pounds 2\) to produce. The manufacturer wants to minimise his costs. Let \(x\) represent the number of litres of Banana Blast and \(y\) represent the number of litres of Strawberry Scream. Formulate this as a linear programming problem, stating the objective and listing the constraints as simplified inequalities with integer coefficients. You should not attempt to solve the problem.
(Total 6 marks)