Important separators and parameterized algorithms

Size: px
Start display at page:

Download "Important separators and parameterized algorithms"

Transcription

1 Important separators and parameterized algorithms Dániel Marx 1 1 Institute for Computer Science and Control, Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary School on Parameterized Algorithms and Complexity Będlewo, Poland August 19,

2 Main message Small separators in graphs have interesting extremal properties that can be exploited in combinatorial and algorithmic results. Bounding the number of important cuts. Edge/vertex versions, directed/undirected versions. Algorithmic applications: FPT algorithm for Multiway cut, Directed Feedback Vertex Set, and (p, q)-clustering. Random selection of important separators: a new tool with many applications. Overview 2

3 Definition: δ(r) is the set of edges with exactly one endpoint in R. Definition: A set S of edges is a minimal (X, Y )-cut if there is no X Y path in G \ S and no proper subset of S breaks every X Y path. Observation: Every minimal (X, Y )-cut S can be expressed as S = δ(r) for some X R and R Y =. δ(r) X Y R Minimum cuts 3

4 Theorem A minimum (X, Y )-cut can be found in polynomial time. Theorem The size of a minimum (X, Y )-cut equals the maximum size of a pairwise edge-disjoint collection of X Y paths. δ(r) X Y R Minimum cuts 3

5 There is a long list of algorithms for finding disjoint paths and minimum cuts. Edmonds-Karp: O( V (G) E(G) 2 ) Dinitz: O( V (G) 2 E(G) ) Push-relabel: O( V (G) 3 ) Orlin-King-Rao-Tarjan: O( V (G) E(G) )... But we need only the following result: Theorem An (X, Y )-cut of size at most k (if exists) can be found in time O(k ( V (G) + E(G) )). Finding minimum cuts 4

6 Theorem An (X, Y )-cut of size at most k (if exists) can be found in time O(k ( V (G) + E(G) )). We try to grow a collection P of edge-disjoint X Y paths. Residual graph: not used by P: bidirected, used by P: directed in the opposite direction. original graph residual graph X Y X Y Finding minimum cuts 5

7 Theorem An (X, Y )-cut of size at most k (if exists) can be found in time O(k ( V (G) + E(G) )). We try to grow a collection P of edge-disjoint X Y paths. Residual graph: not used by P: bidirected, used by P: directed in the opposite direction. original graph residual graph X Y X Y Finding minimum cuts 5

8 Theorem An (X, Y )-cut of size at most k (if exists) can be found in time O(k ( V (G) + E(G) )). We try to grow a collection P of edge-disjoint X Y paths. Residual graph: not used by P: bidirected, used by P: directed in the opposite direction. original graph residual graph X Y X Y Finding minimum cuts 5

9 Theorem An (X, Y )-cut of size at most k (if exists) can be found in time O(k ( V (G) + E(G) )). We try to grow a collection P of edge-disjoint X Y paths. Residual graph: not used by P: bidirected, used by P: directed in the opposite direction. original graph residual graph X Y X Y If we cannot find an augmenting path, we can find a (minimum) cut of size P. Finding minimum cuts 5

10 Fact: The function δ is submodular: for arbitrary sets A, B, δ(a) + δ(b) δ(a B) + δ(a B) Submodularity 6

11 Fact: The function δ is submodular: for arbitrary sets A, B, δ(a) + δ(b) δ(a B) + δ(a B) Proof: Determine separately the contribution of the different types of edges. A B Submodularity 6

12 Fact: The function δ is submodular: for arbitrary sets A, B, δ(a) + δ(b) δ(a B) + δ(a B) Proof: Determine separately the contribution of the different types of edges. A B Submodularity 6

13 Fact: The function δ is submodular: for arbitrary sets A, B, δ(a) + δ(b) δ(a B) + δ(a B) Proof: Determine separately the contribution of the different types of edges. A B Submodularity 6

14 Fact: The function δ is submodular: for arbitrary sets A, B, δ(a) + δ(b) δ(a B) + δ(a B) Proof: Determine separately the contribution of the different types of edges. A B Submodularity 6

15 Fact: The function δ is submodular: for arbitrary sets A, B, δ(a) + δ(b) δ(a B) + δ(a B) Proof: Determine separately the contribution of the different types of edges. A B Submodularity 6

16 Fact: The function δ is submodular: for arbitrary sets A, B, δ(a) + δ(b) δ(a B) + δ(a B) Proof: Determine separately the contribution of the different types of edges. A B Submodularity 6

17 Fact: The function δ is submodular: for arbitrary sets A, B, δ(a) + δ(b) δ(a B) + δ(a B) Proof: Determine separately the contribution of the different types of edges. A B Submodularity 6

18 Lemma Let λ be the minimum (X, Y )-cut size. There is a unique maximal R max X such that δ(r max ) is an (X, Y )-cut of size λ. Submodularity 7

19 Lemma Let λ be the minimum (X, Y )-cut size. There is a unique maximal R max X such that δ(r max ) is an (X, Y )-cut of size λ. Proof: Let R 1, R 2 X be two sets such that δ(r 1 ), δ(r 2 ) are (X, Y )-cuts of size λ. δ(r 1 ) + δ(r 2 ) δ(r 1 R 2 ) + δ(r 1 R 2 ) λ λ λ δ(r 1 R 2 ) λ R 1 Y X R 2 Note: Analogous result holds for a unique minimal R min. Submodularity 7

20 Lemma Given a graph G and sets X, Y V (G), the sets R min and R max can be found in polynomial time. Proof: Iteratively add vertices to X if they do not increase the minimum X Y cut size. When the process stops, X = R max. Similar for R min. But we can do better! Finding R min and R max 8

21 Lemma Given a graph G and sets X, Y V (G), the sets R min and R max can be found in O(λ ( V (G) + E(G) )) time, where λ is the minimum X Y cut size. Proof: Look at the residual graph. original graph residual graph X Y X Y R min R max R min R max R min : vertices reachable from X. R max : vertices from which Y is not reachable. inding R min and R max 9

22 Definition: δ(r) is the set of edges with exactly one endpoint in R. Definition: A set S of edges is a minimal (X, Y )-cut if there is no X Y path in G \ S and no proper subset of S breaks every X Y path. Observation: Every minimal (X, Y )-cut S can be expressed as S = δ(r) for some X R and R Y =. δ(r) X Y R Important cuts 10

23 Definition A minimal (X, Y )-cut δ(r) is important if there is no (X, Y )-cut δ(r ) with R R and δ(r ) δ(r). Note: Can be checked in polynomial time if a cut is important (δ(r) is important if R = R max ). δ(r) X Y R Important cuts 10

24 Definition A minimal (X, Y )-cut δ(r) is important if there is no (X, Y )-cut δ(r ) with R R and δ(r ) δ(r). Note: Can be checked in polynomial time if a cut is important (δ(r) is important if R = R max ). δ(r) X R δ(r ) Y R mportant cuts 10

