Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit setting seed for multiple stochastic ensemble simulations #1034

Open
TorkelE opened this issue May 4, 2024 · 1 comment
Open

Permit setting seed for multiple stochastic ensemble simulations #1034

TorkelE opened this issue May 4, 2024 · 1 comment

Comments

@TorkelE
Copy link
Member

TorkelE commented May 4, 2024

When performing ensemble simulations of a stochastic problem, and you set a seed argument, that seed is automatically sent to each single simulation, resulting in identical results for each.

It would be useful to have a usable way to set seed for ensemble simulations. Even if we don't want a single seed to affect each simulation independently, permitting a vector of seeds might make sense.

@ChrisRackauckas
Copy link
Member

I'm not sure how it would be done. solve keyword arguments are always ensemble-global, so to keep to it seed would be ensemble global. But you can always put keyword arguments on the prob in an ensemble if you want it to be prob-specific, so that would be what I would recommend. We could specialize the seed argument in ensembles, but we'd want to make that a system and not just some (undocumented) one-off different piece.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants