Matchpair function to solve linear assignment problem

조회 수: 7 (최근 30일)
Danish Nasir
Danish Nasir 2021년 8월 16일
댓글: Danish Nasir 2021년 8월 16일
1. I want to know whether Hungarian algorithm is an exact solution algorithm or a heuristic?
2. MATLAB has inbuilt fucntion Matchpair to solve linear assignment problem. What is the difference between Hungarian and Matchpair ( in terms of Time complexity, approach,exact or heuristic)?
  댓글 수: 2
Steven Lord
Steven Lord 2021년 8월 16일
For more information about the algorithm matchpairs implements, see the reference listed in the References section on the documentation page for the matchpairs function.
Danish Nasir
Danish Nasir 2021년 8월 16일
I already read the documentation. But time complexity of Matchpair is not mentioned in the documentation. Matchpair is fast but quality of optimal solution is quite inferior compared to Hungarian.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2021년 8월 16일
The Hungarian Algorithm is an exact solution for linear assignment problems.
I do not know anything about the algorithm used by matchpair() but I do notice that it handles the possibility of rows without matches (such as idle workers), which the Hungarian Algorithm by itself does not handle.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sparse Matrices에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by