On The Use of Integer Programming Models in AI Planning
On The Use of Integer Programming Models in AI Planning
• Like Graphplan-based planners such as Blackbox, • represents the set of fluents that hold
state-change formulation is guaranteed to find plans initially;
that have optimal values for the number of time • represents the set of fluents that have to
steps in the plan. However, this formulation also to hold in the goal state.
takes into account the number of actions required We assume that the number of time steps in the plan, t,
by the plans (i.e., the plan length); and the number is given. Furthermore, we introduce the sets
of actions obtained using the state-change IP for-
mulation was usually much less than the number of • represents the set of
actions in the plans obtained by BlackBox. actions which have fluent / as a precondition;
The organization of this paper is as follows. In Section • represents the set of
2, we discuss the various IP formulations of the planning actions which have fluent / as an add effect;
problem. Next, Section 3 provides experimental results • represents the set of
for these formulations, and a comparison with the sys- actions that delete fluent /.
tematic satisfiability solver. We conclude in Section 4
with a brief discussion of issues that arise in using IP 2.1 SATPLAN-based IP Formulations
techniques, and of plans for future work. Initially, our IP formulations were motivated by the well
known SATPLAN encodings, as discussed in [Kautz and
2 Integer Programming Formulations Selman, 1996]. In SATPLAN, the problem of determin-
The most effective current approach for solving general ing whether a plan exists, given a fixed number of time
integer programs involves the use of branch and bound steps, is expressed as a satisfiability problem.
employing a linear programming (LP) relaxation. Thus, It is well known that satisfiability problems can be
the key to the effectiveness of using integer programming expressed as integer linear programs, (see for instance
to solve planning problems will lie in the effectiveness [Blair et a/., 1986) or [Hooker, 1988]). Usually, this is
of the LP relaxation in improving the underlying tree done by converting the clauses in the CNF representation
search. The LP relaxation is typically solved at every of the satisfiability problem to 0-1 linear inequalities. For
node in the search tree. Search can be terminated at instance, the clause
a node 1) if LP relaxation value indicates that further
search could only uncover solutions with objective func-
tion values inferior to the best known, 2) if the LP is is equivalent to the 0—1 inequality
infeasible, which in turn implies the integer program is
infeasible and 3) if the LP yields an integer solution.
Since for planning problems, the objective function is
only of secondary consideration, 1) will have little value. Our first formulation consisted of this conversion for
On the other hand 2) and 3) can be quite useful in im- the SATPLAN encodings that are based on GraphPlan
proving search performance for planning problems. In [Blum and Furst, 1996], i.e., we allow for parallel actions
particular, if the initial LP solves integer then no search and the propagation of fluents using the "no-op" opera-
is necessary. Another role the LP relaxation plays is that tor. The resulting formulation is summarized as follows.
it provides information useful in deciding which variables Variables For all , we have fluent
to branch on. variables, which are defined as
A key issue in the performance of integer programming
algorithms is the "strength" of the formulation. In gen-
eral, there can be many equivalent integer programming
so it also is guaranteed to minimize the number of time • Second, IP models may provide a natural means
steps. In addition, the IP formulation also explicitly uses of incorporating numeric constraints and objec-
minimization of the number of actions in the objective tives into the planning formulation. This capability
function. Since we set the solver to terminate as soon would be important in many application domains,
as the first feasible integer solution was found, the IP but it is not available in most existing approaches
solutions were not guaranteed to minimize the possible to AI planning. It should be noted, however, that
number of actions. Still, we found that in most cases, the the way in which numeric constraints will be repre-
IP formulation found plans with a significantly smaller sented may have a significant influence on the per-
total number of actions than those obtained by Black- formance, much in the same way as we saw with
Box. This is shown in Table 3. the various IP formulations. Therefore, the devel-
opment of strong IP representations that capture
common numeric constraints that arise in the plan-
4 Conclusions ning domain is an issue for further research.
Although Selman et al. [1997] reported difficulty in mak-
We would like to emphasize that so far our main concern
ing effective use of IP techniques for propositional rea-
has been the development of different IP formulations,
soning in general, our results suggest that IP techniques
rather than improving the efficiency of the LP relaxation
may potentially work well for AI planning problems, for
itself. While we believe that the state-change formula-
the following reasons.
tion is reasonably strong, solving the LP relation at each
• First, the IP formulation has the potential to do node is still sometimes computationally expensive. One
References
[Blair et a/., 1986] Blair, C.E., Jeroslow, R.G., and J.K.
Lowe. 1986. Some results and experiments in program-
ming techniques for propositional reasoning. Comput-
ers and Operations Research 13:633-645.
[BockMayr and Dimopoulos, 1998] Alexander
Bockmayr and Yanis Dimopoulos. 1998. Mixed Integer
Programming Models for Planning Problems. CP'98
Workshop on Constraint Problem Reformulation.
[Bylander, 1997] T. Bylander. 1997. A Linear Program-
ming Heuristic for Optimal Planning. Proc. AAAI-97.
[Blum and Furst, 1997] A. L. Blum and M. L. Furst.
1997. Fast Planning Through Planning Graph Analy-
sis. Artificial Intelligence, 90(l-2):281-300.
[Hooker, 1988] J. N. Hooker. 1988. A quantitative ap-
proach to logical inference. Decision Support Systems
4:45-69.
(Kautz et al, 1996] Henry Kautz, David McAllester,
and Bart Selman. 1996. Encoding plans in proposi-
tional logic. Proc. KR-96.
[Kautz and Selman, 1996] Henry Kautz and Bart Sel-
man. 1996. Pushing the envelope: Planning, propo-
sitional logic, and stochastic search. Proc. AAAI-96.
[Kautz and Selman, 1998] Henry Kautz and Bart Sel-
man. 1998. B L A C K B O X : A New Approach to the
Application of Theorem Proving to Problem Solving.
Working notes of the Workshop on Planning as Com-
binatorial Search, held in conjunction with A1PS-98,
Pittsburgh, PA, 1998.
[Kautz and Walser, 1999] Henry Kautz and Joachim P.
Walser. 1999. State-space Planning by Integer Opti-
mization. Proc. AAAI-99.
[Nau et al, 1998] D. S. Nau, S. J. Smith and Kutluhan
Erol. 1998. Control strategies in H T N planning: the-
ory versus practice. In AAAI-98/IAAI-98 Proceedings,
1127-1133, 1998.
[Selman et al, 1997] B. Selman, H. Kautz, and D.
McAllester. 1997. Ten challenges in propositional
reasoning and search. In Proc. Fifteenth Interna-
tional Joint Conf. Artificial Intelligence (IJCAI-97),
Nagoya, Japan.
[Wolsey, 1998] L. Wolsey, Integer Programming, 1998,
John Wiley, New York.