Introduction to Linear and Integer Programming Lecture 7: Feb 1.

Slides:



Advertisements
Similar presentations
Iterative Rounding and Iterative Relaxation
Advertisements

Primal Dual Combinatorial Algorithms Qihui Zhu May 11, 2009.
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
1 Matching Polytope x1 x2 x3 Lecture 12: Feb 22 x1 x2 x3.
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.
Totally Unimodular Matrices
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Lecture 8 Tuesday, 11/19/02 Linear Programming.
1 of 56 Linear Programming-Based Approximation Algorithms Shoshana Neuburger Graduate Center, CUNY May 13, 2009.
C&O 355 Mathematical Programming Fall 2010 Lecture 21 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
C&O 355 Lecture 12 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.
Discrete Optimization Shi-Chung Chang. Discrete Optimization Lecture #1 Today: Reading Assignments 1.Chapter 1 and the Appendix of [Pas82] 2.Chapter 1.
Semi-Definite Algorithm for Max-CUT Ran Berenfeld May 10,2005.
Introduction to Approximation Algorithms Lecture 12: Mar 1.
Approximation Algoirthms: Semidefinite Programming Lecture 19: Mar 22.
1 Linear Programming Jose Rolim University of Geneva.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2006 Lecture 9 Wednesday, 11/15/06 Linear Programming.
Linear Programming and Approximation
Totally Unimodular Matrices Lecture 11: Feb 23 Simplex Algorithm Elliposid Algorithm.
Semidefinite Programming
1 Introduction to Linear and Integer Programming Lecture 9: Feb 14.
Approximation Algorithm: Iterative Rounding Lecture 15: March 9.
Duality Lecture 10: Feb 9. Min-Max theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum Cut Both.
Approximation Algorithms
1 Maximum matching Max Flow Shortest paths Min Cost Flow Linear Programming Mixed Integer Linear Programming Worst case polynomial time by Local Search.
Chapter 10: Iterative Improvement
Computer Algorithms Integer Programming ECE 665 Professor Maciej Ciesielski By DFG.
1 Bipartite Matching Polytope, Stable Matching Polytope x1 x2 x3 Lecture 10: Feb 15.
Matching Polytope, Stable Matching Polytope Lecture 8: Feb 2 x1 x2 x3 x1 x2 x3.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Linear Programming Some of these slides are adapted from The Allocation of Resources.
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
Polyhedral Optimization Lecture 3 – Part 3 M. Pawan Kumar Slides available online
1 Integrality constraints Integrality constraints are often crucial when modeling optimizayion problems as linear programs. We have seen that if our linear.
1 Spanning Tree Polytope x1 x2 x3 Lecture 11: Feb 21.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2008 Lecture 9 Tuesday, 11/18/08 Linear Programming.
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.
C&O 355 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
C&O 355 Mathematical Programming Fall 2010 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A.
Computational Geometry Piyush Kumar (Lecture 5: Linear Programming) Welcome to CIS5930.
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.
MIT and James Orlin1 NP-completeness in 2005.
Lecture 2: General Problem-Solving Methods. Greedy Method Divide-and-Conquer Backtracking Dynamic Programming Graph Traversal Linear Programming Reduction.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Theory of Computing Lecture 13 MAS 714 Hartmut Klauck.
TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A A A A A A A Image:
Discrete Optimization Lecture #2 2008/2/271Shi-Chung Chang, NTUEE, GIIE, GICE Last Time 1.Course Overview » A taxonomy of optimization problems » Course.
§1.4 Algorithms and complexity For a given (optimization) problem, Questions: 1)how hard is the problem. 2)does there exist an efficient solution algorithm?
Optimization - Lecture 4, Part 1 M. Pawan Kumar Slides available online
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.
CPSC 536N Sparse Approximations Winter 2013 Lecture 1 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAA.
Number of primal and dual bases of network flow and unimodular integer programs Hiroki NAKAYAMA 1, Takayuki ISHIZEKI 2, Hiroshi IMAI 1 The University of.
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.
Approximation Algorithms Duality My T. UF.
Linear Programming Piyush Kumar Welcome to CIS5930.
Approximation Algorithms based on linear programming.
Honors Track: Competitive Programming & Problem Solving Seminar Topics Kevin Verbeek.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Lap Chi Lau we will only use slides 4 to 19
ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS
Topics in Algorithms Lap Chi Lau.
Analysis of Algorithms
3-3 Optimization with Linear Programming
Linear Programming Piyush Kumar Welcome to COT 5405.
Linear Programming and Approximation
Problem Solving 4.
Lecture 19 Linear Program
Presentation transcript:

