Balancing a trip matrix. sumAiOi 21361,83333311 32161,59 23271,57142911 766 1399.

Slides:



Advertisements
Similar presentations
2.3 Modeling Real World Data with Matrices
Advertisements

Section 13-4: Matrix Multiplication
Chapter 2 Section 2. Lemma Let i=1 and j=2, then.
Matrix Multiplication To Multiply matrix A by matrix B: Multiply corresponding entries and then add the resulting products (1)(-1)+ (2)(3) Multiply each.
Determinants King Saud University. The inverse of a 2 x 2 matrix Recall that earlier we noticed that for a 2x2 matrix,
Table of Contents Matrices - Multiplication Assume that matrix A is of order m  n and matrix B is of order p  q. To determine whether or not A can be.
Determinants 2 x 2 and 3 x 3 Matrices. Matrices A matrix is an array of numbers that are arranged in rows and columns. A matrix is “square” if it has.
Section 4.3 – A Review of Determinants Section 4.4 – The Cross Product.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
Matrices NamingCalculatorApplication. Making & Naming a Matrix Matrix A.
Matrix Arithmetic. A matrix M is an array of cell entries (m row,column ) and it must have rectangular dimensions (Rows x Columns). Example: 3x x.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
When data from a table (or tables) needs to be manipulated, easier to deal with info in form of a matrix. Matrices FreshSophJunSen A0342 B0447 C2106 D1322.
12 th TRB Conference on Transportation Planning Applications May 17-21, 2009 Presenters: Jin Ren and Aziz Rahman Automatically Balancing Intersection Volumes.
Chapter 1: Systems of Linear Equations and Matrices
How to Multiply Two Matrices. Steps for Matrix Multiplication 1.Determine whether the matrices are compatible. 2.Determine the dimensions of the product.
8.2 Operations With Matrices
Warm Up Perform the indicated operations. If the matrix does not exist, write impossible
$100 $200 $300 $400 $100 $200 $300 $400 $300 $200 $100 Balance equations Addition / subtraction of 3 digit numbers Guess the number after subtraction.
What is Matrix Multiplication? Matrix multiplication is the process of multiplying two matrices together to get another matrix. It differs from scalar.
Matrix Multiplication The Introduction. Look at the matrix sizes.
Matrix Multiplication. Row 1 x Column X 25 = Jeff Bivin -- LZHS.
3.6 Multiplying Matrices Homework 3-17odd and odd.
Chapter 1 Section 1.6 Algebraic Properties of Matrix Operations.
= the matrix for T relative to the standard basis is a basis for R 2. B is the matrix for T relative to To find B, complete:
Notes Over 4.2 Finding the Product of Two Matrices Find the product. If it is not defined, state the reason. To multiply matrices, the number of columns.
Do Now: Perform the indicated operation. 1.). Algebra II Elements 11.1: Matrix Operations HW: HW: p.590 (16-36 even, 37, 44, 46)
4-3 Matrix Multiplication Objective: To multiply a matrix by a scalar multiple.
4.1 Exploring Data: Matrix Operations ©2001 by R. Villar All Rights Reserved.
Matrix Multiplication Example 1 Original author: Jeffrey Bivin, Lake Zurich High School.
$200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200.
Matrices. Matrix A matrix is an ordered rectangular array of numbers. The entry in the i th row and j th column is denoted by a ij. Ex. 4 Columns 3 Rows.
13.4 Product of Two Matrices
12-1 Organizing Data Using Matrices
Matrix Operations Free powerpoints at
Matrix Operations.
Box Method for Factoring
Box Method for Factoring
Warm-Up 3) 1) 4) Name the dimensions 2).
Matrix Operations.
Gauss-Siedel Method.
Matrix Operations Free powerpoints at
Matrix Multiplication
Matrix Operations.
Section 3.3 – The Cross Product
Knowing your math operation terms
Matrix Operations SpringSemester 2017.
Matrix Operations Free powerpoints at
Multiplying Matrices.
Evaluate Determinants and Apply Cramer’s Rule
Warm-up 3.).
Matrix Multiplication
Section 2.4 Matrices.
Objectives Multiply two matrices.
Multiplying Matrices.
Matrix Addition
4.2 Relations and Digraphs
3 X 3 DETERMINANTS DIAGONALS METHOD
Warm-Up 3) 1) 4) Name the dimensions 2).
3.6 Multiply Matrices.
Matrix Operations SpringSemester 2017.
Matrix A matrix is a rectangular arrangement of numbers in rows and columns Each number in a matrix is called an Element. The dimensions of a matrix are.
Multiplying Matrices.
Multiplying Matrices.
Matrix Multiplication Sec. 4.2
Introduction to Matrices
Matrices - Operations MULTIPLICATION OF MATRICES
Multiplying Matrices.
Presentation transcript:

Balancing a trip matrix

sumAiOi 21361, , ,

sumAiOi 21361, , , Initial guess

sumAiOi 21361, , , Column sum Row sum

sumAiOi 21361, , , Desired Column sum Dj Desired Row sum Oi Doubly constrained model

sumAiOi 21361, , , Balancing factor

sumAiOi 21361, , , Balancing factor 11/6=1.8333

sumAiOi 21361, , , Balancing factor 11/6= We need to multiply first row with

iteration 1Oi 3, , ,511 4,531,599 3, , , ,309529, , , , , Applying balancing factor Ai on initial guess, we get a new trip matrix in the first iteration Exactly balanced Row sum

iteration 1Oi 3, , ,511 4,531,599 3, , , ,309529, , , , , Applying balancing factor Ai on initial guess, we get a new trip matrix in the first iteration Exactly balanced Row sum Column sum still off

iteration 1Oi 3, , ,511 4,531,599 3, , , ,309529, , , , , Applying balancing factor Ai on initial guess, we get a new trip matrix in the first iteration Exactly balanced Row sum Balancing factor Bj

iteration 1Oi 3, , ,511 4,531,599 3, , , ,309529, , , , , Applying balancing factor Ai on initial guess, we get a new trip matrix in the first iteration Exactly balanced Row sum Balancing factor Bj 13/11.309=1.149

iteration 2 sumAiOi 4, ,728184, ,82321, , ,827931, , , , ,443892, ,845251, Column sum exactly balanced

iteration 2 sumAiOi 4, ,728184, ,82321, , ,827931, , , , ,443892, ,845251, Column sum exactly balanced But now Row sum off!

iteration 2 sumAiOi 4, ,728184, ,82321, , ,827931, , , , ,443892, ,845251, But now Row sum off! New balancing factors for the rows