assignment.lapjvs_batch_assignment
def lapjvs_batch_assignment(cost_matrices: list[torch.Tensor]) -> list[tuple[torch.Tensor, torch.Tensor, torch.Tensor]]Solve a batch of square LAPs via the Jonker-Volgenant solver.
Parameters
| Name | Type | Description |
|---|---|---|
| cost_matrices | list of torch.Tensor | Per-problem square cost matrices. Shapes may differ. |
Returns
list of tuple — Per-problem ``(matches, unmatched_rows, unmatched_cols)`` triples following the shape conventions of :func:`lapjvs_assignment`.
Source: unitrack/assignment/lapjv/_solver.py:126