bipartite matching polytope, stable matching polytope

29
1 Bipartite Matching Polytope, Bipartite Matching Polytope, Stable Matching Polytope Stable Matching Polytope x1 x2 x3 Lecture 10: Feb 15

Upload: ianna

Post on 06-Jan-2016

69 views

Category:

Documents


4 download

DESCRIPTION

x1. x3. x2. Bipartite Matching Polytope, Stable Matching Polytope. Lecture 10: Feb 15. Perfect Matching. Integrality Gap Example. x1. x2. x3. x1. (0.5,0.5,0.5). x3. x2. Good Relaxation. Every vertex could be the unique optimal solution for some objective function. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Bipartite Matching Polytope,  Stable Matching Polytope

1

Bipartite Matching Polytope, Bipartite Matching Polytope,

Stable Matching PolytopeStable Matching Polytope

x1

x2

x3

Lecture 10: Feb 15

Page 2: Bipartite Matching Polytope,  Stable Matching Polytope

2

Perfect Matching

Page 3: Bipartite Matching Polytope,  Stable Matching Polytope

3

x1

x3x2x1

x2

x3

(0.5,0.5,0.5)

Integrality Gap Example

Page 4: Bipartite Matching Polytope,  Stable Matching Polytope

4

Good Relaxation

Every vertex could be the unique optimal

solution for some objective function.

So, we need every vertex to be integral.

For every objective function, there is a

vertex achieving optimal value.

So, it suffices if every vertex is integral.

Goal: Every vertex is integral!

Page 5: Bipartite Matching Polytope,  Stable Matching Polytope

5

Black Box

LP-solver

Problem

LP-formulation Vertex solution

Solution

Polynomial time

integral

Page 6: Bipartite Matching Polytope,  Stable Matching Polytope

6

Vertex Solutions

An optimal vertex solution can be found in polynomial time.

Page 7: Bipartite Matching Polytope,  Stable Matching Polytope

7

Prove:

for a bipartite graph,

a vertex solution

corresponds to an

integral solution.

Bipartite Perfect Matching

Page 8: Bipartite Matching Polytope,  Stable Matching Polytope

8

Pick a fractional edge and keep walking.

Prove: a vertex solution corresponds to an integral solution.

Because of degree constraints,every edge in the cycle is fractional.

Partition into two matchingsbecause the cycle is even.

Bipartite Perfect Matching

Page 9: Bipartite Matching Polytope,  Stable Matching Polytope

9

Since every edge in the cycle is fractional,we can increase every edge a little bit,or decrease every edge a little bit.

Degree constraints are still satisfied in two new matchings.

Original matching is the average!

Fact: A vertex solution is not a convex

combination of some other points.CONTRADICTION!

Bipartite Perfect Matching

Page 10: Bipartite Matching Polytope,  Stable Matching Polytope

10

Boys Girls

1: CBEAD A : 35214

2 : ABECD B : 52143

3 : DCBAE C : 43512

4 : ACDBE D : 12345

5 : ABDEC E : 23415

Stable Matching

The Stable Marriage Problem:

• There are n boys and n girls.

• For each boy, there is a preference list of the

girls.

• For each girl, there is a preference list of the

boys.

Page 11: Bipartite Matching Polytope,  Stable Matching Polytope

11

Stable Matching

Boys Girls

1: CBEAD A : 35214

2 : ABECD B : 52143

3 : DCBAE C : 43512

4 : ACDBE D : 12345

5 : ABDEC E :

23415

What is a stable matching?

Consider the following matching. It is unstable, why?

Page 12: Bipartite Matching Polytope,  Stable Matching Polytope

12

Stable Matching

Boys Girls

1: CBEAD A : 35214

2 : ABECD B : 52143

3 : DCBAE C : 43512

4 : ACDBE D : 12345

5 : ABDEC E :

23415

• Boy 4 prefers girl C more than girl B (his current partner).

• Girl C prefers boy 4 more than boy 1 (her current partner).

So they have the incentive to leave their current partners,

and switch to each other, we call such a pair an unstable pair.

Page 13: Bipartite Matching Polytope,  Stable Matching Polytope

13

Stable Matching

Boys Girls

1: CBEAD A : 35214

2 : ABECD B : 52143

3 : DCBAE C : 43512

4 : ACDBE D : 12345

5 : ABDEC E :

23415

A stable matching is a matching with no unstable pair, and every one is married.

What is a stable matching?

Does a stable matching always exists?

Page 14: Bipartite Matching Polytope,  Stable Matching Polytope

14

Boys Girls

1: CBEAD A : 35214

2 : ABECD B : 52143

