Updated 21 April2008 Linear Programs with Totally Unimodular Matrices.

Slides:



Advertisements
Similar presentations
Elementary Linear Algebra Anton & Rorres, 9th Edition
Advertisements

Totally Unimodular Matrices
Management Science 461 Lecture 6 – Network Flow Problems October 21, 2008.
Trees and BFSs Page 1 The Network Simplex Method Spanning Trees and Basic Feasible Solutions.
12.1 Systems of Linear Equations: Substitution and Elimination.
Totally Unimodular Matrices Lecture 11: Feb 23 Simplex Algorithm Elliposid Algorithm.
4.I. Definition 4.II. Geometry of Determinants 4.III. Other Formulas Topics: Cramer’s Rule Speed of Calculating Determinants Projective Geometry Chapter.
Computer Algorithms Integer Programming ECE 665 Professor Maciej Ciesielski By DFG.
Chapter 2 Matrices Definition of a matrix.
Economics 2301 Matrices Lecture 13.
Linear Programming – Max Flow – Min Cut Orgad Keller.
Matrices and Determinants
Chapter 5 Determinants.
Recall that a square matrix is one in which there are the same amount of rows as columns. A square matrix must exist in order to evaluate a determinant.
§ 3.5 Determinants and Cramer’s Rule.
C&O 355 Mathematical Programming Fall 2010 Lecture 17 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
3.5 Solution by Determinants. The Determinant of a Matrix The determinant of a matrix A is denoted by |A|. Determinants exist only for square matrices.
Cramer's Rule Gabriel Cramer was a Swiss mathematician ( )
Spring 2013 Solving a System of Linear Equations Matrix inverse Simultaneous equations Cramer’s rule Second-order Conditions Lecture 7.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
 Row and Reduced Row Echelon  Elementary Matrices.
Gaussian Elimination, Rank and Cramer
Systems of Linear Equations Let’s say you need to solve the following for x, y, & z: 2x + y – 2z = 10 3x + 2y + 2z = 1 5x + 4y + 3z = 4 Two methods –Gaussian.
Notation OR Backgrounds OR Convex sets Nonconvex set.
Determinants In this chapter we will study “determinants” or, more precisely, “determinant functions.” Unlike real-valued functions, such as f(x)=x 2,
Matrices & Determinants Chapter: 1 Matrices & Determinants.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 9 Matrices and Determinants.
WEEK 8 SYSTEMS OF EQUATIONS DETERMINANTS AND CRAMER’S RULE.
1 Ch. 4 Linear Models & Matrix Algebra Matrix algebra can be used: a. To express the system of equations in a compact manner. b. To find out whether solution.
1 MAC 2103 Module 3 Determinants. 2 Rev.F09 Learning Objectives Upon completing this module, you should be able to: 1. Determine the minor, cofactor,
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
Chapter 9 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Determinants and Cramer’s Rule.
C&O 355 Mathematical Programming Fall 2010 Lecture 18 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A.
Mathematics.
Kramer’s (a.k.a Cramer’s) Rule Component j of x = A -1 b is Form B j by replacing column j of A with b.
Systems of Equations and Inequalities Systems of Linear Equations: Substitution and Elimination Matrices Determinants Systems of Non-linear Equations Systems.
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
4.6: Rank. Definition: Let A be an mxn matrix. Then each row of A has n entries and can therefore be associated with a vector in The set of all linear.
Solve a system of linear equations By reducing a matrix Pamela Leutwyler.
Chapter 2 Determinants. With each square matrix it is possible to associate a real number called the determinant of the matrix. The value of this number.
EMIS 8373: Integer Programming Column Generation updated 12 April 2005.
2.2 The Inverse of a Matrix. Example: REVIEW Invertible (Nonsingular)
Section 1.7 Linear Independence and Nonsingular Matrices
2.5 – Determinants and Multiplicative Inverses of Matrices.
Optimization - Lecture 5, Part 1 M. Pawan Kumar Slides available online
Section 2.1 Determinants by Cofactor Expansion. THE DETERMINANT Recall from algebra, that the function f (x) = x 2 is a function from the real numbers.
Copyright © 1999 by the McGraw-Hill Companies, Inc. Barnett/Ziegler/Byleen College Algebra, 6 th Edition Chapter Seven Matrices & Determinants.
Determinants Every n  n matrix A is associated with a real number called the determinant of A, written  A . The determinant of a 2  2 matrix.
C&O 355 Lecture 19 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
Notes Over 4.3 Evaluate Determinants of 2 x 2 Matrices
Simplex Method Review. Canonical Form A is m x n Theorem 7.5: If an LP has an optimal solution, then at least one such solution exists at a basic feasible.
Notation OR Backgrounds OR Convex sets Nonconvex set.
CHAPTER 7 Determinant s. Outline - Permutation - Definition of the Determinant - Properties of Determinants - Evaluation of Determinants by Elementary.
1.4 The Matrix Equation Ax = b
Lap Chi Lau we will only use slides 4 to 19
Eigenvalues and Eigenvectors
Topics in Algorithms Lap Chi Lau.
Linear Algebra Lecture 19.
The assignment problem
Evaluate Determinants & Apply Cramer’s Rule
4.6: Rank.
Inverse & Identity MATRICES Last Updated: October 12, 2005.
Kramer’s (a.k.a Cramer’s) Rule
4.4 Objectives Day 1: Find the determinants of 2  2 and 3  3 matrices. Day 2: Use Cramer’s rule to solve systems of linear equations. Vocabulary Determinant:
4.3 Determinants and Cramer’s Rule
Flow Feasibility Problems
College Algebra Chapter 6 Matrices and Determinants and Applications
Kramer’s (a.k.a Cramer’s) Rule
Chapter 2. Simplex method
“Easy” Integer Programming Problems: Network Flow Problems
Presentation transcript:

