Matchpair function to solve linear assignment problem

7 visualizaciones (últimos 30 días)
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 comentarios
Steven Lord
Steven Lord el 16 de Ag. de 2021
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 el 16 de Ag. de 2021
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.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 16 de Ag. de 2021
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.

Más respuestas (0)

Categorías

Más información sobre Sparse Matrices en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by