Assignment problem# hungarian_algorithm(cost_matrix) The Hungarian algorithm for the linear assignment problem.