25 Definition A minimal (X, Y )-cut δ(r) is important if there is no (X, Y )-cut δ(r ) with R R and δ(r ) δ(r). Note: Can be checked in polynomial time if a cut is important (δ(r) is important if R = R max ). δ(r) X Y R mportant cuts 10

26 The number of important cuts can be exponentially large. Example: Y 1 2 k/2 X This graph has 2 k/2 important (X, Y )-cuts of size at most k. Important cuts 11

27 The number of important cuts can be exponentially large. Example: Y 1 2 k/2 X This graph has 2 k/2 important (X, Y )-cuts of size at most k. Theorem There are at most 4 k important (X, Y )-cuts of size at most k. Important cuts 11

28 Theorem There are at most 4 k important (X, Y )-cuts of size at most k. Proof: Let λ be the minimum (X, Y )-cut size and let δ(r max ) be the unique important cut of size λ such that R max is maximal. (1) We show that R max R for every important cut δ(r). mportant cuts 12

29 Theorem There are at most 4 k important (X, Y )-cuts of size at most k. Proof: Let λ be the minimum (X, Y )-cut size and let δ(r max ) be the unique important cut of size λ such that R max is maximal. (1) We show that R max R for every important cut δ(r). By the submodularity of δ: δ(r max ) + δ(r) δ(r max R) + δ(r max R) λ λ δ(r max R) δ(r) If R R max R, then δ(r) is not important. mportant cuts 12

30 Theorem There are at most 4 k important (X, Y )-cuts of size at most k. Proof: Let λ be the minimum (X, Y )-cut size and let δ(r max ) be the unique important cut of size λ such that R max is maximal. (1) We show that R max R for every important cut δ(r). By the submodularity of δ: δ(r max ) + δ(r) δ(r max R) + δ(r max R) λ λ δ(r max R) δ(r) If R R max R, then δ(r) is not important. Thus the important (X, Y )- and (R max, Y )-cuts are the same. We can assume X = R max. mportant cuts 12

31 (2) Search tree algorithm for enumerating all these cuts: An (arbitrary) edge uv leaving X = R max is either in the cut or not. u X = R max v Y Important cuts 13

32 (2) Search tree algorithm for enumerating all these cuts: An (arbitrary) edge uv leaving X = R max is either in the cut or not. u X = R max v Y Branch 1: If uv S, then S \ uv is an important (X, Y )-cut of size at most k 1 in G \ uv. Branch 2: If uv S, then S is an important (X v, Y )-cut of size at most k in G. Important cuts 13

33 (2) Search tree algorithm for enumerating all these cuts: An (arbitrary) edge uv leaving X = R max is either in the cut or not. u X = R max v Y Branch 1: If uv S, then S \ uv is an important (X, Y )-cut of size at most k 1 in G \ uv. k decreases by one, λ decreases by at most 1. Branch 2: If uv S, then S is an important (X v, Y )-cut of size at most k in G. k remains the same, λ increases by 1. Important cuts 13

34 (2) Search tree algorithm for enumerating all these cuts: An (arbitrary) edge uv leaving X = R max is either in the cut or not. u X = R max v Y Branch 1: If uv S, then S \ uv is an important (X, Y )-cut of size at most k 1 in G \ uv. k decreases by one, λ decreases by at most 1. Branch 2: If uv S, then S is an important (X v, Y )-cut of size at most k in G. k remains the same, λ increases by 1. The measure 2k λ decreases in each step. Height of the search tree 2k 2 2k = 4 k important cuts of size at most k. Important cuts 13

35 We are using the following two statements: Branch 1: If uv S, then S is an important (X, Y )-cut in G S \ uv is an important (X, Y )-cut in G \ uv Branch 2: If S is an (X v, Y )-cut, then S is an important (X, Y )-cut in G S is an important (X v, Y )- cut in G Important cuts some details 14

36 We are using the following two statements: Branch 1: If uv S, then S is an important (X, Y )-cut in G S \ uv is an important (X, Y )-cut in G \ uv a Converse is not true: Set {ab, ay} is important (X, Y )-cut in G \ xb, but {xb, ab, ay} is not an important x b y (X, Y )-cut in G. X Y c Branch 2: If S is an (X v, Y )-cut, then S is an important (X, Y )-cut in G S is an important (X v, Y )- cut in G Converse is true! Important cuts some details 14

37 We are using the following two statements: Branch 1: If uv S, then S is an important (X, Y )-cut in G S \ uv is an important (X, Y )-cut in G \ uv a Converse is not true: Set {ab, ay} is important (X, Y )-cut in G \ xb, but {xb, ab, ay} is not an important x b y (X, Y )-cut in G. X Y c Branch 2: If S is an (X v, Y )-cut, then S is an important (X, Y )-cut in G S is an important (X v, Y )- cut in G Converse is true! Important cuts some details 14

38 Theorem There are at most 4 k important (X, Y )-cuts of size at most k and they can be enumerated in time O(4 k k ( V (G) + E(G) )). Algorithm for enumerating important cuts: 1 Handle trivial cases (k = 0, λ = 0, k < λ) 2 Find R max. 3 Choose an edge uv of δ(r max ). Recurse on (G uv, R max, Y, k 1). Recurse on (G, R max v, Y, k). 4 Check if the returned cuts are important and throw away those that are not. Important cuts algorithm 15

39 Theorem There are at most 4 k important (X, Y )-cuts of size at most k. Example: The bound 4 k is essentially tight. X Y Important cuts 16

40 Theorem There are at most 4 k important (X, Y )-cuts of size at most k. Example: The bound 4 k is essentially tight. X Any subtree with k leaves gives an important (X, Y )-cut of size k. Y Important cuts 16

41 Theorem There are at most 4 k important (X, Y )-cuts of size at most k. Example: The bound 4 k is essentially tight. X Any subtree with k leaves gives an important (X, Y )-cut of size k. Y Important cuts 16

42 Theorem There are at most 4 k important (X, Y )-cuts of size at most k. Example: The bound 4 k is essentially tight. X Any subtree with k leaves gives an important (X, Y )-cut of size k. The number of subtrees with k leaves is the Catalan number C k 1 = 1 ( ) 2k 2 4 k /poly(k). k k 1 Important cuts 16 Y

43 Definition: A multiway cut of a set of terminals T is a set S of edges such that each component of G \ S contains at most one vertex of T. Multiway Cut Input: Graph G, set T of vertices, integer k t 3 Find: A multiway cut S of at most k edges. t 4 t 4 t 1 t 2 t 5 Polynomial for T = 2, but NP-hard for any fixed T 3 [Dalhaus et al. 1994]. ultiway Cut 17

44 Definition: A multiway cut of a set of terminals T is a set S of edges such that each component of G \ S contains at most one vertex of T. Multiway Cut Input: Graph G, set T of vertices, integer k t 3 Find: A multiway cut S of at most k edges. t 4 t 4 t 1 t 2 t 5 Trivial to solve in polynomial time for fixed k (in time n O(k) ). Theorem Multiway cut can be solved in time 4 k k 3 ( V (G) + E(G) ). Multiway Cut 17

