1 Stable Matching A Special Case of Stable Marriage.

13
1 Stable Matching A Special Case of Stable Marriage

Transcript of 1 Stable Matching A Special Case of Stable Marriage.

Page 1: 1 Stable Matching A Special Case of Stable Marriage.

1

Stable MatchingA Special Case of

Stable Marriage

Page 2: 1 Stable Matching A Special Case of Stable Marriage.

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: 1 Stable Matching A Special Case of Stable Marriage.

3

What Constitutes A “Good” Matching

Maximizing total satisfaction … ?

Wait! Here is a problem!

Page 4: 1 Stable Matching A Special Case of Stable Marriage.

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: 1 Stable Matching A Special Case of Stable Marriage.

5

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

blocking pair

Page 6: 1 Stable Matching A Special Case of Stable Marriage.

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: 1 Stable Matching A Special Case of Stable Marriage.

7

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

Stable Matching

Page 8: 1 Stable Matching A Special Case of Stable Marriage.

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: 1 Stable Matching A Special Case of Stable Marriage.

9

Example

Page 10: 1 Stable Matching A Special Case of Stable Marriage.

10

National Resident Matching Program

Page 11: 1 Stable Matching A Special Case of Stable Marriage.

11

National Resident Matching Program

Page 12: 1 Stable Matching A Special Case of Stable Marriage.

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: 1 Stable Matching A Special Case of Stable Marriage.

13

1

3

2,3,4

1,2,4

2

4

3,1,4

*,*,*

A Variant