Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 845 Bytes

readme.md

File metadata and controls

13 lines (7 loc) · 845 Bytes

assignment

This module provides a lightweight implementation of the Gale-Shapley stable assignment (proposal) algorithm and a few tools for exploring the stable assignment polytope, including a modified implementation of the optimal stable marriage algorithm described by in the following reference:

  • Irving, Robert W., Paul Leather, and Dan Gusfield. 1987. “An Efficient Algorithm for the ‘Optimal’ Stable Marriage.” Journal of the Association for Computing Machinery 34, no. 3 (July): 532–43.

Visualizing preference lists

An optimal stable assignment

Please see the Jupyter notebooks in the root directory for usage examples and a mathematical discussion of the rotation algorithm.

The author’s homepage is maxkapur.com.