Approximation Algoirthms: Semidefinite Programming Lecture 19: Mar 22.

Slides:



Advertisements
Similar presentations
Iterative Rounding and Iterative Relaxation
Advertisements

Graph Partitioning Problems Lecture 18: March 14 s1 s3 s4 s2 T1 T4 T2 T3 s1 s4 s2 s3 t3 t1 t2 t4 A region R1 R2 C1 C2.
C&O 355 Lecture 23 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.
Approximation Algoirthms: Graph Partitioning Problems Lecture 17: March 16 s1 s3 s4 s2 T1 T4 T2 T3.
C&O 355 Mathematical Programming Fall 2010 Lecture 22 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A.
Semi-Definite Algorithm for Max-CUT Ran Berenfeld May 10,2005.
Introduction to PCP and Hardness of Approximation Dana Moshkovitz Princeton University and The Institute for Advanced Study 1.
Approximate Counting via Correlation Decay Pinyan Lu Microsoft Research.
Introduction to Approximation Algorithms Lecture 12: Mar 1.
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
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.
Primal Dual Method Lecture 20: March 28 primaldual restricted primal restricted dual y z found x, succeed! Construct a better dual.
Approximation Algorithm: Iterative Rounding Lecture 15: March 9.
Perfect Graphs Lecture 23: Apr 17. Hard Optimization Problems Independent set Clique Colouring Clique cover Hard to approximate within a factor of coding.
Approximation Algorithms
1 Traveling Salesman Problem (TSP) Given n £ n positive distance matrix (d ij ) find permutation  on {0,1,2,..,n-1} minimizing  i=0 n-1 d  (i),  (i+1.
Semidefinite Programming Based Approximation Algorithms Uri Zwick Uri Zwick Tel Aviv University UKCRC’02, Warwick University, May 3, 2002.
Theta Function Lecture 24: Apr 18. Error Detection Code Given a noisy channel, and a finite alphabet V, and certain pairs that can be confounded, the.
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.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Distributed Combinatorial Optimization
1 Introduction to Approximation Algorithms Lecture 15: Mar 5.
(work appeared in SODA 10’) Yuk Hei Chan (Tom)
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
1 Spanning Tree Polytope x1 x2 x3 Lecture 11: Feb 21.
Finding Almost-Perfect
Integrality Gaps for Sparsest Cut and Minimum Linear Arrangement Problems Nikhil R. Devanur Subhash A. Khot Rishi Saket Nisheeth K. Vishnoi.
C&O 355 Mathematical Programming Fall 2010 Lecture 17 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
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.
Theory of Computing Lecture 13 MAS 714 Hartmut Klauck.
Approximation Algorithms
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
CSCI 3160 Design and Analysis of Algorithms Chengyu Lin.
Computer Science Day 2013, May Distinguished Lecture: Andy Yao, Tsinghua University Welcome and the 'Lecturer of the Year' award.
Semidefinite Programming
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Unit 9: Coping with NP-Completeness
Linear Program Set Cover. Given a universe U of n elements, a collection of subsets of U, S = {S 1,…, S k }, and a cost function c: S → Q +. Find a minimum.
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
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.
NP Completeness Piyush Kumar. Today Reductions Proving Lower Bounds revisited Decision and Optimization Problems SAT and 3-SAT P Vs NP Dealing with NP-Complete.
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.
Non-LP-Based Approximation Algorithms Fabrizio Grandoni IDSIA
Approximation Algorithms based on linear programming.
Honors Track: Competitive Programming & Problem Solving Seminar Topics Kevin Verbeek.
Approximation algorithms
Introduction to Approximation Algorithms
Lap Chi Lau we will only use slides 4 to 19
Topics in Algorithms Lap Chi Lau.
Approximation algorithms
Possibilities and Limitations in Computation
CS154, Lecture 16: More NP-Complete Problems; PCPs
1.3 Modeling with exponentially many constr.
CS154, Lecture 16: More NP-Complete Problems; PCPs
Topics in Algorithms 2005 Max Cuts
Instructor: Aaron Roth
Presentation transcript:

Approximation Algoirthms: Semidefinite Programming Lecture 19: Mar 22

Semidefinite Programming What is semidefinite programming? A generalization of linear programming. A special case of convex programing. Can be optimized in polynomial time. What is it good for? Shannon capacity Perfect graphs Number theory Quantum computation Approximation algorithms Image segmentation and clustering Constraint satisfaction problems etc…

Maximum Cut (Maximum Cut) Given an undirected graph, with an edge weight w(e) on each edge e, find a partition (S,V-S) of V so as to maximum the total weight of edges in this cut, i.e. edges that have one endpoint in S and one endpoint in V-S.

Maximum Cut When is computing maximum cut easy? When we are given a bipartite graph. The maximum cut problem can also be interpreted as the problem of finding a maximum bipartite subgraph. There is a simple greedy algorithm with approximation ratio ½. Similar to vertex cover.

Quadratic Program for MaxCut The two sides of the partition. if they are on opposite sides. if they are on the same side.

Quadratic Program for MaxCut Of course this is unlikely to be solved in polynomial time, otherwise P=NP. This quadratic program is called strict quadratic program, because every term is of degree 0 or degree 2.

Vector Program for MaxCut

This is a relaxation of the strict quadratic program (why?) Vector program: linear inequalities over inner products. Vector program = semidefinite program. Can be “solved” in polynomial time (ellipsoid, interior point).

Geometric Interpretation Think of as an n-dimensional vector. Contribute more to the objective if they are more far apart.

Demonstration Rubber band method. László Lovász

Algorithm (Max-Cut Algorithm) 1.Solve the vector program. Let be an optimal solution. 2.Pick r to be a uniformly distributed vector on the unit sphere. 3.Let

Analysis Claim:

Analysis Suppose and has an edge. Contribution to semidefinite program: Contribution to the solution: Approximation Ratio:

Let W be the random variable denoting the weight of edges in the cut. Analysis Proof: Linearity of expection. Claim:

(Max-Cut Algorithm) 1.Solve the vector program. Let be an optimal solution. 2.Pick r to be a uniformly distributed vector on the unit sphere. 3.Let Algorithm Repeat a few times to get a good approximation with high probability. This algorithm performs extremely well in practice. Try to find a tight example.

Remarks Hard to imagine a combinatorial algorithm with the same performance. Assuming the “unique games conjecture”, this algorithm is the best possible! That is, it is NP-hard to find a better approximation algorithm!

Constraint Satisfaction Problems (Max-2-SAT) Given a formula in which each clause contains two literals, find a truth assignment that satisfies the maximum number of clauses. e.g. An easy algorithm with approximation ratio ½. An LP-based algorithm with approximation ratio ¾. An SDP-based algorithm with approximation ratio

Vector Program for MAX-2-SAT (Max-2-SAT) Given a formula in which each clause contains two literals, find a truth assignment that satisfies the maximum number of clauses. Additional variable (trick): A variable is set to be true if: A variable is set to be false if:

Vector Program for MAX-2-SAT Denote v(C) to be the value of a clause C, which is defined as follows. Consider a clause containing 2 literals, e.g.. Its value is:

Vector Program for MAX-2-SAT Objective: where a(ij) and b(ij) is the sum of coefficients.

(MAX-2-SAT Algorithm) 1.Solve the vector program. Let be an optimal solution. 2.Pick r to be a uniformly distributed vector on the unit sphere. 3.Let be the “true” variables. Algorithm

Analysis Term-by-term analysis. Contribution to semidefinite program: Contribution to the solution: Approximation Ratio: First consider the second term.

Analysis Term-by-term analysis. Contribution to semidefinite program: Contribution to the solution: Approximation Ratio: Consider the first term.

(MAX-2-SAT Algorithm) 1.Solve the vector program. Let be an optimal solution. 2.Pick r to be a uniformly distributed vector on the unit sphere. 3.Let be the “true” variables. Algorithm This is a approximation algorithm for MAX-2-SAT. Can be improved to 0.931!

More SDP in approximation algorithms Sparsest cut: O(√log n) Graph colouring Constraint satisfaction problems Correlation clustering Perhaps the most powerful weapon in the design of approximation algorithms. Useful to know geometry and algebra.

Semidefinite Programming What is semidefinite programming? A generalization of linear programming. A special case of convex programing. Can be optimized in polynomial time. What is it good for? Shannon capacity Perfect graphs Number theory Quantum computation Approximation algorithms Image segmentation and clustering Constraint satisfaction problems etc…

Do your best then. NP-completeness

Topics Covered? 1.Combinatorial arguments: TSP, Steiner trees, multiway cut 2.Dynamic programming: knapsack 3.Iterative rounding: network design problems 4.Randomized rounding: congestion minimization, set cover 5.Semidefinite programming: maximum cut 6.Primal-dual algorithms? Greedy algorithms? A diverse set of techniques. A popular topic: graph partitioning problems. Multicut, sparsest cut, metric labeling, correlation clustering, etc.

Concluding Remarks Learn to design better heuristics. e.g. iterative rounding, SDP performs extremely well in practice. Use LP or SDP as a good way to estimate the optimal value. e.g. help to test the performance of a heuristic. What is approximable? Why LP/SDP?