45 Intuition: Consider a t T. A subset of the solution S is a (t, T \ t)-cut. t Multiway Cut 18

46 Intuition: Consider a t T. A subset of the solution S is a (t, T \ t)-cut. t There are many such cuts. Multiway Cut 18

47 Intuition: Consider a t T. A subset of the solution S is a (t, T \ t)-cut. t There are many such cuts. Multiway Cut 18

48 Intuition: Consider a t T. A subset of the solution S is a (t, T \ t)-cut. t There are many such cuts. But a cut farther from t and closer to T \ t seems to be more useful. Multiway Cut 18

49 Pushing Lemma Let t T. The Multiway Cut problem has a solution S that contains an important (t, T \ t)-cut. Multiway Cut and important cuts 19

50 Pushing Lemma Let t T. The Multiway Cut problem has a solution S that contains an important (t, T \ t)-cut. Proof: Let R be the vertices reachable from t in G \ S for a solution S. t R Multiway Cut and important cuts 19

51 Pushing Lemma Let t T. The Multiway Cut problem has a solution S that contains an important (t, T \ t)-cut. Proof: Let R be the vertices reachable from t in G \ S for a solution S. t R R δ(r) is not important, then there is an important cut δ(r ) with R R and δ(r ) δ(r). Replace S with S := (S \ δ(r)) δ(r ) S S Multiway Cut and important cuts 19

52 Pushing Lemma Let t T. The Multiway Cut problem has a solution S that contains an important (t, T \ t)-cut. Proof: Let R be the vertices reachable from t in G \ S for a solution S. t R v u R δ(r) is not important, then there is an important cut δ(r ) with R R and δ(r ) δ(r). Replace S with S := (S \ δ(r)) δ(r ) S S S is a multiway cut: (1) There is no t-u path in G \ S and (2) a u-v path in G \ S implies a t-u path, a contradiction. Multiway Cut and important cuts 19

53 Pushing Lemma Let t T. The Multiway Cut problem has a solution S that contains an important (t, T \ t)-cut. Proof: Let R be the vertices reachable from t in G \ S for a solution S. t R v u R δ(r) is not important, then there is an important cut δ(r ) with R R and δ(r ) δ(r). Replace S with S := (S \ δ(r)) δ(r ) S S S is a multiway cut: (1) There is no t-u path in G \ S and (2) a u-v path in G \ S implies a t-u path, a contradiction. Multiway Cut and important cuts 19

54 1 If every vertex of T is in a different component, then we are done. 2 Let t T be a vertex that is not separated from every T \ t. 3 Branch on a choice of an important (t, T \ t) cut S of size at most k. 4 Set G := G \ S and k := k S. 5 Go to step 1. We branch into at most 4 k directions at most k times: 4 k2 n O(1) running time. Next: Better analysis gives 4 k bound on the size of the search tree. Algorithm for Multiway Cut 20

55 We have seen: at most 4 k important cut of size at most k. Better bound: Lemma If S is the set of all important (X, Y )-cuts, then S S 4 S 1 holds. A refined bound 21

56 Lemma If S is the set of all important (X, Y )-cuts, then S S 4 S 1 holds. Proof: We show the stronger statement S S 4 S 2 λ, where λ is the minimum (X, Y )-cut size. Branch 1: removing uv. λ increases by at most one and we add the edge uv to each separator, increasing the cut by one. Thus the total contribution is 4 ( S +1) = 4 S /4 2 (λ 1) /4 = 2 λ /2. S S 1 S S 1 Branch 2: replacing X with X v. λ increases by at least one. Thus the total contribution is S S 2 4 S 2 (λ+1) = 2 λ /2. A refined bound 21

57 Lemma The search tree for the Multiway Cut algorithm has 4 k leaves. Proof: Let L k be the maximum number of leaves with parameter k. We prove L k 4 k by induction. After enumerating the set S k of important separators of size k, we branch into S k directions. S S k 4 k S = 4 k Still need: bound the work at each node. S S k 4 S 4 k efined analysis for Multiway Cut 22

58 We have seen: Lemma We can enumerate every important (X, Y )-cut of size at most k in time O(4 k k ( V (G) + E(G) )). Problem: running time at a node of the recursion tree is not linear in the number children. efined enumeration algorithms 23

59 We have seen: Lemma We can enumerate every important (X, Y )-cut of size at most k in time O(4 k k ( V (G) + E(G) )). Problem: running time at a node of the recursion tree is not linear in the number children. Easily follows: Lemma We can enumerate a superset S k of every important (X, Y )-cut of size at most k in time O( S k k2 ( V (G) + E(G) )) such that 4 S 1 holds. S S k efined enumeration algorithms 23

60 We have seen: Lemma We can enumerate every important (X, Y )-cut of size at most k in time O(4 k k ( V (G) + E(G) )). Problem: running time at a node of the recursion tree is not linear in the number children. Needs more work: Lemma We can enumerate the set S k of every important (X, Y )-cut of size at most k in time O( S k k 2 ( V (G) + E(G) )). Refined enumeration algorithms 23

61 Theorem Multiway Cut can be solved in time O(4 k k 3 ( V (G) + E(G) )). 1 If every vertex of T is in a different component, then we are done. 2 Let t T be a vertex that is not separated from every T \ t. 3 Branch on a choice of an important (t, T \ t) cut S of size at most k. 4 Set G := G \ S and k := k S. 5 Go to step 1. Algorithm for Multiway Cut 24

62 Lemma: At most k 4 k edges incident to t can be part of an inclusionwise minimal s t cut of size at most k. imple application 25

63 Lemma: At most k 4 k edges incident to t can be part of an inclusionwise minimal s t cut of size at most k. Proof: We show that every such edge is contained in an important (s, t)-cut of size at most k. v s R t Suppose that vt δ(r) and δ(r) = k. imple application 25

64 Lemma: At most k 4 k edges incident to t can be part of an inclusionwise minimal s t cut of size at most k. Proof: We show that every such edge is contained in an important (s, t)-cut of size at most k. v s R t R Suppose that vt δ(r) and δ(r) = k. There is an important (s, t)-cut δ(r ) with R R and δ(r ) k. Clearly, vt δ(r ): v R, hence v R. imple application 25

65 Let s, t 1,..., t n be vertices and S 1,..., S n be sets of at most k edges such that S i separates t i from s, but S i does not separate t j from s for any j i. It is possible that n is large even if k is small. t 1 t 2 t 3 t 4 t 5 t 6 s Anti isolation 26

66 Let s, t 1,..., t n be vertices and S 1,..., S n be sets of at most k edges such that S i separates t i from s, but S i does not separate t j from s for any j i. It is possible that n is large even if k is small. t 1 t 2 t 3 t 4 t 5 t 6 S 1 s Anti isolation 26

67 Let s, t 1,..., t n be vertices and S 1,..., S n be sets of at most k edges such that S i separates t i from s, but S i does not separate t j from s for any j i. It is possible that n is large even if k is small. t 1 t 2 t 3 t 4 t 5 t 6 S 2 s Anti isolation 26

