Combinatorica`
Combinatorica`

StableMarriage

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

StableMarriage[mpref,fpref]

finds the male optimal stable marriage defined by lists of permutations describing male and female preferences.

Details

See Also

FindIndependentEdgeSet  BipartiteMatching  MaximalMatching

Tutorials