Edexcel D1 (Decision Mathematics 1) 2012 January

Question 1
View details
1. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e02c4a9a-d2ab-489f-b838-9b4d902c4457-2_782_974_379_539} \captionsetup{labelformat=empty} \caption{Figure 1}
\end{figure} Figure 1 represents the distances, in km, between eight vertices, \(\mathrm { A } , \mathrm { B } , \mathrm { C } , \mathrm { D } , \mathrm { E } , \mathrm { F } , \mathrm { G }\) and H in a network.
  1. Use Kruskal's algorithm to find the minimum spanning tree for the network. You should list the arcs in the order in which you consider them. In each case, state whether you are adding the arc to your minimum spanning tree.
    (3)
  2. Starting at A, use Prim's algorithm to find the minimum spanning tree. You must clearly state the order in which you selected the arcs of your tree.
    (3)
  3. Draw the minimum spanning tree using the vertices given in Diagram 1 in the answer book.
  4. State the weight of the tree.
    (1)
Question 2
View details
2. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e02c4a9a-d2ab-489f-b838-9b4d902c4457-3_650_1357_260_354} \captionsetup{labelformat=empty} \caption{Figure 2
[0pt] [The weight of the network is 129 miles]}
\end{figure} Figure 2 models a network of canals. The number on each arc gives the length, in miles, of that canal. Brett needs to travel along each canal to check that it is in good repair. He wishes to minimise the length of his route.
  1. Use the route inspection algorithm to find the length of his route. State the arcs that should be repeated. You should make your method and working clear. A canal between B and F , of length 12 miles, is to be opened and needs to be included in Brett's inspection route.
  2. Determine if the addition of this canal will increase or decrease the length of Brett's minimum route. You must make your reasoning clear.
Question 3
View details
3. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e02c4a9a-d2ab-489f-b838-9b4d902c4457-4_743_457_237_434} \captionsetup{labelformat=empty} \caption{Figure 3}
\end{figure} \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e02c4a9a-d2ab-489f-b838-9b4d902c4457-4_743_455_237_1165} \captionsetup{labelformat=empty} \caption{Figure 4}
\end{figure} Define the terms
  1. bipartite graph,
  2. matching. Figure 3 shows the possible allocations of six people, Charles (C), Emily (E), George (G), Harriet (H), Jack (J) and Shen (S), to six tasks, 1, 2, 3, 4, 5 and 6. Figure 4 shows an initial matching.
  3. Starting from this initial matching, use the maximum matching algorithm to find an improved matching. You should list the alternating path you use and state your improved matching. Emily has task 5 added to her possible allocations and Harriet has task 3 added to her possible allocations.
  4. Starting from the improved matching found in part (c), use the maximum matching algorithm to find a complete matching. You should list the alternating path you use and state your improved matching.
    (3)
    (Total 10 marks)
Question 4
View details
4. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e02c4a9a-d2ab-489f-b838-9b4d902c4457-5_679_1420_228_312} \captionsetup{labelformat=empty} \caption{Figure 5}
\end{figure} Figure 5 models a network of roads. The number on each edge gives the time, in minutes, taken to travel along that road. Olivia wishes to travel from A to J as quickly as possible.
  1. Use Dijkstra's algorithm to find the shortest time needed to travel from A to J. State the shortest route. On a particular day Olivia must include G in her route.
  2. Find a route of minimal time from A to J that includes G , and state its length
Question 5
View details
5.
5181316582151210
  1. Use the first-fit bin packing algorithm to determine how the numbers listed above can be packed into bins of size 20.
  2. The list of numbers is to be sorted into descending order. Use a bubble sort to obtain the sorted list, giving the state of the list after each complete pass.
  3. Apply the first-fit decreasing bin packing algorithm to your ordered list to pack the numbers into bins of size 20.
  4. Determine whether your answer to (c) uses the minimum number of bins. You must justify your answer.
Question 6
View details
6. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e02c4a9a-d2ab-489f-b838-9b4d902c4457-7_2226_1628_299_221} \captionsetup{labelformat=empty} \caption{Figure 6}
\end{figure} Edgar has recently bought a field in which he intends to plant apple trees and plum trees. He can use linear programming to determine the number of each type of tree he should plant. Let \(x\) be the number of apple trees he plants and \(y\) be the number of plum trees he plants. Two of the constraints are $$\begin{aligned} & x \geqslant 40
& y \leqslant 50 \end{aligned}$$ These are shown on the graph in Figure 6, where the rejected region is shaded out.
  1. Use these two constraints to write down two statements that describe the number of apple trees and plum trees Edgar can plant. Two further constraints are $$\begin{aligned} 3 x + 4 y & \leqslant 360
    x & \leqslant 2 y \end{aligned}$$
  2. Add two lines and shading to Diagram 1 in your answer book to represent these inequalities. Hence determine the feasible region and label it R . Edgar will make a profit of \(\pounds 60\) from each apple tree and \(\pounds 20\) from each plum tree. He wishes to maximise his profit, P.
  3. Write down the objective function.
  4. Use an objective line to determine the optimal point of the feasible region, R . You must make your method clear.
  5. Find Edgar's maximum profit.
Question 7
View details
7. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{e02c4a9a-d2ab-489f-b838-9b4d902c4457-9_1042_1426_267_315} \captionsetup{labelformat=empty} \caption{Figure 7}
\end{figure} A project is modelled by the activity network shown in Figure 7. The activities are represented by the arcs. The number in brackets on each arc gives the time required, in hours, to complete the activity. The numbers in circles are the event numbers. Each activity requires one worker.
  1. Explain the significance of the dummy activity
    1. from event 4 to event 6 ,
    2. from event 5 to event 7
      (3)
  2. Calculate the early time and the late time for each event. Write these in the boxes in the answer book.
  3. Calculate the total float on each of activities D and G. You must make the numbers you use in your calculations clear.
  4. Calculate a lower bound for the minimum number of workers required to complete the project in the minimum time.
  5. On the grid in your answer book, draw a cascade (Gantt) chart for this project.