Optimal Target Assignment and Path Finding for Teams of Agents

Hang Ma, Sven Koenig

Abstract

We study the Combined Target-Assignment and Path-Finding (TAPF) problem for teams of agents in known terrain, which generalizes both the anonymous and non-anonymous multi-agent path-finding problems. Each of the teams is given the same number of targets as there are agents in the team. Each agent has to move to exactly one target given to its team such that all targets are visited. The TAPF problem is to first assign agents to targets and then plan collision-free paths for the agents to their targets in a way such that the makespan is minimized. We present the CBM (Conflict-Based Min-Cost-Flow) algorithm, a hierarchical algorithm that solves TAPF instances optimally by combining ideas from anonymous and non-anonymous multi-agent path-finding algorithms. On the low level, CBM uses a min-cost max-flow algorithm on a time-expanded network to assign all agents in a single team to targets and plan their paths. On the high level, CBM uses conflict-based search to resolve collisions among agents in different teams. Theoretically, we prove that CBM is correct, complete and optimal. Experimentally, we show the scalability of CBM to TAPF instances with dozens of teams and hundreds of agents and adapt it to a simulated warehouse system.

Introduction: Bridging the Gap in Multi-Agent Coordination

Multi-Agent Path Finding (MAPF) research typically addresses two extremes: anonymous MAPF, where agents are interchangeable, and non-anonymous MAPF, where each agent has a unique destination. However, real-world applications like automated warehouses often require a hybrid approach. In these environments, robots are organized into teams; while agents within a team are interchangeable for a specific set of tasks, they cannot fulfill the tasks of other teams.

The authors define this middle ground as the Combined Target-Assignment and Path-Finding (TAPF) problem. The goal is to find an optimal assignment and collision-free paths that minimize the makespan—the time when the last agent completes its task.

A simulated warehouse environment where teams of robots (orange) navigate between storage shelves (green) and workstations.

The CBM Algorithm

The Conflict-Based Min-Cost-Flow (CBM) algorithm is a hierarchical approach that integrates two powerful techniques:

  1. High-Level: Conflict-Based Search (CBS). CBM treats each team as a "meta-agent." It performs a best-first search on a tree where nodes represent sets of constraints. If agents from different teams collide, the algorithm adds a constraint (e.g., "Team A cannot occupy cell X at time T") and branches the search to find a conflict-free solution.
  2. Low-Level: Min-Cost Max-Flow. To find paths for a single team that satisfy high-level constraints, CBM utilizes a time-expanded network. By framing the team’s movement as a flow problem, it simultaneously solves for the optimal target assignment and the shortest paths for all agents in that team in polynomial time.

A key optimization is the use of edge weights in the low-level flow algorithm. By biasing the search to avoid cells where other teams are currently planned to be, CBM significantly reduces the number of high-level conflicts, which is critical for scalability.

Experimental Results

The researchers evaluated CBM using random grids and a high-fidelity Kiva warehouse simulation.

Scalability and Success Rates

CBM successfully solved instances with dozens of teams and hundreds of agents. In random grid tests, CBM maintained a high success rate even as the agent count increased, significantly outperforming standard Integer Linear Programming (ILP) solvers.

Performance metrics of the CBM algorithm, showing success rates and makespan as the number of agents increases.

Warehouse Simulation

In a 420-robot warehouse simulation, CBM achieved an 80% success rate within a 5-minute limit, finding optimal solutions in an average of 91 seconds. This demonstrates the algorithm's capability in high-density, real-world-inspired environments.

Conclusion

CBM provides a robust, optimal solution for the TAPF problem by exploiting intra-team anonymity to manage computational complexity. While performance can degrade in extremely crowded environments (e.g., >50% occupancy) due to high-level conflict bottlenecks, the algorithm represents a significant step forward in multi-agent coordination. Future work will explore optimizing for total energy consumption and handling dynamic, online task arrivals.

Summary updated

BibTeX
@inproceedings{ma2016optimal,
  author = {Hang Ma and Sven Koenig},
  title = {{Optimal Target Assignment and Path Finding for Teams of Agents}},
  booktitle = {AAMAS},
  year = {2016},
  url = {https://openreview.net/forum?id=B4hhSA_wnBq},
}
Figure