Year: 2026
Type: preprint
Abstract: Epidemiological models often take the form of systems of differential equations of varying levels of complexity. In multi-strain models, complexity arises from the interaction of diverse pathogen types that may exhibit different patterns of cross-immunity due to the host's immune system. Where previous work has tended to focus on theoretical analysis of this complexity, or model simplification, less effort has been given to efficient numerical exploration of full multi-strain disease dynamics. Here, we propose a computational framework for representing multi-strain disease transmission models, through a mathematically transparent hard-coded mapping between sets and integers. By mapping infection histories into Boolean matrices, the framework eliminates explicit iteration over strain combinations while preserving key biological processes, including sequential infection and partial cross-immunity. Benchmark comparisons of numerical solutions of our matrix formulation and a set-indexed implementation demonstrate substantial performance gains. Across models with increasing numbers of strains, the matrix formulation consistently reduces runtime, with a speedup exceeding two orders of magnitude for systems with 11 strains. We present an application of this approach to the case of COVID-19 in Indonesia, focusing on the replacement of the Delta variant by Omicron. We hope that our approach represents a robust computational approach to automatically generate diverse multi-strain epidemic models that can be solved in a computationally efficient manner for a variety of scientific and public-health questions.
Source: arXiv (Cornell University)
Authors: Ilahi, Fadilah, Hall, Ian, House, Thomas
Language: English
Subfield: Applied Mathematics
Field: Mathematics
Domain: Physical Sciences
Open Access status: green
Awards: Harnessing epidemiological and genomic data for understanding of respiratory virus transmission at multiple scales, CO-produced Mathematical Modelling of Epidemics Together (COMMET): methods and tools for integrating public voices into epidemic response modelling, Analytical Tools for FFX Studies and the Go.Data Framework, Harnessing epidemiological and genomic data for understanding of respiratory virus transmission at multiple scales
OpenAlex ID: W7221798552
