Edexcel D1 (Decision Mathematics 1)

Question 2
View details
2. (a) Use the binary search algorithm to locate the name HUSSAIN in the following alphabetical list. Explain each step of the algorithm.
  1. ALLEN
  2. BALL
  3. COOPER
  4. EVANS
  5. HUSSAIN
  6. JONES
  7. MICHAEL
  8. PATEL
  9. RICHARDS
  10. TINDALL
  11. WU
    (b) State the maximum number of comparisons that need to be made to locate a name in an alphabetical list of 11 names.
    (1 mark)
\begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-002_531_844_360_315} \captionsetup{labelformat=empty} \caption{Fig. 1}
\end{figure} (a) Using an appropriate algorithm, obtain a suitable route starting and finishing at \(A\).
(b) Calculate the total length of this route.
(2 marks)
4. This question should be answered on the sheet provided in the answer booklet. A manager has five workers, Mr. Ahmed, Miss Brown, Ms. Clough, Mr. Dingle and Mrs. Evans. To finish an urgent order he needs each of them to work overtime, one on each evening, in the next week. The workers are only available on the following evenings: Mr. Ahmed \(( A )\) - Monday and Wednesday;
Miss Brown ( \(B\) ) - Monday, Wednesday and Friday;
Ms. Clough ( \(C\) ) - Monday;
Mr. Dingle ( \(D\) ) - Tuesday, Wednesday and Thursday;
Mrs. Evans \(( E )\) - Wednesday and Thursday.
The manager initially suggests that \(A\) might work on Monday, \(B\) on Wednesday and \(D\) on Thursday.
(a) Using the nodes printed on the answer sheet, draw a bipartite graph to model the availability of the five workers. Indicate, in a distinctive way, the manager's initial suggestion.
(2 marks)
(b) Obtain an alternating path, starting at \(C\), and use this to improve the initial matching.
(3 marks)
(c) Find another alternating path and hence obtain a complete matching.
(3 marks)
5. This question should be answered on the sheet provided in the answer booklet. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-003_352_904_450_287} \captionsetup{labelformat=empty} \caption{Fig. 2}
\end{figure} Figure 2 shows the activity network used to model a small building project. The activities are represented by the edges and the number in brackets on each edge represents the time, in hours, taken to complete that activity.
(a) Calculate the early time and the late time for each event. Write your answers in the boxes on the answer sheet.
(b) Hence determine the critical activities and the length of the critical path. Each activity requires one worker. The project is to be completed in the minimum time.
(c) Schedule the activities for the minimum number of workers using the time line on the answer sheet. Ensure that you make clear the order in which each worker undertakes his activities.
(5 marks)
6. This question should be answered on the sheet provided in the answer booklet. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-003_469_844_422_1731} \captionsetup{labelformat=empty} \caption{Fig. 3}
\end{figure} Figure 3 shows a capacitated, directed network. The number on each arc indicates the capacity of that arc.
(a) State the maximum flow along
(i) SAET,
(ii) SBDT,
(iii) SCFT.
(3 marks)
(b) Show these maximum flows on Diagram 1 on the answer sheet.
(1 mark)
(c) Taking your answer to part (b) as the initial flow pattern, use the labelling procedure to find a maximum flow from \(S\) to \(T\). Your working should be shown on Diagram 2. List each flow augmenting route you find, together with its flow.
(6 marks)
(d) Indicate a maximum flow on Diagram 3.
(2 marks)
(e) Prove that your flow is maximal.
(2 marks)
7. A tailor makes two types of garment, \(A\) and \(B\). He has available \(70 \mathrm {~m} ^ { 2 }\) of cotton fabric and \(90 \mathrm {~m} ^ { 2 }\) of woollen fabric. Garment \(A\) requires \(1 \mathrm {~m} ^ { 2 }\) of cotton fabric and \(3 \mathrm {~m} ^ { 2 }\) of woollen fabric. Garment \(B\) requires \(2 \mathrm {~m} ^ { 2 }\) of each fabric. The tailor makes \(x\) garments of type \(A\) and \(y\) garments of type \(B\).
(a) Explain why this can be modelled by the inequalities $$\begin{aligned} & x + 2 y \leq 70
& 3 x + 2 y \leq 90
& x \geq 0 , y \geq 0 \end{aligned}$$ (2 marks)
The tailor sells type \(A\) for \(\pounds 30\) and type \(B\) for \(\pounds 40\). All garments made are sold. The tailor wishes to maximise his total income.
(b) Set up an initial Simplex tableau for this problem.
(3 marks)
(c) Solve the problem using the Simplex algorithm.
(8 marks) Figure 4 shows a graphical representation of the feasible region for this problem. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-004_452_828_995_356} \captionsetup{labelformat=empty} \caption{Fig. 4}
\end{figure} (d) Obtain the coordinates of the points A, \(C\) and \(D\).
(e) Relate each stage of the Simplex algorithm to the corresponding point in Fig. 4.
(3 marks) Answer Book (AB12)
Graph Paper (ASG2) Items included with question papers Answer booklet Paper Reference(s)
6689 \section*{Decision Mathematics D1 (New Syllabus)} \section*{Advanced/Advanced Subsidiary} \section*{Monday 25 June 2001 - Morning} Candidates may use any calculator EXCEPT those with the facility for symbolic algebra, differentiation and/or integration. Thus candidates may NOT use calculators such as the Texas Instruments TI 89, TI 92, Casio CFX 9970G, Hewlett Packard HP 48G. In the boxes on the answer book, write the name of the examining body (Edexcel), your centre number, candidate number, the unit title (Decision Mathematics D1), the paper reference (6689), your surname, other name and signature. Full marks may be obtained for answers to ALL questions. This paper has seven questions. You must ensure that your answers to parts of questions are clearly labelled. You must show sufficient working to make your methods clear to the Examiner. Answers without working may gain no credit. \section*{END}
  1. The precedence table for activities involved in a small project is shown below
