Planning Systems / Performance

AI-based planning engine: up to 12 billion simulations per run, 50% faster

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

BeforeNowsame time
  • 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.

  1. Before, every candidate plan rebuilt the same groundwork, then simulated.
  2. Now the groundwork happens once per part, and each candidate only simulates.
  3. 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

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%.

Before
100%
After
65.2%

34.8% faster

Slowest part, end to end

The longest part, data loading included, old engine as 100%.

Before
100%
After
68.6%

31.4% faster

Parts process a third faster on average and even the slowest finishes almost a third sooner, while the engine explores further than before. It runs in the production planning path.

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.

~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.