68 Let s, t 1,..., t n be vertices and S 1,..., S n be sets of at most k edges such that S i separates t i from s, but S i does not separate t j from s for any j i. It is possible that n is large even if k is small. t 1 t 2 t 3 t 4 t 5 t 6 S 3 s Anti isolation 26

69 Let s, t 1,..., t n be vertices and S 1,..., S n be sets of at most k edges such that S i separates t i from s, but S i does not separate t j from s for any j i. It is possible that n is large even if k is small. t 1 t 2 t 3 t 4 t 5 t 6 S 1 s Is the opposite possible, i.e., S i separates every t j except t i? Anti isolation 26

70 Let s, t 1,..., t n be vertices and S 1,..., S n be sets of at most k edges such that S i separates t i from s, but S i does not separate t j from s for any j i. It is possible that n is large even if k is small. t 1 t 2 t 3 t 4 t 5 t 6 S 2 s Is the opposite possible, i.e., S i separates every t j except t i? Anti isolation 26

71 Let s, t 1,..., t n be vertices and S 1,..., S n be sets of at most k edges such that S i separates t i from s, but S i does not separate t j from s for any j i. It is possible that n is large even if k is small. t 1 t 2 t 3 t 4 t 5 t 6 S 3 s Is the opposite possible, i.e., S i separates every t j except t i? Anti isolation 26

72 Let s, t 1,..., t n be vertices and S 1,..., S n be sets of at most k edges such that S i separates t i from s, but S i does not separate t j from s for any j i. It is possible that n is large even if k is small. t 1 t 2 t 3 t 4 t 5 t 6 S 3 s Is the opposite possible, i.e., S i separates every t j except t i? Lemma If S i separates t j from s if and only j i and every S i has size at most k, then n (k + 1) 4 k+1. Anti isolation 26

73 t t 1 t 2 t 3 t 4 t 5 t 6 Is the opposite possible, i.e., S i separates every t j except t i? S 3 Lemma If S i separates t j from s if and only j i and every S i has size at most k, then n (k + 1) 4 k+1. Proof: Add a new vertex t. Every edge tt i is part of an (inclusionwise minimal) (s, t)-cut of size at most k + 1. Use the previous lemma. s Anti isolation 26

74 t t 1 t 2 t 3 t 4 t 5 t 6 S 2 s Is the opposite possible, i.e., S i separates every t j except t i? Lemma If S i separates t j from s if and only j i and every S i has size at most k, then n (k + 1) 4 k+1. Proof: Add a new vertex t. Every edge tt i is part of an (inclusionwise minimal) (s, t)-cut of size at most k + 1. Use the previous lemma. Anti isolation 26

75 t t 1 t 2 t 3 t 4 t 5 t 6 S 1 s Is the opposite possible, i.e., S i separates every t j except t i? Lemma If S i separates t j from s if and only j i and every S i has size at most k, then n (k + 1) 4 k+1. Proof: Add a new vertex t. Every edge tt i is part of an (inclusionwise minimal) (s, t)-cut of size at most k + 1. Use the previous lemma. Anti isolation 26

Important separators and parameterized algorithms

Important separators and parameterized algorithms Important separators and parameterized algorithms Dániel Marx 1 1 Institute for Computer Science and Control, Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary PCSS 2017 Vienna, Austria September

More information

Parameterized graph separation problems

Parameterized graph separation problems Parameterized graph separation problems Dániel Marx Department of Computer Science and Information Theory, Budapest University of Technology and Economics Budapest, H-1521, Hungary, dmarx@cs.bme.hu Abstract.

More information

W[1]-hardness. Dániel Marx 1. Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary

W[1]-hardness. Dániel Marx 1. Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary W[1]-hardness Dániel Marx 1 1 Institute for Computer Science and Control, Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary School on Parameterized Algorithms and Complexity Będlewo, Poland

More information

Paths, Flowers and Vertex Cover

Paths, Flowers and Vertex Cover Paths, Flowers and Vertex Cover Venkatesh Raman, M.S. Ramanujan, and Saket Saurabh Presenting: Hen Sender 1 Introduction 2 Abstract. It is well known that in a bipartite (and more generally in a Konig)

More information

CPSC 536N: Randomized Algorithms Term 2. Lecture 10

CPSC 536N: Randomized Algorithms Term 2. Lecture 10 CPSC 536N: Randomized Algorithms 011-1 Term Prof. Nick Harvey Lecture 10 University of British Columbia In the first lecture we discussed the Max Cut problem, which is NP-complete, and we presented a very

More information

The Square Root Phenomenon in Planar Graphs

The Square Root Phenomenon in Planar Graphs 1 The Square Root Phenomenon in Planar Graphs Survey and New Results Dániel Marx Institute for Computer Science and Control, Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary Satisfiability

More information

Recent Advances in FPT and Exact Algorithms for NP-Complete Problems

Recent Advances in FPT and Exact Algorithms for NP-Complete Problems 1 Fine-Grained Complexity and Algorithm Design Boot Camp Recent Advances in FPT and Exact Algorithms for NP-Complete Problems Dániel Marx Institute for Computer Science and Control, Hungarian Academy of

More information

8 Matroid Intersection

8 Matroid Intersection 8 Matroid Intersection 8.1 Definition and examples 8.2 Matroid Intersection Algorithm 8.1 Definitions Given two matroids M 1 = (X, I 1 ) and M 2 = (X, I 2 ) on the same set X, their intersection is M 1

More information

An exact characterization of tractable demand patterns for maximum disjoint path problems

An exact characterization of tractable demand patterns for maximum disjoint path problems An exact characterization of tractable demand patterns for maximum disjoint path problems Dániel Marx Paul Wollan Abstract We study the following general disjoint paths problem: given a supply graph G,

More information

Matching Algorithms. Proof. If a bipartite graph has a perfect matching, then it is easy to see that the right hand side is a necessary condition.

Matching Algorithms. Proof. If a bipartite graph has a perfect matching, then it is easy to see that the right hand side is a necessary condition. 18.433 Combinatorial Optimization Matching Algorithms September 9,14,16 Lecturer: Santosh Vempala Given a graph G = (V, E), a matching M is a set of edges with the property that no two of the edges have

More information

Paths, Flowers and Vertex Cover

Paths, Flowers and Vertex Cover Paths, Flowers and Vertex Cover Venkatesh Raman M. S. Ramanujan Saket Saurabh Abstract It is well known that in a bipartite (and more generally in a König) graph, the size of the minimum vertex cover is

More information

Jessica Su (some parts copied from CLRS / last quarter s notes)

Jessica Su (some parts copied from CLRS / last quarter s notes) 1 Max flow Consider a directed graph G with positive edge weights c that define the capacity of each edge. We can identify two special nodes in G: the source node s and the sink node t. We want to find

More information

Lecture 10,11: General Matching Polytope, Maximum Flow. 1 Perfect Matching and Matching Polytope on General Graphs