3 : DCBAE C : 43512

4 : ACDBE D : 12345

5 : ABDEC E : 23415

Day 1

Morning: boy propose to their favourite girlAfternoon: girl rejects all but favouriteEvening: rejected boy writes off girl

Page 15: Bipartite Matching Polytope,  Stable Matching Polytope

15

Boys Girls

1: CBEAD A : 35214

2 : ABECD B : 52143

3 : DCBAE C : 43512

4 : ACDBE D : 12345

5 : ABDEC E : 23415

Morning: boy propose to their favourite girlAfternoon: girl rejects all but favouriteEvening: rejected boy writes off girl

Day 2

Page 16: Bipartite Matching Polytope,  Stable Matching Polytope

16

Boys Girls

1: CBEAD A : 35214

2 : ABECD B : 52143

3 : DCBAE C : 43512

4 : ACDBE D : 12345

5 : ABDEC E : 23415

Morning: boy propose to their favourite girlAfternoon: girl rejects all but favouriteEvening: rejected boy writes off girl

Day 3

Page 17: Bipartite Matching Polytope,  Stable Matching Polytope

17

Boys Girls

1: CBEAD A : 35214

2 : ABECD B : 52143

3 : DCBAE C : 43512

4 : ACDBE D : 12345

5 : ABDEC E : 23415

Morning: boy propose to their favourite girlAfternoon: girl rejects all but favouriteEvening: rejected boy writes off girl

A stable matching!

Day 4

Page 18: Bipartite Matching Polytope,  Stable Matching Polytope

18

Gale,Shapley [1962]:

This procedure always find a stable matching in the stable marriage problem.

Proof of Gale-Shapley Theorem

1. The procedure will terminate.

2. Everyone is married.

3. No unstable pairs.

The stable matching algorithm is boy-optimal

That is, among all possible stable matching,

boys get the best possible partners simultaneously.

Page 19: Bipartite Matching Polytope,  Stable Matching Polytope

19

Bipartite Stable Matching

Input: N men, N women, each has a preference list.

Goal: Find a matching with no unstable pair.

How to formulate into linear program?

Page 20: Bipartite Matching Polytope,  Stable Matching Polytope

20

Bipartite Stable Matching

Write

if v prefers f to e.

Write

if for some v

Page 21: Bipartite Matching Polytope,  Stable Matching Polytope

21

Bipartite Stable Matching

CLAIM:

Proof:

Page 22: Bipartite Matching Polytope,  Stable Matching Polytope

22

Bipartite Stable Matching

Focus on the edges with positive value, call them E+.

For each vertex, let e(v) be the maximum element of

CLAIM: Let e(v) = v,w

e(v) is the minimum element of

Page 23: Bipartite Matching Polytope,  Stable Matching Polytope

23

Bipartite Stable Matching

For each vertex, let e(v) be the maximum element of

U

W

e(v) defines a matching for v in U

e(w) defines a matching for w in W

CLAIM: Let e(v) = v,w

e(v) is the minimum element of

Page 24: Bipartite Matching Polytope,  Stable Matching Polytope

24

Bipartite Stable Matching

U

W

At bottom,blue is maximum, red is minimum.

At top,blue is minimum, red is maximum.

U

Wconstruct convex combination.

Page 25: Bipartite Matching Polytope,  Stable Matching Polytope

25

Bipartite Stable Matching

At bottom,blue is maximum, red is minimum.

At top,blue is minimum, red is maximum.

U

W

Degree constraints still satisfied.

Bottom decreases, top increases, equal!

construct convex combination!

Page 26: Bipartite Matching Polytope,  Stable Matching Polytope

26

Weighted Stable Matching

Polynomial time algorithm from LP.

Can work on incomplete graph.

Can determine if certain combination is possible.

[Vande Vate] [Rothblum]

Page 27: Bipartite Matching Polytope,  Stable Matching Polytope

27

Basic Solution

Tight inequalities: inequalities achieved as equalities

Basic solution:unique solution of n linearly independent tight inequalities

Page 28: Bipartite Matching Polytope,  Stable Matching Polytope

28

Bipartite Perfect Matching

Goal: show that any basic solution is an integral solution.

Bipartite perfect matching, 2n vertices. Minimal counterexample.

Page 29: Bipartite Matching Polytope,  Stable Matching Polytope

29

Maximum Bipartite Matchings An edge of 0, delete it.

An edge of 1, reduce it.

So, each vertex has degree 2,and there are at least 2n edges.

How many tight inequalities? At most 2n

How many linearly independent tight inequalities? At most 2n-1

Basic solution:unique solution of 2n linearly independent tight inequalities

CONTRA!