Modeling and Solving the Multi-agent Pathfinding Problem in Picat

The multi-agent pathfinding (MAPF) problem has attracted considerable attention because of its relation to practical applications. In this paper, we present a constraint-based declarative model for MAPF, together with its implementation in Picat, a logic-based programming language. We show experimentally that our Picat-based implementation is highly competitive and sometimes outperforms previous approaches. Importantly, the proposed Picat implementation is very versatile. We demonstrate this by showing how it can be easily adapted to optimize different MAPF objectives, such as minimizing makespan or minimizing the sum of costs, and for a range of MAPF variants. Moreover, a Picat-based model can be automatically compiled to several general-purpose solvers such as SAT solvers and Mixed Integer Programming solvers (MIP). This is particularly important for MAPF because some MAPF variants are solved more efficiently when compiled to SAT while other variants are solved more efficiently when compiled to MIP. We analyze these differences and the impact of different declarative models and encodings on empirical performance.

[1]  Gilles Pesant,et al.  A Regular Language Membership Constraint for Finite Sequences of Variables , 2004, CP.

[2]  Steven M. LaValle,et al.  Structure and Intractability of Optimal Multi-Robot Path Planning on Graphs , 2013, AAAI.

[3]  Peter Schüller,et al.  A General Formal Framework for Pathfinding Problems with Multiple Agents , 2013, AAAI.

[4]  Malte Helmert,et al.  Non-Optimal Multi-Agent Pathfinding is Solved (Since 1984) , 2012, SOCS.

[5]  Roni Stern,et al.  Efficient SAT Approach to Multi-Agent Path Finding Under the Sum of Costs Objective , 2016, ECAI.

[6]  Adi Botea,et al.  Fast and Memory-Efficient Multi-Agent Pathfinding , 2008, ICAPS.

[7]  David Silver,et al.  Cooperative Pathfinding , 2005, AIIDE.

[8]  Carsten Sinz,et al.  Towards an Optimal CNF Encoding of Boolean Cardinality Constraints , 2005, CP.

[9]  Jingchao Chen,et al.  A New SAT Encoding of the At-Most-One Constraint , 2010 .

[10]  David Tolpin,et al.  ICBS: The Improved Conflict-Based Search Algorithm for Multi-Agent Pathfinding , 2015, SOCS.

[11]  Neng-Fa Zhou,et al.  Constraint Solving and Planning with Picat , 2015, SpringerBriefs in Intelligent Systems.

[12]  Pavel Surynek,et al.  An Optimization Variant of Multi-Robot Path Planning Is Intractable , 2010, AAAI.

[13]  Jussi Rintanen,et al.  Planning as satisfiability: Heuristics , 2012, Artif. Intell..

[14]  Roni Stern,et al.  An Empirical Comparison of the Hardness of Multi-Agent Path Finding under the Makespan and the Sum of Costs Objectives , 2016, SOCS.

[15]  Dimitris Bertsimas,et al.  Optimization over integers , 2005 .

[16]  Pavel Surynek A Simple Approach to Solving Cooperative Path-Finding as Propositional Satisfiability Works Well , 2014, PRICAI.

[17]  Roman Barták,et al.  k-Robust Multi-Agent Path Finding , 2017, SOCS.

[18]  Malcolm Ryan,et al.  Constraint-based multi-robot path planning , 2010, 2010 IEEE International Conference on Robotics and Automation.

[19]  Neng-Fa Zhou,et al.  Optimizing SAT Encodings for Arithmetic Constraints , 2017, CP.

[20]  Neng-Fa Zhou,et al.  The Picat-SAT Compiler , 2016, PADL.

[21]  Bart Selman,et al.  Planning as Satisfiability , 1992, ECAI.

[22]  Steven M. LaValle,et al.  Optimal Multirobot Path Planning on Graphs: Complete Algorithms and Effective Heuristics , 2015, IEEE Transactions on Robotics.

[23]  Pavel Surynek A SAT-Based Approach to Cooperative Path-Finding Using All-Different Constraints , 2012, SOCS.

[24]  Peter Stone,et al.  A Multiagent Approach to Autonomous Intersection Management , 2008, J. Artif. Intell. Res..

[25]  Roni Stern,et al.  The Increasing Cost Tree Search for Optimal Multi-Agent Pathfinding , 2011, IJCAI.

[26]  Yixin Chen,et al.  A Novel Transition Based Encoding Scheme for Planning as Satisfiability , 2010, AAAI.

[27]  Roman Barták,et al.  Robust Multi-Agent Path Finding , 2018, SOCS.

[28]  Pavel Surynek On Propositional Encodings of Cooperative Path-Finding , 2012, 2012 IEEE 24th International Conference on Tools with Artificial Intelligence.

[29]  Trevor Scott Standley Finding Optimal Solutions to Cooperative Pathfinding Problems , 2010, AAAI.