Stable Matching

13
1 Stable Matching A Special Case of Stable Marriage

description

Stable Matching. A Special Case of. Stable Marriage. 3,5,2,1,4. 3,2,5,1,4. 1. 5,2,1,4,3. 1,2,5,3,4. 2. 4,3,2,1,5. 4,3,5,1,2. 3. 1,3,4,2,5. 1,2,3,4,5. 4. 2,3,4,1,5. 1,2,4,5,3. 5. Dating Scenario. 1. There are n men and n women. - PowerPoint PPT Presentation

Transcript of Stable Matching

Page 1: Stable Matching

1

Stable MatchingA Special Case of

Stable Marriage

Page 2: Stable Matching

2

Question: How do we pair them off?

Dating ScenarioThere are n men and n women

Each woman has her own ranked preference list of all the men

Each man has his own ranked preference list of the women

The lists have no ties

3,2,5,1,4

1,2,5,3,4

4,3,2,1,5

1,3,4,2,5

1,2,4,5,3

1

2

3

4

5

1

2

3

4

5

3,5,2,1,4

5,2,1,4,3

4,3,5,1,2

1,2,3,4,5

2,3,4,1,5

Page 3: Stable Matching

3

What Constitutes A “Good” Matching

Maximizing total satisfaction … ?

Wait! Here is a problem!

Page 4: Stable Matching

4

Blocking PairsSuppose we match all the men and women

Now suppose that some man and some woman prefer each other to the people to whom they are matched

They are called a blocking pair

blocking pair

Page 5: Stable Matching

5

Why be with them when we can be with each other?

blocking pair

Page 6: Stable Matching

6

What use is satisfaction, if it is not stable?

Any list of criteria for a good matching must include stability. (A matching is doomed if it contains a blocking pair)

Page 7: Stable Matching

7

A matching of men and women is called stable if it contains no blocking pairs

Stable Matching

Page 8: Stable Matching

8

3,2,1

1

2,1,3

2

3,1,2

3

1

3,2,1

2

1,2,3

3

3,2,1

A matching of men and women is called stable if it contains no blocking pairs

Stable Matching

Page 9: Stable Matching

9

Example

Page 10: Stable Matching

10

National Resident Matching Program

Page 11: Stable Matching

11

National Resident Matching Program

Page 12: Stable Matching

12

National Resident Matching Program

…Each year approximately 16,000 U.S. medical students participate in the Main Residency Match. In addition, another 20,000 applicants complete for the approximately 25,00025,000 available residency positions. In 2010, the NRMP enrolled 4,176 programs in the Match, which altogether offered 25,520 positions. A total of 37,55637,556 applicants participated in the Match.

Page 13: Stable Matching

13

1

3

2,3,4

1,2,4

2

4

3,1,4

*,*,*

A Variant