hungarian_assign
Solve the assignment problem by optimally assigning workers to tasks using the Hungarian algorithm. Provide an NxN cost matrix and optionally set maximize to true.
Instructions
Solve the assignment problem (optimally assign N workers to N tasks) using the Hungarian algorithm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maximize | No | Maximize instead of minimize (default false) | |
| cost_matrix | Yes | NxN cost matrix |