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 CenterFile Exchange에서 Financial Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by