AS Maths Decision Paper January 2006 Model Answers.

Slides:



Advertisements
Similar presentations
Decision Maths Networks Kruskals Algorithm Wiltshire Networks A Network is a weighted graph, which just means there is a number associated with each.
Advertisements

Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Minimum Spanning Tree Sarah Brubaker Tuesday 4/22/8.
Greedy Algorithms Spanning Trees Chapter 16, 23. What makes a greedy algorithm? Feasible –Has to satisfy the problem’s constraints Locally Optimal –The.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
MINIMAL CONNECTOR PROBLEMS Problem: A cable TV company is installing a system of cables to connect all the towns in a region. The numbers in the network.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
What is the first line of the proof? a). Assume G has an Eulerian circuit. b). Assume every vertex has even degree. c). Let v be any vertex in G. d). Let.
9-1 Chapter 9 Approximation Algorithms. 9-2 Approximation algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
Discrete Math for CS Chapter 8: Directed Graphs. Discrete Math for CS digraph: A digraph is a graph G = (V,E) where V is a finite set of vertices and.
Algorithms on graphs In Decision Mathematics, a graph consists of points (called vertices or nodes) which are connected by lines (edges or arcs). Eg in.
The Travelling Salesman Algorithm A Salesman has to visit lots of different stores and return to the starting base On a graph this means visiting every.
Algorithmic Foundations COMP108 COMP108 Algorithmic Foundations Greedy methods Prudence Wong
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
The Traveling Salesman Problem Approximation
Chapter 2 Graph Algorithms.
Graph Theory Topics to be covered:
Graph Theory Hamilton Paths and Hamilton Circuits.
Chapter 4 sections 1 and 2.  Fig. 1  Not connected  All vertices are even.  Fig. 2  Connected  All vertices are even.
Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we can find a path that goes over all.
Chinese postman problem
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
CS 200 Algorithms and Data Structures
1 Minimum Spanning Trees (some material adapted from slides by Peter Lee, Ananda Guna, Bettina Speckmann)
EMIS 8373: Integer Programming Combinatorial Relaxations and Duals Updated 8 February 2005.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
© Nuffield Foundation 2012 Nuffield Free-Standing Mathematics Activity Networks © Rudolf Stricker.
By Meli & Amy & Meggie & Bex. What is route inspection hmmmm??? Objective: Is to go along every single edge and end up back to where you started from.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
DECISION 1. How do you do a Bubble Sort? Bubble Sort:  You compare adjacent items in a list;  If they are in order, leave them.  If they are not in.
AS Decision Maths Tips for each Topic. Kruskal and Prim What examiner’s are looking for A table of values in the order that they are added and the total.
AS Maths Decision Paper January 2011 Model Answers.
Unit 3 Chinese Postman. Non - Eulerian Semi - Eulerian Eulerian.
EMIS 8373: Integer Programming Combinatorial Optimization Problems updated 27 January 2005.
The graph is neither Eulerian or Semi – Eulerian as it has 4 ODD vertices.
Week 6 - Monday.  What did we talk about last time?  Artificial intelligence  Lab 5.
Chinese Postman Problem
Hamilton Paths and Hamilton Circuits
Weighted Graphs and traveling Salesperson problem
AS Maths Decision Paper June 2011 Model Answers.
COMP108 Algorithmic Foundations Greedy methods
AS Maths Decision Paper June 2011 Model Answers.
Hamiltonian Cycle and TSP
Hamiltonian Cycle and TSP
Section 2: Multiple choice
= 12x4 + 20x2 = 6x3 + 7x2 – x = – 16x5 + 72x4 = 24x3 – 6x2 + 48x
Jan 2007.
Planar Graphs & Euler’s Formula
Spanning Trees Discrete Mathematics.
Graph Algorithm.
Spanning Trees.
Nuffield Free-Standing Mathematics Activity
Shortest Path.
Section 2: Multiple choice
AS Maths Decision Paper January 2012 Model Answers.
AB AC AD AE AF 5 ways If you used AB, then, there would be 4 remaining ODD vertices (C, D, E and F) CD CE CF 3 ways If you used CD, then, there.
Decision Maths Graphs.
Route Inspection Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we introduce a vertex.
AS Maths Decision Paper January 2010 Model Answers.
Networks Kruskal’s Algorithm
3-5 Slopes of Lines Warm Up Lesson Presentation Lesson Quiz
Warm Up Find the value of m undefined.
Graphs CS 2606.
AS Maths Decision Paper June 2013 Model Answers.
Warm Up – 3/14 - Friday 100 seats are to be apportioned.
Weighted Graphs AQR.
Homework Solutions.
Lecture 24 Vertex Cover and Hamiltonian Cycle
Jan 2009.
Presentation transcript:

AS Maths Decision Paper January 2006 Model Answers

