ACO Comprehensive Exam October 18 and 19, Analysis of Algorithms

Similar documents
5 Flows and cuts in digraphs

1 T 1 = where 1 is the all-ones vector. For the upper bound, let v 1 be the eigenvector corresponding. u:(u,v) E v 1(u)

< k 2n. 2 1 (n 2). + (1 p) s) N (n < 1

ACO Comprehensive Exam March 17 and 18, Computability, Complexity and Algorithms

MODEL ANSWERS TO THE THIRD HOMEWORK

Coloring. Basics. A k-coloring of a loopless graph G is a function f : V (G) S where S = k (often S = [k]).

ACO Comprehensive Exam March 20 and 21, Computability, Complexity and Algorithms

1 Positive definiteness and semidefiniteness

Using Laplacian Eigenvalues and Eigenvectors in the Analysis of Frequency Assignment Problems

ACO Comprehensive Exam October 14 and 15, 2013

3. Linear Programming and Polyhedral Combinatorics

Lecture 10 February 4, 2013

Graph coloring, perfect graphs

Semidefinite and Second Order Cone Programming Seminar Fall 2001 Lecture 5

A necessary and sufficient condition for the existence of a spanning tree with specified vertices having large degrees

The Chromatic Number of Ordered Graphs With Constrained Conflict Graphs

Dominator Colorings and Safe Clique Partitions

15.1 Matching, Components, and Edge cover (Collaborate with Xin Yu)

Algebra C Numerical Linear Algebra Sample Exam Problems

Topics in Graph Theory

Bulletin of the Iranian Mathematical Society

1 Matroid intersection

CSE 202 Homework 4 Matthias Springer, A

3. Linear Programming and Polyhedral Combinatorics

Solving the MWT. Recall the ILP for the MWT. We can obtain a solution to the MWT problem by solving the following ILP:

Notes on the Matrix-Tree theorem and Cayley s tree enumerator

are the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1).

Polynomiality of Linear Programming

Chapter 4. Matrices and Matrix Rings

CPSC 536N: Randomized Algorithms Term 2. Lecture 9

RING ELEMENTS AS SUMS OF UNITS

a i,1 a i,j a i,m be vectors with positive entries. The linear programming problem associated to A, b and c is to find all vectors sa b

Preliminaries and Complexity Theory

CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs. Instructor: Shaddin Dughmi

ORIE 6334 Spectral Graph Theory September 8, Lecture 6. In order to do the first proof, we need to use the following fact.

Algebraic Methods in Combinatorics

Algebraic Methods in Combinatorics

On Dominator Colorings in Graphs

CSL361 Problem set 4: Basic linear algebra

1 - Systems of Linear Equations

Branch-and-Bound. Leo Liberti. LIX, École Polytechnique, France. INF , Lecture p. 1

Degrees and Trees. Garth Isaak Lehigh University. 47th SEICCGTC at FAU, March Acknowledgements to: Kathleen Ryan,...

RESEARCH ARTICLE. An extension of the polytope of doubly stochastic matrices

A Polynomial-Time Algorithm for Pliable Index Coding

Graph G = (V, E). V ={vertices}, E={edges}. V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}

CMSC Discrete Mathematics FINAL EXAM Tuesday, December 5, 2017, 10:30-12:30

On Some Polytopes Contained in the 0,1 Hypercube that Have a Small Chvátal Rank

1. Let r, s, t, v be the homogeneous relations defined on the set M = {2, 3, 4, 5, 6} by

Lecture 22: Counting

Decision Problems TSP. Instance: A complete graph G with non-negative edge costs, and an integer

Lecture 10. Semidefinite Programs and the Max-Cut Problem Max Cut

1. How many labeled trees are there on n vertices such that all odd numbered vertices are leaves?

The chromatic number of ordered graphs with constrained conflict graphs

Lectures 2 3 : Wigner s semicircle law

PROBLEMS ON LINEAR ALGEBRA

On Brooks Coloring Theorem

Multi-coloring and Mycielski s construction

Integer programming: an introduction. Alessandro Astolfi

CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi

18.S34 linear algebra problems (2007)

More on NP and Reductions

Packing and decomposition of graphs with trees

Perfect matchings in highly cyclically connected regular graphs

Linear Algebra, Summer 2011, pt. 2

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

Coloring Vertices and Edges of a Path by Nonempty Subsets of a Set

Combinatorial Optimization

The Steiner Network Problem

The Interlace Polynomial of Graphs at 1

MODEL ANSWERS TO THE FIRST QUIZ. 1. (18pts) (i) Give the definition of a m n matrix. A m n matrix with entries in a field F is a function

Lectures 6 7 : Marchenko-Pastur Law

Lectures 2 3 : Wigner s semicircle law

CS60007 Algorithm Design and Analysis 2018 Assignment 1

MA Discrete Mathematics

Computer Science & Engineering 423/823 Design and Analysis of Algorithms

On the mean connected induced subgraph order of cographs

22A-2 SUMMER 2014 LECTURE 5

Nonlinear Discrete Optimization

MATH 2200 Final LC Review