updated 21 April2008 Linear Programs with Totally Unimodular Matrices

Basic Feasible Solutions Standard Form slide 1

Basic Feasible Solutions SolutionBasic VariablesNon-Basic VariablesIntersection BFS 1x = 2.25 & y = 3.75s 1 = s 2 = 0(1) and (2) BFS 2x = 6 & s 2 = 15y = s 1 = 0(1) and x-axis BFS 3y = 5 & s 1 = 1x = s 1 = 0(2) and y-axis BFS 4s 1 = 6 & s 2 = 45x = y = 0x-axis and y-axis slide 2

Vector-Matrix Representation slide 3

Example MCNFP 5 14 (1, 0,2) (2, 0,2) (4, 1,3) (4, 0,3) (3, 2,5) slide 4

LP for Example MCNFP Min 3x x 13 + x x x 34 s.t. x 12 + x 13 = 5{Node 1} x 23 + x 24 – x 12 = -2{Node 2} x 34 – x 13 - x 23 = 0 {Node 3} – x 24 - x 34 = -3 {Node 4} 2  x 12  5, 0  x 13  2, 0  x 23  2,1  x 24  3, 0  x 34  3, slide 5

Matrix Representation of Flow Balance Constraints slide 6

Solving for a Basic Feasible Solution slide 7

Cramer’s Rule Use determinants to solve x=A -1 b. Take the matrix A and replace column j with the vector b to form matrix B j. slide 8

Using Cramer’s Rule to Solve for x 12 slide 9

Total Unimodularity A square, integer matrix is unimodular if its determinant is 1 or -1. An integer matrix A is called totally unimodular (TU) if every square, nonsingular submatrix of A is unimodular. slide 10

Total Unimodularity A square, integer matrix is unimodular if its determinant is 1 or -1. An integer matrix A is called totally unimodular (TU) if every square, nonsingular submatrix of A is unimodular. slide 11

Sufficient Conditions for TU An integer matrix A is TU if 1.All entries are -1, 0 or 1 2.At most two non-zero entries appear in any column 3.The rows of A can be partitioned into two disjoint sets M 1 and M 2 such that If a column has two entries of the same sign, their rows are in different sets. If a column has two entries of different signs, their rows are in the same set. slide 12

The Matrix of Flow Balance Constraints Every column has exactly one +1 and exactly one -1. This satisfies conditions 1 and 2. Let the row partition be M 1 = {all rows} and M 2 = {}. This satisfies condition 3. Thus the flow balance constraint matrix is TU. slide 13

Using Cramer’s Rule to Solve for x 12 slide 14

Expansion by Minors: 4-by-4 Matrix slide 15

Expansion by Minors: 3-by-3 Matrix slide 16

Using Cramer’s Rule to Solve for x 12 slide 17

Using Cramer’s Rule to Solve for x 12 When we expand along minors, the determinants of the submatrices will be +1, -1, or 0. Therefore, the determinant will be an integer: (5)(+1, -1, or 0) + (-2) (+1, -1, or 0) (-3) (+1, -1, or 0). slide 18

Using Cramer’s Rule to Solve for x 12 slide 19

TU Theorems Matrix A is TU if and only if A T is TU. Matrix A is TU if and only if [A, I] is TU. – I is the identity matrix. If the constraint matrix for an IP is TU, then its LP relaxation has an integral optimal solution. The BFSs of an MCNF LP are integer valued. slide 20