Matching Algorithm
Matching Algorithm
{
Choose such a man m
if (w is free)
Write a report on the college admission problem (residents-hospitals assign-ment) that generalizes the stable
marriage problem in that a college can accept “proposals” from more than one applicant.
Consider the problem of the roommates, which is related to but more difficult than the stable marriage
problem: “An even number of boys wish to divide up into pairs of roommates. A set of pairings is called stable if
under it there are no two boys who are not roommates and who prefer each other to their actual roommates.”
[Gal62] Give an instance of this problem that does not have a stable pairing.
2012 Nobel Prize in Economics: Alvin Roth and Lloyd Shapley win
Sverges Riksbank prize in memory of Alfred Nobel.
Market-Clearing
A set of prices p1, p2, . . . , pn, one for each item, is called market-
clearing if
The algorithm starts with n men and a total of n2 women on their preference list. Each preference is examine at
most once. Therefore the algorithm has at most n2 iteration.
Since m proposes to each woman by the ranking on his preference list and m is mated to a woman with
lower ranking then w, m must have proposed to w.
Weather w refused m's proposal or accepted and then replacing it, she must be mated with some man she
prefers more.