It is important students have a copy of the questions as you go through the model answers.

A U B V C W D X E Y F Z

D – X – B – V – C – Z then Final Match F – Y – E – W – A – U Initial Match A U B V C W D X E Y F Z A U B V C W D X E Y F Z D – X – B / – V – C / – Z then Final Match F – Y – E / – W – A / – U AU, BV, CZ, DX, EW, FY

Initial Set 18 23 12 7 26 19 16 24 After 1st Pass 12 7 16 18 23 26 19 24 After 2nd Pass 7 12 16 18 19 23 26 24 After 3rd Pass 7 12 16 18 19 23 24 26 All correct Indicates pivots Indicates used pivots

3ai) Edges in a spanning tree are n – 1 vertices, so 10 – 1 means there would be 9 edges 3aii) Edges in a spanning tree are n – 1 vertices

Minimum Spanning Tree = 89 miles GI = 5 AB = 6 EI = 7 BD = 8 IJ = 10 JH = 11 AF = 13 DE = 14 CG = 15 Total = 89 Each added edge must be in ASCENDING order Minimum Spanning Tree = 89 miles See next slide

A B C D E F G H I J

x ≥ 20 y ≥ 10 x + y ≤ 100 2x + y ≤ 160 y ≤ x + 40 (y – x ≤ 40) To find the maximum and / or minimum values contained within the feasible region, test each vertex Maximum at (2x + 3y) = (30, 70) = 270 Maximum at (3x + 2y) = (60, 40) = 260 x x Minimum at (-2x + y) = (75, 10) = -140 The 5 inequalities that define the region are x x ≥ 20 y ≥ 10 x x x + y ≤ 100 2x + y ≤ 160 y ≤ x + 40 (y – x ≤ 40)

Corresponding Route is A , C, E, D, F, G, H, I, J 20 25 14 13 22 21 26 38 37 50 51 8 14 32 31 44 43 Corresponding Route is A , C, E, D, F, G, H, I, J

P R T I A M Print Line 10 400 Line 20 5 3 Line 30 60 Line 40 460 Line 50 Line 60 12.8 Line 70 12.8

P R T A K I M Print Line 10 400 Line 20 5 3 Line 30 400 Line 40 Line 50 Line 60 1 Line 70 20 Line 80 420 Line 60 2 Line 70 21 Line 80 441 Line 60 3 Line 70 22.05 463.05 Line 80 12.9 Line 100 12.9 Line 110

a) As there are 4 odd vertices at A, B, C and I the graph is neither eulerian or semi – eulerian.

The COMBINATIONS are AB + CI = 100 + 440 = 540 AC + BI = 150 + 450 = 600 AI + BC = 380 + 120 = 500 REPEAT the SHORTEST DISTANCE AI + BC = 380 + 120 = 500 TOTAL DISTANCE 2090 + 500 = 2590

The Examiner is looking for the following points The ODD VERTICES are noted down A, B, C, I The COMBINATIONS with DISTANCES AB + CI = 100 + 440 = 540 AC + BI = 150 + 450 = 600 AI + BC = 380 + 120 = 500 REPEAT the SHORTEST DISTANCE AI + BC = 380 + 120 = 500 TOTAL DISTANCE 2090 + 500 = 2590

TOTAL NUMBER OF STATUES SEEN IS = B C D E F G H I J 2 + 2 + 3 + 2 + 2 + 3 + 1 + 2 + 1 = 18 Statues As the number of statues seen is found by dividing the edges (INCLUDING THE REPEATED EDGES) at each vertex by 2

Route L,N,O,L L → N → O → L = Total = 70 35 + 20 + 15 Route L,O,N,L L → O → N → L = Total = 95 30 + 40 + 25

Any cycle that visits each vertex once only and returns to the start vertex. An example being L → N → O → P → R → S → L

= 145 minutes ci) S → P → O → L → N → R → S 20 + 25 + 15 + 35 + 25 + 25 = cii) It is a TOUR that can be IMPROVED upon

= 138 minutes ciii) S → R → O → L → N → P → S 30 + 17 + 15 + 35 + 21 + 20 =

Type A 5x + 4y + 3z ≤ 180 (3 hours is 180 minutes) Type B 12x + 8y + 10z ≤ 240 (4 hours is 240 minutes) Type C 24x + 12y + 18z ≤ 540 (9 hours is 540 minutes) Simplified becomes Type A 5x + 4y + 3z ≤ 180 (No Common Factors) Type B 6x + 4y + 5z ≤ 120 (Divide by 2) Type C 4x + 2y + 3z ≤ 90 (Divide by 6)

x > y y > z x ≥ 0.4 (x + y + z) 5x ≥ 2 (x + y + z) 5x ≥ 2x + 2y + 2z) 3x ≥ 2y + 2z