Cain performs stochastic and deterministic simulations of chemical reactions. Cain offers optimized versions of the Gillespie's direct method, Gibson and Bruck's next reaction method, tau-leaping, ODE integration, and direct/tau-leaping hybrid methods.