Linear Programming Heuristics for Cost-Optimal Planning

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 218 papers27 conceptsfrozen 2026-10-04

In automated planning, the goal is to find a sequence of actions that transforms an initial state into a goal state. In cost-optimal planning, we don't just want any sequence; we want the one with the minimum total cost. To find this efficiently, search algorithms like A rely on admissible heuristics*—functions that provide a guaranteed lower bound on the remaining cost to reach the goal.

Historically, these heuristics were calculated using local, discrete logic. However, a powerful research direction has emerged that reframes heuristic calculation as a continuous optimization problem. By using Linear Programming (LP), researchers can aggregate global information about a problem—such as landmarks, state transitions, and numeric constraints—into a single, highly informative lower bound.

The Core Mechanism: Cost Partitioning

The fundamental challenge in building an admissible heuristic is avoiding "double-counting." If two different sub-problems both require the same action, we cannot simply add their costs together, as that might exceed the actual cost of performing that action once.

Erez Karpas and Carmel Domshlak addressed this in Cost-Optimal Planning with Landmarks by treating action costs as a resource to be shared. In their LM-A* algorithm, they use LP to distribute the cost of each action among various "landmarks" (facts that must be true at some point in every valid plan). The LP finds a cost allocation that maximizes the total heuristic value while ensuring the sum of costs assigned to any action across all sub-problems never exceeds its original cost.

This concept was further refined by Jendrik Seipp, Malte Helmert, and Thomas Keller in Saturated Cost Partitioning for Optimal Classical Planning. They demonstrated that by focusing the "cost budget" on preserving the heuristic value for specific states, planners can identify a Pareto frontier of cost distributions, allowing subsequent heuristics to utilize the remaining "saturated" costs more effectively.

Unifying Heuristics via Operator Counting

For years, different types of heuristics—like those based on landmarks or those based on "state equations" (which track how many times an action must be executed to change a variable's state)—were seen as distinct.

In From Non-Negative to General Operator Cost Partitioning, Florian Pommerening and colleagues proved that these are actually facets of the same mathematical framework. They showed that by allowing "general" cost partitioning (where costs can even be negative), these disparate heuristics can be unified into a single LP. This framework, often called operator counting, treats the number of times each action is used as a variable in an optimization problem, subject to constraints derived from the problem's structure.

This optimization-centric view is so robust that it extends beyond finding plans to understanding them. Luísa R. A. Santos and Felipe Meneguzzi applied the operator-counting framework to goal recognition in An LP-Based Approach for Goal Recognition as Planning. By modeling intent inference as a combinatorial optimization problem, they could infer an agent's goals from noisy observations without the computational burden of full plan reconstruction.

Bridging Logic and Numbers

While classical planning deals with "true/false" propositions, real-world problems often involve numeric variables like fuel levels, distances, or budgets. Creating admissible heuristics for these is notoriously difficult because numeric variables can be changed by infinite combinations of actions.

Enrico Scala, Patrik Haslum, and Sylvie Thiebaux tackled this in Landmarks for Numeric Planning Problems and Subgoaling Techniques for Satisficing and Optimal Numeric Planning. They proposed representing numeric requirements as regions in a metric space and using LP/Mixed-Integer Programming (MIP) to calculate the minimum number of action repetitions needed to satisfy those requirements. This allows the planner to capture complex interactions between numeric variables, providing a tight lower bound where previous methods could only guess.

Learning the Costs

Finally, the LP framework allows us to work backward. If we observe an agent's behavior but don't know their underlying preferences, we can use optimization to "reverse-engineer" the cost function. In On Learning Action Costs from Input Plans, Alberto Pozanco and Manuela Veloso used a Mixed-Integer Linear Program to derive action costs that make observed human plans appear optimal. This ensures that the AI's planning logic aligns with human preferences, even when those preferences are implicit.

Why It Works

The shift to LP-based heuristics works because it moves the "intelligence" of the planner from the search algorithm to the heuristic itself. Instead of exploring a massive tree of discrete possibilities, the planner solves a continuous optimization problem that summarizes the constraints of the entire state space. This provides a "global" perspective that discrete, local heuristics lack, leading to significantly more pruning of the search space and faster paths to optimal solutions.

Papers in this version

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 13 papers
  2. Version 1 · 2026-10-04 · 18 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_admissible_numeric_heuristics_d77ca66d,
  title = {admissible numeric heuristics},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/admissible-numeric-heuristics/rdr_d77ca66d438047e2aec3f0e28538d31f},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-02},
}

This exact version (version 1, frozen text):

@misc{lacuna_linear_programming_heuristics_for_cost_o_d77ca66d_v1,
  title = {Linear Programming Heuristics for Cost-Optimal Planning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/linear-programming-heuristics-for-cost-optimal-planning/rdr_d77ca66d438047e2aec3f0e28538d31f/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-02},
}