Jan 2009.

Slides:



Advertisements
Similar presentations
Minimum Spanning Tree Sarah Brubaker Tuesday 4/22/8.
Advertisements

Algebra Reminder 1.
Fig. 16-CO, p Fig. 16-1, p. 450 Fig. 16-2, p. 450.
3 -1 Chapter 3 The Greedy Method 3 -2 The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each.
T,  e  T c(e) = 50 G = (V, E), c(e) Minimum Spanning Tree.
Minimum spanning trees Aims: To know the terms: tree, spanning tree, minimum spanning tree. To understand that a minimum spanning tree connects a network.
Chapter 2 Graph Algorithms.
The travelling Salesman problem involves visiting every town (node) on a graph and returning to the start in the shortest distance. The slides will show.
6.3Find Probabilities Using Combinations
Find Probabilities Using Combinations
1 Minimum Spanning Trees (some material adapted from slides by Peter Lee, Ananda Guna, Bettina Speckmann)
TSP – Upper Bounds and Lower Bounds Initial problem : Upper Bound A salesman based in Stockton needs to visit shops based in Darlington, Billingham, Middlesbrough,
Objective: Students will use proportional parts of triangles and divide a segment into parts. S. Calahan 2008.
Jeopardy Solving Equations Add and Subtract Multiply and Divide Multi-Step Variables on each side Grouping Symbols $100 $200 $300 $400 $500 $100 $200.
Solve equations using addition and subtraction.
Geometry: Plane Figures Chapter. point A point marks a location. A A B B line segment the part of the line between 2 points endpoints.
Tree Diagrams A tree is a connected graph in which every edge is a bridge. There can NEVER be a circuit in a tree diagram!
* Collect the like terms 1. 2a = 2a x -2x + 9 = 6x z – – 5z = 2z - 6.
Solving 2 step equations. Two step equations have addition or subtraction and multiply or divide 3x + 1 = 10 3x + 1 = 10 4y + 2 = 10 4y + 2 = 10 2b +
WEEK 12 Graphs IV Minimum Spanning Tree Algorithms.
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.
Distributive Property. Mix Problems Homework Distributive Property.
The travelling salesman problem Finding an upper bound using minimum spanning trees Find a minimum spanning tree using Prim’s algorithm or Kruskal’s algorithm.
Shortest Path -Prim’s -Djikstra’s. PRIM’s - Minimum Spanning Tree -A spanning tree of a graph is a tree that has all the vertices of the graph connected.
Lower bound algorithm. 1 Start from A. Delete vertex A and all edges meeting at A. A B C D 4 5 E Find the length of the minimum spanning.
Jeopardy Solving Equations
D1 Discrete Mathematics
AS Maths Decision Paper June 2011 Model Answers.
AS Maths Decision Paper June 2011 Model Answers.
Minimum Spanning Tree Chapter 13.6.
Equations with variables on both sides Whiteboard practice
Jan 2007.
Combinations COURSE 3 LESSON 11-3
Make an Organized List and Simulate a Problem
Graph Algorithm.
CSCE350 Algorithms and Data Structure
The Travelling Salesperson problem
D1 Discrete Mathematics
CSE373: Data Structures & Algorithms Lecture 20: Minimum Spanning Trees Linda Shapiro Spring 2016.
Solving Multi-Step Equations 11-2
CSE 373 Data Structures and Algorithms
Single Source Shortest Paths Bellman-Ford Algorithm
Kruskal’s Algorithm for finding a minimum spanning tree
Solve Multi-step Equations
USING GRAPHS TO SOLVE EQUATIONS
AS Maths Decision Paper January 2006 Model Answers.
Minimum spanning trees
Splash Screen.
AS Maths Decision Paper January 2012 Model Answers.
Divide the number in C by 10.
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.
Minimum spanning trees
Minimum spanning trees
AS Maths Decision Paper January 2010 Model Answers.
Equations with variables on both sides Whiteboard practice
EXAMPLE 1 Identify special segments and lines
Splash Screen.
Bell Work Complete problems 8, 9, and 15 from yesterday. Proofs are on the board.
CSE 373: Data Structures and Algorithms
Splash Screen.
2.2 Solving Equations with Variables on Both Sides
Minimum Spanning Trees (MSTs)
Equations – Success if you can do these
Solve Multi-step Equations
If AD = 10, DC =6, and ED = 15, find DB.
Solving basic equations
Prim’s algorithm for minimum spanning trees
CSE 373: Data Structures and Algorithms
DECISION 1 “It’s obvious” “It’s easy”
Presentation transcript:

Jan 2009

AC < AB 2x - 4 < x + 6 x - 4 < + 6 (subtract x on both sides) x < 10 (add 4 to both sides)

AC < AE AC < AD 2x - 4 < 4x - 14 2x - 4 < 3x - 7 -2x - 4 < - 14 (subtract 4x on both sides) -x - 4 < - 7 (subtract 3x on both sides) -x < -3 (add 4 to both sides) -2x < -10 (add 4 to both sides) x > 3 (Inverting the equation by dividing the equation by -1) x > 5 (Inverting the equation by dividing by - 2)

CD < CB and CD < CE 2x – 1 < 3x - 7 2x – 1 < x + 8 -x – 1 < - 7 x – 1 < + 8 -x < - 6 x < 9 x > 6

From your previous answers x > 6 but also < 9 Now consider that DE < DB so 2x – 2 < 3x - 9 If x is now > 7, but < 9 the x = 8 -x – 2 < - 9 -x < - 7 x > 7

Total = 72 Remember x = 8 AC = 2x – 4 = 12 A → C → D → E → B → A CD = 2x – 1 = 15 12 15 14 17 14 DE = 2x – 2 = 14 EB = x + 9 = 17 Total = 72 BA = x + 6 = 14

𝐴 →𝐵 →𝐶 →𝐷 →𝐸 →𝐹 →𝐴 𝐹 →𝐷 →𝐶 →𝐴 →𝐵 →𝐸 →𝐹 Note - You can start at any letter and visit every other letter once, in any order, finally returning to your start letter. 𝐹 →𝐷 →𝐶 →𝐴 →𝐵 →𝐸 →𝐹 20 15 5 25 15 15 TOTAL = 95 It is a TOUR that exist, but MAY BE improved upon

𝐹 →𝐸 →𝐶 →𝐴 →𝐵 →𝐷 →𝐹 30 7 5 25 11 10 TOTAL = 88

Jan 2010 B → E → C → D → A → B 3.7 + 1.9 + 2.7 + 2.0 + 1.7 = 12.0 or 12 B → D → A → C → E → B 1.8 + 2.0 + 1.9 + 4.2 + 3.6 = 13.5

The best upper bound is the lowest value, so 12.0 From To The best upper bound is the lowest value, so 12.0 B → A → D → E → C → B 1.7 + 2.0 + 1.7 + 4.2 + 2.5 = 12.1

June 2010

𝑆 →𝑇 →𝑅 →𝐼 →𝑁 →𝐺 →𝑆 64 70 82 80 82 72 TOTAL = 450 𝑁 →𝐺 →𝑆 →𝑇 →𝑅 →𝐼 →𝑁

Using Kruskal or Prim draw a minimum spanning tree Delete 𝑆 Using Kruskal or Prim draw a minimum spanning tree Total minimum spanning tree = 𝟐𝟗𝟑 𝑮 𝟕𝟔 Add the two shortest deleted edges 𝑰 𝟕𝟑 𝑵 𝟕𝟒 𝑻 𝑹 𝟕𝟎 𝑰 𝟔𝟖 64 + 68 = 𝟏𝟑𝟐 𝑺 𝑻 𝟔𝟒 Lower Bound 293 + 132 = 𝟒𝟐𝟓