Lecture 10,11: General Matching Polytope, Maximum Flow. 1 Perfect Matching and Matching Polytope on General Graphs CMPUT 675: Topics in Algorithms and Combinatorial Optimization (Fall 2009) Lecture 10,11: General Matching Polytope, Maximum Flow Lecturer: Mohammad R Salavatipour Date: Oct 6 and 8, 2009 Scriber: Mohammad

More information

Chordal deletion is fixed-parameter tractable

Chordal deletion is fixed-parameter tractable Chordal deletion is fixed-parameter tractable Dániel Marx Institut für Informatik, Humboldt-Universität zu Berlin, Unter den Linden 6, 10099 Berlin, Germany. dmarx@informatik.hu-berlin.de Abstract. It

More information

1 Variations of the Traveling Salesman Problem

1 Variations of the Traveling Salesman Problem Stanford University CS26: Optimization Handout 3 Luca Trevisan January, 20 Lecture 3 In which we prove the equivalence of three versions of the Traveling Salesman Problem, we provide a 2-approximate algorithm,

More information

PLANAR GRAPH BIPARTIZATION IN LINEAR TIME

PLANAR GRAPH BIPARTIZATION IN LINEAR TIME PLANAR GRAPH BIPARTIZATION IN LINEAR TIME SAMUEL FIORINI, NADIA HARDY, BRUCE REED, AND ADRIAN VETTA Abstract. For each constant k, we present a linear time algorithm that, given a planar graph G, either

More information

Maximum Flow. Flow Networks. Flow Networks Ford-Fulkerson Method Edmonds-Karp Algorithm Push-Relabel Algorithms. Example Flow Network

Maximum Flow. Flow Networks. Flow Networks Ford-Fulkerson Method Edmonds-Karp Algorithm Push-Relabel Algorithms. Example Flow Network Flow Networks Ford-Fulkerson Method Edmonds-Karp Algorithm Push-Relabel Algorithms Maximum Flow Flow Networks A flow network is a directed graph where: Each edge (u,v) has a capacity c(u,v) 0. If (u,v)

More information

Paths, Flowers and Vertex Cover

Paths, Flowers and Vertex Cover Paths, Flowers and Vertex Cover Venkatesh Raman, M. S. Ramanujan and Saket Saurabh The Institute of Mathematical Sciences, Chennai, India. {vraman msramanujan saket}@imsc.res.in Abstract. It is well known

More information

6.856 Randomized Algorithms

6.856 Randomized Algorithms 6.856 Randomized Algorithms David Karger Handout #4, September 21, 2002 Homework 1 Solutions Problem 1 MR 1.8. (a) The min-cut algorithm given in class works because at each step it is very unlikely (probability

More information

6. Lecture notes on matroid intersection

6. Lecture notes on matroid intersection Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans May 2, 2017 6. Lecture notes on matroid intersection One nice feature about matroids is that a simple greedy algorithm

More information

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18 601.433/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18 22.1 Introduction We spent the last two lectures proving that for certain problems, we can

More information

Lecture 3: Graphs and flows

Lecture 3: Graphs and flows Chapter 3 Lecture 3: Graphs and flows Graphs: a useful combinatorial structure. Definitions: graph, directed and undirected graph, edge as ordered pair, path, cycle, connected graph, strongly connected

More information

CS261: Problem Set #1

CS261: Problem Set #1 CS261: Problem Set #1 Due by 11:59 PM on Tuesday, April 21, 2015 Instructions: (1) Form a group of 1-3 students. You should turn in only one write-up for your entire group. (2) Turn in your solutions by

More information

Lecture 4: September 11, 2003

Lecture 4: September 11, 2003 Algorithmic Modeling and Complexity Fall 2003 Lecturer: J. van Leeuwen Lecture 4: September 11, 2003 Scribe: B. de Boer 4.1 Overview This lecture introduced Fixed Parameter Tractable (FPT) problems. An

More information

Notes on Minimum Cuts and Modular Functions

Notes on Minimum Cuts and Modular Functions Notes on Minimum Cuts and Modular Functions 1 Introduction The following are my notes on Cunningham s paper [1]. Given a submodular function f and a set S, submodular minimisation is the problem of finding

More information

CSE 417 Branch & Bound (pt 4) Branch & Bound

CSE 417 Branch & Bound (pt 4) Branch & Bound CSE 417 Branch & Bound (pt 4) Branch & Bound Reminders > HW8 due today > HW9 will be posted tomorrow start early program will be slow, so debugging will be slow... Review of previous lectures > Complexity

More information

Decreasing the Diameter of Bounded Degree Graphs

Decreasing the Diameter of Bounded Degree Graphs Decreasing the Diameter of Bounded Degree Graphs Noga Alon András Gyárfás Miklós Ruszinkó February, 00 To the memory of Paul Erdős Abstract Let f d (G) denote the minimum number of edges that have to be

More information

Faster parameterized algorithms for Minimum Fill-In

Faster parameterized algorithms for Minimum Fill-In Faster parameterized algorithms for Minimum Fill-In Hans L. Bodlaender Pinar Heggernes Yngve Villanger Technical Report UU-CS-2008-042 December 2008 Department of Information and Computing Sciences Utrecht

More information

1. Lecture notes on bipartite matching February 4th,

1. Lecture notes on bipartite matching February 4th, 1. Lecture notes on bipartite matching February 4th, 2015 6 1.1.1 Hall s Theorem Hall s theorem gives a necessary and sufficient condition for a bipartite graph to have a matching which saturates (or matches)

More information

Faster parameterized algorithms for Minimum Fill-In

Faster parameterized algorithms for Minimum Fill-In Faster parameterized algorithms for Minimum Fill-In Hans L. Bodlaender Pinar Heggernes Yngve Villanger Abstract We present two parameterized algorithms for the Minimum Fill-In problem, also known as Chordal

More information

12.1 Formulation of General Perfect Matching

12.1 Formulation of General Perfect Matching CSC5160: Combinatorial Optimization and Approximation Algorithms Topic: Perfect Matching Polytope Date: 22/02/2008 Lecturer: Lap Chi Lau Scribe: Yuk Hei Chan, Ling Ding and Xiaobing Wu In this lecture,

More information

Solutions for the Exam 6 January 2014

Solutions for the Exam 6 January 2014 Mastermath and LNMB Course: Discrete Optimization Solutions for the Exam 6 January 2014 Utrecht University, Educatorium, 13:30 16:30 The examination lasts 3 hours. Grading will be done before January 20,

More information

1. Lecture notes on bipartite matching

1. Lecture notes on bipartite matching Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans February 5, 2017 1. Lecture notes on bipartite matching Matching problems are among the fundamental problems in

More information

PERFECT MATCHING THE CENTRALIZED DEPLOYMENT MOBILE SENSORS THE PROBLEM SECOND PART: WIRELESS NETWORKS 2.B. SENSOR NETWORKS OF MOBILE SENSORS

