The stable roommates problem with n agents has worst case complexity
O(n2) in time and space. Random instances can be solved faster and with less
memory, however. We introduce an algorithm that has average time and space
complexity O(n23) for random instances. We use this algorithm to
simulate large instances of the stable roommates problem and to measure the
probabilty pn that a random instance of size n admits a stable matching.
Our data supports the conjecture that pn=Θ(n−1/4).Comment: 14 pages, 6 figures, 4 algorithms, 1 table; Journal of Statistical
Mechanics: Theory and Experiment (2015) P0102