SLIDE 1
Stable Marriage Problem Stable Marriage Problem Small town with n - - PowerPoint PPT Presentation
Stable Marriage Problem Stable Marriage Problem Small town with n - - PowerPoint PPT Presentation
Stable Marriage Problem Stable Marriage Problem Small town with n boys and n girls. Stable Marriage Problem Small town with n boys and n girls. Each girl has a ranked preference list of boys. Stable Marriage Problem Small town
SLIDE 2
SLIDE 3
Stable Marriage Problem
◮ Small town with n boys and n girls. ◮ Each girl has a ranked preference list of boys.
SLIDE 4
Stable Marriage Problem
◮ Small town with n boys and n girls. ◮ Each girl has a ranked preference list of boys. ◮ Each boy has a ranked preference list of girls.
SLIDE 5
Stable Marriage Problem
◮ Small town with n boys and n girls. ◮ Each girl has a ranked preference list of boys. ◮ Each boy has a ranked preference list of girls.
How should they be matched?
SLIDE 6
Count the ways..
◮ Maximize total satisfaction.
SLIDE 7
Count the ways..
◮ Maximize total satisfaction. ◮ Maximize number of first choices.
SLIDE 8
Count the ways..
◮ Maximize total satisfaction. ◮ Maximize number of first choices. ◮ Maximize worse off.
SLIDE 9
Count the ways..
◮ Maximize total satisfaction. ◮ Maximize number of first choices. ◮ Maximize worse off. ◮ Minimize difference between preference ranks.
SLIDE 10
The best laid plans..
Consider the couples..
◮ Jennifer and Brad ◮ Angelina and Billy-Bob
SLIDE 11
The best laid plans..
Consider the couples..
◮ Jennifer and Brad ◮ Angelina and Billy-Bob
Brad prefers Angelina to Jennifer.
SLIDE 12
The best laid plans..
Consider the couples..
◮ Jennifer and Brad ◮ Angelina and Billy-Bob
Brad prefers Angelina to Jennifer. Angelina prefers Brad to BillyBob.
SLIDE 13
The best laid plans..
Consider the couples..
◮ Jennifer and Brad ◮ Angelina and Billy-Bob
Brad prefers Angelina to Jennifer. Angelina prefers Brad to BillyBob. Uh..oh.
SLIDE 14
So..
Produce a pairing where there is no running off!
SLIDE 15
So..
Produce a pairing where there is no running off! Definition: A pairing is disjoint set of n boy-girl pairs.
SLIDE 16
So..
Produce a pairing where there is no running off! Definition: A pairing is disjoint set of n boy-girl pairs. Example: A pairing S = {(Brad,Jen);(BillyBob,Angelina)}.
SLIDE 17
So..
Produce a pairing where there is no running off! Definition: A pairing is disjoint set of n boy-girl pairs. Example: A pairing S = {(Brad,Jen);(BillyBob,Angelina)}. Definition: A rogue couple b,g∗ for a pairing S: b and g∗ prefer each other to their partners in S
SLIDE 18
So..
Produce a pairing where there is no running off! Definition: A pairing is disjoint set of n boy-girl pairs. Example: A pairing S = {(Brad,Jen);(BillyBob,Angelina)}. Definition: A rogue couple b,g∗ for a pairing S: b and g∗ prefer each other to their partners in S Example: Brad and Angelina are a rogue couple in S.
SLIDE 19
A stable pairing??
Given a set of preferences.
SLIDE 20
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it?
SLIDE 21
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it? Consider a single gender version: stable roommates.
A B C D B C A D C A B D D A B C
A B C D
SLIDE 22
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it? Consider a single gender version: stable roommates.
A B C D B C A D C A B D D A B C
A B C D
SLIDE 23
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it? Consider a single gender version: stable roommates.
A B C D B C A D C A B D D A B C
A B C D
SLIDE 24
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it? Consider a single gender version: stable roommates.
A B C D B C A D C A B D D A B C
A B C D
SLIDE 25
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it? Consider a single gender version: stable roommates.
A B C D B C A D C A B D D A B C
A B C D
SLIDE 26
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it? Consider a single gender version: stable roommates.
A B C D B C A D C A B D D A B C
A B C D
SLIDE 27
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it? Consider a single gender version: stable roommates.
A B C D B C A D C A B D D A B C
A B C D
SLIDE 28
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it? Consider a single gender version: stable roommates.
A B C D B C A D C A B D D A B C
A B C D
SLIDE 29
A stable pairing??
Given a set of preferences. Is there a stable pairing? How does one find it? Consider a single gender version: stable roommates.
A B C D B C A D C A B D D A B C
A B C D
SLIDE 30
The Traditional Marriage Algorithm.
SLIDE 31
The Traditional Marriage Algorithm.
Each Day:
SLIDE 32
The Traditional Marriage Algorithm.
Each Day:
- 1. Each boy proposes to his favorite woman on his list.
SLIDE 33
The Traditional Marriage Algorithm.
Each Day:
- 1. Each boy proposes to his favorite woman on his list.
- 2. Each girl rejects all but her favorite proposer
(whom she puts on a string.)
SLIDE 34
The Traditional Marriage Algorithm.
Each Day:
- 1. Each boy proposes to his favorite woman on his list.
- 2. Each girl rejects all but her favorite proposer
(whom she puts on a string.)
- 3. Rejected boy crosses rejecting girl off his list.
SLIDE 35
The Traditional Marriage Algorithm.
Each Day:
- 1. Each boy proposes to his favorite woman on his list.
- 2. Each girl rejects all but her favorite proposer
(whom she puts on a string.)
- 3. Rejected boy crosses rejecting girl off his list.
Stop when each woman gets exactly one proposal.
SLIDE 36
The Traditional Marriage Algorithm.
Each Day:
- 1. Each boy proposes to his favorite woman on his list.
- 2. Each girl rejects all but her favorite proposer
(whom she puts on a string.)
- 3. Rejected boy crosses rejecting girl off his list.
Stop when each woman gets exactly one proposal. Does this terminate?
SLIDE 37
The Traditional Marriage Algorithm.
Each Day:
- 1. Each boy proposes to his favorite woman on his list.
- 2. Each girl rejects all but her favorite proposer
(whom she puts on a string.)
- 3. Rejected boy crosses rejecting girl off his list.
Stop when each woman gets exactly one proposal. Does this terminate? ...produce a pairing?
SLIDE 38
The Traditional Marriage Algorithm.
Each Day:
- 1. Each boy proposes to his favorite woman on his list.
- 2. Each girl rejects all but her favorite proposer
(whom she puts on a string.)
- 3. Rejected boy crosses rejecting girl off his list.
Stop when each woman gets exactly one proposal. Does this terminate? ...produce a pairing? ....a stable pairing?
SLIDE 39
The Traditional Marriage Algorithm.
Each Day:
- 1. Each boy proposes to his favorite woman on his list.
- 2. Each girl rejects all but her favorite proposer
(whom she puts on a string.)
- 3. Rejected boy crosses rejecting girl off his list.
Stop when each woman gets exactly one proposal. Does this terminate? ...produce a pairing? ....a stable pairing? Do boys or girls do “better”?
SLIDE 40
The Traditional Marriage Algorithm.
Each Day:
- 1. Each boy proposes to his favorite woman on his list.
- 2. Each girl rejects all but her favorite proposer
(whom she puts on a string.)
- 3. Rejected boy crosses rejecting girl off his list.
Stop when each woman gets exactly one proposal. Does this terminate? ...produce a pairing? ....a stable pairing? Do boys or girls do “better”?
SLIDE 41
Example.
Boys Girls A 1 2 3 1 C A B B 1 2 3 2 A B C C 2 1 3 3 A C B
SLIDE 42
Example.
Boys Girls A 1 2 3 1 C A B B 1 2 3 2 A B C C 2 1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 2 3
SLIDE 43
Example.
Boys Girls A 1 2 3 1 C A B B 1 2 3 2 A B C C 2 1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B 2 C 3
SLIDE 44
Example.
Boys Girls A 1 2 3 1 C A B B 1
X
2 3 2 A B C C 2 1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B
X
2 C 3
SLIDE 45
Example.
Boys Girls A 1 2 3 1 C A B B 1
X
2 3 2 A B C C 2 1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B
X
A 2 C B, C 3
SLIDE 46
Example.
Boys Girls A 1 2 3 1 C A B B 1
X
2 3 2 A B C C 2
X
1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B
X
A 2 C B, C
X
3
SLIDE 47
Example.
Boys Girls A 1 2 3 1 C A B B 1
X
2 3 2 A B C C 2
X
1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B
X
A A , C 2 C B, C
X
B 3
SLIDE 48
Example.
Boys Girls A 1
X
2 3 1 C A B B 1
X
2 3 2 A B C C 2
X
1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B
X
A A
X , C
2 C B, C
X
B 3
SLIDE 49
Example.
Boys Girls A 1
X
2 3 1 C A B B 1
X
2 3 2 A B C C 2
X
1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B
X
A A
X , C
C 2 C B, C
X
B A,B 3
SLIDE 50
Example.
Boys Girls A 1
X
2 3 1 C A B B 1
X
2
X
3 2 A B C C 2
X
1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B
X
A A
X , C
C 2 C B, C
X
B A,B
X
3
SLIDE 51
Example.
Boys Girls A 1
X
2 3 1 C A B B 1
X
2
X
3 2 A B C C 2
X
1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B
X
A A
X , C
C C 2 C B, C
X
B A,B
X
A 3 B
SLIDE 52
Example.
Boys Girls A 1
X
2 3 1 C A B B 1
X
2
X
3 2 A B C C 2
X
1 3 3 A C B Day 1 Day 2 Day 3 Day 4 Day 5 1 A, B
X
A A
X , C
C C 2 C B, C
X
B A,B
X
A 3 B
SLIDE 53
Termination.
SLIDE 54
Termination.
Every non-terminated day a boy crossed an item off the list.
SLIDE 55
Termination.
Every non-terminated day a boy crossed an item off the list. Total size of lists?
SLIDE 56
Termination.
Every non-terminated day a boy crossed an item off the list. Total size of lists? n boys, n length list.
SLIDE 57
Termination.
Every non-terminated day a boy crossed an item off the list. Total size of lists? n boys, n length list. n2
SLIDE 58
Termination.
Every non-terminated day a boy crossed an item off the list. Total size of lists? n boys, n length list. n2 Terminates in at most n2 +1 steps!
SLIDE 59
It gets better every day for girls..
SLIDE 60
It gets better every day for girls..
Improvement Lemma:
SLIDE 61
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string,
SLIDE 62
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string, any future boy, b′, on string is at least as good as b.
SLIDE 63
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string, any future boy, b′, on string is at least as good as b. Proof:
SLIDE 64
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string, any future boy, b′, on string is at least as good as b. Proof: P(k)- - “every day before k girl had better boy.”
SLIDE 65
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string, any future boy, b′, on string is at least as good as b. Proof: P(k)- - “every day before k girl had better boy.” P(0)– always true as there is no day before.
SLIDE 66
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string, any future boy, b′, on string is at least as good as b. Proof: P(k)- - “every day before k girl had better boy.” P(0)– always true as there is no day before. Assume P(k). Let b be boy on string on day k.
SLIDE 67
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string, any future boy, b′, on string is at least as good as b. Proof: P(k)- - “every day before k girl had better boy.” P(0)– always true as there is no day before. Assume P(k). Let b be boy on string on day k. On day k +1, boy b comes back.
SLIDE 68
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string, any future boy, b′, on string is at least as good as b. Proof: P(k)- - “every day before k girl had better boy.” P(0)– always true as there is no day before. Assume P(k). Let b be boy on string on day k. On day k +1, boy b comes back. Girl can choose b just as well,
SLIDE 69
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string, any future boy, b′, on string is at least as good as b. Proof: P(k)- - “every day before k girl had better boy.” P(0)– always true as there is no day before. Assume P(k). Let b be boy on string on day k. On day k +1, boy b comes back. Girl can choose b just as well, or do better.
SLIDE 70
It gets better every day for girls..
Improvement Lemma: On any day, if girl has a boy b on a string, any future boy, b′, on string is at least as good as b. Proof: P(k)- - “every day before k girl had better boy.” P(0)– always true as there is no day before. Assume P(k). Let b be boy on string on day k. On day k +1, boy b comes back. Girl can choose b just as well, or do better. = ⇒ P(k +1).
SLIDE 71
Pairing when done.
Lemma: Every boy is matched at end.
SLIDE 72
Pairing when done.
Lemma: Every boy is matched at end. Proof:
SLIDE 73
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times.
SLIDE 74
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times. Every girl has been proposed to by b,
SLIDE 75
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times. Every girl has been proposed to by b, and Improvement lemma
SLIDE 76
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times. Every girl has been proposed to by b, and Improvement lemma = ⇒ each girl has a boy on a string.
SLIDE 77
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times. Every girl has been proposed to by b, and Improvement lemma = ⇒ each girl has a boy on a string. and each boy on at most one string.
SLIDE 78
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times. Every girl has been proposed to by b, and Improvement lemma = ⇒ each girl has a boy on a string. and each boy on at most one string. n girls and n boys.
SLIDE 79
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times. Every girl has been proposed to by b, and Improvement lemma = ⇒ each girl has a boy on a string. and each boy on at most one string. n girls and n boys. Same number of each.
SLIDE 80
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times. Every girl has been proposed to by b, and Improvement lemma = ⇒ each girl has a boy on a string. and each boy on at most one string. n girls and n boys. Same number of each.
SLIDE 81
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times. Every girl has been proposed to by b, and Improvement lemma = ⇒ each girl has a boy on a string. and each boy on at most one string. n girls and n boys. Same number of each. = ⇒ b must be on some girl’s string!
SLIDE 82
Pairing when done.
Lemma: Every boy is matched at end. Proof: If not, a boy b must have been rejected n times. Every girl has been proposed to by b, and Improvement lemma = ⇒ each girl has a boy on a string. and each boy on at most one string. n girls and n boys. Same number of each. = ⇒ b must be on some girl’s string! Contradiction.
SLIDE 83
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm.
SLIDE 84
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm. Proof: Assume there is a rogue couple; (b,g∗)
SLIDE 85
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm. Proof: Assume there is a rogue couple; (b,g∗) b g b∗ g∗
SLIDE 86
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm. Proof: Assume there is a rogue couple; (b,g∗) b g b∗ g∗
SLIDE 87
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm. Proof: Assume there is a rogue couple; (b,g∗) b g b∗ g∗ b likes g∗ more than g. g∗ likes b more than b∗.
SLIDE 88
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm. Proof: Assume there is a rogue couple; (b,g∗) b g b∗ g∗ b likes g∗ more than g. g∗ likes b more than b∗. Boy b proposes to g∗ before proposing to g.
SLIDE 89
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm. Proof: Assume there is a rogue couple; (b,g∗) b g b∗ g∗ b likes g∗ more than g. g∗ likes b more than b∗. Boy b proposes to g∗ before proposing to g. So g∗ rejected b (since he moved on)
SLIDE 90
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm. Proof: Assume there is a rogue couple; (b,g∗) b g b∗ g∗ b likes g∗ more than g. g∗ likes b more than b∗. Boy b proposes to g∗ before proposing to g. So g∗ rejected b (since he moved on) By improvement lemma, g∗ likes b∗ better than b.
SLIDE 91
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm. Proof: Assume there is a rogue couple; (b,g∗) b g b∗ g∗ b likes g∗ more than g. g∗ likes b more than b∗. Boy b proposes to g∗ before proposing to g. So g∗ rejected b (since he moved on) By improvement lemma, g∗ likes b∗ better than b. Contradiction!
SLIDE 92
Pairing is Stable.
Lemma: There is no rogue couple for the pairing formed by traditional marriage algorithm. Proof: Assume there is a rogue couple; (b,g∗) b g b∗ g∗ b likes g∗ more than g. g∗ likes b more than b∗. Boy b proposes to g∗ before proposing to g. So g∗ rejected b (since he moved on) By improvement lemma, g∗ likes b∗ better than b. Contradiction!
SLIDE 93
Good for boys? girls?
Is the TMA better for boys?
SLIDE 94
Good for boys? girls?
Is the TMA better for boys? for girls?
SLIDE 95
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing.
SLIDE 96
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing.
SLIDE 97
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x.
SLIDE 98
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x. ..and so on for boy pessimal, girl optimal, girl pessimal.
SLIDE 99
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x. ..and so on for boy pessimal, girl optimal, girl pessimal. Claim: The optimal partner for a boy must be first in his preference list.
SLIDE 100
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x. ..and so on for boy pessimal, girl optimal, girl pessimal. Claim: The optimal partner for a boy must be first in his preference list. True?
SLIDE 101
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x. ..and so on for boy pessimal, girl optimal, girl pessimal. Claim: The optimal partner for a boy must be first in his preference list. True? False?
SLIDE 102
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x. ..and so on for boy pessimal, girl optimal, girl pessimal. Claim: The optimal partner for a boy must be first in his preference list. True? False? False!
SLIDE 103
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x. ..and so on for boy pessimal, girl optimal, girl pessimal. Claim: The optimal partner for a boy must be first in his preference list. True? False? False! Subtlety here: Best partner in any stable pairing.
SLIDE 104
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x. ..and so on for boy pessimal, girl optimal, girl pessimal. Claim: The optimal partner for a boy must be first in his preference list. True? False? False! Subtlety here: Best partner in any stable pairing. As well as you can in a globally stable solution!
SLIDE 105
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x. ..and so on for boy pessimal, girl optimal, girl pessimal. Claim: The optimal partner for a boy must be first in his preference list. True? False? False! Subtlety here: Best partner in any stable pairing. As well as you can in a globally stable solution! Question: Is there a even boy or girl optimal pairing?
SLIDE 106
Good for boys? girls?
Is the TMA better for boys? for girls? Definition: A pairing is x-optimal if x′s partner is its best partner in any stable pairing. Definition: A pairing is x-pessimal if x′s partner is its worst partner in any stable pairing. Definition: A pairing is boy optimal if it is x-optimal for all boys x. ..and so on for boy pessimal, girl optimal, girl pessimal. Claim: The optimal partner for a boy must be first in his preference list. True? False? False! Subtlety here: Best partner in any stable pairing. As well as you can in a globally stable solution! Question: Is there a even boy or girl optimal pairing?
SLIDE 107
TMA is optimal!
For boys?
SLIDE 108
TMA is optimal!
For boys? For girls?
SLIDE 109
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing.
SLIDE 110
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof:
SLIDE 111
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not:
SLIDE 112
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl.
SLIDE 113
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected
SLIDE 114
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with
SLIDE 115
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S.
SLIDE 116
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t
SLIDE 117
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b
SLIDE 118
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl.
SLIDE 119
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S.
SLIDE 120
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S.
SLIDE 121
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing.
SLIDE 122
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing. Contradiction.
SLIDE 123
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing. Contradiction.
SLIDE 124
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing. Contradiction. Notes:
SLIDE 125
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing. Contradiction. Notes: S - stable.
SLIDE 126
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing. Contradiction. Notes: S - stable. (b∗,g∗) ∈ S.
SLIDE 127
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing. Contradiction. Notes: S - stable. (b∗,g∗) ∈ S. But (b∗,g)
SLIDE 128
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing. Contradiction. Notes: S - stable. (b∗,g∗) ∈ S. But (b∗,g) is rogue couple!
SLIDE 129
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing. Contradiction. Notes: S - stable. (b∗,g∗) ∈ S. But (b∗,g) is rogue couple! Used Well-Ordering principle...
SLIDE 130
TMA is optimal!
For boys? For girls? Theorem: TMA produces a boy-optimal pairing. Proof: Assume not: there are boys who do not get their optimal girl. Let t be first day a boy b gets rejected by his optimal girl g who he is paired with in stable pairing S. b∗ - knocks b off of g’s string on day t = ⇒ g prefers b∗ to b By choice of t, b∗ prefers g to optimal girl. = ⇒ b∗ prefers g to his partner g∗ in S. Rogue couple for S. So S is not a stable pairing. Contradiction. Notes: S - stable. (b∗,g∗) ∈ S. But (b∗,g) is rogue couple! Used Well-Ordering principle...Induction.
SLIDE 131
How about for girls?
SLIDE 132
How about for girls?
Theorem: TMA produces girl-pessimal pairing.
SLIDE 133
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA.
SLIDE 134
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA. S – worse stable pairing for girl g.
SLIDE 135
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA. S – worse stable pairing for girl g. In T, (g,b) is pair.
SLIDE 136
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA. S – worse stable pairing for girl g. In T, (g,b) is pair. In S, (g,b∗) is pair.
SLIDE 137
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA. S – worse stable pairing for girl g. In T, (g,b) is pair. In S, (g,b∗) is pair. g likes b∗ less than she likes b.
SLIDE 138
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA. S – worse stable pairing for girl g. In T, (g,b) is pair. In S, (g,b∗) is pair. g likes b∗ less than she likes b. T is boy optimal, so b likes g more than his partner in S.
SLIDE 139
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA. S – worse stable pairing for girl g. In T, (g,b) is pair. In S, (g,b∗) is pair. g likes b∗ less than she likes b. T is boy optimal, so b likes g more than his partner in S. (g,b) is Rogue couple for S
SLIDE 140
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA. S – worse stable pairing for girl g. In T, (g,b) is pair. In S, (g,b∗) is pair. g likes b∗ less than she likes b. T is boy optimal, so b likes g more than his partner in S. (g,b) is Rogue couple for S S is not stable.
SLIDE 141
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA. S – worse stable pairing for girl g. In T, (g,b) is pair. In S, (g,b∗) is pair. g likes b∗ less than she likes b. T is boy optimal, so b likes g more than his partner in S. (g,b) is Rogue couple for S S is not stable. Contradiction.
SLIDE 142
How about for girls?
Theorem: TMA produces girl-pessimal pairing. T – pairing produced by TMA. S – worse stable pairing for girl g. In T, (g,b) is pair. In S, (g,b∗) is pair. g likes b∗ less than she likes b. T is boy optimal, so b likes g more than his partner in S. (g,b) is Rogue couple for S S is not stable. Contradiction.
SLIDE 143
Residency Matching..
SLIDE 144
Residency Matching..
The method was used to match residents to hospitals.
SLIDE 145
Residency Matching..
The method was used to match residents to hospitals. Hospital optimal....
SLIDE 146
Residency Matching..
The method was used to match residents to hospitals. Hospital optimal.... ..until 1990’s...
SLIDE 147
Residency Matching..
The method was used to match residents to hospitals. Hospital optimal.... ..until 1990’s...Resident optimal.
SLIDE 148
Residency Matching..
The method was used to match residents to hospitals. Hospital optimal.... ..until 1990’s...Resident optimal. Variations: couples!
SLIDE 149
Don’t go!
Summary.
SLIDE 150
Don’t go!
Summary.
Link