ActivityPreceding Activities
\(A\)-
\(B\)-
\(C\)-
\(D\)\(B\)
\(E\)\(A\)
\(F\)\(A\)
\(G\)\(B\)
\(H\)\(C , D\)
\(I\)\(E\)
\(J\)\(E\)
\(K\)\(F , G , I\)
\(L\)\(H , J , K\)
Draw an activity network, using activity on edge and without using dummies, to model this project.
2. \begin{figure}[h]
\captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-005_464_716_370_1740}
\end{figure} Figure 1 shows 7 locations \(A , B , C , D , E , F\) and \(G\) which are to be connected by pipelines. The arcs show the possible routes. The number on each arc gives the cost, in thousands of pounds, of laying that particular section.
(a) Use Kruskal's algorithm to obtain a minimum spanning tree for the network, giving the order in which you selected the arcs.
(b) Draw your minimum spanning tree and find the least cost of the pipelines.
Question 4
View details
4. This question should be answered on the sheet provided in the answer booklet. A manager has five workers, Mr. Ahmed, Miss Brown, Ms. Clough, Mr. Dingle and Mrs. Evans. To finish an urgent order he needs each of them to work overtime, one on each evening, in the next week. The workers are only available on the following evenings: Mr. Ahmed \(( A )\) - Monday and Wednesday;
Miss Brown ( \(B\) ) - Monday, Wednesday and Friday;
Ms. Clough ( \(C\) ) - Monday;
Mr. Dingle ( \(D\) ) - Tuesday, Wednesday and Thursday;
Mrs. Evans \(( E )\) - Wednesday and Thursday.
The manager initially suggests that \(A\) might work on Monday, \(B\) on Wednesday and \(D\) on Thursday.
  1. Using the nodes printed on the answer sheet, draw a bipartite graph to model the availability of the five workers. Indicate, in a distinctive way, the manager's initial suggestion.
    (2 marks)
  2. Obtain an alternating path, starting at \(C\), and use this to improve the initial matching.
    (3 marks)
  3. Find another alternating path and hence obtain a complete matching.
    (3 marks)
