arXiv:2610.03312cs.AIOct 2026

Manuscript Offprint

arXiv:2610.03312

Optimal Planning in a Dynamic World

Devin Wild Thomas, Solomon Eyal Shimony, Wheeler Ruml, Erez Karpas, Shahaf S. Shperberg, Andrew Coles

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Background: We address the problem of planning when the set of feasible states or actions changes over time. For example, in the problem of path planning among moving obstacles (sometimes known as SIPP), the feasibility of being at a particular location can change as the obstacles move. Or, the action of boarding a particular train is feasible only while it is stopped at the station. This dynamism means that the optimal plan and its duration can change depending on when execution begins. In practice, execution start time is often unknown until planning has completed or another agent gives the go-ahead. However, most prior planning work either ignores dynamism or assumes a known start time. This makes it straightforward to assess state and action feasibility but is impractical for some applications.

Objectives: In this paper, we relax the assumption of a known start time. We define the setting of any-start-time planning and provide algorithms for it.

Methods: We present a data structure called a compound arrival time function (cATF) that compactly encodes the optimal plan as a function of start time. We provide general-purpose planning algorithms, based on heuristic graph search, that assemble cATFs by propagating functions along edges instead of scalar costs.

Results: We prove that the size of a cATF is at most linear in the problem size. An experimental evaluation of an implementation for the specific problem of SIPP shows that, on difficult problems, agents that rely on replanning often fail, while any-start-time algorithms using cATFs can quickly look up the optimal plan once the execution start time is known.

Conclusions: By enabling efficient representations and reasoning for time-dependent plans, this work provides a foundation for planning in dynamic worlds.

1 Introduction

Many applications of planning involve a dynamic world. For example, buses and trains move from stop to stop and shopkeepers open and close their stores without any action on our part. Buses and trains can only be boarded after they arrive and before they depart and groceries can only be purchased when the store is open, so in general, the optimal plan can depend on when execution will begin. Traditionally, planning algorithms have either assumed a known execution start time or assumed that the world is static except for the agent, so its plans will forever remain valid. However, this assumption of a static world or a known start time is frequently violated in real-world settings. Examples include when the start of execution must wait for planning to complete, for some external event to occur, or for the agent to receive permission to act. In such situations, it can be preferable to have a valid plan at the ready, rather than needing to wait until the desired start time is known to even begin planning.

Figure

Figure 1: Typology of SIPP and TDSP Planning Problems.

In this paper we describe how to plan for all start-times. The resulting any-start-time plan has many uses. It enables reasoning about the effects of delays, both during planning and online during execution. In order to apply this approach, we simply need to be willing to represent the problem using a state space where states and actions are either safe or unsafe in continuous time. In return for using this state-space representation, our planner efficiently finds an any-start-time plan — a set of optimal plans for every execution start-time.

The dynamic world can be viewed as a source of uncertainty for the planner, one approach to handling uncertainty in planning is to plan for all eventualities. This approach, called universal planning, has been considered “an (almost) universally bad idea” [16] because universal plans generally grow exponentially with problem size. The time-dependent shortest path problem (TDSP) [12] is one example of universal planning; it handles uncertainty in the form of an unknown start time. In the TDSP, the planner’s objective is to find shortest duration paths for all possible departure times of the agent in a graph with time-dependent edge costs. When the TDSP edges are first-in first-out (i.e., an agent departing later can not arrive earlier), the number of optimal plans in the any-start-time policy solving a TDSP is super-polynomial (nΘ(log⁡(n)))(n^{\Theta(\log(n))}) in the size of the graph [15]. But hang with us for a minute.

One popular planning setting with time-dependent edge costs is so-called safe interval path planning (SIPP) [32], where being in a state or taking an action is either safe or unsafe depending on the time. (Despite the name, nothing in SIPP is specific to path planning or to safety and, as we explain further below, it applies very generally to planning with dynamic action applicability.) While previous SIPP algorithms plan for only a single start time, in this paper we introduce any-start-time planning, which is a generalization of the SIPP problem to plan for all start times, rather than assuming a single known start time. Any-start-time planning is a subclass of the TDSP that has better solution complexity. While the general TDSP can have a solution that is super-polynomial, we will see below that any-start-time planning is a subset of universal planning that is actually a good idea, because the resulting universal plan grows only linearly with problem size. As time also progresses linearly, this means it can be applied to defer the commitment to an execution start time to be online, rather than an offline prerequisite to planning. Figure 1 illustrates the relationship between SIPP and the TDSP, with our any-start-time planning being the linear complexity overlap. In this paper, we present general representations and algorithms for handling planning domains in which the applicability of actions can change over time and we show via a specific example implementation for grid path planning that they can be more effective in dynamic worlds than replanning.

References (43)