(0,1)-Matrices If the row-sums of a matrix A are r 1, …,r k, then we shall call the vector r:=(r 1,r 2, …,r k ) the row-sum of A, and similarly for the.

Slides:



Advertisements
Similar presentations
 Theorem 5.9: Let G be a simple graph with n vertices, where n>2. G has a Hamilton circuit if for any two vertices u and v of G that are not adjacent,
Advertisements

. Markov Chains. 2 Dependencies along the genome In previous classes we assumed every letter in a sequence is sampled randomly from some distribution.
Chapter Matrices Matrix Arithmetic
De Bruijn sequences Rotating drum problem:
9.7 Planar Graphs. Intro problem- 3 houses and 3 utilities K 3,3 problem: Can 3 houses be connected to 3 utilities so that no 2 lines cross? Similarly,
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
Lecture 23. Subset Sum is NPC
3/17/2003Tucker, Applied Combinatorics Section 4.2a 1 Network Flows Michael Duquette & Whitney Sherman Tucker, Applied Combinatorics, Section 4.2a, Group.
R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001 Chapter 8 Network models.
8.4 Closures of Relations. Intro Consider the following example (telephone line, bus route,…) abc d Is R, defined above on the set A={a, b, c, d}, transitive?
Applied Discrete Mathematics Week 12: Trees
Chapter 5 Orthogonality
Matchings Matching: A matching in a graph G is a set of non-loop edges with no shared endpoints.
Yangjun Chen 1 Network Flow What is a network? Flow network and flows Ford-Fulkerson method - Residual networks - Augmenting paths - Cuts of flow networks.
Gomory-Hu Tree for representation of minimum cuts Elad Avni.
Variable-Length Codes: Huffman Codes
CSE 421 Algorithms Richard Anderson Lecture 22 Network Flow.
MATRICES. Matrices A matrix is a rectangular array of objects (usually numbers) arranged in m horizontal rows and n vertical columns. A matrix with m.
Turan’s theorem and extremal graphs Question: How many edges a simple graph must have to guarantee that the graph contains a triangle? Since K m,m and.
Chapter 5 Orthogonality.
10/11/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova, K. Wayne Adam Smith Algorithm Design and Analysis L ECTURE 22 Network.
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.
Yangjun Chen 1 Network Flow What is a network? Flow network and flows Ford-Fulkerson method - Residual networks - Augmenting paths - Cuts of flow networks.
1 CS104 : Discrete Structures Chapter V Graph Theory.
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.
 Rooted tree and binary tree  Theorem 5.19: A full binary tree with t leaves contains i=t-1 internal vertices.
