
Table 3: Average number of variables, solve calls, and
reachable positions per instance for each cost function.
Numbers for variables and positions are in thousands and
the number of variables is accumulated over all solve calls.
vars cumulative solver calls reach pos
mks soc mks soc mks soc
8 12 264 1,0 7,0 2 67
16 189 436 1,0 5,3 28 119
24 692 699 1,0 5,1 102 196
32 2336 447 1,0 3,4 342 111
40 2900 273 1,0 2,7 426 60
48 2815 91 1,0 1,8 424 14
56 2646 180 1,0 2,3 396 37
64 1488 12 1,0 1,1 216 0,5
that on small-size maps, it is easier for both ap-
proaches to solve the makespan optimization, while
on larger maps, it is easier to solve the sum of costs
optimization. This is counter-intuitive since both of
the solving approaches were first conceived for differ-
ent cost functions – search-based for the sum of costs
and reduction-based for makespan.
We provided insights into the phenomenon. For
CBS, the lower depth of the optimal makespan so-
lution is larger than or equal to that of the optimal
sum of costs solution, which may require more node
expansions when minimizing makespan. Moreover,
when the makespan increases at a child node due to
conflict resolution, the sum of costs also increases, but
not vice versa. Increasing that cost often reduces the
size of the CBS tree. Therefore, this also gives an ad-
vantage to the sum of costs. For the reduction-based
approaches, solving for sum of costs introduces over-
head for the numerical constraints. This overhead is
outweighed on larger maps by the freedom of move-
ment of the agents with less restricted paths. This
freedom is modeled by a large number of variables
that overwhelm the underlying solver.
We also compared our results with three previous
studies (Surynek et al., 2016b; Bart
´
ak and Svancara,
2019; G
´
omez et al., 2021) and showed that our results
are different from theirs due to the small-scale experi-
ments they used. On smaller maps, we observed sim-
ilar behavior as was reported in the studies, however,
on larger maps, the behavior diverged.
Based on our work, we propose open questions for
future work. The CBS algorithm may be improved for
makespan. When finding a new single-agent path, this
path does not have to be the shortest possible, if the
makespan is dictated by a path of a different agent.
This may reduce the number of future conflicts.
Furthermore, the jumping model may be improved
by changing the approach to finding the initial solu-
tion, as finding a makespan optimal solution first and
then creating the numerical constraints combines the
hardest parts of both cost functions.
ACKNOWLEDGEMENTS
This work was funded by DFG grant SCHA 550/15,
by project 23-05104S of the Czech Science Founda-
tion, and by Charles University project 24/SCI/008.
REFERENCES
Alonso-Mora, J., Breitenmoser, A., Rufli, M., Beardsley,
P. A., and Siegwart, R. (2010). Optimal reciprocal col-
lision avoidance for multiple non-holonomic robots.
In DARS, pages 203–216.
Andres, B., Kaufmann, B., Matheis, O., and Schaub, T.
(2012). Unsatisfiability-based optimization in clasp.
In ICLP, pages 211–221.
As’in Ach’a, R. J., L
´
opez, R., Hagedorn, S., and Baier, J. A.
(2021). A new boolean encoding for MAPF and its
performance with ASP and maxsat solvers. In SoCS,
pages 11–19.
Bart
´
ak, R. and Svancara, J. (2019). On sat-based ap-
proaches for multi-agent path finding with the sum-
of-costs objective. In SoCS, pages 10–17.
Bennewitz, M., Burgard, W., and Thrun, S. (2002). Find-
ing and optimizing solvable priority schemes for de-
coupled path planning techniques for teams of mobile
robots. Robotics Auton. Syst., 41(2-3):89–99.
Biere, A., Fazekas, K., Fleury, M., and Heisinger, M.
(2020). CaDiCaL, Kissat, Paracooba, Plingeling and
Treengeling entering the SAT Competition 2020. In
Proceedings of the SAT Competition 2020 – Solver
and Benchmark Descriptions, pages 51–53.
Boyarski, E., Felner, A., Bodic, P. L., Harabor, D. D.,
Stuckey, P. J., and Koenig, S. (2021). f-aware conflict
prioritization & improved heuristics for conflict-based
search. In AAAI, pages 12241–12248.
Boyarski, E., Felner, A., Stern, R., Sharon, G., Tolpin,
D., Betzalel, O., and Shimony, S. E. (2015). ICBS:
improved conflict-based search algorithm for multi-
agent pathfinding. In IJCAI, pages 740–746.
Dresner, K. M. and Stone, P. (2008). A multiagent
approach to autonomous intersection management.
JAIR, 31:591–656.
Felner, A., Li, J., Boyarski, E., Ma, H., Cohen, L., Kumar,
T. K. S., and Koenig, S. (2018). Adding heuristics to
conflict-based search for multi-agent path finding. In
ICAPS, pages 83–87.
Gebser, M., Harrison, A., Kaminski, R., Lifschitz, V., and
Schaub, T. (2015). Abstract Gringo. Theory and Prac-
tice of Logic Programming, 15(4-5):449–463.
G
´
omez, R. N., Hern
´
andez, C., and Baier, J. A. (2021). A
compact answer set programming encoding of multi-
agent pathfinding. IEEE Access, 9:26886–26901.
ICAART 2024 - 16th International Conference on Agents and Artificial Intelligence
32