Solving Network Problems with Matrices

Slides:



Advertisements
Similar presentations
Algebraic Rules Please view this tutorial and answer the follow-up questions on loose leaf to turn in to your teacher.
Advertisements

Matrices: Inverse Matrix
Lecture 15: Transportation and other Networks AGEC 352 Spring 2011 – March 23 R. Keeney.
Example 5.5 Non-logistics Network Models | 5.2 | 5.3 | 5.4 | 5.6 | 5.7 | 5.8 | 5.9 | 5.10 | 5.10a a Background Information.
 Consider the cities Atlanta, Boston, Chicago, Detroit, Fargo, and Los Angeles.  We want to see what connections there are between cities on a particular.
Flight Delay Data Analysis CSE 140 A research to find major factors that cause a flight to be late.
2.3 Solving Network Problems with Matrices. Planning travel between different cities can become very complicated. If the number of cities and the number.
Table of Contents Matrices - Calculator Operations The graphing calculator can be used to do a variety of matrix calculations, as shown in the following.
WAN Technologies & Topologies Lecture 8 October 4, 2000.
Linear Motion Chapter 2.
2 For Exponential Smoothing we will use the Excel Spreadsheet in this module. I created the spreadsheet so there is no copyright; do as you please Statistical.
Sundara Ram Matta Mar 02 nd, Sundara Ram Matta Mar 02 nd, 2015
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 5-1 1© 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Module 5 Mathematical.
Inverse Matrices (2 x 2) How to find the inverse of a 2x2 matrix.
Lesson Reflection for Chapter 14 Section 6 Pre-Algebra Learning Goal Students will understand collecting, displaying, & analyzing data.
AIM: How do we perform basic matrix operations? DO NOW:  Describe the steps for solving a system of Inequalities  How do you know which region is shaded?
Airline Vocabulary. Terminal Building Where passengers purchase tickets, check baggage, board and disembark planes.
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Matrices Lesson: MAT-4 Networks Networks Learning Outcome L-4 MAT-L4 Objectives: To rewrite.
Copyright © Cengage Learning. All rights reserved. Fundamentals.
Flight Information By Andrew Kyzer (according to Google Flights)
© J. Christopher Beck Lecture 25: Workforce Scheduling 3.
Math III Warm Up9/4/13. What is the multiplicative identity of a 3x3 matrix? The additive identity?
8.2 Operations With Matrices
3.6 Solving Systems Using Matrices You can use a matrix to represent and solve a system of equations without writing the variables. A matrix is a rectangular.
Warm Up Perform the indicated operations. If the matrix does not exist, write impossible
BELL-WORK Solve the system of equations using matrices:
Vertex Edge Graphs. What is a vertex-edge graph?  A collection of points, some of which are joined by line segments or curves  Examples:
Markov Games TCM Conference 2016 Chris Gann
MATRICES. DEFINITION A rectangular array of numeric or algebraic quantities subject to mathematical operations. Something resembling such an array, as.
Do Now: Perform the indicated operation. 1.). Algebra II Elements 11.1: Matrix Operations HW: HW: p.590 (16-36 even, 37, 44, 46)
Module Travel Unit The flight was late. Teaching aim and demands: The key words : airplane, coach, departure, lounge, departure lounge, transport key.
B121 Chapter 6 Effective Ways of Displaying Information.
Configuration for routing example
You are analyzing several airline carriers to use for your company’s corporate travel. On sheet Flights you have compiled information regarding the number.
Determinants.
13.4 Product of Two Matrices
Matrix. Matrix Matrix Matrix (plural matrices) . a collection of numbers Matrix (plural matrices)  a collection of numbers arranged in a rectangle.
Traveling Salesman Problems
Build Your Own Supply Chain
Ch. 2 Sec. 1 Displacement and Velocity
TRAVEL.
My Road Trip Introduction Slide.
L.O.2 To understand and use angle measure in degrees,
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 10 Graphs Slides are adopted from “Discrete.
WE CAN READ with… Donald Joyce.
Elasticity Survey Decide if you would purchase each of these items at the indicated price. If yes, raise your hand when told to do so. Keep track of.
The Transportation Model
We use arrows to represent vectors.
Routing: Distance Vector Algorithm
Lecture 12 Network Analysis (3)
Networks and Shortest Paths
Theory of Computation Turing Machines.
MATS Quantitative Methods Dr Huw Owens
vms x Year 8 Mathematics Equations
4. Computational Problem Solving
INNOVATIVE SENIOR TRANSPORTATION PROGRAMS AND SERVICES
Searching Concur Travel
Lecture 42 Section 14.4 Wed, Apr 17, 2007
Lecture 37 Section 14.4 Wed, Nov 29, 2006
Chapter 6 Network Flow Models.
Measuring Motion.
How to Publish a Mathematical Report
Calculate the value of ‘
3.6 Multiply Matrices.
March, 2019 Patrick DiMambro, CPA, MBA
Example 9 (Continued) 1. The first mask (/26) is applied to the destination address. The result is , which does not match the corresponding network.
Matrix Multiplication Sec. 4.2
Concept Development and End Product Description
Presentation transcript:

