“Easy” Integer Programming Problems: Network Flow Problems

Slides:



Advertisements
Similar presentations
Outline LP formulation of minimal cost flow problem
Advertisements

Totally Unimodular Matrices
MATHEMATICS 3 Operational Analysis Štefan Berežný Applied informatics Košice
Management Science 461 Lecture 6 – Network Flow Problems October 21, 2008.
Part 3 Linear Programming 3.4 Transportation Problem.
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.
Computer Algorithms Integer Programming ECE 665 Professor Maciej Ciesielski By DFG.
Chapter 2 Matrices Definition of a matrix.
Linear Programming – Max Flow – Min Cut Orgad Keller.
Chapter 5 Determinants.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
Linear Algebra With Applications by Otto Bretscher. Page The Determinant of any diagonal nxn matrix is the product of its diagonal entries. True.
1 Lecture 4 Maximal Flow Problems Set Covering Problems.
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.
System of Linear Equations Nattee Niparnan. LINEAR EQUATIONS.
 Row and Reduced Row Echelon  Elementary Matrices.
CSE 421 Algorithms Richard Anderson Lecture 24 Network Flow Applications.
8.1 Matrices & Systems of Equations
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.
13.1 Matrices and Their Sums
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.
CHAPTER 2 MATRICES 2.1 Operations with Matrices Matrix
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.
Lecture 5 – Integration of Network Flow Programming Models Topics Min-cost flow problem (general model) Mathematical formulation and problem characteristics.
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.
Updated 21 April2008 Linear Programs with Totally Unimodular Matrices.
Systems of Equations and Inequalities Ryan Morris Josh Broughton.
OR Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we.
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.5 – Determinants and Multiplicative Inverses of Matrices.
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.
Linear Programming Chapter 1 Introduction.
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.
2 - 1 Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
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.
CHAPTER 7 Determinant s. Outline - Permutation - Definition of the Determinant - Properties of Determinants - Evaluation of Determinants by Elementary.
REVIEW Linear Combinations Given vectors and given scalars
College Algebra Chapter 6 Matrices and Determinants and Applications
MTH108 Business Math I Lecture 20.
Part 3 Linear Programming
Lap Chi Lau we will only use slides 4 to 19
The Inverse of a Square Matrix
Inverse of a Square Matrix
Topics in Algorithms Lap Chi Lau.
Algebra 2 Chapter 3 Section 3 Cramer’s Rule
Linear Algebra Lecture 19.
The minimum cost flow problem
The assignment problem
EMIS 8373: Integer Programming
The Network Simplex Method
Part 3 Linear Programming
2. Matrix Algebra 2.1 Matrix Operations.
Evaluate Determinants & Apply Cramer’s Rule
EMIS 8374 Arc-Path Formulation Updated 2 April 2008
Kramer’s (a.k.a Cramer’s) Rule
TRLabs & University of Alberta © Wayne D. Grover 2002, 2003, 2004
7.5 Solutions of Linear Systems:
Multiplication of Matrices
Sec 3.5 Inverses of Matrices
Part 3 Linear Programming
Kramer’s (a.k.a Cramer’s) Rule
A feasible solution for problem 2.
EMIS The Maximum Flow Problem: Flows and Cuts Updated 6 March 2008
Lecture 12 Network Models.
Presentation transcript:

“Easy” Integer Programming Problems: Network Flow Problems EMIS 8374: Network Flows “Easy” Integer Programming Problems: Network Flow Problems updated 4 April 2004

Basic Feasible Solutions Standard Form

Basic Feasible Solutions

Vector-Matrix Representation

LP Formulation of Shortest Path Example

Matrix Representation Observation: The last row of the matrix is equal to –1 times the sum of the other rows. MCNF LPs always have one redundant row.

Matrix Representation without the constraint for node 6 A BFS: B = {x12, x13, x24, x35, x56}

Solving for the BFS Constraints after non-basic variables are removed: Solution: x24 = 0, x12 = 0, x13 = 1, x35 = 1, x56 = 1

Solving for the BFS with Matrix Algebra

Kramer’s (a.k.a Cramer’s) Rule Component j of x = A-1b is Take the matrix A and replace column j with the vector b.

Total Unimodularity Examples: 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. From Cramer’s rule, it follows that if A is TU and b is an integer vector, then every BFS of the constraint system Ax = b is integer. Examples: The matrix AB from the shortest path example is TU. The matrix A from the shortest path example is TU. The constraint matrix for any MCNF LP is TU.

TU Theorem An integer matrix A is TU if All entries are -1, 0 or 1 At most two non-zero entries appear in any column The rows of A can be partitioned into two disjoint sets 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. The matrix A is TU if and only if is AT TU. The matrix A is TU if and only if [A, I] is TU. Where I is the identity matrix.

MCNF LPs are TU Flow Balance: A is TU, so AT is TU. Capacity