SAT-Based Planning with Minimal-#actions Plans and “soft” Goals Enrico Giunchiglia and Marco Maratea DIST, University of Genova, Viale F. Causa 15, Genova, Italy {enrico,marco}@dist.unige.it Abstract. Planning as Satisfiability (SAT) is the best approach for op- timally solving classical planning problems. The SAT-based planner sat- plan has been the winner in the deterministic track for optimal planners in the 4th International Planning Competition (IPC-4) and the co-winner in the last 5th IPC (together with another SAT-based planner). Given a planning problem Π, satplan works by (i) generating a SAT formula Πn with a fixed “makespan” n, and (ii) checking Πn for satisfiability. The algorithm stops if Πn is satisfiable, and thus a plan has been found, otherwise n is increased. Despite its efficiency, and the optimality of the makespan, satplan has significant deficiency related in particular to “plan quality”, e.g., the number of actions in the returned plan, and the possibility to express and reason on “soft” goals. In this paper, we present satplan ≺ , a system, modification of sat- plan, which makes a significant step towards the elimination of sat- plan’s limitations. Given the optimal makespan, satplan ≺ returns plans with minimal number of actions and maximal number of satisfied “soft” goals, with respect to both cardinality and subset inclusions. We selected several benchmarks from different domains from all the IPCs: on these benchmarks we show that the plan quality returned by satplan ≺ is often significantly higher than the one returned by satplan. Quite surprisingly, this is often achieved without sacrificing efficiency while obtaining results that are competitive with the winning system of the ”SimplePreferences” domain in the satisfying track of the last IPC. 1 Introduction Planning as Satisfiability (SAT) [1] is the best approach for optimally solving classical planning problems. The SAT-based planner satplan [2,3] has been the winner in the deterministic track for optimal planners in the 4th Interna- tional Planning Competition (IPC-4) [4] and the co-winner in the recent IPC-5 (together with another SAT-based planner, MaxPlan [5]). Given a planning problem Π , satplan works by (i) generating a SAT formula Π n with a fixed “makespan” n, and (ii) checking Π n for satisfiability. The algorithm stops if Π n is satisfiable, and thus the plan has been found, otherwise n is increased. Despite its efficiency, and the optimality of the makespan, satplan has sig- nificant deficiency related in particular to “plan quality”, e.g., the number of R. Basili and M.T. Pazienza (Eds.): AI*IA 2007, LNAI 4733, pp. 422–433, 2007. c Springer-Verlag Berlin Heidelberg 2007