Computational Methods for Management and Economics Carla Gomes

Slides:



Advertisements
Similar presentations
Chapter Matrices Matrix Arithmetic
Advertisements

MF-852 Financial Econometrics
Maths for Computer Graphics
Economics 2301 Lecture 11 Matrix Algebra. Acknowledgement Much of the material on these slides was taken from Krishnan Namboodiri's book, MATRIX ALGEBRA:
Chapter 2 Basic Linear Algebra
CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama.
Matrices MSU CSE 260.
INDR 262 INTRODUCTION TO OPTIMIZATION METHODS LINEAR ALGEBRA INDR 262 Metin Türkay 1.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
3.8 Matrices.
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Matrices Write and Augmented Matrix of a system of Linear Equations Write the system from the augmented matrix Solve Systems of Linear Equations using.
Chapter 2 Systems of Linear Equations and Matrices Section 2.4 Multiplication of Matrices.
Compiled By Raj G. Tiwari
ECON 1150 Matrix Operations Special Matrices
Copyright © Cengage Learning. All rights reserved. 7.4 Matrices and Systems of Equations.
Matrix Algebra. Quick Review Quick Review Solutions.
Presentation by: H. Sarper
Chapter 2 Basic Linear Algebra ( 基本線性代數 ) to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c)
1.3 Matrices and Matrix Operations. Definition A matrix is a rectangular array of numbers. The numbers in the array are called the entries in the matrix.
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 4, 2011.
Company LOGO Chapter 1: Matrix, Determinant, System of linear equations Module 1: Matrix Natural Science Department Example 1: The following rectangular.
Linear Algebra 1.Basic concepts 2.Matrix operations.
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Copyright © Cengage Learning. All rights reserved. 7 Linear Systems and Matrices.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
Chapter 6 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Matrix Operations and Their Applications.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
Matrices Section 2.6. Section Summary Definition of a Matrix Matrix Arithmetic Transposes and Powers of Arithmetic Zero-One matrices.
4.1 Using Matrices Warm-up (IN) Learning Objective: to represent mathematical and real-world data in a matrix and to find sums, differences and scalar.
CALCULUS – III Matrix Operation by Dr. Eman Saad & Dr. Shorouk Ossama.
Chapter 2 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
1.3 Matrices and Matrix Operations. A matrix is a rectangular array of numbers. The numbers in the arry are called the Entries in the matrix. The size.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Table of Contents Matrices - Definition and Notation A matrix is a rectangular array of numbers. Consider the following matrix: Matrix B has 3 rows and.
CS480 Cryptography and Information Security Huiping Guo Department of Computer Science California State University, Los Angeles 3. Mathematics of Cryptography.
Section 2.4. Section Summary  Sequences. o Examples: Geometric Progression, Arithmetic Progression  Recurrence Relations o Example: Fibonacci Sequence.
1 Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors. Review Matrices.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
CS 285- Discrete Mathematics Lecture 11. Section 3.8 Matrices Introduction Matrix Arithmetic Transposes and Power of Matrices Zero – One Matrices Boolean.
A rectangular array of numeric or algebraic quantities subject to mathematical operations. The regular formation of elements into columns and rows.
Vectors, Matrices and their Products Hung-yi Lee.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
An Introduction to Matrix Algebra Math 2240 Appalachian State University Dr. Ginn.
Linear Algebra by Dr. Shorouk Ossama.
REVIEW Linear Combinations Given vectors and given scalars
MTH108 Business Math I Lecture 20.
Matrices and Matrix Operations
Properties and Applications of Matrices
MATRICES.
Linear Algebra review (optional)
MATHEMATICS Matrix Algebra
MATHEMATICS Matrix Multiplication
2. Matrix Algebra 2.1 Matrix Operations.
Matrices and Matrix Operations
3.5 Perform Basic Matrix Operations
Matrix Operations Ms. Olifer.
Presentation transcript:

Computational Methods for Management and Economics Carla Gomes Module 6d Matrix notation for LP problems and revised simplex method

How do we describe an LP problem in matrix notation? Note on revised Simplex Method

How do we describe an LP problem in matrix notation?

Brief overview of matrices

Matrices and Vectors Matrix – an rectangular array of numbers m x n matrix m rows n columns. m x n is the order of the matrix. The number in the ith row and jth column of A is called the ijth element of A and is written aij.

Two matrices A = [aij] and B = [bij] are equal if and only if A and B are the same order and for all i and j, aij = bij. A = B if and only if x = 1, y = 2, w = 3, and z = 4

Vectors – any matrix with only one column is a column vector Vectors – any matrix with only one column is a column vector. The number of rows in a column vector is the dimension of the column vector. An example of a 2 X 1 matrix or a two-dimensional column vector is shown to the right. Rm will denote the set all m-dimensional column vectors Any matrix with only one row (a 1 X n matrix) is a row vector. The dimension of a row vector is the number of columns.

Vectors appear in boldface type: for instance vector v. Any m-dimensional vector (either row or column) in which all the elements equal zero is called a zero vector (written 0). Examples are shown to the right.

Any m-dimensional vector corresponds to a directed line segment in the m-dimensional plane. For example, the two-dimensional vector u corresponds to the line segment joining the point (0,0) to the point (1,2) The directed line segments (vectors u, v, w) are shown on the figure to the right.

Scalar multiple of a matrix: Example addition of two matrices (of same order):

Transpose of a matrix Given any m x n matrix Example Observe:

Matrix multiplication Example Matrix multiplication Given to matrices A and B, the matrix product of A and B (written AB) is defined if and only if the number of columns in A = the number of rows in B. The matrix product C = AB of A and B is the m x n matrix C whose ijth element is determined as follows: Cij = scalar product of row i of A x column j of B C = c11 c12 c21 c22 AB=C Note: Matrix C will have the same number of rows as A and the same number of columns as B.

Matrices can simplify and compactly represent a system of linear equations. A system of linear equations may be written Ax = b and is called it’s matrix representation. The matrix multiplication (using only row 1 of the A matrix for example) confirms this representation thus:

LP problem in matrix notation Max (or Min) Z = c1 x1 + c2x2 + …. + cnxn Max (or Min) Z = c x Subject to: Subject to: a11 x1 + a12 x2 + … + a1n xn ≤ b1 a21 x1 + a22 x2 + … + a2n xn ≤ b2  Ax ≤ b … x ≥ 0 Where: am1 x1 + am2 x2 + … + amn xn ≤ bm c = [c1 c2 … cn ] x = x1 x2 … xn x1, x2, …, xn ≥ 0

LP problem in matrix notation Max Z = 3 x1 + 5x2 Max Z = c x Subject to: Subject to: x1 + ≤ 4 2 x2 ≤ 12  Ax ≤ b 3 x1 + 2 x2 ≤ 18 x ≥ 0 Where: x1, x2≥ 0 c = [3 5] x = x1 x2 1 0 0 1 3 2 A = 4 12 18 b =

Wyndor Glass LP formulation in matrix notation 1 0 0 1 3 2 4 12 18 x1 x2 ≤ x ≥ 0 Max Z = [3 5 ] x1 x2 Subject to:

Ax = b can sometimes be abbreviated A|b. For example, given: A|b is written:

Revised Simplex Method Streamlined versions of the simplex method for computer implementations do not follow the original simplex algorithm (algebraic or tabular form)  The Revised Simplex Algorithm explicitly uses matrix manipulations it computes and stores only the information required for each iteration, namely the coefficients of the non-basic variables in Equation 0, the coefficients of the basic entering variable in the other equations, and the RHS’s of the equations.

Revised Simplex Method – Wyndor Glass