Planning Systems / Performance
AI-based planning engine: up to 12 billion simulations per run, 50% faster
faster on the heaviest parts
47.6%
Parts that ran the full search in both engines.
Every part needs a decision: what to order, how much and when. The engine tries tens of thousands of plans per part, so anything slow inside that search is paid tens of thousands of times.
My role I took over the engine as its sole technical owner, rebuilt its planning model to weigh far more of the real business, and rewrote the code every trial plan runs through.
Context Orchestr8
Key decision
Model the business as it really runs, then make every trial cheap: prepare what never changes once per part.
Context
Good plans and bad, all tried
The engine simulates plans good and bad on real data and keeps the one that serves the business best. The largest runs reach 12 billion simulations, so every bit of speed counts.
Mechanism
Better plans, not just faster ones
The rebuilt engine weighs what the old one did not: working calendars and shutdowns, each supplier's own lead time, forecasts shaped around firm orders, and real order rules. Its plans fit how the business actually runs.
Prepare once, simulate many
- Groundwork
- One candidate plan, simulated
- The plan kept
- One part
- tens of thousands of candidate plans simulated
- A full run
- every part, up to 12 billion simulations
Schematic; the measured results follow.
- Before, every candidate plan rebuilt the same groundwork, then simulated.
- Now the groundwork happens once per part, and each candidate only simulates.
- In the same time, the engine explores about a third more plans, then keeps the best.
Weighing more usually means running slower. This is why it did not.
Outcome
A third more plans explored for every part
more plans explored per part, on average
33%
The rebuilt engine searches further before it settles on the best plan.
Faster, while doing more
Processing, on average
Processing once the data is loaded, old engine as 100%.
34.8% faster
Slowest part, end to end
The longest part, data loading included, old engine as 100%.
31.4% faster
Fits the business better, costs less to run
Plans that fit the real business far better, and about 18% less compute for the same planning work.
Scope
How it was measured
Inspect measurement conditions and boundaries
Both engines planned the same parts side by side, on the same data, chosen from light to the heaviest.
The new engine also does more work: forecast shaping, calendars, shutdowns, supplier lead times and order rules, with a third more plans explored per part on average.
The heaviest-part results come from parts that ran the full search in both engines.
Estimated advantage at equal functionality
~18% faster
The old engine's processing plus the new engine's richer data loading, against the new engine end to end: an estimate of an extended old engine, not a measured run.