Minimum cost k-best perfect matching. Assignment problem code is borrowed from scipy, thus affected by their license.
Chandra R. CHEGIREDDY and Horst W. HAMACHER (1987). ALGORITHMS FOR FINDING K-BEST PERFECT MATCHINGS
K. Fukuda and T. Matsui (1993) Finding All the Perfect Matchings in Bipartite Graphs