1 On Completing Latin Squares Iman Hajirasouliha Joint work with Hossein Jowhari, Ravi Kumar, and Ravi Sundaram.

Slides:



Advertisements
Similar presentations
Approximation algorithms for geometric intersection graphs.
Advertisements

Max Cut Problem Daniel Natapov.
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Totally Unimodular Matrices
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
Approximation, Chance and Networks Lecture Notes BISS 2005, Bertinoro March Alessandro Panconesi University La Sapienza of Rome.
Computing Kemeny and Slater Rankings Vincent Conitzer (Joint work with Andrew Davenport and Jayant Kalagnanam at IBM Research.)
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
Optimization of Pearl’s Method of Conditioning and Greedy-Like Approximation Algorithm for the Vertex Feedback Set Problem Authors: Ann Becker and Dan.
The number of edge-disjoint transitive triples in a tournament.
Introduction to Approximation Algorithms Lecture 12: Mar 1.
Approximation Algoirthms: Semidefinite Programming Lecture 19: Mar 22.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
Totally Unimodular Matrices Lecture 11: Feb 23 Simplex Algorithm Elliposid Algorithm.
Semidefinite Programming
1 Introduction to Linear and Integer Programming Lecture 9: Feb 14.
Introduction to Linear and Integer Programming Lecture 7: Feb 1.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
Approximation Algorithm: Iterative Rounding Lecture 15: March 9.
Approximation Algorithms
On the Crossing Spanning Tree Vineet Goyal Joint work with Vittorio Bilo, R. Ravi and Mohit Singh.
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.
2-Layer Crossing Minimisation Johan van Rooij. Overview Problem definitions NP-Hardness proof Heuristics & Performance Practical Computation One layer:
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Distributed Combinatorial Optimization
Carmine Cerrone, Raffaele Cerulli, Bruce Golden GO IX Sirmione, Italy July
1 Introduction to Approximation Algorithms Lecture 15: Mar 5.
(work appeared in SODA 10’) Yuk Hei Chan (Tom)
Packing Element-Disjoint Steiner Trees Mohammad R. Salavatipour Department of Computing Science University of Alberta Joint with Joseph Cheriyan Department.
1 Joint work with Shmuel Safra. 2 Motivation 3 Motivation.
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
Outline Introduction The hardness result The approximation algorithm.
Primal-Dual Meets Local Search: Approximating MST’s with Non-uniform Degree Bounds Author: Jochen Könemann R. Ravi From CMU CS 3150 Presentation by Dan.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
Approximation Algorithms for NP-hard Combinatorial Problems Magnús M. Halldórsson Reykjavik University
Design Techniques for Approximation Algorithms and Approximation Classes.
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Sets.
Approximation and Hardness Results for Packing Cycles Mohammad R. Salavatipour Department of Computing Science University of Alberta Joint work with M.
Edge-disjoint induced subgraphs with given minimum degree Raphael Yuster 2012.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
1/19 Minimizing weighted completion time with precedence constraints Nikhil Bansal (IBM) Subhash Khot (NYU)
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
Implicit Hitting Set Problems Richard M. Karp Erick Moreno Centeno DIMACS 20 th Anniversary.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
Unique Games Approximation Amit Weinstein Complexity Seminar, Fall 2006 Based on: “Near Optimal Algorithms for Unique Games" by M. Charikar, K. Makarychev,
1 Approximation algorithms Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij TexPoint fonts used in EMF. Read the TexPoint manual.
NPC.
Models of Greedy Algorithms for Graph Problems Sashka Davis, UCSD Russell Impagliazzo, UCSD SIAM SODA 2004.
Instructor: Shengyu Zhang 1. Optimization Very often we need to solve an optimization problem.  Maximize the utility/payoff/gain/…  Minimize the cost/penalty/loss/…
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
Approximation Algorithms based on linear programming.
New Algorithms for Disjoint Paths Problems Sanjeev Khanna University of Pennsylvania Joint work with Chandra Chekuri Bruce Shepherd.
Timetable Problem solving using Graph Coloring
Approximation algorithms
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
Introduction to Approximation Algorithms
Lap Chi Lau we will only use slides 4 to 19
Bipartite Matching Lecture 8: Oct 7.
Topics in Algorithms Lap Chi Lau.
Approximation algorithms
Haim Kaplan and Uri Zwick
Exact Algorithms via Monotone Local Search
3.5 Minimum Cuts in Undirected Graphs
Approximation Algorithms
Instructor: Aaron Roth
Presentation transcript:

1 On Completing Latin Squares Iman Hajirasouliha Joint work with Hossein Jowhari, Ravi Kumar, and Ravi Sundaram

2 Definitions What is a Latin Square and a Partial Latin Square (PLS)? The PLSE problem: Given a PLS, fill the maximum number of empty cells using numbers in [n] without violating the constraints. The k-PLSE problem: How many empty cells of a PLS can be filled properly using at most k ≤ n different numbers? Introduction, 2/3-ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

