English

Unpopularity Factor in the Marriage and Roommates Problems

Data Structures and Algorithms 2021-06-01 v6

Abstract

Given a set AA of nn people, with each person having a preference list that ranks a subset of AA as his/her acceptable partners in order of preference, we consider the Roommates Problem (RP) and the Marriage Problem (MP) of matching people with their partners. In RP there is no further restriction, while in MP only people of opposite genders can be acceptable partners. For a pair of matchings XX and YY, let ϕ(X,Y)\phi(X,Y) denote the number of people who prefer a person they get matched by XX to a person they get matched by YY, and define an unpopularity factor u(M)u(M) of a matching MM to be the maximum ratio ϕ(M,M)/ϕ(M,M)\phi(M',M) / \phi(M,M') among all other possible matchings MM'. In this paper, we develop an algorithm to compute the unpopularity factor of a given matching in O(mnlog2n)O(m\sqrt{n}\log^2 n) time for RP and in O(mnlogn)O(m\sqrt{n}\log n) time for MP, where mm is the total length of people's preference lists. We also generalize the notion of unpopularity factor to a weighted setting where people are given different voting weights and show that our algorithm can be slightly modified to support that setting with the same running time.

Keywords

Cite

@article{arxiv.1803.09435,
  title  = {Unpopularity Factor in the Marriage and Roommates Problems},
  author = {Suthee Ruangwises and Toshiya Itoh},
  journal= {arXiv preprint arXiv:1803.09435},
  year   = {2021}
}

Comments

A preliminary version of this paper has appeared at CSR 2019

R2 v1 2026-06-23T01:04:46.255Z