Kuhn-Munkres algorithm maximum weight matching

1 回表示 (過去 30 日間)
Md Sharif
Md Sharif 2014 年 11 月 26 日
回答済み: Basher Mohamed 2021 年 2 月 2 日
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.

回答 (1 件)

Basher Mohamed
Basher Mohamed 2021 年 2 月 2 日
you can just multiply your cost function by -1 and directly use the same algorithm to find the maximum.

カテゴリ

Help Center および File ExchangeFinancial Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by