Inferensys

Glossary

Bounded Suboptimal Search

Bounded Suboptimal Search is a class of Multi-Agent Path Finding (MAPF) algorithms that sacrifice guaranteed optimality to find solutions faster, with a provable bound on how far the solution cost may be from the optimum.
Developer reviewing multi-agent chat interface on laptop, agent conversation logs visible, casual coding session at WeWork desk.
MULTI-AGENT PATH PLANNING

What is Bounded Suboptimal Search?

A class of algorithms for Multi-Agent Path Finding (MAPF) that trades guaranteed optimality for computational speed, with a mathematically proven upper limit on solution cost.

Bounded Suboptimal Search is a heuristic search strategy for Multi-Agent Path Finding (MAPF) that deliberately accepts solutions whose cost is not the absolute minimum, provided it does not exceed a predefined bound—typically expressed as a multiplicative factor (e.g., 1.1 for 10% suboptimality). This approach sacrifices the optimality guarantee of algorithms like Conflict-Based Search (CBS) or Multi-Agent A (MAA)** to achieve dramatically faster solving times, which is critical for real-time applications like heterogeneous fleet orchestration in dynamic warehouses.

The core mechanism involves using an inadmissible heuristic or a weighted cost function that guides the search more aggressively toward a goal state. Algorithms like Focal Search or bounded variants of CBS exploit this by maintaining two open lists: one ordered by a standard admissible cost estimate and a 'focal' list containing nodes whose cost is within the suboptimality bound. This ensures the final solution's Sum of Costs (SOC) or makespan is provably no worse than the bound multiplied by the optimal cost, balancing solution quality with the computational tractability required for large-scale, online multi-agent system orchestration.

MULTI-AGENT PATH PLANNING

Core Characteristics of Bounded Suboptimal Search

Bounded Suboptimal Search in Multi-Agent Path Finding (MAPF) refers to a class of algorithms that deliberately sacrifice guaranteed optimality to achieve dramatically faster solution times, with a mathematically provable bound on how far the solution's cost may be from the true optimum.

01

Provable Suboptimality Bound (ε)

The defining feature is a provable bound on suboptimality, typically expressed as a multiplicative factor ε (epsilon). If C* is the optimal solution cost, the algorithm guarantees a solution with cost C ≤ (1 + ε) * C*. For example, with ε = 0.1, the solution is guaranteed to be no worse than 10% more expensive than the optimal path. This transforms the search from finding the best path to finding a sufficiently good path within a known margin of error, which is often acceptable for real-time robotic systems where computational speed is critical.

02

Focal Search & Focal List

A key algorithmic mechanism is Focal Search, which maintains two open lists. The OPEN list contains all generated nodes sorted by an admissible heuristic (e.g., f-cost = g + h). The FOCAL list is a subset of OPEN containing only nodes whose f-cost is within the bound (1+ε) of the best f-cost in OPEN. The search expands nodes from the FOCAL list, often prioritized by a secondary heuristic (e.g., number of conflicts). This structure ensures expansion stays within the suboptimality bound while allowing the use of a faster, more informed secondary heuristic to guide the search toward feasible solutions.

  • Primary Heuristic (f): Guarantees bound adherence.
  • Secondary Heuristic: Drives quick conflict resolution.
03

Trade-off: Speed vs. Optimality

These algorithms explicitly manage the trade-off between computational speed and solution quality. By accepting a bounded cost increase, they avoid exploring the exponentially large number of states required for optimality proofs. The performance improvement is not linear; a small increase in ε (e.g., from 0 to 0.05) can lead to an order-of-magnitude reduction in search time and memory. This makes bounded suboptimal search indispensable for scalable real-time planning in warehouses with dozens or hundreds of agents, where a good solution now is more valuable than a perfect solution too late.

04

Application in MAPF Algorithms

Bounded suboptimal techniques are integrated into leading MAPF frameworks:

  • Enhanced Conflict-Based Search (ECBS): A bounded suboptimal variant of CBS. At the high level, it uses focal search to choose which constraint tree node to expand. At the low level, it uses focal search for individual agent path planning. This creates a double-focal search that efficiently finds bounded-suboptimal solutions for the entire fleet.
  • Bounded Suboptimal M and A variants**: Adaptations of joint-space search algorithms that prune states outside the focal bound.
  • These implementations allow planners to dynamically adjust ε based on available compute time or operational urgency.
05

Relation to Anytime Algorithms

Bounded suboptimal search is closely related to anytime algorithms. Many bounded suboptimal planners can operate in an anytime fashion: they quickly return an initial, potentially highly suboptimal solution (large ε) and then iteratively refine it, tightening the bound (reducing ε) as computation continues. This provides a graceful degradation under time pressure—a crucial feature for dynamic environments where replanning must complete within a strict control cycle. The initial bound acts as a performance guarantee from the very first solution.

06

Practical Impact in Fleet Orchestration

For heterogeneous fleet orchestration, bounded suboptimal search enables deterministic latency guarantees for the planning subsystem. A system architect can set ε based on operational tolerance (e.g., a 5% longer travel time is acceptable) and know the worst-case planning time. This predictability is more valuable than unpredictable optimal solvers that may timeout. It directly supports:

  • Real-Time Replanning Engines: Fast reaction to new orders or agent failures.
  • Spatial-Temporal Scheduling: Incorporating the bound into overall makespan calculations.
  • Priority-Based Routing: Ensuring high-priority agents get fast, good-enough paths without waiting for optimal plans for lower-priority agents.
ALGORITHM OVERVIEW

How Bounded Suboptimal Search Algorithms Work

Bounded suboptimal search algorithms are a class of heuristic search methods designed to find solutions faster than optimal algorithms by accepting solutions whose cost is guaranteed to be no worse than a specified factor (e.g., 1.1x) of the optimal cost.

Bounded suboptimal search is a strategic relaxation of optimality in combinatorial search problems, such as Multi-Agent Path Finding (MAPF), where finding a provably optimal solution is computationally prohibitive. These algorithms employ an inflation factor (ε > 1) on the heuristic function, which aggressively prunes the search space. This guarantees that any solution found will have a cost at most ε * C*, where C* is the optimal cost, trading exact optimality for dramatic gains in scalability and planning speed.

In practice, algorithms like Weighted A* (WA*) use this inflated heuristic to guide search. For MAPF, bounded suboptimal variants of Conflict-Based Search (CBS) and Increasing Cost Tree Search (ICTS) apply similar principles at the multi-agent level. The core engineering trade-off is between the solution quality bound (ε) and computational tractability, allowing system designers to dial in performance based on real-time operational constraints like replanning windows and fleet size.

ALGORITHM CATALOG

Examples of Bounded Suboptimal MAPF Algorithms

These algorithms sacrifice guaranteed optimality for dramatic gains in speed and scalability, providing a provable bound on solution cost. They are essential for real-time operations in logistics and warehousing.

01

Enhanced Partial Expansion A* (EPEA*)

A bounded suboptimal variant of A* that selectively expands nodes to reduce memory and computation. Instead of expanding all children of a node, it uses a focal search heuristic to expand only the most promising subset, guided by a suboptimality bound (w). This makes it highly effective for high-dimensional joint state spaces in MAPF.

  • Core Mechanism: Operates with an open list and a focal list. The focal list contains nodes from the open list whose cost is within a factor w of the current best estimate.
  • Provable Bound: Guarantees a solution cost no worse than w * C*, where C* is the optimal cost.
  • Use Case: Ideal for centralized MAPF problems where optimal A* is intractable due to the exponential state space.
02

Bounded Suboptimal Conflict-Based Search (w-CBS)

A bounded version of the optimal Conflict-Based Search (CBS) algorithm. It uses a focal search at both the high-level constraint tree and the low-level pathfinding to accelerate planning.

  • Core Mechanism: The high-level search explores a tree of constraints. Instead of always choosing the node with the lowest sum of costs, w-CBS maintains a focal list of nodes whose cost is within a factor w of the best and selects one based on a secondary heuristic (e.g., number of conflicts).
  • Provable Bound: Maintains the w-suboptimality guarantee of the final solution.
  • Key Advantage: Can solve large, complex MAPF instances orders of magnitude faster than optimal CBS, making it practical for dynamic environments with dozens of agents.
03

Focal Search (A*_ε)

The foundational bounded suboptimal search algorithm that directly enables techniques like EPEA* and w-CBS. Also known as A*_ε, it explicitly manages the trade-off between optimality and speed.

  • Core Mechanism: Maintains two lists: the standard OPEN list sorted by f-cost (g+h), and a FOCAL list containing all nodes in OPEN with f-cost ≤ w * min_f, where min_f is the smallest f-cost in OPEN. The algorithm selects nodes from FOCAL using a secondary, computationally cheaper heuristic.
  • Theoretical Guarantee: Any node selected from FOCAL leads to a solution with cost ≤ w * C*.
  • Impact: This two-list architecture is the blueprint for most bounded suboptimal algorithms in MAPF and beyond.
04

Windowed Hierarchical Cooperative A* (WHCA*)

