Setting:

  • Two groups, say hospitals and students, each of size
  • Each hospital has a ranking of the residents
  • Each student has a ranking of the hospitals
  • Assumption : The list of preferences are strict and complete

Not all matchings are stable!

  • Consider two hospitals and two students
  • Preferences

The Stable Matching problem asks to find a stable matching, if one exists.