Skip to main content
Ctrl+K
Compartmental Modeling Software (CMS) 0.9 beta documentation - Home Compartmental Modeling Software (CMS) 0.9 beta documentation - Home
  • Introduction to compartmental modeling
  • Introduction to the software
  • Input and output reference
  • Glossary
  • IDM docs
  • GitHub
  • Introduction to compartmental modeling
  • Introduction to the software
  • Input and output reference
  • Glossary
  • IDM docs
  • GitHub

Section Navigation

  • Model file syntax
    • Custom propensity function
    • Create a spatial model
  • Configuration file syntax
    • Solvers
      • Exact methods
      • Approximate methods
      • Spatial simulation methods
      • Rare event probability estimation
      • Exploratory methods
    • Output
    • Random number library
  • Input and output reference
  • Configuration file syntax
  • Solvers

Solvers#

The CMS software offers 16 different solvers. They can be categorized into the following categories. The best solver to use will depend up on the disease and data you are simulating. Note that all solver names are case-insensitive in their corresponding .cfg file. If you do not specify a solver, Gillespie (SSA) will be used.

  • Exact methods
    • Gillespie (SSA)
    • GillespieFirstReaction
    • Gibson-Bruck next reaction
    • Hybrid SSA
  • Approximate methods
    • BLeaping
    • RLeaping
    • Tau-leaping
  • Spatial simulation methods
    • Diffusive finite state projection (DFSP)
    • FractionalDiffusion (FD)
    • TransportSSA (ISSA)
  • Rare event probability estimation
    • Doubly weighted stochastic simulation algorithm (dwSSA)
    • State-dependent doubly weighted stochastic simulation algorithm (sdwSSA)
  • Exploratory methods
    • ExitTimes
    • Midpoint tau-leaping
    • RLeapingFast
    • OptimalTransportSSA (OTSSA)

previous

Configuration file syntax

next

Exact methods

  • Introduction to compartmental modeling
  • Introduction to the software
  • Input and output reference
  • Glossary

© Copyright 1999 - 2025, Gates Foundation. All rights reserved.

IDM-CMS is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.

Send documentation feedback to [email protected].

Built with the PyData Sphinx Theme 0.16.1.

Privacy and Cookies Notice   |    Terms of Use