Question 5
View details
5. This question should be answered on the sheet provided in the answer booklet. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-003_352_904_450_287} \captionsetup{labelformat=empty} \caption{Fig. 2}
\end{figure} Figure 2 shows the activity network used to model a small building project. The activities are represented by the edges and the number in brackets on each edge represents the time, in hours, taken to complete that activity.
  1. Calculate the early time and the late time for each event. Write your answers in the boxes on the answer sheet.
  2. Hence determine the critical activities and the length of the critical path. Each activity requires one worker. The project is to be completed in the minimum time.
  3. Schedule the activities for the minimum number of workers using the time line on the answer sheet. Ensure that you make clear the order in which each worker undertakes his activities.
    (5 marks)
Question 6
View details
6. This question should be answered on the sheet provided in the answer booklet. \begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-003_469_844_422_1731} \captionsetup{labelformat=empty} \caption{Fig. 3}
\end{figure} Figure 3 shows a capacitated, directed network. The number on each arc indicates the capacity of that arc.
  1. State the maximum flow along
    1. SAET,
    2. SBDT,
    3. SCFT.
      (3 marks)
  2. Show these maximum flows on Diagram 1 on the answer sheet.
    (1 mark)
  3. Taking your answer to part (b) as the initial flow pattern, use the labelling procedure to find a maximum flow from \(S\) to \(T\). Your working should be shown on Diagram 2. List each flow augmenting route you find, together with its flow.
    (6 marks)
  4. Indicate a maximum flow on Diagram 3.
    (2 marks)
  5. Prove that your flow is maximal.
    (2 marks)
