Does anyone know of any Python module that computes the best bipartisan correspondence? I tried the following two:
Any tips?
Set the cost to infinity or great value for an edge that does not exist. You can then determine if an invalid edge has been used.