Numerical Integration and Dynamic Discretization in Heuristic Search Planning over Hybrid Domains

Miquel Ramírez, Enrico Scala, Patrik Haslum, Sylvie ThiébauxarXiv 2017

Introduction

Automated planning systems traditionally excel at discrete logic, such as determining the sequence of valves to open in a factory. However, real-world engineering challenges—ranging from navigating a vessel through non-homogeneous winds to landing a rocket—require handling hybrid domains. These domains are characterized by a combination of discrete decision-making and continuous physical evolution governed by Ordinary Differential Equations (ODEs).

The primary obstacle in hybrid planning is the infinite nature of continuous time. To make planning computationally feasible, time must be discretized. Existing planners often rely on fixed time steps, which risk missing critical state transitions, or are limited to simple linear physics. When faced with non-linear dynamics, such as the aerodynamics of a glider, these traditional methods frequently fail to produce valid or efficient trajectories.

The FS+ planner is designed to overcome these limitations by embedding numerical integration directly into a heuristic search framework. Unlike previous planners that impose strict syntactic restrictions on physics models, FS+ treats continuous evolution as a first-class citizen through several key mechanisms:

  • The sim Action: FS+ introduces a specialized "waiting" action that simulates the passage of time, allowing the system to branch over both discrete actions and temporal intervals.
  • Numerical Integration: Rather than seeking exact symbolic solutions—which are often unavailable for non-linear systems—FS+ utilizes robust numerical methods such as the Midpoint rule (RK22) and Implicit Euler. This allows the planner to step through ODEs to calculate subsequent states accurately.
  • Heuristic Guidance ($h_{FS+}$): To navigate the vast state space efficiently, FS+ employs a novel heuristic combining Interval-Based Relaxation (tracking variable ranges) with Constraint Relaxed Planning Graphs.
FS+ navigating the Zermelo's Navigation domain, showing path adaptation in a continuous vector field.

Dynamic Discretization and Zero-Crossing

A core innovation of FS+ is its approach to discretization. Rather than stepping forward by a rigid, pre-defined interval, FS+ monitors "invariants"—conditions that must hold true during a simulation step. If a condition is violated (a "zero-crossing event"), such as a robot hitting a boundary or a sensor being triggered, FS+ dynamically cuts the time step short. This ensures the planner lands precisely on the boundary where the system's behavior changes, a process that effectively prunes the search tree by identifying dead-ends or goal-overshoots early.

Evaluation and Results

The researchers evaluated FS+ against a suite of linear and non-linear hybrid benchmarks, including Zermelo’s Navigation, Orbital Rendezvous, and a highly non-linear Sailplane model.

Robustness and Accuracy

FS+ demonstrated superior robustness, solving instances in the "Intercept" and "Agile Robot" domains where state-of-the-art competitors like UPMurphi and DiNo timed out. In the Sailplane domain, which implements the complex "phugoids" model of flight, the precision of the RK22 integrator proved vital. While simple Euler integration caused other planners to miss goals entirely due to numerical drift, FS+ successfully generated valid flight paths.

Efficiency

Despite the increased computational cost of performing numerical integration at each state, FS+ often reached goals faster than its peers. Its heuristic guidance and zero-crossing detection led to a more focused search. For instance, in the Intercept domain with a 1.0s time step, FS+ solved all test instances while competitors solved none.

A discrete action sequence generated by FS+ for a hybrid control task.

Conclusion

FS+ demonstrates that "messy" numerical integration is often more robust for general hybrid planning than symbolic methods. By separating planning time (decision intervals) from simulation time (integration resolution), FS+ handles non-linearities gracefully. While Richardson’s Theorem implies that 100% validity for all non-linear plans is theoretically undecidable, FS+ provides a framework that is "accurate enough" for complex engineering applications. Future work aims to integrate FS+ with professional simulation tools like MATLAB/Simulink via semantic attachments, further bridging the gap between automated planning and industry-standard physics engines.

Summary updated

BibTeX
@misc{ramirez2017numerical,
  author = {Miquel Ramírez and Enrico Scala and Patrik Haslum and Sylvie Thiébaux},
  title = {{Numerical Integration and Dynamic Discretization in Heuristic Search Planning over Hybrid Domains}},
  year = {2017},
  eprint = {1703.04232},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.04232},
}
Figure