---
title: "ML distribution planning for a national health campaign"
url: https://spartans.tech/work/ml-health-distribution-planning/
lang: en
description: "Spartans built ML-based modelling, mapping and route planning for distributing COVID tests and vaccines in a UK public-health programme."
---

AI & automation · 2020–2021

# ML distribution planning for a national health campaign

Spartans built ML-based modelling, mapping and route planning for distributing COVID tests and vaccines in a UK public-health programme.

- ML demand modelling by region
- Mapping & route optimization
- Delivered during a national emergency

(Image: ML distribution planning for a national health campaign) AI & automation · 2020–2021

Images are illustrative.

## The challenge

Demand shifted daily by region, supply was constrained and every delay mattered. Planners needed to decide where to send tests and vaccines, and how to get them there, faster than spreadsheets allowed.

## What we built

Spartans designed and developed a distribution-planning platform:

- ML models estimating regional demand from population and operational data.
- Interactive mapping of sites, hubs and coverage.
- Route planning and optimization for distribution runs.
- Planner dashboards for scenario comparison and daily decisions.

## What changed

Planners moved from manual spreadsheets to model-backed, map-based decisions they could revisit every day.

## Impact

Clearer, faster distribution decisions during a national emergency, with a shared operational picture across the programme.

## Client

A UK public-health distribution programme operating during the COVID-19 pandemic.

## Engagement

TimelineEmergency delivery, 2020–2021

TeamSpartans data team — ML, geospatial, full-stack

ModelTime-and-materials, rapid delivery

## Why Spartans

- We deliver under pressure: a working planning tool in weeks, improved on live operations.
- ML, geospatial and product UI from one team.
- Public-sector experience with sensitive, high-stakes data.

## Technology

### AI & ML

- Python
- pandas
- scikit-learn
- Google OR-Tools

### Data & geo

- PostGIS
- Mapbox
- GeoPandas

### Frontend

- React
- TypeScript
- Planner dashboards

## Related work

[

(Image: AI workforce assistant for healthcare staffing) AI & automation · 2018–2019

### AI workforce assistant for healthcare staffing

Healthcare staffing company · New York, USSMS & iMessage — no app needed ](https://spartans.tech/work/healthcare-staffing-assistant/) · [

(Image: AI recommendation POS and patient app for regulated dispensaries) AI & automation · 2018–2019

### AI recommendation POS and patient app for regulated dispensaries

Publicly-traded company · regulated healthcare retail · CanadaLearning product-to-patient matching ](https://spartans.tech/work/dispensary-recommendation-pos/) · [

(Image: An AI remote-care platform, piloted across borders) AI & automation

### An AI remote-care platform, piloted across borders

Healthcare startup · international pilotDelivered on time ](https://spartans.tech/work/ai-care-platform/)

## Have something similar in mind?

Tell us what you are trying to build. You will get a straight answer on feasibility, timeline and cost.
