7 CONCLUSION
While finding a makespan optimal solution is quite
straightforward, there have been attempts to refine the
algorithm to improve performance (Hus
´
ar et al., 2022).
The sum-of-cost objective requires more complicated
algorithms as we have bounds on the total cost of the
plan, as well as on the maximum makespan of the
agents. Algorithms to find the sum-of-cost optimal so-
lutions for reduction-based solver were first conceived
for SAT in (Surynek et al., 2016; Bart
´
ak and Svancara,
2019). Later, the jump approach was implemented
for ASP in (G
´
omez et al., 2021), however, the paper
focused mostly on improving the encoding.
In this paper, we have presented a new approach to
find a sum-of-cost optimal solution in reduction-based
solvers. The new approach combines the advantages
of both previously known algortihms. It makes use
of the reduced search space of the iterative approach,
while “jumping” to a
δ
that guarantees the existence
of a solution, similarly to the old jump method. Our
experiments show that the new approach is better on
all instance sizes. Additionally, we provide data that
highlights the importance of the optimization strategy
used in the solver. Lastly, we remark that, in practice,
agents usually do not have similar shortest path lengths.
This means the instances of type uneven, where the
best results are seen, are the most realistic.
ACKNOWLEDGEMENTS
This work was partly funded by DFG grant SCHA
550/15, by project 23-05104S of the Czech Science
Foundation, and by CUNI project UNCE 24/SCI/008.
REFERENCES
Andres, B., Kaufmann, B., Matheis, O., and Schaub, T.
(2012). Unsatisfiability-based optimization in clasp.
In Dovier, A. and Santos Costa, V., editors, Technical
Communications of the Twenty-eighth International
Conference on Logic Programming (ICLP’12), vol-
ume 17, pages 212–221. Leibniz International Proceed-
ings in Informatics (LIPIcs).
Bart
´
ak, R. and Svancara, J. (2019). On sat-based approaches
for multi-agent path finding with the sum-of-costs ob-
jective. In Surynek, P. and Yeoh, W., editors, Pro-
ceedings of the Twelfth International Symposium on
Combinatorial Search (SOCS’19), pages 10–17. AAAI
Press.
Bennewitz, M., Burgard, W., and Thrun, S. (2002). Finding
and optimizing solvable priority schemes for decoupled
path planning techniques for teams of mobile robots.
Robotics Auton. Syst., 41(2-3):89–99.
Boyarski, E., Felner, A., Stern, R., Sharon, G., Tolpin, D.,
Betzalel, O., and Shimony, S. (2015). ICBS: Im-
proved conflict-based search algorithm for multi-agent
pathfinding. In Yang, Q. and Wooldridge, M., editors,
Proceedings of the Twenty-fourth International Joint
Conference on Artificial Intelligence (IJCAI’15), pages
740–746. AAAI Press.
Dresner, K. M. and Stone, P. (2008). A multiagent approach
to autonomous intersection management. J. Artif. Intell.
Res., 31:591–656.
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.
Gebser, M., Kaminski, R., Kaufmann, B., and Schaub, T.
(2012). Answer Set Solving in Practice. Synthesis Lec-
tures on Artificial Intelligence and Machine Learning.
Morgan and Claypool Publishers.
G
´
omez, R., Hern
´
andez, C., and Baier, J. (2021). A com-
pact answer set programming encoding of multi-agent
pathfinding. IEEE Access, 9:26886–26901.
Hus
´
ar, M., Svancara, J., Obermeier, P., Bart
´
ak, R., and
Schaub, T. (2022). Reduction-based solving of multi-
agent pathfinding on large maps using graph pruning.
In Faliszewski, P., Mascardi, V., Pelachaud, C., and
Taylor, M., editors, Proceedings of the Twenty-first
International Conference on Autonomous Agents and
Multiagent Systems (AAMAS’22), pages 624–632. In-
ternational Foundation for Autonomous Agents and
Multiagent Systems (IFAAMAS).
Kaminski, R., Romero, J., Schaub, T., and Wanko, P. (2023).
How to build your own asp-based system?! Theory
and Practice of Logic Programming, 23(1):299–361.
Kornhauser, D., Miller, G., and Spirakis, P. (1984). Co-
ordinating pebble motion on graphs, the diameter of
permutation groups, and applications. In 25th Annual
Symposium onFoundations of Computer Science, 1984.,
pages 241–250.
Lam, E., Le Bodic, P., Harabor, D. D., and Stuckey, P. J.
(2019). Branch-and-cut-and-price for multi-agent
pathfinding. In Proceedings of the Twenty-Eighth In-
ternational Joint Conference on Artificial Intelligence,
IJCAI-19, pages 1289–1296. International Joint Con-
ferences on Artificial Intelligence Organization.
Lifschitz, V. (2019). Answer Set Programming. Springer-
Verlag.
Ma, H., Li, J., Kumar, T., and Koenig, S. (2017). Life-
long multi-agent path finding for online pickup and
delivery tasks. In Proceedings of the Sixteenth Confer-
ence on Autonomous Agents and MultiAgent Systems
(AAMAS’17), pages 837–845. ACM Press.
Sharon, G., Stern, R., Goldenberg, M., and Felner, A. (2011).
The increasing cost tree search for optimal multi-agent
pathfinding. In Proceedings of the Twenty-Second In-
ternational Joint Conference on Artificial Intelligence -
Volume Volume One, IJCAI’11, page 662–667. AAAI
Press.
Stern, R., Sturtevant, N., Felner, A., Koenig, S., Ma, H.,
Walker, T., Li, J., Atzmon, D., Cohen, L., Kumar,
T., Bart
´
ak, R., and Boyarski, E. (2019). Multi-agent
pathfinding: Definitions, variants, and benchmarks. In
ICAART 2024 - 16th International Conference on Agents and Artificial Intelligence
270