arXiv:2610.41548cs.ROOct 2026

Manuscript Offprint

arXiv:2610.41548

Contact-based optimization for collision-free motion planning for a million robots

Jan Kamm, Antonio Terpin, Raffaello D'Andrea

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jan Kamm*, Antonio Terpin*, Raffaello D'Andrea

Figure

Figure 1. Sequential contact insertion. (a) Initialization with unconstrained trajectories. (b) Algorithm loop: detect separation violations, insert a contact, and solve the algebraic system until collision-free. Colored tubes in (a,b) show planar robot trajectories in space-time, with time as the vertical axis; black dots mark contacts. (c) Full spatial trajectories for N=1000N=1000 robots moving from a 40×2540 \times 25 grid to a double helix. Blue and rust identify the two target strands.

https://github.com/jankammeth/sci

https://pypi.org/project/sci-solver/

Abstract—Multi-agent robotic systems have attracted growing interest in recent years, with applications ranging from coordinated drone shows to autonomous operations on land, in the air, and on water. At the planning level, robot motion is often modeled using double-integrator dynamics (with low-level controllers handling the physical dynamics during execution) with a minimum-energy objective subject to collision-avoidance constraints and limits on position, velocity, and acceleration. The complexity of the problem resides in the constraints, which couple the trajectories and make the optimization problem nonconvex. Existing numerical approaches typically discretize and optimize entire trajectories, which becomes expensive for large fleets. We exploit the structure of optimal trajectories by organizing optimization around contacts, at which robots reach the minimum allowed separation. We formulate a coupled algebraic system in contact variables and reconstruct trajectories analytically between contacts. Our algorithm, sequential contact insertion (SCI), starts from unconstrained trajectories, inserts contacts at separation violations, and jointly adjusts their times and states. Numerical experiments demonstrate planning for one million robots in minutes and thousands of robots in fractions of a second. On problems feasible for a fixed-grid sequential convex programming (SCP) baseline, SCI achieves median speedups of several orders of magnitude at matching solution accuracy.

I. INTRODUCTION

Multi-agent robotic systems have attracted growing interest in recent years, with applications ranging from coordinated

drone shows to autonomous operations on land [26], in the air [1], and on water [17]. Planning collision-free motion for a robot fleet is difficult because each robot's trajectory constrains the motion of the others. We consider transitions between prescribed initial and final states over a fixed time horizon with double-integrator dynamics, a squared-acceleration objective, collision-avoidance and box constraints on position, velocity, and acceleration. This model is commonly used in the literature for fleet motion planning [1, 3, 4, 17, 18], typically paired with low-level controllers that handle the physical dynamics during execution. The complexity of the problem resides in the pairwise separation constraints that make the joint optimization problem nonconvex. The problem is therefore often solved numerically [12, 15, 21, 23, 24, 25], with sequential convex programming (SCP) as a popular choice [1, 9, 14, 20, 27].

A different route to efficient planning, and the one explored in this paper, is to exploit the structure of optimal trajectories. State-constrained optimal control supplies conditions for unconstrained and constrained trajectory pieces and for matching them [6, 13]. Shooting methods use these conditions to construct a finite system of equations for these pieces and the times at which they meet [6]. For collision avoidance, Beaver et al. [4] derive such matching conditions for one agent relative to a prescribed reference trajectory. For single-robot planning around fixed obstacles, Beaver, Tron, and Cassandras [5] solve trajectory equations within a search over obstacle-vertex sequences. For fleets, Beaver and Malikopoulos [3]

  • These authors contributed equally to this work. Corresponding author: Jan Kamm (jakamm@ethz.ch). All authors are with the Institute for Dynamic Systems and Control, ETH Zurich, Zurich, Switzerland.

solve a square algebraic system for each robot's trajectory while holding higher-priority trajectories fixed. Finally, Kamm et al. [16] completely characterize optimal two-robot motion with resting endpoints for the squared-acceleration objective considered here. We exploit this characterization within our numerical algorithm to construct solutions for larger fleets.

In this work, we formulate fleet planning in terms of pairwise contacts, at which robots reach the prescribed minimum separation. The stationarity conditions yield a coupled algebraic system for the contact times and states, from which the trajectories between contacts are reconstructed analytically. The contact graph decomposes this system into independent groups of interacting robots. Our approach accounts for position, velocity, and acceleration box constraints. Sequential contact insertion (SCI) starts from independent robot trajectories, inserts contacts at separation violations, and jointly adjusts their times and states. Figure 1 illustrates the algorithm and a grid-to-double-helix transfer for N=1000N = 1000 robots. We scale SCI to N=106N = 10^6 robots, which is, to our knowledge, a scale unprecedented in the literature. For fleet sizes amenable to existing methods, SCI obtains median speedups of several orders of magnitude over an SCP baseline at matching accuracy.

References (23)