Hostname: page-component-89b8bd64d-z2ts4 Total loading time: 0 Render date: 2026-05-12T07:05:58.896Z Has data issue: false hasContentIssue false

Optimally stable plan repair

Published online by Cambridge University Press:  26 November 2025

Alessandro Saetti*
Affiliation:
Dipartimento di Ingegneria dell’Informazione, Università degli Studi di Brescia, Brescia, Italy
Enrico Scala
Affiliation:
Dipartimento di Ingegneria dell’Informazione, Università degli Studi di Brescia, Brescia, Italy
*
Corresponding author: Alessandro Saetti; Email: alessandro.saetti@unibs.it
Rights & Permissions [Opens in a new window]

Abstract

Plan repair is the problem of solving a given planning problem by using a solution plan of a similar problem. This paper presents the first approach where the repair has to be done optimally, that is, we aim at finding a minimum distance plan from an input plan; we do so by introducing a number of compilation schemes that convert a classical planning problem into another where optimal plans correspond to plans with the minimum distance from an input plan. We also address the problem of finding a minimum distance plan from a set of input plans, instead of just one plan. Our experiments using a number of planners show that such a simple approach can solve many problems optimally and more effectively than replanning from scratch for a large number of cases. Also, the approach proves competitive with ${\mathsf{LPG}\textrm{-}\mathsf{adapt}}$, a state-of-the-art approach for the plan repair problem.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Figure 1. An agent moves in the cardinal directions trying to get to the key. (0,0) is the left most cell on the bottom, so the agent starts at position (4,0) and is tasked to go to position (0,3).

Figure 1

Table 1. Coverage Analysis. Each entry of the table corresponds to the number of problems solved by the system identified by the column: replanning from scratch (RS), or using Resa, S-Resa, and L-Resa. D-{1,2,5} is a regrouping of the instances that considers all instances computed by injecting 1, 2, or 5 random actions in sequence. The number of problems is in parenthesis. Bolds are for best performers

Figure 2

Table 2. Plan Distance Analysis. Each entry of the table corresponds to an average of the plan distances across problems solved by replanning from scratch (RS) or using Resa, S-Resa, L-Resa. Bolds are for best performers

Figure 3

Figure 2. Scatter plotting the plan distances across problems solved by replanning from scratch w.r.t. repairing by Resa using the optimal (left) and the satisficing (right) planners.

Figure 4

Table 3. Coverage Analysis. Each entry of the table corresponds to the number of problems solved by the system identified by the column: replanning from scratch (RS), or using Resa, S-Resa, and L-Resa. D-{1,2,5} is a regrouping of the instances that considers all instances computed by injecting 1, 2, or 5 random actions in sequence. The number of problems is in parenthesis. Bold is for best performers

Figure 5

Table 4. Plan Distance Analysis. Each entry of the table corresponds to an average of the plan distances across problems solved by replanning from scratch (RS) or using Resa, S-Resa, L-Resa. Bolds are for best performers

Figure 6

Table 5. Coverage and plan distance between ${{{\mathsf{LPG}\textrm{-}\mathsf{adapt}}}}$ and Resa using $\mathsf{Delfi1}$ and $\mathsf{Lama}$ over the problems derived from the optimal track of IPC-18. Bolds are for best performers; “–” for unsupported

Figure 7

Table 6. Coverage Analysis. Each entry of the table corresponds to the number of problems solved by the system identified by the column: replanning from scratch (RS), or using M-Resa with 1 (1P), 2 (2P), or 5 (5P) input plans. D-{1,2,5} is a regrouping of the instances that considers all instances computed by injecting 1, 2, or 5 random actions in sequence. The number of problems is in parenthesis. Bolds are for best performers

Figure 8

Table 7. Plan Distance Analysis. Each entry of the table corresponds to an average of the plan distances across problems solved by replanning from scratch (RS) or using M-Resa with 1 (1P), 2 (2P), or 5 (5P) input plans. Bolds are for best performers

Figure 9

Figure 3. Scatter plotting the plan distances across problems solved by replanning from scratch w.r.t. repairing by M-Resa using the optimal (left) and the satisficing (right) planners.

Figure 10

Table 8. Coverage Analysis. Each entry of the table corresponds to the number of problems solved by the system identified by the column: replanning from scratch (RS), or using M-Resa with 1 (1P), 2 (2P), or 5 (5P) input plans. D-{1,2,5} is a regrouping of the instances that considers all instances computed by injecting 1, 2, or 5 random actions in sequence. The number of problems is in parenthesis. Bolds are for best performers

Figure 11

Table 9. Plan Distance Analysis. Each entry of the table corresponds to an average of the plan distances across problems solved by replanning from scratch (RS) or using M-Resa with 1 (1P), 2 (2P), or 5 (5P) input plans. Bolds are for best performers