A list with two entries: score, the score of the optimal matching;
and matching, the columns matched to each row of the matrix in turn.
Details
The Linear Assignment Problem seeks to match each row of a matrix with a
column, such that the cost of the matching is minimized.
The Jonker & Volgenant approach is a faster alternative to the Hungarian
algorithm (Munkres 1957), which is implemented in clue::solve_LSAP().
NB. At present, only square matrices are supported; if you need support for
non-square matrices, drop a note at
issue #25
and I'll prioritize development.