PERFECT MATCHING THE CENTRALIZED DEPLOYMENT MOBILE SENSORS THE PROBLEM SECOND PART: WIRELESS NETWORKS 2.B. SENSOR NETWORKS OF MOBILE SENSORS SECOND PART: WIRELESS NETWORKS 2.B. SENSOR NETWORKS THE CENTRALIZED DEPLOYMENT OF MOBILE SENSORS I.E. THE MINIMUM WEIGHT PERFECT MATCHING 1 2 ON BIPARTITE GRAPHS Prof. Tiziana Calamoneri Network Algorithms

More information

Fixed-Parameter Algorithm for 2-CNF Deletion Problem

Fixed-Parameter Algorithm for 2-CNF Deletion Problem Fixed-Parameter Algorithm for 2-CNF Deletion Problem Igor Razgon Igor Razgon Computer Science Department University College Cork Ireland A brief introduction to the area of fixed-parameter algorithms 2

More information

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Mathematical and Algorithmic Foundations Linear Programming and Matchings Adavnced Algorithms Lectures Mathematical and Algorithmic Foundations Linear Programming and Matchings Paul G. Spirakis Department of Computer Science University of Patras and Liverpool Paul G. Spirakis

More information

Parameterized Reductions

Parameterized Reductions 1 Fine-Grained Complexity and Algorithm Design Boot Camp Parameterized Reductions Dániel Marx Institute for Computer Science and Control, Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary Simons

More information

Solution for Homework set 3

Solution for Homework set 3 TTIC 300 and CMSC 37000 Algorithms Winter 07 Solution for Homework set 3 Question (0 points) We are given a directed graph G = (V, E), with two special vertices s and t, and non-negative integral capacities

More information

Parameterized coloring problems on chordal graphs

Parameterized coloring problems on chordal graphs Parameterized coloring problems on chordal graphs Dániel Marx Department of Computer Science and Information Theory, Budapest University of Technology and Economics Budapest, H-1521, Hungary dmarx@cs.bme.hu

More information

Matching Theory. Figure 1: Is this graph bipartite?

Matching Theory. Figure 1: Is this graph bipartite? Matching Theory 1 Introduction A matching M of a graph is a subset of E such that no two edges in M share a vertex; edges which have this property are called independent edges. A matching M is said to

More information

1 Linear programming relaxation

1 Linear programming relaxation Cornell University, Fall 2010 CS 6820: Algorithms Lecture notes: Primal-dual min-cost bipartite matching August 27 30 1 Linear programming relaxation Recall that in the bipartite minimum-cost perfect matching

More information

W[1]-hardness. Dániel Marx. Recent Advances in Parameterized Complexity Tel Aviv, Israel, December 3, 2017

W[1]-hardness. Dániel Marx. Recent Advances in Parameterized Complexity Tel Aviv, Israel, December 3, 2017 1 W[1]-hardness Dániel Marx Recent Advances in Parameterized Complexity Tel Aviv, Israel, December 3, 2017 2 Lower bounds So far we have seen positive results: basic algorithmic techniques for fixed-parameter

More information

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14 600.363 Introduction to Algorithms / 600.463 Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14 23.1 Introduction We spent last week proving that for certain problems,

More information

Chordal deletion is fixed-parameter tractable

Chordal deletion is fixed-parameter tractable Chordal deletion is fixed-parameter tractable Dániel Marx Department of Computer Science and Information Theory Budapest University of Technology and Economics Budapest H-1521 Hungary dmarx@cs.bme.hu Abstract.

More information

Iterative Methods in Combinatorial Optimization. R. Ravi Carnegie Bosch Professor Tepper School of Business Carnegie Mellon University

Iterative Methods in Combinatorial Optimization. R. Ravi Carnegie Bosch Professor Tepper School of Business Carnegie Mellon University Iterative Methods in Combinatorial Optimization R. Ravi Carnegie Bosch Professor Tepper School of Business Carnegie Mellon University ravi@cmu.edu Combinatorial Optimization Easy Problems : polynomial

More information

Lecture 4: Primal Dual Matching Algorithm and Non-Bipartite Matching. 1 Primal/Dual Algorithm for weighted matchings in Bipartite Graphs

Lecture 4: Primal Dual Matching Algorithm and Non-Bipartite Matching. 1 Primal/Dual Algorithm for weighted matchings in Bipartite Graphs CMPUT 675: Topics in Algorithms and Combinatorial Optimization (Fall 009) Lecture 4: Primal Dual Matching Algorithm and Non-Bipartite Matching Lecturer: Mohammad R. Salavatipour Date: Sept 15 and 17, 009

More information

Exact Algorithms Lecture 7: FPT Hardness and the ETH

