arXiv:2608.24585cs.AIAug 2026

Manuscript Offprint

arXiv:2608.24585

Pivot-and-Station Multi-Agent Path Finding: Solvability, Complexity, and Algorithms

Andrea Di Nezza, Mihir Patel, Fabio Fagnani, Sara Bernardini

Abstract

Automated high-density storage systems (warehouses, robotic parking, plant logistics, etc.) require fleets of agents to move through scarce task-critical resources and then park without obstructing future operations. We introduce Pivot-and-Station Multi-Agent Path Finding (PS-MAPF), a MAPF variant in which a subset of tasked agents must each visit one of a set of interchangeable pivots (e.g., workstations) before the entire fleet terminates at anonymous stations, one agent per station. We characterize solvability completely: every instance on a 2-edge-connected graph is solvable, and, on arbitrary connected graphs, a structural effective-distance measure relative to the number of unoccupied vertices gives a necessary and sufficient condition. We prove that minimizing station-makespan or station-flowtime is NP-hard already with a single pivot. We present three algorithms, a complete baseline, a SAT-based optimal solver, and Pivot-Prioritized Planning (PPP), the last solving 74-89% of benchmark instances with makespan and flowtime orders of magnitude below the baseline.

1 Introduction and Related Work

Infrastructure-based high-density automated storage systems (warehouses, robotic parking, plant logistics; e.g., Ocado, Amazon Sequoia, Versatile, Robotic Parking, WPS) move fleets of agents (robots, shuttles, or motorized cells) through a fixed mechanical topology of rails, lifts, conveyors, or grid cells. At any moment, some agents are moving toward a pivot: a task-critical resource that must be visited, such as a workstation, a pickup or drop-off point, or a charging interface; in a given system, pivots form a single class of functionally interchangeable resources (systems with several classes give rise to typed pivots; we treat one). The other agents, having visited a workstation or not needing one, must park at a station: an admissible terminal position (storage cell, staging area) from which they remain available for future tasks without obstructing traffic; any agent may terminate at any station, one agent per station. Poor terminal placement propagates congestion, and poorly coordinated pivot access causes active agents to queue; the two should therefore be optimized jointly: a locally good route to a pivot may leave agents obstructing others' paths or blocking terminal placements, while convenient station assignments may ignore upcoming access to scarce resources.

We call the combined problem Pivot-and-Station Multi-Agent Path Finding (PS-MAPF), a new variant of Multi-Agent Path Finding (MAPF) (Stern et al. 2019): on a graph whose vertices include pivots and stations, a subset of agents is tasked and must visit at least one pivot (any pivot serves any tasked agent) before reaching its terminal position; the remaining untasked agents have no pivot requirement but still occupy space and interact with tasked agents throughout. Every agent must terminate at a distinct station, and a solution is a set of collision-free paths satisfying both the pivot-access and terminal-station requirements.

In classical MAPF (Stern et al. 2019), feasibility is polynomial-time decidable via pebble motion (Kornhauser, Miller, and Spirakis 1984), whereas optimizing makespan or flowtime is NP-hard (Yu and LaValle 2013b). Optimal solvers are search-based, e.g., CBS (Sharon et al. 2015), or reduction-based, encoding MAPF as SAT (Surynek et al. 2016), which often dominates in dense settings (Asín Achá et al. 2022; Surynek 2019); scalable suboptimal methods include rule-based algorithms (Luna and Bekris 2011; Surynek 2009), prioritized planning (Erdmann and Lozano-Pérez 1987), whose modern variants tune agent orderings (Silver 2005; Ma et al. 2019), the near-optimal LaCAM* (Okumura 2024), and MAPF-HD (Makino and Ito 2026) for high-density settings. Our optimal solver builds on the SAT line, and our fast method is a prioritized planner.

PS-MAPF captures a coordination structure not fully addressed by existing variants (Ma et al. 2016). In Anonymous MAPF (AMAPF), destinations are unassigned and makespan optimization is polynomial (Yu and LaValle 2013a); in Target Assignment and Path Finding (TAPF), destinations are interchangeable only within subgroups, which is NP-hard (Ma and Koenig 2016); neither models mandatory access to scarce intermediate resources. Generalized TAPF (Nguyen et al. 2017) and Multi-Goal MAPF (Surynek 2021) assign each agent or group a specific sequence of targets, whereas PS-MAPF treats pivots as unassigned, interchangeable resources. Multi-Agent Combinatorial Path Finding (MCPF) (Ren, Rathinam, and Choset 2021, 2022) is the nearest, combining intermediate targets with anonymous terminal assignment, but the requirement points the opposite way (in MCPF every target must be visited by some agent; in PS-MAPF every tasked agent must visit some pivot, and a pivot no agent needs is never visited). MCPF treats agents symmetrically,

∗^{*}These authors contributed equally.

while PS-MAPF distinguishes tasked/untasked agents and places the entire fleet. MAPF with Unassigned Agents (Feller and Stern 2026) distinguishes tasked and untasked agents but does not require anonymous terminal reconfiguration of the whole fleet. Multi-Agent Pickup and Delivery (Ma et al. 2017) shares the intermediate requirement but is lifelong with assigned pickup and delivery locations, whereas PS-MAPF is one-shot with anonymous pivots and stations.

This paper makes the following contributions. (i) A new MAPF variant, PS-MAPF, motivated by high-density automated storage systems (Sec. 2). (ii) A complete characterization of solvability checkable in polynomial time: sufficiency via 2-edge connectivity and, on arbitrary connected graphs, a necessary and sufficient condition comparing an effective-distance measure with the number of unoccupied vertices (Sec. 3). (iii) A sharp complexity threshold: minimizing station-makespan and station-flowtime is NP-hard already for a single pivot (Sec. 4). (iv) Algorithms and experiments: a complete baseline derived from our constructive solvability proof, a reduction-based optimal solver, and Pivot-Prioritized Planning (PPP), incomplete but fast (prioritized pivot routing plus flow-based station assignment), solving 74–89% of benchmark instances at orders-of-magnitude lower cost than the baseline (Sec. 5 and 6).

References (35)