Contents. Counting Methods and Induction

Probabilistic Proofs of Existence of Rare Events. Noga Alon

Cutting Plane Methods I

3.7 Cutting plane methods

SMSU Mathematics Course Content

Group Colorability of Graphs

Lectures on Linear Algebra for IT

In class midterm Exam - Answer key

Induced Cycles of Fixed Length

Chapter 1: Systems of Linear Equations and Matrices

CO759: Algorithmic Game Theory Spring 2015

CMPSCI 611 Advanced Algorithms Midterm Exam Fall 2015

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Matroids and Greedy Algorithms Date: 10/31/16

A short course on matching theory, ECNU Shanghai, July 2011.

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 11 Luca Trevisan February 29, 2016

Optimization of Submodular Functions Tutorial - lecture I

Separating Simple Domino Parity Inequalities

Math 343 Midterm I Fall 2006 sections 002 and 003 Instructor: Scott Glasgow

Lecture 5: January 30

Tree-width and planar minors

Transcription:

Consider the following two graph problems: 1. Analysis of Algorithms Graph coloring: Given a graph G = (V,E) and an integer c 0, a c-coloring is a function f : V {1,,...,c} such that f(u) f(v) for all edges uv E(G). We define χ(g) to be the minimum integer c 0 such that G has a c-coloring. An α-approximation algorithm for the coloring problem is one that, given a graph G, returns a c-coloring, where c αχ(g). Longest path: Given a graph G = (V,E), a path P in G is a sequence of distinct vertices v 1,...,v d such that v i v i+1 E for all 1 i < d, and the length of the path P is d. We wish to find a path which maximizes d. We write that the longest path uses l(g) vertices. An α-approximation algorithm for the longest path problem is one that, given a graph G, returns a path of length at least l(g)/α. Unfortunately, unless P = NP, there is no polynomial time n 1 ǫ -approximation algorithm for either problem, for any constant ǫ (0, 1), where n = V. Taken together, however, the problems are easier. In this question, you will give a linear time algorithm that, for any graph G and for any 0 < ǫ < 1, outputs either an n 1 ǫ -approximation to the graph coloring problem, or a n ǫ -approximation to the longest path problem. (a) For any c-coloring f of a graph G = (V,E), the color class of color i is defined to be C(i) = {v V : f(v) = i}. Given an n vertex graph, use DFS to find some parameter k such that there is a k-coloring as well as a path in the graph of length k so that each color class of the coloring contains exactly one vertex on the path. (b) Using part (a), for any graph G and parameter ǫ (0,1), show how to output in linear time either a path that is an n ǫ -approximation for the longest path problem, or a c-coloring that is an n 1 ǫ - approximation for the graph coloring problem. (Hint: Observe that each path has length at most n and each coloring has at least 1 color.) Solution: (a) Consider a DFS tree and let its depth be d. Assign the vertices at each level of the tree a separate color. Since there are no cross edges, there are no edges connecting two vertices at the same level of the tree, and this is a valid coloring. Taking the path from the deepest leaf to root gives a path whose length is the same as the number of colors. (b) By part (a), there exist a path of length k as well as a coloring of the graph using k colors. If k < n ǫ, then the coloring is an n ǫ /1 = n ǫ -approximation to coloring. Otherwise k n ǫ and the path of length k is an n/n ǫ = n 1 ǫ -approximation to longest path.. Approximation Algorithms Minimizing Shipping Times. A factory produces m different kinds of items (say {1,...,m}), and produces one item of each kind every time step. Let R = {R 1,...R n } be a set of customer requests. Every request contains at most one item of each kind, and hence a request R i is specified by a subset R i {1,...,m}. The items produced by the factory are to be allocated to the requests R. The shipping time of a request R i is the time at which all its items are allocated. The goal is to find an allocation that minimizes the total shipping time of all the requests.

In particular, design a polynomial time algorithm that outputs an allocation whose total shipping time is within a factor of the optimal allocation (a -approximation algorithm). (Hint: Write a linear program with only the shipping times of the requests as variables.) Solution. Let c i be the shipping time of request R i. For each i {1,...,m}, let S i denote the subset of requests that need an item of kind i. Consider the following linear program with exponentially many constraints. n Minimize (1) i=1 Subject to s S c i c s S ( S + 1) for all S S i,i {1,...,m} () All the requests in a subset S S i need an item of type i. Hence the sum of shipping times of the requests in S is at least 1 + +... + S = S ( S +1). The linear program includes one such constraint for every subset S S i of every S i. The linear program has exponentially many constraints, but there is a polynomial time separation oracle. Given a solution {c i }, run the following separation oracle: For each i {1,...,m} do Sort the numbers {c s s S i } in increasing order to get a sequence (c j1,c j,...,c j Si ). For every t {1,..., S i }, check that t c jl l=1 t(t + 1). If for some t, the above inequality is unsatisfied, then output the corresponding constraint. Rounding For every i {1,...,m}, allocate goods of kind i to the requests in increasing order of shipping times. Claim 1 Every request R i is shipped by time c i. Proof. Consider a type j R i. Let A be the set of requests interested in item j that have shipping times at most c i. A = {l j R l,c l c i } Observe that, Hence we have A ( A + 1) l A c l A c i. c i ( A + 1)/. As items are allocated in increasing order of shipping times, item j is allocated to R i by time A < c i. From the above claim, it follows that the allocation is a -approximation to the optimal allocation.

