💉 Vaccine Allocation

A fixed supply of doses must be split across eight population groups that differ in size and contact rate. Vaccinating a group removes susceptibles before the outbreak, and the groups mix through a shared force of infection weighted by contact, so where the doses go changes how large the epidemic gets. The good allocation protects the high-contact groups that drive transmission. Score is total infected, to minimise. 8-D problem.

Algorithm

Total infected—
Allocations tried0
Best so far—

Leaderboard

AlgorithmInfectedEvals
— no runs yet —

What's happening

The JS objective is a line-for-line port of example_applications/vaccine_allocation and agrees to floating-point tolerance. Bars show doses sent to each group; the dotted overlay is that group's contact rate. The outbreak is seeded in the two highest-contact groups.