Introduction to Linear and Integer Programming Lecture 7: Feb 1

Overview 1.Mathematical programming 2.Linear and integer programming 3.Examples 4.Geometric interpretation 5.Agenda

Mathematical Programming Input: An objective function f: R n -> R A set of constraint functions: g i : R n -> R A set of constraint values: b i Goal: Find x in R n which: 1. maximizes f(x) 2. satisfies g i (x) <= b i

Linear Programming Input: A linear objective function f: R n -> R A set of linear constraint functions: g i : R n -> R A set of constraint values: b i Goal: Find x in R n which: 1. maximizes f(x) 2. satisfies g i (x) <= b i

Integer Linear Programming Input: A linear objective function f: Z n -> Z A set of linear constraint functions: g i : Z n -> Z A set of constraint values: b i Goal: Find x in Z n which: 1. maximizes f(x) 2. satisfies g i (x) <= b i

Maximum Matchings (degree constraints) Every solution is a matching!

Maximum Satisfiability Goal: Find a truth assignment to satisfy all clauses NP-complete!

Integer Linear Programming Input: A linear objective function f: Z n -> Z A set of linear constraint functions: g i : Z n -> Z A set of constraint values: b i Goal: Find x in Z n which: 1. maximizes f(x) 2. satisfies g i (x) <= b i NP-complete!

Mathematical Programming Input: An objective function f: R n -> R A set of constraint functions: g i : R n -> R A set of constraint values: b i Goal: Find x in R n which: 1. maximizes f(x) 2. satisfies g i (x) <= b i NP-complete!

Algorithms for Linear Programming (Dantzig 1951) Simplex method Very efficient in practice Exponential time in worst case (Khachiyan 1979) Ellipsoid method Not efficient in practice Polynomial time in worst case

Linear Programming Relaxation Replace By Surprisingly, this works for many problems!

Bipartite matchings General matchings Maximum flows Stable matchings Shortest paths Minimum spanning trees Minimum Cost Flows Linear programming Submodular Flows Linear Programming Relaxation

Maximum Matchings Every matching is a solution. But not every solution is a matching!!

Geometric Interpretation Linear inequalities as hyperplanes Goal: Optimize over integers! Objective function is also a hyperplane Not a good relaxation!

Good Relaxation Every vertex could be the unique optimal solution for some objective function. So, we need every vertex to be integral!

Matching Polytope Goal: define a polytope which is the convex hull of matchings. x1 x3x2 x1 x2 x3 (0.5,0.5,0.5)

x1 x3x2 x1 x2 x3 Matching Polytope x1 x2 x3

Valid Inequalities Enough? Inequalities which are satisfied by integer solutions but kill unwanted fractional solution.

Valid Inequalities Enough? Odd set inequalities Yes, that’s enough. [Edmonds 1965]

Exponentially Many Inequalities Can take care by the ellipsoid method. Just need a separation oracle, which determines whether a solution is feasible. If not, find a violating inequality. How to construct a separation oracle for matchings?

Questions Prove that bipartite matching polytope is defined by the degree constraints. Try to confirm what Edmonds said. Write a linear program for the stable matching problem.

Plan How to prove integrality?  Convex combination  Totally unimodular matrix  Iterative rounding  Randomized rounding  Totally dual integrality Uncrossing technique

Plan How to prove min-max theorems? Duality theorem How to solve linear programs?  Simplex method  Ellipsoid method  Primal-dual method Can see combinatorial algorithms!