This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

StableMarriage

StableMarriage[mpref, fpref]
finds the male optimal stable marriage defined by lists of permutations describing male and female preferences.