Chapter 2 Nonnegative Matrices. 2-1 Introduction.
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;
5.2 Trees  A tree is a connected graph without any cycles.
5.5.3 Rooted tree and binary tree  Definition 25: A directed graph is a directed tree if the graph is a tree in the underlying undirected graph.  Definition.
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 02 Chapter 2: Determinants.
Addressing and hashing Question: For a network of computers it is desirable to be able to send a message from A to B without B knowing that a message is.
3.2 Matchings and Factors: Algorithms and Applications This copyrighted material is taken from Introduction to Graph Theory, 2 nd Ed., by Doug West; and.
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
Maximum Flow. p2. Maximum Flow A flow network G=(V, E) is a DIRECTED graph where each has a nonnegative capacity u.
Maximum Flow Problem (Thanks to Jim Orlin & MIT OCW)
CS 473Lecture ?1 CS473-Algorithms I Lecture ? Network Flows Flow Networks & Flows.
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.
Graph Theory and Applications
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
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.
Latin squares Def: A Latin square of order n is a quadruple (R, C, S; L) where R, C and S are sets of cardinality n and L is a mapping L: R × C → S such.
Chapter 8 Maximum Flows: Additional Topics All-Pairs Minimum Value Cut Problem  Given an undirected network G, find minimum value cut for all.
Flow in Network. Graph, oriented graph, network A graph G =(V, E) is specified by a non empty set of nodes V and a set of edges E such that each edge.
Model 5 Long Distance Phone Calls By Benjamin Cutting
1 a1a1 A1A1 a2a2 a3a3 A2A Mixed Strategies When there is no saddle point: We’ll think of playing the game repeatedly. We continue to assume that.
Network Flow Problems – The Assignment Problem
Trees Thm 2.1. (Cayley 1889) There are nn-2 different labeled trees
8.4 Closures of Relations Definition: The closure of a relation R with respect to property P is the relation obtained by adding the minimum number of.
Linear Algebra Chapter 2 Matrices.
1 Chapter 2 Pigeonhole Principle. 2 Summary Pigeonhole principle –simple form Pigeonhole principle –strong form Ramsey’s theorem.
Partitions Define pk(n) as the number of solutions of n=x1+…+xk, x1 ≥ x2 ≥ …≥ xk ≥ 1, n is a positive integer. pk(n) = 0,
CSE 421 Algorithms Richard Anderson Lecture 22 Network Flow.
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.
Linear Programming Chap 2. The Geometry of LP  In the text, polyhedron is defined as P = { x  R n : Ax  b }. So some of our earlier results should.
Network Systems Lab. Korea Advanced Institute of Science and Technology No.1 Maximum Norms & Nonnegative Matrices  Weighted maximum norm e.g.) x1x1 x2x2.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
拉丁方陣 交大應數系 蔡奕正. Definition A Latin square of order n with entries from an n-set X is an n * n array L in which every cell contains an element of X such.
5.6 Prefix codes and optimal tree Definition 31: Codes with this property which the bit string for a letter never occurs as the first part of the bit string.
From DeGroot & Schervish. Example Occupied Telephone Lines Suppose that a certain business office has five telephone lines and that any number of these.
Graphs. Representations of graphs : undirected graph An undirected graph G have five vertices and seven edges An adjacency-list representation of G The.
Chapter 5. Optimal Matchings
Instructor: Shengyu Zhang
2. Matrix Algebra 2.1 Matrix Operations.
Introduction to Maximum Flows
3.5 Minimum Cuts in Undirected Graphs
Systems of distinct representations
5.4 T-joins and Postman Problems
Flow Feasibility Problems
Presentation transcript:

(0,1)-Matrices If the row-sums of a matrix A are r 1, …,r k, then we shall call the vector r:=(r 1,r 2, …,r k ) the row-sum of A, and similarly for the column-sums. Problem: study the existence of a (0,1)-matirx with given row-sum r and column-sum s. For convenience, assume that the coordinates of r and s are increasing. Def: Given 2 partitions r=(r 1,r 2, …,r k ) and s=(s 1,s 2, …,s m ) of the same integer N, we say that r majorizes s when r 1 +r 2 + … +r k ≥ s 1 +s 2 +…+s k for all k. Def: The conjugate of a partition r is the partition r* where r i * is the number of j such that r j ≥ i.

Thm 1. Let r 1, …,r n and s 1, …,s m be 2 nonincreasing sequences of nonnegative integers each summing to a common value N. There exists an n  m (0,1)-matrix with row-sum r and column-sum s iff r* majorize s. Pf: “ ⇒ ” Suppose such a matrix exists with row-sum r and column-sum s. Consider the first k columns. The number of 1’s in these columns is Thus, we have r* majorizes s. k

“ ⇐ ” Consider the following transportation network: Claim that a (0,1)-matrix M=(a ij ) with row-sum r and column-sum s exists iff this network admits a flow of strength N. (pf of claim:) Given such a matrix, we get a flow of strength N by saturating the edges incident with S and T and assigning flow a ij form x i to y j. By Thm 7.2, a ij can be 0 or 1. ST x1x1 x2x2 xnxn y1y1 y2y2 ymym r1r1 r2r2 rnrn s1s1 s2s2 smsm ……. 1 1 For i ∈ [n], j ∈ [m] an edge of capacity 1 from x i to y j.

