Introduction to Linear and Integer Programming - PowerPoint PPT Presentation

About This Presentation
Title:

Introduction to Linear and Integer Programming

Description:

Introduction to Linear and Integer Programming Lecture 7: Feb 1 Introduction to Linear and Integer Programming Lecture 7: Feb 1 Overview Mathematical programming ... – PowerPoint PPT presentation

Number of Views:330
Avg rating:3.0/5.0
Slides: 24
Provided by: CSE
Category:

less

Transcript and Presenter's Notes

Title: Introduction to Linear and Integer Programming


1
Introduction to Linear and Integer Programming
  • Lecture 7 Feb 1

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

3
Mathematical Programming
  • Input
  • An objective function f Rn -gt R
  • A set of constraint functions gi Rn -gt R
  • A set of constraint values bi
  • Goal
  • Find x in Rn which
  • maximizes f(x)
  • satisfies gi(x) lt bi

4
Linear Programming
  • Input
  • A linear objective function f Rn -gt R
  • A set of linear constraint functions gi Rn -gt
    R
  • A set of constraint values bi
  • Goal
  • Find x in Rn which
  • maximizes f(x)
  • satisfies gi(x) lt bi

5
Integer Linear Programming
  • Input
  • A linear objective function f Zn -gt Z
  • A set of linear constraint functions gi Zn -gt
    Z
  • A set of constraint values bi
  • Goal
  • Find x in Zn which
  • maximizes f(x)
  • satisfies gi(x) lt bi

6
Maximum Matchings
(degree constraints)
Every solution is a matching!
7
Maximum Satisfiability
Goal Find a truth assignment to satisfy all
clauses
NP-complete!
8
Integer Linear Programming
  • Input
  • A linear objective function f Zn -gt Z
  • A set of linear constraint functions gi Zn -gt
    Z
  • A set of constraint values bi
  • Goal
  • Find x in Zn which
  • maximizes f(x)
  • satisfies gi(x) lt bi

NP-complete!
9
Mathematical Programming
  • Input
  • An objective function f Rn -gt R
  • A set of constraint functions gi Rn -gt R
  • A set of constraint values bi
  • Goal
  • Find x in Rn which
  • maximizes f(x)
  • satisfies gi(x) lt bi

NP-complete!
10
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

11
Linear Programming Relaxation
Replace
By
Surprisingly, this works for many problems!
12
Linear Programming Relaxation
Stable matchings
Bipartite matchings
Minimum spanning trees
General matchings
Maximum flows
Shortest paths
Minimum Cost Flows
Submodular Flows
Linear programming
13
Maximum Matchings
But not every solution is a matching!!
Every matching is a solution.
14
Geometric Interpretation
Goal Optimize over integers!
Linear inequalities as hyperplanes
Objective function is also a hyperplane
Not a good relaxation!
15
Good Relaxation
Every vertex could be the unique optimal
solution for some objective function.
So, we need every vertex to be integral!
16
Matching Polytope
x1
Goal define a polytope which is the
convex hull of matchings.
x1
(0.5,0.5,0.5)
x3
x2
x3
x2
17
x1
Matching Polytope
x1
x3
x2
x1
x3
x2
x3
x2
18
Valid Inequalities
Inequalities which are satisfied by integer
solutions but kill unwanted fractional solution.
Enough?
19
Valid Inequalities
Odd set inequalities
Enough?
Yes, thats enough.
Edmonds 1965
20
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?
21
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.
22
Plan
How to prove integrality?
  • Convex combination
  • Totally unimodular matrix
  • Iterative rounding
  • Randomized rounding
  • Totally dual integrality

Uncrossing technique
23
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!
Write a Comment
User Comments (0)
About PowerShow.com