Managing Conflicting Tasks in Heterogeneous Multi-Robot Systems Through Hierarchical Optimization
Abstract
The robotics research community has explored several model-based techniques for multi-robot and multi-task control. Through constrained optimization, robot-specific characteristics can be taken into account when controlling robots and accomplishing tasks. However, in scenarios with multiple conflicting tasks, existing methods struggle to enforce strict prioritization among them, allowing less important tasks to interfere with more important ones. In this paper, we propose a novel control framework that enables robots to execute multiple prioritized tasks concurrently while maintaining a strict task priority order. The framework exploits hierarchical optimization within a model predictive control structure. It formulates a convex minimization problem in which all the tasks are encoded as linear equality and inequality constraints. The proposed approach is validated through simulations using a team of heterogeneous robots performing multiple tasks.
Approach
Every requirement placed on the fleet — the robots’ own dynamics included — is written as a task, a set of linear equality and inequality constraints on the stacked states and inputs of all robots:
where the slack variable keeps the problem feasible when a task cannot be satisfied. The tasks are then solved in a strict priority order: the robots’ dynamics take the highest priority, the input limits follow, and the remaining tasks are ordered according to the requirements of the application. The priority ordering is the only thing the designer sets — no weight tuning is required.
Hierarchical optimization
Each task is solved as a quadratic program that also carries the inequality constraints of all higher-priority tasks, giving a partial solution . The global solution, which also satisfies the equality constraints of the higher-priority tasks, is obtained by projecting the partial solution into their null space:
with the null-space projector computed recursively from the singular value decomposition of :
Since loses columns as each task constrains the solution space, lower-priority tasks optimize over a progressively smaller space and cannot undo what a more important task has achieved. The solution of the whole set of tasks is , obtained after solving subproblems.
Hierarchical constraint-based model predictive control
The hierarchy is embedded in a model predictive controller covering a horizon of . The optimization uses direct multiple shooting, which jointly optimizes the states and the inputs of the fleet and offers better convergence than single shooting at the cost of more variables. Each robot’s dynamics are discretized and linearized around a nominal trajectory rather than a single point, which significantly reduces linearization errors. Heterogeneity is handled naturally, because every robot contributes its own dynamics and its own input and input-rate limits to the same problem.
Tasks
The paper formalizes a set of multi-robot tasks within the framework. Since several tasks may share the same priority level and be traded off by relative weights, the approach is a superset of weighted optimization.
| Task | Encoding |
|---|---|
| Robot dynamics | equality, linearized and discretized per robot |
| Input and input-rate limits | inequality, |
| Collision avoidance | inequality, minimum safety distance to obstacles and to other robots |
| Go-to-goal | equality, |
| Coverage | equality, , the centroid of the robot’s Voronoi cell |
| Formation control | equality on the desired inter-robot distances |
| Input minimization | equality, , at the lowest priority |
Results
Prioritized versus weighted optimization
Two single-robot scenarios separate the proposed approach from the weighted one, where relative importance is expressed by a scalar that must be tuned.
In the first, a unicycle is given three conflicting go-to-goal tasks, with more important than and . The prioritized controller satisfies without compromise while moving smoothly and within the robot’s dynamics. The weighted controller only matches it once is raised to 1000.
| Method | Weight | Time-to-goal | Position error |
|---|---|---|---|
| Prioritized | — | 4.05 s | 0.00 m |
| Weighted | 10 | 4.09 s | 0.62 m |
| Weighted | 100 | 4.05 s | 0.01 m |
| Weighted | 1000 | 4.05 s | 0.00 m |
In the second scenario the same robot is given five partially conflicting tasks of decreasing importance — , , , , and — whose optimal final configuration is , , . The prioritized controller reaches it without tuning: it first moves horizontally to satisfy with minimal delay, only then moves vertically to complete , and finally rotates to accomplish . No weight value reproduces that behaviour. With the robot completes a single task even though the others are non-conflicting, with it accomplishes none, and the best intermediate value leaves feasible tasks uncompleted.
Coverage and battery charging
A fleet of six mobile robots must cover a square area while each robot keeps a sufficient battery charge, recharged by reaching a charging station. Coverage is prioritized while the battery is full; below a threshold, recharging is assigned a higher priority for that robot. The remaining robots keep covering the area and adapt to the movement of the one that leaves. The scenario is run with six unicycles and repeated with a heterogeneous fleet of four unicycles and two omnidirectional robots, which the framework manages by carrying each robot’s dynamics and constraints in the same optimization problem.
Collision avoidance, formation control, and centroid velocity
Five omnidirectional robots must hold a formation and follow a centroid velocity reference while avoiding an obstacle and each other, keeping at least 50 cm between robots. Collision avoidance always has the highest priority; swapping the order of the other two tasks decides which one is sacrificed. With formation control above the velocity reference, the formation is preserved through the evasive manoeuvre and the centroid velocity error peaks at 0.7 m/s. With the order reversed, the velocity error stays at 0 m/s at all times and the formation is temporarily broken instead.
In both cases the safety distance is never violated: the highest-priority task is achieved without compromise, and prioritization is enforced by null-space projection rather than by weights that would have to be tuned against safety.
Computation time
The framework is implemented in Python 3.10, with the tasks defined and linearized through CasADi and solved with quadprog, on a 12th Gen Intel Core i7-12700H.
The weighted approach solves one large problem, the hierarchical one solves smaller subproblems, so which is faster depends on how the inequality constraints are distributed.
The weighted approach is roughly four times faster in the two single-robot scenarios and 50% faster on coverage, whereas the hierarchical approach is 40% faster on the collision-avoidance-heavy scenario, where its subproblems are considerably smaller.
| Scenario | Setup time | Solve time, hierarchical | Solve time, weighted |
|---|---|---|---|
| Conflicting go-to-goal | 0.106 s | 0.121 s | 0.031 s |
| Multiple prioritized tasks | 0.102 s | 0.174 s | 0.056 s |
| Coverage | 1.6 s | 4.19 s | 2.72 s |
| Collision avoidance, centroid velocity, and formation | 0.45 s | 0.74 s | 1.05 s |
The computational cost scales linearly with the prediction horizon and quadratically with the number of robots . At a control frequency of 20 Hz, the approach remains real-time capable with fleets of more than 40 robots for short prediction horizons.
Conclusion
By leveraging hierarchical optimization within a model predictive control structure, the proposed method handles task prioritization efficiently, ensuring strict task ordering and execution while simultaneously accounting for the robots’ dynamics and constraints. The framework maintains task priority without the extensive parameter tuning that weighted approaches require, suits heterogeneous robot systems and complex environments, and manages concurrent tasks such as collision avoidance, coverage, formation control, and battery charging. Future work will explore decentralized optimization and validation under more dynamic conditions.
BibTeX citation
@article{debenedittis2025managing, author = {De Benedittis, Davide and Garabini, Manolo and Pallottino, Lucia}, journal = {IEEE Robotics and Automation Letters}, title = {Managing Conflicting Tasks in Heterogeneous Multi-Robot Systems Through Hierarchical Optimization}, year = {2025}, volume = {10}, number = {6}, pages = {5305--5312}, doi = {10.1109/LRA.2025.3559843}}