A highly scalable, decentralized algorithm that uses bounded planning windows and cooperative reservation tables to find feasible paths quickly. It is inherently suboptimal but highly effective for lifelong MAPF (LMAPF).

  • Core Mechanism: Plans paths for each agent independently using Space-Time A* but only for a short time window (e.g., 10-20 steps). Agents reserve their planned space-time cells in a shared reservation table. After executing the window, the process repeats.
  • Suboptimality Source: The myopic window and potential livelock (cyclic conflicts) prevent optimality guarantees, but performance is robust in practice.
  • Industrial Relevance: The foundational algorithm for many real-world autonomous warehouse and logistics systems due to its speed and simplicity.
05

Bounded Multi-Agent A* (w-MAA*)

A bounded suboptimal version of the optimal Multi-Agent A (MAA)** algorithm. It applies focal search principles directly to the exponentially large joint state space of all agents.

  • Core Mechanism: Instead of always expanding the joint state with the lowest f-cost, it maintains a focal set of states whose cost is within w * best_f and selects one using a heuristic like the number of agents not yet at their goal.
  • Challenge & Benefit: While still searching the joint state space, the focal heuristic dramatically prunes the search tree. It provides a weaker but valuable bound compared to decoupled methods like w-CBS, as it searches the true global state space.
  • Use Case: Suitable for smaller fleets (5-10 agents) where a strong centralized bound is required, but optimal MAA* is too slow.
06

Suboptimal Independence Detection (ID)

A meta-algorithm that decomposes a MAPF problem into smaller, independent groups. When combined with a bounded suboptimal solver (like w-CBS or EPEA*), it creates a powerful hierarchical bounded search.

  • Core Mechanism: Initially treats all agents as independent and plans their paths separately. If paths conflict, the conflicting agents are merged into a joint group, which is then solved as a coupled subproblem using the bounded suboptimal solver. This process repeats.
  • Scalability Impact: By limiting coupled search to small groups of interdependent agents, it avoids the exponential cost of searching the full joint state space.
  • Provable Bound: The final solution's suboptimality bound is the product of the bounds used for solving the individual groups, maintaining a known worst-case performance limit.
ALGORITHM COMPARISON

Bounded Suboptimal vs. Optimal vs. Anytime Search

A comparison of search algorithm paradigms for Multi-Agent Path Finding (MAPF), focusing on their guarantees, performance characteristics, and suitability for real-time fleet orchestration.

Feature / MetricOptimal SearchBounded Suboptimal SearchAnytime Search

Primary Objective

Find the provably best solution (minimum cost).

Find a solution with a cost guaranteed to be within a bound (e.g., 1.5x) of optimal.

Find an initial solution quickly, then iteratively improve it until interrupted.

Solution Guarantee

Optimality (e.g., minimum SOC or makespan).

Bounded suboptimality (e.g., cost ≤ w * optimal, where w > 1).

No guarantee on initial solution quality; final solution quality improves with time.

Completeness Guarantee

Yes. Will find an optimal solution if one exists.

Yes. Will find a bounded-suboptimal solution if one exists.

Often, but not always. Depends on the improvement strategy.

Typical Time to First Solution

High. Can be intractable for large fleets.

Low to Moderate. Designed to be significantly faster than optimal search.

Very Low. Returns the first feasible solution found.

Scalability (Large Fleets)

Poor. Exponential growth of joint state space.

Good. Heuristics and relaxations enable scaling to more agents.

Variable. Initial solution scales well; improvement phase may not.

Common Algorithms

CBS, MAA*, ICTS.

Enhanced CBS (wCBS), EPEA*, Focal Search.

Anytime CBS, Anytime Repairing A* (ARA*).

Use Case in Fleet Orchestration

Offline analysis, benchmarking, or critical missions where cost is paramount.

Real-time operations requiring a balance between solution quality and planning speed.

Dynamic environments where any feasible plan is needed immediately, with improvement as a background process.

Provable Bound on Solution Cost

Optimal (Bound = 1.0).

Yes. A predefined suboptimality factor (w) is an algorithm parameter.

No. The bound decreases over time but is not known a priori.

BOUNDED SUBOPTIMAL SEARCH

Frequently Asked Questions

Bounded suboptimal search is a core algorithmic strategy in Multi-Agent Path Finding (MAPF) that trades perfect optimality for dramatic gains in speed and scalability, with a formal guarantee on solution quality.

Bounded suboptimal search is a class of algorithms for Multi-Agent Path Finding (MAPF) that sacrifices a guarantee of optimality to find a solution significantly faster, with a provable bound on how far the solution's cost may be from the true optimum. The algorithm is given a suboptimality factor (w ≥ 1), and it guarantees that the cost of the solution it finds will be no worse than w * C*, where C* is the cost of the optimal solution. This creates a crucial engineering trade-off between computational speed and solution quality, enabling the application of MAPF to large, real-time problems where a 'good enough' solution found quickly is more valuable than a perfect solution found too late.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.