Abstract
We study the problem of sequential task assignment and collision-free routing for large teams of robots in applications with inter-task precedence constraints (e.g., task A and task B must both be completed before task C may begin). Such problems commonly occur in assembly planning for robotic manufacturing applications, in which sub-assemblies must be completed before they can be combined to form the final product. We propose a hierarchical algorithm for computing makespan-optimal solutions to the problem. The algorithm is evaluated on a set of randomly generated problem instances where robots must transport objects between stations in a "factory" grid world environment. In addition, we demonstrate in high-fidelity simulation that the output of our algorithm can be used to generate collision-free trajectories for non-holonomic differential-drive robots.
Introduction
In modern automated manufacturing, robotic coordination extends beyond simple point-to-point navigation. Robots must execute complex sequences of tasks where the order of operations is strictly governed by assembly dependencies. For instance, parts A and B must be delivered to a specific station to create sub-assembly C before C can be transported further. This introduces the Precedence-Constrained Multi-Agent Task Assignment and Path-Finding (PC-TAPF) problem.
PC-TAPF presents a dual challenge: determining optimal task assignments and sequences for each robot while ensuring collision-free routing. While Multi-Agent Path Finding (MAPF) is well-studied, the addition of sequential tasks and inter-task precedence constraints makes the problem NP-hard. Existing solvers typically address either scheduling or routing in isolation, but rarely achieve optimality for both simultaneously in large-scale environments.
Hierarchical Planning Framework
To address this, we propose a four-level hierarchical framework that leverages temporal "slack" to resolve spatial conflicts efficiently.
- Level 1: Sequential Next-Best Assignment Search (NBS): Employs a Mixed-Integer Linear Program (MILP) to find an "optimistic" schedule. It assigns tasks to robots to minimize the total makespan while initially ignoring physical collisions.
- Level 2: Conflict-Based Search (CBS): A high-level search that identifies collisions between robots. If a conflict is detected, CBS imposes spatio-temporal constraints and triggers re-planning.
- Level 3: Incremental Slack-Prioritized Search (ISPS): This layer prioritizes planning for tasks with the least "slack"—the amount of time a task can be delayed without affecting the final project completion time.
- Level 4: Slack-and-Collision-aware $A^*$ ($A^*_{SC}$): A customized search algorithm that uses a cascading tie-breaking heuristic to prioritize avoiding project delays and minimizing inter-robot collisions over simple path length.
Experimental Evaluation
The framework was evaluated on 384 randomly generated PC-TAPF instances in a simulated "factory" grid world. Robot counts ($n$) ranged from 10 to 40, while task/object counts ($m$) ranged from 10 to 60. The environment featured obstacles representing stations and designated zones for pick-up and drop-off.
Key Results
- Efficiency and Scalability: The solver handled large-scale instances (e.g., 40 robots and 60 tasks) in under 10 seconds in most cases. As shown in the performance data, the system scales gracefully for larger robot teams.
- Optimality: The framework consistently achieved makespan-optimal solutions, failing to reach optimality in only 3 out of 384 instances within the set time limits.
- The TSP Bottleneck: A critical insight emerged regarding the ratio of tasks to robots. As $m$ significantly exceeds $n$, the problem increasingly resembles a Traveling Salesman Problem (TSP), causing the Level 1 MILP solver to become the primary computational bottleneck (visible in the $n=10$ data points).
- Collision Resolution: By handling most collisions at the $A^*$ level using slack, the algorithm prevents excessive branching at the CBS level. In 375 cases, lower-level planners resolved all conflicts without requiring CBS branching.
Discussion and Future Work
While the current ISPS module is highly effective, it is technically "incomplete" as greedy slack consumption for early tasks can occasionally leave downstream tasks without collision-avoidance options. Future iterations will explore "annealing" slack costs to improve robustness. Additionally, we aim to extend the model to handle deterministic assumptions and collaborative transport scenarios where multiple robots must coordinate to move a single large object.
Summary updated