Minimum-cost assignment of every row to a distinct column (Hungarian algorithm, $O(\text{rows}^2 \cdot \text{columns})$). Needs a rectangular matrix with rows ≤ columns; costs may be negative.
Minimum-cost assignment of every row to a distinct column (Hungarian algorithm, $O(\text{rows}^2 \cdot \text{columns})$). Needs a rectangular matrix with rows ≤ columns; costs may be negative.