CS 290H Lecture 17 Dulmage-Mendelsohn Theory

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

CSE 211 Discrete Mathematics
Connectivity - Menger’s Theorem Graphs & Algorithms Lecture 3.
CS 473Lecture 131 CS473-Algorithms I Lecture 13-A Graphs.
Analysis of Algorithms CS 477/677
Chapter 8 Topics in Graph Theory
Chapter 9 Graphs.
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Edge-connectivity and super edge-connectivity of P 2 -path graphs Camino Balbuena, Daniela Ferrero Discrete Mathematics 269 (2003) 13 – 20.
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Bipartite Matching, Extremal Problems, Matrix Tree Theorem.
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
13 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
MCA 520: Graph Theory Instructor Neelima Gupta
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
Sparse Matrices in Matlab John R. Gilbert Xerox Palo Alto Research Center with Cleve Moler (MathWorks) and Rob Schreiber (HP Labs)
Discrete Structures Chapter 7B Graphs Nurul Amelina Nasharuddin Multimedia Department.
Matchings Matching: A matching in a graph G is a set of non-loop edges with no shared endpoints.
CS 290H: Sparse Matrix Algorithms
Introduction to Graphs
FSM Decomposition using Partitions on States 290N: The Unknown Component Problem Lecture 24.
Matchings Matching: A matching in a graph G is a set of non-loop edges with no shared endpoints Maximal Matching: A maximal matching in a graph is a matching.
Representing Graphs Wade Trappe. Lecture Overview Introduction Some Terminology –Paths Adjacency Matrix.
1 Bipartite Matching Lecture 3: Jan Bipartite Matching A graph is bipartite if its vertex set can be partitioned into two subsets A and B so that.
CSE 321 Discrete Structures Winter 2008 Lecture 25 Graph Theory.
Sparse Matrix Methods Day 1: Overview Matlab and examples Data structures Ax=b Sparse matrices and graphs Fill-reducing matrix permutations Matching and.
3/24/03Tucker, Section 4.31 Tucker, Applied Combinatorics, Sec. 4.3, prepared by Jo E-M Bipartite GraphMatching Some Definitions X-Matching Maximal Matching.
MCA 520: Graph Theory Instructor Neelima Gupta
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
GRAPH Learning Outcomes Students should be able to:
CSE, IIT KGP Matchings and Factors. CSE, IIT KGP Matchings A matching of size k in a graph G is a set of k pairwise disjoint edges.A matching of size.
Symbolic sparse Gaussian elimination: A = LU
Graph Theoretic Concepts. What is a graph? A set of vertices (or nodes) linked by edges Mathematically, we often write G = (V,E)  V: set of vertices,
Perfect Gaussian Elimination and Chordality By Shashank Rao.
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
2.4 Irreducible Matrices. Reducible is reducible if there is a permutation P such that where A 11 and A 22 are square matrices each of size at least one;
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
September1999 CMSC 203 / 0201 Fall 2002 Week #13 – 18/20/22 November 2002 Prof. Marie desJardins.
Connectivity and Paths 報告人:林清池. Connectivity A separating set of a graph G is a set such that G-S has more than one component. The connectivity of G,
An Introduction to Graph Theory
CSCI 115 Chapter 8 Topics in Graph Theory. CSCI 115 §8.1 Graphs.
Decomposition Theory in Matching Covered Graphs Qinglin Yu Nankai U., China & U. C. Cariboo, Canada.
Graphs A graphs is an abstract representation of a set of objects, called vertices or nodes, where some pairs of the objects are connected by links, called.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
Graphs Lecture 2. Graphs (1) An undirected graph is a triple (V, E, Y), where V and E are finite sets and Y:E g{X V :| X |=2}. A directed graph or digraph.
Introduction to Graph Theory
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
Introduction to Graph Theory By: Arun Kumar (Asst. Professor) (Asst. Professor)
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
Iterative Improvement for Domain-Specific Problems Lecturer: Jing Liu Homepage:
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Matchings and Factors Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Paths and circuits.
(CSC 102) Lecture 30 Discrete Structures. Graphs.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
Relations and Graphs Relations and Graphs Sanjay Jain, Lecturer, School of Computing.
School of Computing Clemson University Fall, 2012
Matrix Representation of Graphs
Special Graphs By: Sandeep Tuli Astt. Prof. CSE.
Chapter 5 Fundamental Concept
Graph Theory and Algorithm 01
Graph Algorithms Using Depth First Search
CS 290H Lecture 3 Fill: bounds and heuristics
Graphs G = (V, E) V are the vertices; E are the edges.
Richard Anderson Lecture 5 Graph Theory
Nonsymmetric Gaussian elimination
Presentation transcript:

CS 290H Lecture 17 Dulmage-Mendelsohn Theory A. L. Dulmage & N. S. Mendelsohn. “Coverings of bipartite graphs.” Can. J. Math. 10: 517-534, 1958. A. L. Dulmage & N. S. Mendelsohn. “The term and stochastic ranks of a matrix.” Can. J. Math. 11: 269-279, 1959. A. L. Dulmage & N. S. Mendelsohn. “A structure theory of bipartite graphs of finite exterior dimension.” Trans. Royal Soc. Can., ser. 3, 53: 1-13, 1959. D. M. Johnson, A. L. Dulmage, & N. S. Mendelsohn. “Connectivity and reducibility of graphs.” Can. J. Math. 14: 529-539, 1962. A. L. Dulmage & N. S. Mendelsohn. “Two algorithms for bipartite graphs.” SIAM J. 11: 183-194, 1963. A. Pothen & C.-J. Fan. “Computing the block triangular form of a sparse matrix.” ACM Trans. Math. Software 16: 303-324, 1990.