Solving Network Problems with Matrices

Planning travel between different cities can become very complicated Planning travel between different cities can become very complicated. If the number of cities and the number of alternative routes are small, the problem is relatively easy and can be handled with little more than paper and pencil. If the number of cities is large (even just 5 cities) or if there are many alternative routes, the human mind has great difficulty organizing and considering all the alternatives. A matrix is a mathematical tool that is useful for organizing and dealing with large amounts of data. Matrices (plural for matrix) can be used to summarize the routes between cities and to even calculate the different number of routes. Airlines, train and bus companies, and truck dispatchers are some of the organizations that use matrices as they make plans for moving people or goods to and from various locations. To see how matrices are used in transportation planning, let’s start with something simple: a problem involving three cities and then we’ll extend what we’ve learned to a more realistic problem involving six cities.

Example 1: Three cities A small airline serves three cities, Atlanta (ATL), Boston (BOS), and Charlotte (CLT), using a limited number of airplanes. The flight service planner needs a convenient method for keeping track of all possible trips connecting the three cities. She is concerned with direct, one stop over and two stop over trips. A one stop over trip means that you start at one city, say Atlanta, and make one stop, say Boston, then continue on to a final destination city, either Atlanta or Charlotte.

Network Diagram The following diagram illustrates the routes between the three cities. An arrow illustrates a route in that direction.

Network Matrix Complete the matrix We can create a matrix that represents the routes between our three cities. Such a matrix will need three rows and three columns, each row and column represent each of the three cities. For each cell in the matrix, we can place a 1 to indicate that there is one route between the city in the row and column for that cell. For example, there is one route between Atlanta and Boston, so there should be a 1 in the cell on the first row, second column. Complete the matrix

Network Matrix The following is the completed network matrix for the direct routes between Boston, Atlanta and Charlotte.

Network Matrix Calculations The power of mathematics is derived from what information one can gains from its use. To see this power, first produce all the one stop over routes between the three cities. To get you started, is there a one stop over route between Atlanta and Atlanta? Yes, you fly Atlanta to Boston then back to Atlanta. Any others? No. So 1 goes in the first cell. Is there a one stop over route from Atlanta to Boston? No, you can fly from Atlanta to Boston, but your next hop will take you away from Boston, so 0 will go in the next cell. Is there a one stop over route from Atlanta to Charlotte? Yes, you fly Atlanta to Boston then Boston to Charlotte. So 1 goes in the third cell. Complete the table

Network Matrix Calculations Here is the completed table

Network Matrix Calculations Take the original network matrix and enter it into [A] in your calculator. Then calculate [A]2.

Network Matrix Calculations Compare [A]2 to the table you created for one stop over. What do you notice???

Network Matrix Calculations So, if you want to write the matrix that represents how many routes there are with one stop over you calculate [A]2. What would you do to write the matrix that represents the number of routes with 2 stop overs? How would you calculate the matrix that represents at most 2 stop overs?

Network Matrix Calculations [A]2 = 1 stop over [A]3 = 2 stopovers [A] + [A]2 + [A]3 = at most 2 stopovers

Example 2: Six cities Consider six cities: Los Angeles (LAX), Atlanta (ATL), Pittsburgh (PIT), Miami (MIA), Charlotte (CLT), and Boston (BOS). Suppose the following network diagram represents train routes between the different cities.

Example 2: Six cities Complete the following table that represents the direct routes between cities.

Example 2: Six cities Here is the table representing direct routes between different cities

Example 2: Six cities Determine the matrix that represents all of the routes with one stop over. 2. Determine the matrix that represents at most one stop over.

Example 2: Six cities Question 1 Question 2

Example 3: Spy Network A network of spies has been created according to these specifications - Alison is able to talk to Greg and Kari directly Greg is able to contact Steve and Kari directly Kari can contact Alison, Greg and Toni directly Steve can contact Greg directly Toni can contact everyone directly - Each spy can contact him or herself

Example 3: Spy Network Draw a network diagram based on the description and using the following layout

Example 3: Spy Network