Consider a cut (A, B) The number of edges crossing from A to B includes n-n 0 edges leaving S, m 0 edges into T and n 0 (m-m 0 ) edges from X to Y. The capacity of this cut is at least r n … +r n +s m-m s m-m … +s m +n 0 (m-m 0 ). ……. x1x1 xn0xn0 ym0ym0 y1y1 A B S T ……

The number of cells in the above Ferrers diagram (of r) is N. N ≤ n 0 (m-m 0 ) + (the number of cells in the last n-n 0 row) + (the number of cells in the last m 0 columns). The number of cells in the last m 0 columns is the sum of the last m 0 parts of the conjugate r*. By the assumption that r* majorizes s, r* m-m r* m-m … +r* m ≤ s m-m … +s m. m 0 m n 0 n

Thus, N ≤ n 0 (m-m 0 ) + (r n … +r n ) + (r* m-m … +r* m ) ≤ n 0 (m-m 0 ) + (r n … +r n ) +(s m-m … +s m ) ≤ (the capacity of any cut). Thus, a maximum flow achieves existence of the (0,1)- matrix. ▨

Another construction of (0,1)-matrix with r* majorizes s: Start with the matrix A 0 corresponding to the Ferrers diagram of r, adding columns of 0 ’ s if necessary. The column-sum of A 0 is r*. If r* majorizes s, we can find a sequence of partitions r*=s 0, s 1, …, s l =s so that each partition in the sequence is obtained from the preceding one by the operation of Problem 16A. Eg. (5, 4, 1) majorizes (3, 3, 3, 1). (5, 4, 1, 0) → (5, 3, 2, 0) → (5, 3, 1, 1) → (4, 3, 2, 1) → (3, 3, 3, 1) or (5, 4, 1, 0) → (4, 4, 1, 1) → (4, 3, 2, 1) → (3, 3, 3, 1) What is the shortest possible sequence?

Eg. Let r = (3, 2, 2, 2, 1) and s = (3, 3, 3, 1). Then r*=(5, 4, 1).

Thm 2. Given partitions r and s of an integer N, let M(r,s) denote the number of (0,1)-matrices A with row-sum r and column-sum s. If r majorizes r 0 and s majorizes s 0, then M(r 0, s 0 ) ≥ M(r, s). Pf: Fix a row-sum vector r = (r 1, …, r n ) of length n and a column-sum vector s = (s1, …, sm) of length m that have equal sums. If s1 > s2, claim M(r, (s 1 -1, s 2 +1, s 3, …, s m )) ≥ M(r, (s 1, s 2,…, s m )). (This holds for any 2 columns.) The same idea applies for fixing s. By the claim and Problem 16A, the theorem follows.

To prove the claim, consider (0,1)-matrices A of size nx(m-2) with column-sum (s 3, s 4, …, s m ). For a given matrix A, it may or may not be possible to append 2 columns to A to get row-sum r. If possible, we need to add two 1 ’ s to a rows one 1 to b rows, and no 1 to c rows. 1 · · · · · · 1 · · · · · · A a b c s 1 > s 2 a + b + c = n, 2a + b = s 1 + s 2

The number of ways to append the 2 columns to have column-sums s 1 and s 2 is There are to get new column-sums s 1 -1, s ▨

Cor: Let A(n,k) denote the number of nxn (0,1)-matrices with all line-sums equal to k. Then Pf: The number of (0,1)-matrices with row-sum (k, …, k) is. Each has a column-sum s = (s 1, s 2, …, s n ), 0 ≤ s i ≤ n, s 1 +s 2 + … +s n = nk, which has at most C(nk+n-1, n-1) such column-sums. Since the greatest number of associated (0,1)-matrices occurs for column-sum (k, k, …, k) ; the number of such matrices is at least the average number. Thus, ▨

Thm 3. Let d and d ’ be 2 partitions of an (even) integer N. If d majorizes d ’, then there are at least as many labeled simple graphs with degree sequence d ’ as with degree sequence d. Thm 4. Thm 5. Thm 6.