TL;DR
The MS* algorithm provides the first exact (optimal) solution for the complex challenge of simultaneously deciding which agents should visit which goals, in what order, and along which collision-free paths. By fusing state-of-the-art solvers for the Multiple Traveling Salesman Problem (mTSP) with subdimensional expansion techniques from Multi-Agent Path Finding (MAPF), it can solve problems involving 20 agents and 50 goals in under a minute.
What Problem Does This Paper Address?
Imagine a fleet of delivery robots in a warehouse or surveillance drones in a city. To operate efficiently, you need to solve three problems at once:
- Allocation: Which robot visits which location?
- Sequencing: In what order should a robot visit its assigned locations?
- Path Finding: How do they get there without colliding with each other or obstacles?
In research, these are often treated separately. MAPF (Multi-Agent Path Finding) usually assumes goals are already assigned. mTSP (Multiple Traveling Salesman Problem) handles allocation and sequencing but ignores the actual geometry of the paths and potential collisions. This paper introduces the Multi-agent Simultaneous Multi-goal sequencing and path finding (MSMP) problem, which tackles all three concurrently to find the mathematically "perfect" (minimum cost) solution.
Methods
The authors propose MS (and a conservative variant MS-c**). The algorithm is built on three main pillars:
- Subdimensional Expansion (M*): Instead of searching the massive "joint" space of all possible agent movements at once (which grows exponentially), the algorithm starts by letting each agent follow its own optimal path. It only "couples" agents and searches their combined moves when a collision is actually detected.
- mTSP Integration: To guide the search, the algorithm needs to know the "cost-to-go." It calculates this by treating the remaining goals as an mTSP. It transforms the mTSP into an Asymmetric Traveling Salesman Problem (ATSP) and uses the high-performance LKH solver to find the best sequence. This result serves as a powerful heuristic to prune the search space.
- State Dominance Rules: The authors defined specific rules to prune "partial solutions." If the algorithm finds two ways to reach the same position, but one has visited more goals for a lower cost, the inferior path is discarded immediately.
Datasets
The algorithm was evaluated using standard benchmarks from the MovingAI benchmark suite, specifically:
- Random Grids (32x32): High density of obstacles.
- Room Grids (32x32): Connected rooms with narrow passages.
- Maze Grids (32x32): Complex, winding paths.
- Game Map (65x81): A larger, more realistic environment from a video game.
The authors generated random sets of 10 to 50 goals for each map to test scalability.
Key Insights and Ideas
- The Heuristic is the Hero: By embedding a TSP solver inside an A* search, the algorithm gets an incredibly tight lower bound on the remaining cost. This allows it to ignore vast portions of the search space that could never lead to an optimal solution.
- Conservative vs. Aggressive Back-propagation: The paper introduces MS*-c. While the standard M approach only couples agents directly involved in a collision, MS-c couples all agents when a conflict occurs. While slower, this conservative approach is necessary to strictly guarantee optimality in the MSMP context because a change in one agent's path might change the optimal goal allocation for everyone else.
- Dynamic Search Space: The algorithm effectively "inflates" and "deflates" the complexity of the search based on the density of the agents, making it much faster than a naive global search.
Key Results
- Scalability: MS successfully handled up to 20 agents and 50 goals*. This is a significant leap for an "exact" solver (one that guarantees the absolute minimum cost).
- Efficiency: Most test instances were solved in under 60 seconds on a standard laptop.
- Optimality: MS and MS-c consistently returned the same optimal costs, though MS* had a slightly higher success rate within the one-minute time limit due to its more "aggressive" conflict handling.
- Bottlenecks: The authors found that as the number of goals ($M$) increases, the time spent in the LKH solver (sequencing) becomes the dominant computational cost, sometimes taking up more than half of the total runtime.
Limitations and Future Work
- Computational Burden of Sequencing: The LKH solver, while fast, is still a heavy lift when called thousands of times during a search. The authors suggest looking into faster approximation algorithms for the sequencing part to boost speed.
- Python Implementation: The current implementation is in Python; a C++ implementation would likely yield significant speedups.
- Dynamic Environments: The current model assumes a static map. Extending this to environments where goals appear dynamically or obstacles move remains an open challenge.
- Heterogeneous Agents: The paper primarily focuses on agents with similar capabilities. Future work could address fleets with different speeds or constraints (e.g., battery life).
Summary updated