Published July 8, 2023 | Version v1
Software Open

Code from ICAPS 2023 paper "Grounding Planning Tasks Using Tree Decompositions and Iterated Solving"

Description

Source code used in the experiments from the paper "Grounding Planning Tasks Using Tree Decompositions and Iterated Solving" (Corrêa et al ICAPS 2023). There are six different files:

  1. asp-grounding.zip: It contains the files to ground planning tasks using off-the-shelf ASP tools. The README.md file in this zip explains how to execute it. (You also need to add lpopt to the PATH and to an environment variable LPOPT_BIN_PATH to use all options. See lpopt.zip below.)
  2. clingo.zip: It contains the versions of clingo and gringo used for the experiments. Just add the 'cling' and 'gringo' executables to the necessary environment variables.
  3. downward-new-grounder.zip: It contains a version of Fast Downward using the new grounder via iterated solving. To use this, you need to set some variables first: (i) gringo should be in the PATH; (ii) LPOPT_BIN_PATH should point to lpopt; (iii) COUNT_GROUND_ACTIONS_BIN_PATH should point to count-ground-actions.py (found in asp-grounding.zip). Then, you can follow the README instruction to build and execute Fast Downward. However, you need to pass the option "--translate-options --use-direct-lp-encoding" to the driver script (i.e., fast-downward.py). Note that this only works with STRIPS.
  4. downward-gringo.zip: It contains a version of Fast Downward replacing the Python grounder with gringo. (It is a mistake that some parts of the code refer to 'clingo' instead.) Once again, you need to have gringo in the PATH.  Then, you can follow the README instruction to build and execute Fast Downward. However, you need to pass the option "--translate-options --use-direct-lp-encoding" to the driver script (i.e., fast-downward.py). Note that this only works with STRIPS.
  5. fd-grounder.zip: It contains a reimplementation of Fast Downward's grounder (Helmert AIJ 2009, section 6) in C++. The README.md file in this zip explains how to execute it.
  6. lpopt.zip: It contains the version of lpopt used in our experiments. You need to add to the PATH or set an environment variable pointing to lpopt depending on which other package you want to use it with.

As an important remark, we recommend the use of Pypy3 instead of Python 3. (By the time of this submission, the most recent version of Python 3 was 3.11.)

Files

asp-grounding.zip

Files (16.9 MB)

Name Size Download all
md5:8b01319ce511d50a4cf0243292476b42
92.4 kB Preview Download
md5:9c8ba5caddd8b327ddefe45b7bb50f3f
9.4 MB Preview Download
md5:930fd65f17443a01b4e99cc3d111f39e
836.2 kB Preview Download
md5:a6ce1a5e275aae7b6a47b33a1097109f
837.3 kB Preview Download
md5:35cbf2f5ee3f1339940ba746dcc722d3
3.0 MB Preview Download
md5:3f5b3ad1c65ee569cabe11c364ee6721
2.9 MB Preview Download

Additional details

Funding

TAILOR – Foundations of Trustworthy AI - Integrating Reasoning, Learning and Optimization 952215
European Commission
Lifted and Generalized Representations for Classical Planning (LGR-Plan) 212624
Swiss National Science Foundation