Question 7
View details
7. A tailor makes two types of garment, \(A\) and \(B\). He has available \(70 \mathrm {~m} ^ { 2 }\) of cotton fabric and \(90 \mathrm {~m} ^ { 2 }\) of woollen fabric. Garment \(A\) requires \(1 \mathrm {~m} ^ { 2 }\) of cotton fabric and \(3 \mathrm {~m} ^ { 2 }\) of woollen fabric. Garment \(B\) requires \(2 \mathrm {~m} ^ { 2 }\) of each fabric. The tailor makes \(x\) garments of type \(A\) and \(y\) garments of type \(B\).
  1. Explain why this can be modelled by the inequalities $$\begin{aligned} & x + 2 y \leq 70
    & 3 x + 2 y \leq 90
    & x \geq 0 , y \geq 0 \end{aligned}$$ (2 marks)
    The tailor sells type \(A\) for \(\pounds 30\) and type \(B\) for \(\pounds 40\). All garments made are sold. The tailor wishes to maximise his total income.
  2. Set up an initial Simplex tableau for this problem.
    (3 marks)
  3. Solve the problem using the Simplex algorithm.
    (8 marks) Figure 4 shows a graphical representation of the feasible region for this problem. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-004_452_828_995_356} \captionsetup{labelformat=empty} \caption{Fig. 4}
    \end{figure}
  4. Obtain the coordinates of the points A, \(C\) and \(D\).
  5. Relate each stage of the Simplex algorithm to the corresponding point in Fig. 4.
    (3 marks) Answer Book (AB12)
    Graph Paper (ASG2) Items included with question papers Answer booklet Paper Reference(s)
    6689 \section*{Decision Mathematics D1 (New Syllabus)} \section*{Advanced/Advanced Subsidiary} \section*{Monday 25 June 2001 - Morning} Candidates may use any calculator EXCEPT those with the facility for symbolic algebra, differentiation and/or integration. Thus candidates may NOT use calculators such as the Texas Instruments TI 89, TI 92, Casio CFX 9970G, Hewlett Packard HP 48G. In the boxes on the answer book, write the name of the examining body (Edexcel), your centre number, candidate number, the unit title (Decision Mathematics D1), the paper reference (6689), your surname, other name and signature. Full marks may be obtained for answers to ALL questions. This paper has seven questions. You must ensure that your answers to parts of questions are clearly labelled. You must show sufficient working to make your methods clear to the Examiner. Answers without working may gain no credit. \section*{END}
    1. The precedence table for activities involved in a small project is shown below
  6. Explain
    1. the purpose of the variables \(r , s\) and \(t\),
    2. the final row of the tableau.
  7. Solve this Linear Programming problem by using the Simplex alogorithm. Increase \(y\) for your first iteration and than increase \(x\) for your second iteration.
  8. Interpret your solution. \section*{Materials required for examination
    Graph Paper (ASG2)} Items included with question papers
    Answer booklet \section*{Decision Mathematics D1 (New Syllabus)
    \textbackslash section*\{Advanced/Advanced Subsidiary\}} \section*{Friday 18 January 2002 - Afternoon} Candidates may use any calculator EXCEPT those with the facility for symbolic algebra, differentiation and/or integration. Thus candidates may NOT use calculators such as the Texas Instruments TI 89, TI 92, Casio CFX 9970G, Hewlett Packard HP 48G In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature. Full marks may be obtained for answers to ALL questions.
    This paper has seven questions. You must ensure that your answers to parts of questions are clearly labelled. You must show sufficient working to make your methods clear to the Examiner. Answers without working may gain no credit.
    1. Ann, Bryn, Daljit, Gareth and Nickos have all joined a new committee. Each of them is to be allocated to one of five jobs \(1,2,3,4\) or 5 . The table shows each member's preferences for the jobs.
    Ann1 or 2
    Bryn3 or 1
    Daljit2 or 4
    Gareth5 or 3
    Nickos1 or 2
    Initially Ann, Bryn, Daljit and Gareth are allocated the first job in their lists shown in the table.
  9. Draw a bipartite graph to model the preferences shown in the table and indicate, in a distinctive way, the initial allocation of jobs.
  10. Use the matching improvement algorithm to find a complete matching, showing clearly your alternating path.
  11. Find a second alternating path from the initial allocation.
    2. (i) Use the binary search algorithm to try to locate the name SABINE in the following alphabetical list. Explain each step of the algorithm.
    1. ABLE
    2. BROWN
    3. COOKE
    4. DANIEL
    5. DOUBLE
    6. \(F E W\)
    7. OSBORNE
    8. PAUL
    9. SWIFT
    10. TURNER
      (ii) Find the maximum number of iterations of the binary search algorithm needed to locate a name in a list of 1000 names.
    \(A\)\(B\)\(C\)\(D\)\(E\)\(F\)
    \(A\)-101213209
    \(B\)10-715117
    \(C\)127-11183
    \(D\)131511-278
    \(E\)20111827-18
    \(F\)973818-
    The table shows the distances, in metres, between six nodes \(A , B , C , D , E\), and \(F\) of a network.
  12. Use Prim's algorithm, starting at \(A\), to solve the minimum connector problem for this table of distances. Explain your method and indicate the order in which you selected the edges.
  13. Draw your minimum spanning tree and find its total length.
  14. State whether your minimum spanning tree is unique. Justify your answer.
    (ii) A connected network \(N\) has seven vertices.
  15. State the number of edges in a minimum spanning tree for \(N\). A minimum spanning tree for a connected network has \(n\) edges.
  16. State the number of vertices in the network. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-010_474_737_379_367}
    \end{figure} Figure 1 shows a network of roads. Erica wishes to travel from \(A\) to \(L\) as quickly as possible. The number on each edge gives the time, in minutes, to travel along that road.
  17. Use Dijkstra's algorithm to find a quickest route from \(A\) to \(L\). Complete all the boxes on the answer sheet and explain clearly how you determined the quickest route from your labelling.
  18. Show that there is another route which also takes the minimum time
    5. Two fertilizers are available, a liquid \(X\) and a powder \(Y\). A bottle of \(X\) contains 5 units of chemical \(A , 2\) units of chemical \(B\) and \(\frac { 1 } { 2 }\) unit of chemical \(C\). A packet of \(Y\) contains 1 unit of \(A , 2\) units of \(B\) and 2 units of \(C\). A professional gardener makes her own fertilizer. She requires at least 10 units of \(A\), at least 12 units of \(B\) and at least 6 units of \(C\). She buys \(x\) bottles of \(X\) and \(y\) packets of \(Y\).
  19. Write down the inequalities which model this situation.
  20. On the grid provided construct and label the feasible region. A bottle of \(X\) costs \(\pounds 2\) and a packet of \(Y\) costs \(\pounds 3\).
  21. Write down an expression, in terms of \(x\) and \(y\), for the total cost \(\pounds T\).
  22. Using your graph, obtain the values of \(x\) and \(y\) that give the minimum value of \(T\). Make your method clear and calculate the minimum value of \(T\).
  23. Suggest how the situation might be changed so that it could no longer be represented graphically. Figure 2 \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{6.} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-011_403_789_372_324}
    \end{figure} A company has 3 warehouses \(W _ { 1 } , W _ { 2 }\), and \(W _ { 3 }\). It needs to transport the goods stored there to 2 retail outlets \(R _ { 1 }\) and \(R _ { 2 }\). The capacities of the possible routes, in van loads per day, are shown in Fig 2. Warehouses \(W _ { 1 } , W _ { 2 }\) and \(W _ { 3 }\) have 14, 12 and 14 van loads respectively available per day and retail outlets \(R _ { 1 }\) and \(R _ { 2 }\) can accept 6 and 25 van loads respectively per day.
  24. On Diagram 1 on the answer sheet add a supersource \(W\), a supersink \(R\) and the appropriate directed arcs to obtain a single-source, single-sink capacitated network. State the minimum capacity of each arc you have added.
  25. State the maximum flow along
    1. \(W \quad W _ { 1 } \quad A \quad R _ { 1 } \quad R\),
    2. \(W W _ { 3 } \quad C \quad R _ { 2 } \quad R\).
  26. Taking your answers to part (b) as the initial flow pattern, use the labelling procedure to obtain a maximum flow through the network from \(W\) to \(R\). Show your working on Diagram 2. List each flow-augmenting route you use, together with its flow.
  27. From your final flow pattern, determine the number of van loads passing through \(B\) each day. The company has the opportunity to increase the number of vans loads from one of the warehouses \(W _ { 1 } , W _ { 2 } , W _ { 3 }\), to \(A , B\) or \(C\).
  28. Determine how the company should use this opportunity so that it achieves a maximal flow.
    , 啨 \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 3} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-011_307_990_404_1690}
    \end{figure} A project is modelled by the activity network shown in Fig 3. The activities are represented by the edges. The number in brackets on each edge gives the time, in days, taken to complete the activity.
  29. Calculate the early time and the late time for each event. Write these in the boxes on the answer sheet.
  30. Hence determine the critical activities and the length of the critical path.
  31. Obtain the total float for each of the non-critical activities.
  32. On the first grid on the answer sheet, draw a cascade (Gantt) chart showing the information obtained in parts (b) and (c). Each activity requires one worker. Only two workers are available.
  33. On the second grid on the answer sheet, draw up a schedule and find the minimum time in which the 2 workers can complete the project. \section*{(New Syllabus)} \section*{Advanced/Advanced Subsidiary} \section*{Thursday 23 May 2002 - Afternoon} Nil Answer booklet Candidates may use any calculator EXCEPT those with the facility for symbolic algebra, differentiation and/or integration. Thus candidates must NOT use calculators such as the Texas Instruments TI 89, TI 92, Casio CFX 9970G, Hewlett Packard HP 48G In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature.
    When a calculator is used, the answer should be given to an appropriate degree of accuracy. Full marks may be obtained for answers to ALL questions.
    This paper has eight questions. You must ensure that your answers to parts of questions are clearly labelled.
    You must show sufficient working to make your methods clear to the Examiner. Answers without working may gain no credit.
    1.
    Ashford6
    Colnbrook1
    Datchet18
    Feltham12
    Halliford9
    Laleham0
    Poyle5
    Staines13
    Wraysbury14
    The table above shows the points obtained by each of the teams in a football league after they had each played 6 games. The teams are listed in alphabetical order. Carry out a quick sort to produce a list of teams in descending order of points obtained.
    2. While solving a maximizing linear programming problem, the following tableau was obtained.
    Basic
    variable
    \(x\)\(y\)\(z\)\(r\)\(s\)\(t\)Value
    \(r\)00\(1 \frac { 2 } { 3 }\)10\(- \frac { 1 } { 6 }\)\(\frac { 2 } { 3 }\)
    \(y\)01\(3 \frac { 1 } { 3 }\)01\(- \frac { 1 } { 3 }\)\(\frac { 1 } { 3 }\)
    \(x\)10- 30- 1\(\frac { 1 } { 2 }\)1
    \(P\)00101111
  34. Explain why this is an optimal tableau.
  35. Write down the optimal solution of this problem, stating the value of every variable.
  36. Write down the profit equation from the tableau. Use it to explain why changing the value of any of the non-basic variables will decrease the value of \(P\).
    3. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-013_291_307_395_383}
    \end{figure} \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 2} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-013_287_311_397_781}
    \end{figure} Five members of staff \(1,2,3,4\) and 5 are to be matched to five jobs \(A , B , C , D\) and \(E\). A bipartite graph showing the possible matchings is given in Fig. 1 and an initial matching \(M\) is given in Fig. 2. There are several distinct alternating paths that can be generated from \(M\). Two such paths are $$2 - B = 4 - E$$ and $$2 - A = 3 - D = 5 - E$$
  37. Use each of these two alternating paths, in turn, to write down the complete matchings they generate. Using the maximum matching algorithm and the initial matching \(M\),
  38. find two further distinct alternating paths, making your reasoning clear. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 3} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-013_380_965_374_1690}
    \end{figure} Figure 3 shows the network of paths in a country park. The number on each path gives its length in km . The vertices \(A\) and \(I\) represent the two gates in the park and the vertices \(B , C , D , E , F , G\) and \(H\) represent places of interest.
  39. Use Dijkstra's algorithm to find the shortest route from \(A\) to \(I\). Show all necessary working in the boxes in the answer booklet and state your shortest route and its length. The park warden wishes to check each of the paths to check for frost damage. She has to cycle along each path at least once, starting and finishing at \(A\).
    1. Use an appropriate algorithm to find which paths will be covered twice and state these paths.
    2. Find a route of minimum length.
    3. Find the total length of this shortest route.
      5. An algorithm is described by the flow chart below.
      \includegraphics[max width=\textwidth, alt={}, center]{3147dad8-2d3c-42fd-b288-7017ff1fce16-014_1040_825_372_411}
  40. Given that \(a = 645\) and \(b = 255\), complete the table in the answer booklet to show the results obtained at each step when the algorithm is applied.
  41. Explain how your solution to part (a) would be different if you had been given that \(a = 255\) and \(b = 645\).
  42. State what the algorithm achieves. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 4} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-014_711_1049_411_1640}
    \end{figure} A building project is modelled by the activity network shown in Fig. 4. The activities are represented by the arcs. The number in brackets on each arc gives the time, in hours, taken to complete the activity. The left box entry at each vertex is the earliest event time and the right box entry is the latest event time.
  43. Determine the critical activities and state the length of the critical path.
  44. State the total float for each non-critical activity.
  45. On the grid in the answer booklet, draw a cascade (Gantt) chart for the project. Given that each activity requires one worker,
  46. draw up a schedule to determine the minimum number of workers required to complete the project in the critical time. State the minimum number of workers.
    7. A company wishes to transport its products from 3 factories \(F _ { 1 } , F _ { 2 }\) and \(F _ { 3 }\) to a single retail outlet \(R\). The capacities of the possible routes, in van loads per day, are shown in Fig. 5. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 5} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-015_472_766_520_342}
    \end{figure}
  47. On Diagram 1 in the answer booklet add a supersource \(S\) to obtain a capacitated network with a single source and a single sink. State the minimum capacity of each arc you have added.
    1. State the maximum flow along \(S F _ { 1 } A B R\) and \(S F _ { 3 } C R\).
    2. Show these maximum flows on Diagram 2 in the answer booklet, using numbers in circles. Taking your answer to part (b)(ii) as the initial flow pattern,
    1. use the labelling procedure to find a maximum flow from \(S\) to \(R\). Your working should be shown on Diagram 3. List each flow-augmenting route you find together with its flow.
    2. Prove that your final flow is maximal.
