Skip to content

Random seed reproducibility #25

Description

@cruizgo

We should systematically initialize the seed for the optimizations. Sth like this:

seed = np.random.randint( int(1e6) )
np.random.seed(seed)
# Whatever optimizations we need to do

After this, the seed could also be store in the solution file.

This would guarantee total reproducibility and help us to get the correct graphs in a single attempt (once it has been found).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions