Partial-order planning

Also known as: nonlinear planning

On this page 7

Partial-order planning is an automated planning approach that constructs a plan as a set of actions with only the necessary ordering constraints, rather than as a fixed sequence. Also called nonlinear planning, it belongs to symbolic AI & reasoning and follows the principle of least commitment: the planner decides the order of two steps only when one step would otherwise undo or block the other.

The result is a partially ordered plan that represents many valid total orders at once. Any linearization consistent with the constraints achieves the goal, which makes the approach attractive for parallel execution, plan explanation and flexible replanning in artificial intelligence systems.

How a partial-order planner builds a plan

A partial-order planner searches in the space of plans, not in the space of world states. It starts from a minimal plan containing only a Start action, whose effects describe the initial state, and a Finish action, whose preconditions are the goals. It then repeatedly selects an open precondition and repairs it until none remain.

Each repair either reuses an existing step or adds a new action whose effect achieves the precondition. The planner records this support as a causal link, written A → p → B, meaning that action A produces condition p for action B. When a third action could delete p between A and B, the planner faces a threat and resolves it by ordering constraints.

The table below lists the elements that make up a partial-order plan and the purpose of each.

ComponentMeaningPurpose
StepsAction instances in the planPerform changes to the world
Ordering constraintsRelations of the form A before BFix only the required sequencing
Causal linksA achieves condition p for BProtect conditions from interference
Open preconditionsConditions not yet supportedDrive the next refinement
Variable bindingsConstraints on action parametersDelay choices of objects
Components of a partial-order plan

Resolving threats and flaws

A partial-order plan is complete when it has no open preconditions and no unresolved threats. These two kinds of defects are called flaws, and the planner treats each as a choice point that may require backtracking.

FlawCauseRepair
Open preconditionA step needs a condition nobody providesAdd a step or link an existing one
Threat via promotionClobbering step may occur too earlyOrder the threat after the consumer
Threat via demotionClobbering step may occur too lateOrder the threat before the producer
Threat via separationVariable bindings allow a conflictAdd a non-codesignation constraint
Ordering cycleConstraints contradict each otherBacktrack to an earlier choice
Flaw types and their standard repairs

The classic Sussman anomaly in the blocks world shows why this matters. Planners that commit to working on one subgoal at a time cannot solve it without undoing progress, whereas a partial-order planner can interleave the steps of both subgoals naturally.

Partial-order planning compared with other planning methods

Partial-order planning differs from state-space planning mainly in what it commits to early. A forward state-space planner fixes a total order step by step, while a partial-order planner keeps the order open as long as possible.

ApproachSearch spaceOutputTypical strength
Partial-order planningPartial plansPartially ordered stepsFlexibility and parallelism
Forward state-space searchWorld statesFully ordered sequenceSpeed with good heuristics
Hierarchical task networkTask decompositionsRefined method treeEncodes expert procedures
Planning as satisfiabilityBoolean encodingsStep-by-step assignmentLeverages SAT solver power
GraphPlanLayered planning graphParallel action layersCompact mutual exclusion reasoning
Partial-order planning alongside related approaches

Historic planners include NOAH, NONLIN, TWEAK, SNLP and UCPOP. Classical planning competitions in the 2000s were dominated by heuristic state-space planners, which made partial-order planning less common for raw speed. Later systems such as VHPOP and RePOP showed that reachability heuristics can make partial-order search competitive again.

Where partial-order plans are used

Partial-order plans are most valuable when execution is parallel, uncertain or explained to humans. Because the plan states only genuine dependencies, an executive system can start any step whose predecessors have finished.

  • Multi-agent and robotic execution, where independent tasks run concurrently on different machines.
  • Temporal and scheduling planners that combine causal links with time windows, as in spacecraft operations.
  • Plan explanation, because causal links tell users why each step exists.
  • Plan repair, since a broken link identifies exactly which part of the plan must change.
  • Narrative generation in games and storytelling, where causal structure supports coherent plots.

Domains are usually described with STRIPS-style operators or PDDL, so the same model can serve a partial-order planner and a state-space planner. This makes it practical to compare both approaches on one problem.

Limitations and practical trade-offs

The flexibility of partial-order planning comes at a computational cost. Plan-space search has a large branching factor, and evaluating how good a partial plan is proves harder than scoring a state, which makes heuristic guidance difficult.

PropertyBenefitDrawback
Least commitmentAvoids premature orderingLarger search space
Causal linksClear justification of stepsExtra bookkeeping per step
Parallel outputSupports concurrent executionNeeds an executive to schedule
Plan-space searchHandles interacting subgoalsWeak heuristic estimates
Advantages and drawbacks in practice

A frequent misconception holds that a partial-order plan is incomplete or unfinished. In fact, a solution plan is fully valid: every consistent linearization reaches the goal, and the missing orderings are deliberate freedom rather than gaps.

Explained without jargon

Think about cooking dinner. You must boil water before adding pasta. But chopping salad can happen before, during or after that. Nobody needs to decide in advance.

Partial-order planning works the same way. It writes down only the orders that really matter. Everything else stays flexible. The plan is still complete, and any sensible order of the free steps works. This also lets several helpers work at the same time.

A typical use case

A warehouse operator uses a planning system to coordinate three mobile robots that prepare an outgoing shipment. The goal requires picking 12 items, packing them into two boxes, labeling each box and moving both boxes to the loading dock.

The partial-order planner produces a plan with causal links such as picking an item before packing it and sealing a box before labeling it. Picking tasks for different shelves remain unordered relative to each other, so the execution system assigns them to whichever robot is free.

When one robot stops because of a blocked aisle, the system checks which causal links are affected and repairs only that part of the plan. The shipment leaves on time, and operators can read the causal links to see why each step was required.