dmperm: Matching and block triangular form Dulmage-Mendelsohn decomposition: Bipartite matching followed by strongly connected components Square A with nonzero diagonal: [p, p, r] = dmperm(A); connected components of an undirected graph strongly connected components of a directed graph Square, full rank A: [p, q, r] = dmperm(A); A(p,q) has nonzero diagonal and is in block upper triangular form Arbitrary A: [p, q, r, s] = dmperm(A); maximum-size matching in a bipartite graph minimum-size vertex cover in a bipartite graph decomposition into strong Hall blocks

Hall and strong Hall properties Let G be a bipartite graph with m “row” vertices and n “column” vertices. A matching is a set of edges of G with no common endpoints. G has the Hall property if for all k >= 0, every set of k columns is adjacent to at least k rows. Hall’s theorem: G has a matching of size n iff G has the Hall property. G has the strong Hall property if for all k with 0 < k < n, every set of k columns is adjacent to at least k+1 rows.

Alternating paths Let M be a matching. An alternating walk is a sequence of edges with every second edge in M. (Vertices or edges may appear more than once in the walk.) An alternating tour is an alternating walk whose endpoints are the same. An alternating path is an alternating walk with no repeated vertices. An alternating cycle is an alternating tour with no repeated vertices except its endpoint. Lemma. Let M and N be two maximum matchings. Their symmetric difference (MN) – (MN) consists of vertex-disjoint components, each of which is either an alternating cycle in both M and N, or an alternating path in both M and N from an M-unmatched column to an N-unmatched column, or same as 2 but for rows.

Dulmage-Mendelsohn decomposition (coarse) Let M be a maximum-size matching. Define: VR = { rows reachable via alt. path from some unmatched row } VC = { cols reachable via alt. path from some unmatched row } HR = { rows reachable via alt. path from some unmatched col } HC = { cols reachable via alt. path from some unmatched col } SR = R – VR – HR SC = C – VC – HC

Dulmage-Mendelsohn decomposition 1 2 5 3 4 7 6 10 8 9 12 11 HR SR VR HC SC VC 1 5 2 3 4 6 7 8 12 9 10 11

Dulmage-Mendelsohn theory Theorem 1. VR, HR, and SR are pairwise disjoint. VC, HC, and SC are pairwise disjoint. Theorem 2. No matching edge joins xR and yC if x and y are different. Theorem 3. No edge joins VR and SC, or VR and HC, or SR and HC. Theorem 4. SR and SC are perfectly matched to each other. Theorem 5. The subgraph induced by VR and VC has the strong Hall property. The transpose of the subgraph induced by HR and HC has the strong Hall property. Theorem 6. The vertex sets VR, HR, SR, VC, HC, SC are independent of the choice of maximum matching M.

Dulmage-Mendelsohn decomposition (fine) Consider the perfectly matched square block induced by SR and SC. In the sequel we shall ignore VR, VC, HR, and HC. Thus, G is a bipartite graph with n row vertices and n column vertices, and G has a perfect matching M. Call two columns equivalent if they lie on an alternating tour. This is an equivalence relation; let the equivalence classes be C1, C2, . . ., Cp. Let Ri be the set of rows matched to Ci.

The fine Dulmage-Mendelsohn decomposition 1 5 2 3 4 6 7 Matrix A 1 5 2 3 4 7 6 C1 R1 R2 R3 C2 C3 Directed graph G(A) 1 2 6 3 4 5 Bipartite graph H(A)

Dulmage-Mendelsohn theory Theorem 7. The Ri’s and the Cj’s can be renumbered so no edge joins Ri and Cj if i > j. Theorem 8. The subgraph induced by Ri and Ci has the strong Hall property. Theorem 9. The partition R1C1 , R2C2 , . . ., RpCp is independent of the choice of maximum matching. Theorem 10. If non-matching edges are directed from rows to columns and matching edges are shrunk into single vertices, the resulting directed graph G(A) has strongly connected components C1 , C2 , . . ., Cp. Theorem 11. A bipartite graph G has the strong Hall property iff every pair of edges of G is on some alternating tour iff G is connected and every edge of G is in some perfect matching. Theorem 12. Given a square matrix A, if we permute rows and columns to get a nonzero diagonal and then do a symmetric permutation to put the strongly connected components into topological order (i.e. in block triangular form), then the grouping of rows and columns into diagonal blocks is independent of the choice of nonzero diagonal.

Strongly connected components are independent of choice of perfect matching 1 5 2 4 7 3 6 1 5 2 3 4 7 6 11 22 33 44 77 66 55 1 5 2 4 7 3 6 1 5 2 3 4 7 6 41 12 63 74 27 36 55

Matrix terminology Square matrix A is irreducible if there does not exist any permutation matrix P such that PAPT has a nontrivial block triangular form [A11 A12 ; 0 A22]. Square matrix A is fully indecomposable if there do not exist any permutation matrices P and Q such that PAQT has a nontrivial block triangular form [A11 A12 ; 0 A22]. Fully indecomposable implies irreducible, not vice versa. Fully indecomposable = square and strong Hall. A square matrix with nonzero diagonal is irreducible iff fully indecomposable iff strong Hall iff strongly connected.

Applications of D-M decomposition Permutation to block triangular form for Ax=b Connected components of undirected graphs Strongly connected components of directed graphs Minimum-size vertex cover for bipartite graphs Extracting vertex separators from edge cuts for arbitrary graphs For strong Hall matrices, several upper bounds in nonzero structure prediction are best possible: Column intersection graph factor is R in QR Column intersection graph factor is tight bound on U in PA=LU Row merge graph is tight bound on Lbar and U in PA=LU