Munkres Assignment Algorithm

버전 1.0.0.0 (2.69 KB) 작성자: Yi Cao
An efficient implementation of the Munkres algorithm for the assignment problem.
다운로드 수: 10.7K
업데이트 날짜: 2008/6/27

라이선스 보기

Munkres algorithm (also known as Hungarian algorithm) is an efficient algorithm to solve the assignment problem in polynomial-time. The algorithm has many applications in combinatorial optimization, for example in Traveling Salesman problem.

There are a few submissions in the File Exchange for the Munkres algorithm. However, most of them are not efficient. Therefore, I decided to develop my own code. By comparing with existing programms, this code is about two to 5 times faster. For instance, for a 400 x 400 random example, this code can solve it in 4 to 6 seconds, whilst other programs have to take about 17 to 35 seconds.

인용 양식

Yi Cao (2026). Munkres Assignment Algorithm (https://kr.mathworks.com/matlabcentral/fileexchange/20328-munkres-assignment-algorithm), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Traveling Salesman (TSP)에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0

fix a bug to handle nan elements.