Kuhn-Munkres algorithm maximum weight matching

I need a demo code implementing Kuhn-Munkres algorithm for maximum weight matching. I found a file for minimum weight matching but I need the maximum one.
Thank you.

Respuestas (1)

Basher Mohamed
Basher Mohamed el 2 de Feb. de 2021

0 votos

you can just multiply your cost function by -1 and directly use the same algorithm to find the maximum.

Categorías

Más información sobre Financial Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 26 de Nov. de 2014

Respondida:

el 2 de Feb. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by