I know I can pass RNG to many (all?) stochastic functions, and that StableRNG
is slow, but is there a way I can set at the beginning of my model something like:
random_seed = 123 # from a config file
Random.GLOBAL_RNG = StableRNG(123)`
?
This doesn’t work as Random.GLOBAL_RNG is a constant.