Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Seed setup #57

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

Closed
tsengr0916 opened this issue May 16, 2020 · 2 comments
Closed

Seed setup #57

tsengr0916 opened this issue May 16, 2020 · 2 comments
Assignees
Labels

Comments

@tsengr0916
Copy link

How do I set up a seed value and make sure the the randomization consistency is stable for every run and will get the same randomized results with the same seed?

Thanks,
Richard

@nbahar-intel
Copy link

import random
random.seed(1)

@fjwillemsen fjwillemsen self-assigned this Feb 1, 2025
@fjwillemsen
Copy link
Member

@tsengr0916 I'm closing this issue as I think @nbahar-intel has provided you with a solution. It is now also possible to pass a Random generator to the MinConflictSolver (see #81).

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

No branches or pull requests

3 participants