Hungarian algorithm

The Hungarian algorithm finds a minimum-cost perfect matching in a weighted bipartite graph in polynomial time. It solves assignment problems by transforming costs and building a matching through augmenting paths.

Connect