# Coding Agents Find a Faster Warehouse-Routing Algorithm in Simulation

Published 2026-10-22 · Robotics.world Team · Robotics.world

> A coding-agent search produced a warehouse-routing policy that completed 775.3 orders per hour in simulation, 58.9% more than a calibrated proprietary baseline on the same test map. The study reports results from simulated warehouses and describes how agents revised routing software through repeated simulation rather than directing robots at runtime.

A coding-agent search produced a warehouse-routing policy that completed 775.3 orders per hour in simulation, 58.9% more than a calibrated proprietary baseline on the same test map. The result comes from a paper submitted to [arXiv](https://arxiv.org/html/2610.25946v2) on Oct. 19 by researchers affiliated with KNAPP, MIT, Columbia University and the University of British Columbia. Their method lets coding agents revise routing software through repeated simulation, rather than asking a model to direct robots at runtime.

## One calibrated map, six simulated warehouses

The researchers call the method policy search in code space, or PSCS. People provide the goal, operating constraints and starting code; coding agents then propose and implement changes, run the warehouse simulator, and inspect execution traces and performance results. Candidates must compile, pass checks for collisions, deadlocks and compute limits, and improve results in longer simulations before acceptance.

The warehouse case study used a high-fidelity simulator modeled on KNAPP operations. It represented irregular lanes, continuous three-dimensional vehicle geometry, asynchronous movement, turns, docking and lifts. Simulated orders arrived at about 1,800 per hour, and each evaluation ran for two hours. The study tested fleets of 8 to 65 robots across six layouts.

> “Across two challenging case studies, PSCS demonstrates that agentic code synthesis can discover algorithms that significantly outperform mature, human-engineered baselines.”
>
> The authors write.

The resulting algorithm, Core-Graph-Anchored Routing (CGAR), completed 775.3 orders per hour on WAREHOUSE-01, compared with 487.9 for the calibrated baseline. The comparison used eight paired trials, with shared random seeds for order arrivals; the paper reports mean results of 775.3 ± 25.4 and 487.9 ± 51.9 orders per hour, respectively.

## CGAR separates progress guarantees from traffic tuning

CGAR builds its safety and progress logic around a core graph: a network of positions robots can return to if normal routing needs to pause. The planner permits a move only when a recovery plan remains available. Above that layer, traffic heuristics treat a temporarily occupied lane as a delay when the robot ahead has committed to leaving, instead of sending others on detours around it. The dispatcher also considers lane congestion and trip duration when assigning orders.

The paper says the method achieved higher throughput on all six layouts, but the comparisons are not equally strong. KNAPP’s baseline was calibrated for WAREHOUSE-01; the authors say it was not tuned for the other five maps. CGAR ran across those layouts without site-specific recalibration, with reported averages of 9.5 to 16.9 orders per hour per robot. The guarantee that accepted goals finish in finite time depends on stated assumptions, including valid runtime checks and conditions on the warehouse’s core graph.

## The search took 177.8 hours and cost about $4,800

Researchers started the warehouse search with Codex 5.6 Sol and later used Codex Astra; Fable and Opus models were occasionally consulted for review and diagnostics. The search used 22 million output tokens and about $4,800 in API usage over 177.8 hours of development. The paper identifies simulation time as a major cost: candidates need extended runs across multiple stochastic trials before their performance can be judged.

The authors also flag a software-engineering trade-off. CGAR accumulated tightly coupled heuristics as the agent addressed successive failure cases, leaving a monolithic implementation that can be difficult to audit or change. The reported gains come from simulated warehouses, not a live deployment. The paper’s strongest like-for-like result remains 775.3 versus 487.9 orders per hour on WAREHOUSE-01.

## Sources

1. Original source · Preprint [Policy Search in Code Space for Multi-Agent Pathfinding](https://arxiv.org/html/2610.25946v2) arXiv:2610.25946

## Related stories

- [Bimanual CTR Raises Worst-State Success from 56% to 76%](https://robotics.world/news/bimanual-ctr-worst-state-success)
- [ForagerSim Tests Whether Robot Policies Can Build Useful Maps](https://robotics.world/news/foragersim-tests-robot-map-building)
- [ReInsVLN Boosts Navigation Scores Without Retraining](https://robotics.world/news/reinsvln-navigation-without-retraining)
- [RoboValue Finds Blind Spots in Robot Feedback Models](https://robotics.world/news/robovalue-blind-spots-robot-feedback-models)
- [Georgia Tech Study Finds No Best Humanoid Steering Strategy](https://robotics.world/news/georgia-tech-study-humanoid-steering-strategies)

## Explore

[More articles](https://robotics.world/news)

---

Canonical: https://robotics.world/news/coding-agents-faster-warehouse-routing-simulation