Question 8
View details
8. A chemical company produces two products \(X\) and \(Y\). Based on potential demand, the total production each week must be at least 380 gallons. A major customer's weekly order for 125 gallons of \(Y\) must be satisfied. Product \(X\) requires 2 hours of processing time for each gallon and product \(Y\) requires 4 hours of processing time for each gallon. There are 1200 hours of processing time available each week. Let \(x\) be the number of gallons of \(X\) produced and \(y\) be the number of gallons of \(Y\) produced each week.
  1. Write down the inequalities that \(x\) and \(y\) must satisfy. It costs \(\pounds 3\) to produce 1 gallon of \(X\) and \(\pounds 2\) to produce 1 gallon of \(Y\). Given that the total cost of production is \(\pounds C\),
  2. express \(C\) in terms of \(x\) and \(y\). The company wishes to minimise the total cost.
  3. Using the graphical method, solve the resulting Linear Programming problem. Find the optimal values of \(x\) and \(y\) and the resulting total cost.
  4. Find the maximum cost of production for all possible choices of \(x\) and \(y\) which satisfy the inequalities you wrote down in part (a). \section*{(New Syllabus)} \section*{Advanced/Advanced Subsidiary} \section*{Tuesday 5 November 2002 - Morning} \section*{Materials required for examination
    Graph Paper (ASG2)} Items included with question papers
    Answer booklet Candidates may use any calculator EXCEPT those with the facility for symbolic algebra, differentiation and/or integration. Thus candidates must NOT use calculators such as the Texas Instruments TI 89, TI 92, Casio CFX 9970G, Hewlett Packard HP 48G. In the boxes on the answer book, write your centre number, candidate number, your surname, initials and signature.
    When a calculator is used, the answer should be given to an appropriate degree of accuracy. Full marks may be obtained for answers to ALL questions.
    This paper has eight questions. Page 8 is blank. You must ensure that your answers to parts of questions are clearly labelled.
    You must show sufficient working to make your methods clear to the Examiner. Answers without working may gain no credit.
    1. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-016_312_446_360_1873}
    \end{figure} A Hamilton cycle for the graph in Fig. 1 begins \(A , X , D , V , \ldots\).
  5. Complete this Hamiltonian cycle.
  6. Hence use the planarity algorithm to determine if the graph is planar.
    2. The precedence table for activities involved in manufacturing a toy is shown below. A bipartite graph showing this information is drawn in the answer booklet.
    Initially, \(A , B , D\) and \(E\) are allocated to tasks 2, 1, 3 and 5 respectively.
    Starting from the given initial matching, use the matching improvement algorithm to find a complete matching, showing your alternating paths clearly.
    2. (a) Explain why it is impossible to draw a network with exactly three odd vertices. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-024_460_700_1160_388}
    \end{figure} The Route Inspection problem is solved for the network in Fig. 1 and the length of the route is found to be 100 .
  7. Determine the value of \(x\), showing your working clearly.
    3. (a) Describe the differences between Prim's algorithm and Kruskal's algorithm for finding a minimum connector of a network. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 2} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-024_415_800_383_1720}
    \end{figure}
  8. Listing the arcs in the order that you select them, find a minimum connector for the network in Fig. 2, using
    1. Prim's algorithm,
    2. Kruskal's algorithm.
      4. The following list gives the names of some students who have represented Britain in the International Mathematics Olympiad. Roper ( \(R\) ), Palmer ( \(P\) ), Boase ( \(B\) ), Young ( \(Y\) ), Thomas ( \(T\) ), Kenney ( \(K\) ), Morris ( \(M\) ), Halliwell ( \(H\) ), Wicker ( \(W\) ), Garesalingam ( \(G\) ).
  9. Use the quick sort algorithm to sort the names above into alphabetical order.
  10. Use the binary search algorithm to locate the name Kenney.
    5. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 3} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-025_330_1059_315_214}
    \end{figure} The network in Fig. 3 shows the activities involved in the process of producing a perfume. The activities are represented by the arcs. The number in brackets on each arc gives the time, in hours, taken to complete the activity.
  11. Calculate the early time and the late time for each event, showing them on Diagram 1 in the answer booklet.
  12. Hence determine the critical activities.
  13. Calculate the total float time for \(D\). Each activity requires only one person.
  14. Find a lower bound for the number of workers needed to complete the process in the minimum time. Given that there are only three workers available, and that workers may not share an activity,
  15. schedule the activities so that the process is completed in the shortest time. Use the time line in the answer booklet. State the new shortest time.
    6. A company produces two types of self-assembly wooden bedroom suites, the 'Oxford' and the 'York'. After the pieces of wood have been cut and finished, all the materials have to be packaged. The table below shows the time, in hours, needed to complete each stage of the process and the profit made, in pounds, on each type of suite.
  16. On the diagram in the answer book draw straight lines to show which components need to be connected.
  17. Starting with the Hamiltonian cycle \(A B C D E F A\), use the planarity algorithm to determine whether it is possible to build this product on a circuit board.
    (4)
    3. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 2} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-028_997_458_285_468}
    \end{figure} The bipartite graph in Fig. 2 shows the possible allocations of people \(A , B , C , D , E\) and \(F\) to tasks \(1,2,3,4,5\) and 6 . An initial matching is obtained by matching the following pairs
    A to 3,
    B to 4,
    \(C\) to 1,
    \(F\) to 5 .
  18. Show this matching in a distinctive way on the diagram in the answer book.
  19. Use an appropriate algorithm to find a maximal matching. You should state any alternating paths you have used.
    4. (a) Draw an activity network described in this precedence table, using as few dummies as possible. Initially Alan, Geoff, Laura and Nicola are assigned to the first checkpoint in their individual list.
  20. Draw a bipartite graph to model this situation and indicate the initial matching in a distinctive way.
  21. Starting from this initial matching, use the maximum matching algorithm to find an improved matching. Clearly list any alternating paths you use.
  22. Explain why it is not possible to find a complete matching. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 1} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-037_385_1072_283_1658}
    \end{figure} Figure 1 shows a network of roads. The number on each edge gives the time, in minutes, to travel along that road. Avinash wishes to travel from \(S\) to \(T\) as quickly as possible.
  23. Use Dijkstra's algorithm to find the shortest time to travel from \(S\) to \(T\).
  24. Find a route for Avinash to travel from \(S\) to \(T\) in the shortest time. State, with a reason, whether this route is a unique solution. On a particular day Avinash must include \(C\) in his route.
  25. Find a route of minimal time from \(S\) to \(T\) that includes \(C\), and state its time.
    3. \begin{figure}[h]
    \captionsetup{labelformat=empty} \caption{Figure 2} \includegraphics[alt={},max width=\textwidth]{3147dad8-2d3c-42fd-b288-7017ff1fce16-038_430_497_251_452}
    \end{figure}
  26. Describe a practical problem that could be modelled using the network in Fig. 2 and solved using the route inspection algorithm.
  27. Use the route inspection algorithm to find which paths, if any, need to be traversed twice.
  28. State whether your answer to part (b) is unique. Give a reason for your answer.
  29. Find the length of the shortest inspection route that traverses each arc at least once and starts and finishes at the same vertex. Given that it is permitted to start and finish the inspection at two distinct vertices,
  30. find which two vertices should be chosen to minimise the length of the route. Give a reason for your answer.
    4.
    1. Glasgow
    2. Newcastle
    3. Manchester
    4. York
    5. Leicester
    6. Birmingham
    7. Cardiff
    8. Exeter
    9. Southampton
    10. Plymouth
    A binary search is to be performed on the names in the list above to locate the name Newcastle.
  31. Explain why a binary search cannot be performed with the list in its present form.
  32. Using an appropriate algorithm, alter the list so that a binary search can be performed. State the name of the algorithm you use.
  33. Use the binary search algorithm on your new list to locate the name Newcastle.