Classical planning is the branch of automated planning that searches for a sequence of actions leading from a fully known initial state to a state that satisfies a goal condition, under the assumption that the world is deterministic, static and fully observable. Within Symbolic AI & reasoning, it is one of the oldest and best formalized problems of artificial intelligence, and it underlies mission planners, logistics schedulers and the reasoning layer of many robotic systems.
The word classical refers to a fixed set of simplifying assumptions, not to an outdated method. Modern classical planners solve problems with thousands of actions in seconds, and the same formal model serves as the baseline against which probabilistic, temporal and hierarchical planning are defined.
How a classical planning problem is defined
A classical planning problem is a state-transition system described by a set of states, a set of actions, an initial state and a goal. States are usually encoded as sets of ground propositions (facts that are true), and every fact not listed is false under the closed-world assumption.
Each action has preconditions that must hold before it can be applied and effects that add or delete facts. This representation originates in STRIPS and is today written in PDDL, the Planning Domain Definition Language used by the International Planning Competition. A solution, called a plan, is any action sequence whose execution from the initial state ends in a goal state.
The table below lists the components that every classical planning task must specify.
| Component | What it describes | Typical PDDL element |
|---|---|---|
| Domain | Object types, predicates and action schemas | (define (domain ...)) |
| Problem | Concrete objects for one instance | (:objects ...) |
| Initial state | Facts true at the start | (:init ...) |
| Goal | Condition the final state must satisfy | (:goal ...) |
| Action schema | Parameters, preconditions and effects | (:action ...) |
The assumptions that make planning classical
Classical planning is defined by restrictive assumptions that make the problem tractable enough to solve with search. Relaxing any one of them produces a different planning family with its own algorithms and complexity.
| Assumption | Meaning | Family when relaxed |
|---|---|---|
| Finite state space | Only finitely many states exist | Numeric planning |
| Full observability | The planner knows the complete state | Conformant or contingent planning |
| Determinism | Each action has one predictable outcome | Probabilistic planning (MDPs) |
| Static world | Only the agent changes the state | Multi-agent or reactive planning |
| Instantaneous actions | Actions have no duration | Temporal planning |
| Offline planning | The plan is computed before execution | Online planning and replanning |
Because of these assumptions, a classical plan can be executed open loop, without sensing. In practice, systems built on classical planning add execution monitoring and replanning to cope with the gap between the model and the real world.
Search algorithms and heuristics
Most classical planners solve the problem by state-space search, either forward from the initial state (progression) or backward from the goal (regression). Uninformed search fails quickly because the state space grows exponentially with the number of facts, so performance depends on domain-independent heuristics computed automatically from the action model.
The most influential heuristics come from delete relaxation, which ignores the delete effects of actions and estimates the cost of reaching the goal in the easier relaxed problem. The FF planner popularized this idea with enforced hill climbing and helpful actions, while Fast Downward combined it with landmark and abstraction heuristics. The following table compares the main approaches.
| Approach | Core idea | Strength | Weakness |
|---|---|---|---|
| Heuristic forward search | Best-first search guided by relaxation | Fast on most benchmarks | Plans may be suboptimal |
| Planning as satisfiability | Encode bounded plans as SAT formulas | Strong on tightly constrained tasks | Large encodings for long plans |
| Partial-order planning | Search over plan structures, not states | Flexible, least-commitment plans | Weak heuristics, slower in practice |
| Planning graph (Graphplan) | Layered reachability analysis | Basis for many heuristics | Memory-intensive |
| Optimal A* planning | A* with admissible heuristics | Guaranteed cost-optimal plans | Scales to smaller problems |
Planners distinguish satisficing planning, which returns any valid plan quickly, from optimal planning, which guarantees minimal total cost. The choice is a direct trade-off between plan quality and computation time.
Complexity and practical limits
Deciding whether a propositional STRIPS problem has any plan is PSPACE-complete, so no algorithm is known to solve every instance efficiently. Plans can also be exponentially long in the size of the problem description, which rules out simple enumeration.
The most frequent difficulties in real projects arise from modeling errors rather than from the search itself. The table below summarizes typical symptoms, their causes and the usual remedies.
| Symptom | Likely cause | Typical remedy |
|---|---|---|
| Planner reports no plan | Missing effect or overly strict precondition | Validate the domain on small instances |
| Search runs out of memory | Grounding explodes with many objects | Reduce object counts or add types |
| Plan fails during execution | World violates determinism | Add monitoring and replanning |
| Plan is valid but absurd | Model omits real costs | Add action costs and use cost-aware search |
A further limit is the knowledge engineering effort: writing a correct domain model requires expertise, and errors in it are silent. This modeling bottleneck is closely related to the knowledge acquisition bottleneck of expert systems.
Classical planning compared with related approaches
Classical planning differs from neighboring methods mainly in what is given and what is searched. A hierarchical task network planner receives decomposition methods written by an expert and refines abstract tasks, while a classical planner builds plans from primitive actions alone. Situation calculus expresses the same kind of change in first-order logic, which is more expressive but much harder to automate.
Reinforcement learning addresses similar sequential decisions but learns from experience instead of reasoning over an explicit model. Recent work also uses large language models to draft PDDL domains or candidate plans, with a classical planner or validator checking correctness, because language models alone do not guarantee sound plans.
The short version
Classical planning is how a computer works out a step-by-step recipe to reach a goal. It gets a description of the starting situation. It gets a list of possible actions. Each action says what must be true first and what changes afterward.
The planner then tries combinations until it finds a sequence that ends at the goal. It assumes nothing unexpected happens along the way. That assumption makes the problem easier to solve. It also means the plan may need to be recalculated when reality differs from the model.
Where it makes a difference
A regional warehouse operates twelve mobile robots that move shelves between storage zones and packing stations. Engineers model the floor as a grid of locations in PDDL, with actions for moving, lifting, carrying and dropping shelves, plus a precondition that no two robots occupy the same cell.
Each morning the order system generates a goal listing about forty shelves that must reach specific stations. A satisficing planner with a delete-relaxation heuristic returns a coordinated plan in under ten seconds. When a robot stops for maintenance, a monitor detects the deviation and triggers replanning from the current state, so packing continues without manual rescheduling and the team can inspect every plan step before it runs.