Faster Jonker-Volgenant Assignment Algorithm

This is a modification made to Yi Cao's original JV algorithm code to improve speed.
1K Downloads
Updated 3 Jul 2012

View License

This updated version performs the JV algorithm for a standard assignment problem for only valid entries in the cost matrix.

The modification removes rows and columns of the matrix where all values are inf, which is useful for applications where it is necessary to mask off certain assignments, such as in the k-best assignment algorithm (Murty algorithm).

The improvement in the runtime is dependent upon how many rows/cols are masked, but can be as 7-20x for many cases.

Yi Cao agreed to let me post this update, and the majority of the code is his.

Cite As

Eric Trautmann (2024). Faster Jonker-Volgenant Assignment Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/30838-faster-jonker-volgenant-assignment-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Thanks to Mark Tincknell for submitting an update to generalize this for arbitrary rectangular matrices.

1.0.0.0