3. Theory of Linear Inequalities Let P be a non-empty bounded polyhedron in R n, let c R n, and let a i R n and b i R for i = 1,...,t for some positive integer t. Show that the linear programing problem max(c T x : x P,a T 1 x = b 1,...,a T t x = b t) has an optimal solution that is a convex combination of at most t + 1 vertices of P. Solution. A solution is available upon request. 4. Combinatorial Optimization Let G = (V,E) be a complete graph, with vertex set V and edge set E; let n = V. Consider the polytope P defined by x i + x j 1, for all {i,j} E 0 x i 1, for all i V. Show that the Chvátal rank of P is at least log (n 1). Solution. A solution is available upon request. 5. Graph Theory Let G be a connected graph. (a) Use a depth-first-search spanning tree to prove that if G is triangle-free, then G contains a bipartite subgraph H such that E(H) 3( V (G) 1)/4 and every component of H is an induced subgraph of G. (b) Prove an analogous bound when G has odd girth g 5 by replacing the constant 3/4 by an appropriate function of g. [A graph G has odd girth g if g is the largest integer such that every odd cycle in G has length at least g.] Solution: (a) Grow a DFS spanning tree T from a vertex u, the root. For each x V (T), let T[u,x] denote the unique path in T from u to x. Let v V (T) such that that V (T[u,v]) is maximum. If V (T[u,v]) 4 then G is bipartite (as G is triangle-free), and we have (a) with H = G. So assume V (T[u,v]) 5. Let w V (T[u,v]) such that the distance in T from w to v is 3. Define T w as the subtree of T consisting of w and all it descendants. Then T T w is a DFS spanning tree for G := G T w. By induction G has a bipartite subgraph H such that E(H ) 3( V (G) V (T w ) 1)/4 and every component of H is an induced subgraph of G (hence of G). Note that G[T w ] is bipartite (as G is triangle-free). Hence, H := H G[T w ] is bipartite, E(H) 3( V (G) V (T w ) 1)/4+( V (T w ) 1) 3( G 1)/4, and every component of H is an induced subgraph of G. (b) One can modify the proof to show the existence of a bipartite subgraph H of G such that E(H) ( V (G) 1) and every component of H is an induced subgraph of G. g g 1

Let (X n ) n=1 6. Probability be a sequence of i.i.d. random variables taking values ±1 with probability 1/. Let { X 1 +... + X n, n = 1,,... S n = 0, n = 0. Let Sn = max k=1,...,n S k, n = 1,,... Find the density of the limiting distribution for S n n and prove the convergence using the following reflection principle : for any n,r = 1,,..., You do not need to prove the reflection principle. P{S n > r} = P{S n > r + 1} + P{S n = r + 1}. Solution: One of the ways to prove weak convergence of distributions is to check the convergence of distribution functions at each point of continuity of the limiting distribution function. So, let us fix x R, and try to find lim n P{S n / n x}. If x 0, the limit is clearly 0. For x > 0, we can write P{S n / n x} = 1 P{S n / n > x}. Using the reflection principle, we can approximate this quantity by which by the Central Limit Theorem converges to 1 P{S n / n > x}, F(x) = 1 P{N > x} = 1 e y / dy, π where N is a standard Gaussian random variable. F( ) is a distribution function (we set F(x) = 0 for x 0), continuous at all points. Therefore, the distribution of Sn / n convergerges weakly to the distribution with distribution function F( ). The density of the limiting distribution is { F (x) = π e x /, x > 0, 0, x 0. x 7. Algebra Let G = GL(, C) denote the group of invertible by matrices with complex entries, and B denote the subgroup of G that consists of all matrices with lower-left entry 0. Recall that the double-coset [g] of g G with respect to B is the set {bgb b,b B}. Let X = {[g] g G} denote the set of double cosets of B in G. Prove that there exist two matrices g 0 and g 1 in G such that X = {[g 0 ],[g 1 ]}.

( ) a b Solution: Take a matrix g = G and do row operations on g. A row operation writes g = bg c d. There are two cases. Case 1: a 0. Then, g 1 = 0. Case : c 0. Then, g 11 = 0. In case 1, we have b := g B and g = bib, where I is the identity matrix. In case, the calculation shows that g = bwb where ( ) 0 b c d ( )( ) 0 1 c d = 1 0 0 b w = ( ) 0 1 1 0 Let g 0 = I, g 1 = w. It is easy to see that the double cosets [g 0 ] and [g 1 ] are discjoint, and the above calculation shows that X = {[g 0 ],[g 1 ]}. Note B is the standard Borel subgroup of G. For G = GL(n, C) the double cosets are given by permutation matrices g i with zeros in all but one entry of each row and column. This is nothing but the Gauss elimination procedure done to a matrix with row operations, and row-echelon forms.