Exact Algorithms Lecture 7: FPT Hardness and the ETH Exact Algorithms Lecture 7: FPT Hardness and the ETH February 12, 2016 Lecturer: Michael Lampis 1 Reminder: FPT algorithms Definition 1. A parameterized problem is a function from (χ, k) {0, 1} N to {0,

More information

Problem Set 2 Solutions

Problem Set 2 Solutions Problem Set 2 Solutions Graph Theory 2016 EPFL Frank de Zeeuw & Claudiu Valculescu 1. Prove that the following statements about a graph G are equivalent. - G is a tree; - G is minimally connected (it is

More information

arxiv: v1 [cs.ds] 8 Jan 2019

arxiv: v1 [cs.ds] 8 Jan 2019 Subset Feedback Vertex Set in Chordal and Split Graphs Geevarghese Philip 1, Varun Rajan 2, Saket Saurabh 3,4, and Prafullkumar Tale 5 arxiv:1901.02209v1 [cs.ds] 8 Jan 2019 1 Chennai Mathematical Institute,

More information

5. Lecture notes on matroid intersection

5. Lecture notes on matroid intersection Massachusetts Institute of Technology Handout 14 18.433: Combinatorial Optimization April 1st, 2009 Michel X. Goemans 5. Lecture notes on matroid intersection One nice feature about matroids is that a

More information

Number Theory and Graph Theory

Number Theory and Graph Theory 1 Number Theory and Graph Theory Chapter 6 Basic concepts and definitions of graph theory By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India E-mail: satya8118@gmail.com

More information

1 Minimum Cut Problem

1 Minimum Cut Problem CS 6 Lecture 6 Min Cut and Karger s Algorithm Scribes: Peng Hui How, Virginia Williams (05) Date: November 7, 07 Anthony Kim (06), Mary Wootters (07) Adapted from Virginia Williams lecture notes Minimum

More information

Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn

Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn Graphs Extremely important concept in computer science Graph, : node (or vertex) set : edge set Simple graph: no self loops, no multiple

More information

Fixed-parameter tractable canonization and isomorphism test for graphs of bounded treewidth

Fixed-parameter tractable canonization and isomorphism test for graphs of bounded treewidth Fixed-parameter tractable canonization and isomorphism test for graphs of bounded treewidth Micha l Pilipczuk Institute of Informatics, University of Warsaw, Poland Workshop on Exact Algorithms and Lower

More information

Fixed Parameter Algorithms

Fixed Parameter Algorithms Fixed Parameter Algorithms Dániel Marx Tel Aviv University, Israel Open lectures for PhD students in computer science January 9, 2010, Warsaw, Poland Fixed Parameter Algorithms p.1/41 Parameterized complexity

More information

Bipartite Roots of Graphs

Bipartite Roots of Graphs Bipartite Roots of Graphs Lap Chi Lau Department of Computer Science University of Toronto Graph H is a root of graph G if there exists a positive integer k such that x and y are adjacent in G if and only

More information

Monotone Paths in Geometric Triangulations

Monotone Paths in Geometric Triangulations Monotone Paths in Geometric Triangulations Adrian Dumitrescu Ritankar Mandal Csaba D. Tóth November 19, 2017 Abstract (I) We prove that the (maximum) number of monotone paths in a geometric triangulation

More information

In this lecture, we ll look at applications of duality to three problems:

In this lecture, we ll look at applications of duality to three problems: Lecture 7 Duality Applications (Part II) In this lecture, we ll look at applications of duality to three problems: 1. Finding maximum spanning trees (MST). We know that Kruskal s algorithm finds this,

More information

MTL 776: Graph Algorithms Lecture : Matching in Graphs

MTL 776: Graph Algorithms Lecture : Matching in Graphs MTL 776: Graph Algorithms Lecture : Matching in Graphs Course Coordinator: Prof. B. S. Panda Note: The note is based on the lectures taken in the class. It is a draft version and may contain errors. It

More information

Adjacent: Two distinct vertices u, v are adjacent if there is an edge with ends u, v. In this case we let uv denote such an edge.

Adjacent: Two distinct vertices u, v are adjacent if there is an edge with ends u, v. In this case we let uv denote such an edge. 1 Graph Basics What is a graph? Graph: a graph G consists of a set of vertices, denoted V (G), a set of edges, denoted E(G), and a relation called incidence so that each edge is incident with either one

More information

Minimal Dominating Sets in Graphs: Enumeration, Combinatorial Bounds and Graph Classes

Minimal Dominating Sets in Graphs: Enumeration, Combinatorial Bounds and Graph Classes Minimal Dominating Sets in Graphs: Enumeration, Combinatorial Bounds and Graph Classes J.-F. Couturier 1 P. Heggernes 2 D. Kratsch 1 P. van t Hof 2 1 LITA Université de Lorraine F-57045 Metz France 2 University

More information

5.1 Min-Max Theorem for General Matching

5.1 Min-Max Theorem for General Matching CSC5160: Combinatorial Optimization and Approximation Algorithms Topic: General Matching Date: 4/01/008 Lecturer: Lap Chi Lau Scribe: Jennifer X.M. WU In this lecture, we discuss matchings in general graph.

More information

Lecture and notes by: Sarah Fletcher and Michael Xu November 3rd, Multicommodity Flow

Lecture and notes by: Sarah Fletcher and Michael Xu November 3rd, Multicommodity Flow Multicommodity Flow 1 Introduction Suppose we have a company with a factory s and a warehouse t. The quantity of goods that they can ship from the factory to the warehouse in a given time period is limited

More information

Greedy Approximations

Greedy Approximations CS 787: Advanced Algorithms Instructor: Dieter van Melkebeek Greedy Approximations Approximation algorithms give a solution to a problem in polynomial time, at most a given factor away from the correct

More information

CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh HW#3 Due at the beginning of class Thursday 03/02/17

CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh HW#3 Due at the beginning of class Thursday 03/02/17 CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh (rezab@stanford.edu) HW#3 Due at the beginning of class Thursday 03/02/17 1. Consider a model of a nonbipartite undirected graph in which

More information

Fixed-Parameter Algorithms, IA166

Fixed-Parameter Algorithms, IA166 Fixed-Parameter Algorithms, IA166 Sebastian Ordyniak Faculty of Informatics Masaryk University Brno Spring Semester 2013 Introduction Outline 1 Introduction Algorithms on Locally Bounded Treewidth Layer

More information

HW Graph Theory SOLUTIONS (hbovik)

HW Graph Theory SOLUTIONS (hbovik) Diestel 1.3: Let G be a graph containing a cycle C, and assume that G contains a path P of length at least k between two vertices of C. Show that G contains a cycle of length at least k. If C has length

More information

Multicut is FPT. Lyon Cedex 07, France

Multicut is FPT. Lyon Cedex 07, France Multicut is FPT Nicolas Bousquet 1, Jean Daligault 1, and Stéphan Thomassé 2 1 LIRMM (Université Montpellier 2, CNRS), 161 Rue Ada, 34392 Montpellier, France 2 LIP (ENS Lyon, Université Lyon, CNRS, INRIA,

More information

Pebble Sets in Convex Polygons

Pebble Sets in Convex Polygons 2 1 Pebble Sets in Convex Polygons Kevin Iga, Randall Maddox June 15, 2005 Abstract Lukács and András posed the problem of showing the existence of a set of n 2 points in the interior of a convex n-gon

More information

Treewidth and graph minors

Treewidth and graph minors Treewidth and graph minors Lectures 9 and 10, December 29, 2011, January 5, 2012 We shall touch upon the theory of Graph Minors by Robertson and Seymour. This theory gives a very general condition under

More information

31.6 Powers of an element

31.6 Powers of an element 31.6 Powers of an element Just as we often consider the multiples of a given element, modulo, we consider the sequence of powers of, modulo, where :,,,,. modulo Indexing from 0, the 0th value in this sequence

More information

Lecture 8: The Traveling Salesman Problem

Lecture 8: The Traveling Salesman Problem Lecture 8: The Traveling Salesman Problem Let G = (V, E) be an undirected graph. A Hamiltonian cycle of G is a cycle that visits every vertex v V exactly once. Instead of Hamiltonian cycle, we sometimes

More information

CSE 417 Network Flows (pt 4) Min Cost Flows

CSE 417 Network Flows (pt 4) Min Cost Flows CSE 417 Network Flows (pt 4) Min Cost Flows Reminders > HW6 is due Monday Review of last three lectures > Defined the maximum flow problem find the feasible flow of maximum value flow is feasible if it

More information

CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh HW#3 Due at the beginning of class Thursday 02/26/15

CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh HW#3 Due at the beginning of class Thursday 02/26/15 CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh (rezab@stanford.edu) HW#3 Due at the beginning of class Thursday 02/26/15 1. Consider a model of a nonbipartite undirected graph in which

More information

Graph Theory and Optimization Approximation Algorithms

Graph Theory and Optimization Approximation Algorithms Graph Theory and Optimization Approximation Algorithms Nicolas Nisse Université Côte d Azur, Inria, CNRS, I3S, France October 2018 Thank you to F. Giroire for some of the slides N. Nisse Graph Theory and

More information

Sources for this lecture. 3. Matching in bipartite and general graphs. Symmetric difference

Sources for this lecture. 3. Matching in bipartite and general graphs. Symmetric difference S-72.2420 / T-79.5203 Matching in bipartite and general graphs 1 3. Matching in bipartite and general graphs Let G be a graph. A matching M in G is a set of nonloop edges with no shared endpoints. Let

More information

Section 3.1: Nonseparable Graphs Cut vertex of a connected graph G: A vertex x G such that G x is not connected. Theorem 3.1, p. 57: Every connected

Section 3.1: Nonseparable Graphs Cut vertex of a connected graph G: A vertex x G such that G x is not connected. Theorem 3.1, p. 57: Every connected Section 3.1: Nonseparable Graphs Cut vertex of a connected graph G: A vertex x G such that G x is not connected. Theorem 3.1, p. 57: Every connected graph G with at least 2 vertices contains at least 2

More information

Graph Algorithms Using Depth First Search

Graph Algorithms Using Depth First Search Graph Algorithms Using Depth First Search Analysis of Algorithms Week 8, Lecture 1 Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Graph Algorithms Using Depth

More information

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions Basic Combinatorics Math 40210, Section 01 Fall 2012 Homework 4 Solutions 1.4.2 2: One possible implementation: Start with abcgfjiea From edge cd build, using previously unmarked edges: cdhlponminjkghc

More information

Notes 4 : Approximating Maximum Parsimony

Notes 4 : Approximating Maximum Parsimony Notes 4 : Approximating Maximum Parsimony MATH 833 - Fall 2012 Lecturer: Sebastien Roch References: [SS03, Chapters 2, 5], [DPV06, Chapters 5, 9] 1 Coping with NP-completeness Local search heuristics.

More information

On Structural Parameterizations of the Matching Cut Problem

On Structural Parameterizations of the Matching Cut Problem On Structural Parameterizations of the Matching Cut Problem N. R. Aravind, Subrahmanyam Kalyanasundaram, and Anjeneya Swami Kare Department of Computer Science and Engineering, IIT Hyderabad, Hyderabad,

More information

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE Professor Kindred Math 104, Graph Theory Homework 2 Solutions February 7, 2013 Introduction to Graph Theory, West Section 1.2: 26, 38, 42 Section 1.3: 14, 18 Section 2.1: 26, 29, 30 DO NOT RE-DISTRIBUTE

More information

Characterizations of Trees

Characterizations of Trees Characterizations of Trees Lemma Every tree with at least two vertices has at least two leaves. Proof. 1. A connected graph with at least two vertices has an edge. 2. In an acyclic graph, an end point

More information

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs Graphs and Network Flows IE411 Lecture 21 Dr. Ted Ralphs IE411 Lecture 21 1 Combinatorial Optimization and Network Flows In general, most combinatorial optimization and integer programming problems are

More information

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang 600.469 / 600.669 Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang 9.1 Linear Programming Suppose we are trying to approximate a minimization

More information

Theorem 2.9: nearest addition algorithm

Theorem 2.9: nearest addition algorithm There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used

More information

15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015

15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015 15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015 While we have good algorithms for many optimization problems, the previous lecture showed that many

More information

Approximate Min-Max Theorems for Steiner Rooted-Orientations of Graphs and Hypergraphs

Approximate Min-Max Theorems for Steiner Rooted-Orientations of Graphs and Hypergraphs Egerváry Research Group on Combinatorial Optimization Technical reports TR-006-13. Published by the Egerváry Research Group, Pázmány P. sétány 1/C, H 1117, Budapest, Hungary. Web site: www.cs.elte.hu/egres.

More information

Trees Rooted Trees Spanning trees and Shortest Paths. 12. Graphs and Trees 2. Aaron Tan November 2017

Trees Rooted Trees Spanning trees and Shortest Paths. 12. Graphs and Trees 2. Aaron Tan November 2017 12. Graphs and Trees 2 Aaron Tan 6 10 November 2017 1 10.5 Trees 2 Definition Definition Definition: Tree A graph is said to be circuit-free if, and only if, it has no circuits. A graph is called a tree

More information

Minimum sum multicoloring on the edges of trees

Minimum sum multicoloring on the edges of trees Minimum sum multicoloring on the edges of trees Dániel Marx a,1 a Department of Computer Science and Information Theory, Budapest University of Technology and Economics, H-1521 Budapest, Hungary. Abstract

More information

Optimal parameterized algorithms for planar facility location problems using Voronoi diagrams

Optimal parameterized algorithms for planar facility location problems using Voronoi diagrams Optimal parameterized algorithms for planar facility location problems using Voronoi diagrams Dániel Marx 1 and Micha l Pilipczuk 2 1 Institute for Computer Science and Control, Hungarian Academy of Sciences

More information

Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1

Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) January 11, 2018 Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1 In this lecture

More information

Exercise set 2 Solutions

Exercise set 2 Solutions Exercise set 2 Solutions Let H and H be the two components of T e and let F E(T ) consist of the edges of T with one endpoint in V (H), the other in V (H ) Since T is connected, F Furthermore, since T

More information

Network Design and Optimization course

Network Design and Optimization course Effective maximum flow algorithms Modeling with flows Network Design and Optimization course Lecture 5 Alberto Ceselli alberto.ceselli@unimi.it Dipartimento di Tecnologie dell Informazione Università degli

More information

10. EXTENDING TRACTABILITY

10. EXTENDING TRACTABILITY 0. EXTENDING TRACTABILITY finding small vertex covers solving NP-hard problems on trees circular arc coverings vertex cover in bipartite graphs Lecture slides by Kevin Wayne Copyright 005 Pearson-Addison

More information

A subexponential parameterized algorithm for Subset TSP on planar graphs

A subexponential parameterized algorithm for Subset TSP on planar graphs A subexponential parameterized algorithm for Subset TSP on planar graphs Philip N. Klein Dániel Marx Abstract Given a graph G and a subset S of vertices, the Subset TSP problem asks for a shortest closed

More information

Fast algorithms for max independent set

Fast algorithms for max independent set Fast algorithms for max independent set N. Bourgeois 1 B. Escoffier 1 V. Th. Paschos 1 J.M.M. van Rooij 2 1 LAMSADE, CNRS and Université Paris-Dauphine, France {bourgeois,escoffier,paschos}@lamsade.dauphine.fr

More information

The Encoding Complexity of Network Coding

The Encoding Complexity of Network Coding The Encoding Complexity of Network Coding Michael Langberg Alexander Sprintson Jehoshua Bruck California Institute of Technology Email: mikel,spalex,bruck @caltech.edu Abstract In the multicast network

More information

FEDOR V. FOMIN. Lectures on treewidth. The Parameterized Complexity Summer School 1-3 September 2017 Vienna, Austria

FEDOR V. FOMIN. Lectures on treewidth. The Parameterized Complexity Summer School 1-3 September 2017 Vienna, Austria FEDOR V. FOMIN Lectures on treewidth The Parameterized Complexity Summer School 1-3 September 2017 Vienna, Austria Why treewidth? Very general idea in science: large structures can be understood by breaking

More information

Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees

Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees Wei Wang joint with Zishen Yang, Xianliang Liu School of Mathematics and Statistics, Xi an Jiaotong University Dec 20, 2016

More information