Skip to main content Accessibility help
Internet Explorer 11 is being discontinued by Microsoft in August 2021. If you have difficulties viewing the site on Internet Explorer 11 we recommend using a different browser such as Microsoft Edge, Google Chrome, Apple Safari or Mozilla Firefox.

Chapter 13: Stable Matching Algorithm

Chapter 13: Stable Matching Algorithm

pp. 239-246

Authors

, Indian Statistical Institute, Kolkata, , Indian Statistical Institute, Kolkata, , Indian Statistical Institute, Kolkata
  • Add bookmark
  • Cite
  • Share

Summary

Let G = (U, V, E) be a bipartite graph with |U| = |V| = n and the edges in E have one end-point in U and the other end-point in V. A matching μ in G is a set of vertex disjoint edges, i.e., μ is a set of edges such that no two edges are co-incident on the same vertex. Since the edges in a matching have to be vertex disjoint, no matching can have more than n edges. A perfect matching is a matching containing n edges. There are well-known algorithms to find a perfect matching (if one exists).

In this section, we will address a different matching problem. An instance still consists of two sets U and V, but, the constraints are different. Let U = {u1, …, un} and V = {v1, …, vn}. Let π1, …, πn be permutations of the set V and let σ1, …, σn be permutations of the set U. The problem instance is given by the following relations. For 1 ≤ in and 1 ≤ jn,

uiπi; vjσj.

The permutation πi is a linear ordering of the vertices in V and similarly, the permutation σj is a linear ordering of the vertices in U. Consider the vertices in U to represent n distinct men and the vertices in V to represent n distinct women. The permutation πi represents the ranking of the n women by the man ui; similarly, the permutation σj represents the ranking of the n men by the woman vj.

A matching μ is a pairing of a man and a woman and can be thought of as a marriage. Let the partner of the man ui be denoted by μ(ui) and the partner of woman vj be denoted by μ(vj). Suppose there is a man ui and a woman vj such that πi(vj) precedes πi(μ(ui)) and σj(ui) precedes σj(μ(vj)).

About the book

Access options

Review the options below to login to check your access.

Purchase options

eTextbook
US$37.00
Hardback
US$114.00
Paperback
US$37.00

Have an access code?

To redeem an access code, please log in with your personal login.

If you believe you should have access to this content, please contact your institutional librarian or consult our FAQ page for further information about accessing our content.

Also available to purchase from these educational ebook suppliers