Multistrain tuberculosis model structure. Boxes represent state variables; the flow between states is described by the differential equations in Methods. States of infection with MDR strains are identified by subscript ‘U’ (‘unfit’ MDR strain) and ‘F’ (‘fit’ MDR strain). Heavy boxes indicate states from which individuals can be reinfected. Orange arrows indicate multidrug resistance acquired through failed therapy, green arrows represent self-cure and blue arrows represent relapse from drug cure. S, susceptible to infection; L, latent infection, slow progression; E, latent infection, fast progression; T, infectious TB, undetected; D, infectious TB, detected; Y, infectious TB, failed therapy; R, cured by drugs.