3 Motivations and Applications Interesting object for mathematicians, Evans conjecture(1960) says that a PLS with n-1 filled cells can be completed. (Proved by Smetaniuk in 1981) Sudoku puzzles, one of the current fads, are PLSs with additional properties. The problem has application in error- correcting codes and recently optical networks. Introduction, 2/3-ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

4 Previous and New Results ProblemApprox. factor Authors, YearTechnique PLSE1/2Kumar, Russell, Sundaram, 1995 Combinatorial ideas PLSE1-1/eGomes, Regis, Shmoys, 2003 LP and Randomized Rounding PLSE2/3-εThis paperLocal Search k-PLSE1-1/e-εThis paperLP and Randomized Rounding The PLSE problem is NP-Complete (Colbourn 1984) The PLSE problem is APX-hard (This paper) 1-1/e+ε hardness for the k-PLSE problem. (This paper) Introduction, 2/3-ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

5 A problem equivalent to PLSE  The 3EDM Problem: finding the number of maximum edge disjoint triangles in a tripartite simple graph rows columns numbers a d b 1 c d c b a Introduction, 2/3 -ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion abc d a b c d

6 Local Search Algorithm for 3EDM Let G be an instance of 3EDM  Fix a constant t ≥ 7.  Start from any arbitrary valid solution.  If possible, replace s ≤ t triangles in the current solution with s+1 edge-disjoint triangles to get another valid solution. Since the size of solution increases in each step by one, the algorithm runs in polynomial time. Introduction, 2/3-ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

7 Local Search Analysis Let T={T 1,…, T m } be the set of edge disjoint triangles of OPT and T’={T’ 1,…, T’ n } be the set of triangles found by the heuristic. Construct a bipartite graph H with vertex set T  T’. Connect T i and T’ j in H, iff T i and T’ j share an edge in G. T1T1 T2T TmTm T’ 1 T’ 2 T’ n Optimal TrianglesLocal Search Triangles H Introduction, 2/3 - ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

8 Hurkens-Schrijver Theorem: Let H be a bipartite graph with vertex set X  Y; |X|=n, |Y|=m. Let k ≥3 and assume:  For each y in Y, deg (y) ≤ k.  Every subset of size ≤ t of X has a system of distinct representatives in Y. Then: Introduction, 2/3 -ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

9 PLSE and H-S Theorem H satisfies the Hurkens-Schrijver conditions.  deg (T’ j ) ≤ 3 for each T’ j.  Every subset of size t in T has a System of Distinct Representation in T’ (due to local search). Setting k=3, we get the 2/3-ε bound. For t=7 we beat the previous result: T1T1 T2T TmTm T’ 1 T’ 2 T’ n Optimal Triangles Local Search Triangles H Introduction, 2/3 - ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

10 The k-PLSE problem How many cells of a PLS can be filled using at most k ≤ n different numbers? A natural greedy algorithm: Repeat k times: Pick the number c which can fill the most cells. Fill those cells with c. The greedy algorithm is a ½ - approximation algorithm. Introduction, 2/3-ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

11 Greedy algorithm analysis OPT solution and greedy solution are sets of triples {(i, j, k)}. To each triple y in OPT, we assign a triple x in greedy solution as accountable. Given y=(i, j, k) in OPT, we have three cases: 1) cell x=(i, j, t) is in Greedy. x is accountable for y. Introduction, 2/3-ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

12 2) (i, j) is empty in Greedy but k has been used in Greedy. We can assign a distinct x=(i’, j’, k) in Greedy to y. Consider the iteration where Greedy chooses k Cells with number 1 in OPTCells with number 1 in Greedy Introduction, 2/3-ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

13 3) cell (i, j) is empty in Greedy and number k is missing in Greedy. For each number c in OPT we can assign a number c’ in Greedy which is missing in OPT Red cells in OPT are mapped to Yellow cells in Greedy OPT Greedy Introduction, 2/3-ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

14 LP relaxation of the problem A way to extend the PLS with a number represents a matching. M c is the set of all matchings that extends the PLS with number c. y cM is 1 when Matching M is chosen. Introduction, 2/3-ε Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

15 1-1/e- ε approximation 1. Solve the LP program. 2. Multiply the variables by 1-ε. 3. For each number pick a matching randomly according to the probability associated with the matchings. 4. If matchings intersect in a cell, choose one of them arbitrarily for the cell. Expectation of the size of solution obtained is bigger than (1-1/e-ε)LP OPT With a constant probability, at most k numbers have been picked. Introduction, 2/3 Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion

16 Conclusion We defined a new and natural variation of the PLSE problem and obtained simple approximation algorithms for the PLSE and k-PLSE problems. Our results for the PLSE problem is an improvement and for the k-PLSE problem is the best possible. Introduction, 2/3 Approx. for PLSE, 1-1/e-ε Approx. for k-PLSE, Conclusion