Kuhn-Munkres algorithm maximum weight matching
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Basher Mohamed
2021-2-2
you can just multiply your cost function by -1 and directly use the same algorithm to find the maximum.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Financial Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!