Opened 7 months ago

Last modified 6 months ago

#2933 reviewing defect

Parallel experiment execution can lead to identical seeds

Reported by: abeham Owned by: gkronber
Priority: medium Milestone: HeuristicLab 3.3.16
Component: Optimization Version: trunk
Keywords: Cc:


In #2822 it was possible that multiple optimizers in an experiment were started in parallel. This led to problems that many random seeds were initialized to the same value. For instance, if you have 4 algorithms in an experiment and you execute that with 4 workers each run is likely started with the same random seed resulting in identical runs.

To fix the issue it was suggested to introduce a small timelag, e.g. 20ms when starting the workers. This does not impact the performance a lot and should resolve the problem.

Change History (3)

comment:1 Changed 7 months ago by jkarder

  • Owner set to jkarder
  • Status changed from new to accepted

comment:2 Changed 7 months ago by jkarder

  • Version set to trunk

r16071: added RandomSeedGenerator

comment:3 Changed 6 months ago by jkarder

  • Owner changed from jkarder to gkronber
  • Status changed from accepted to reviewing
Note: See TracTickets for help on using tickets.