Free cookie consent management tool by TermsFeed Policy Generator

Changes between Initial Version and Version 6 of Ticket #2933


Ignore:
Timestamp:
03/07/19 19:22:20 (5 years ago)
Author:
abeham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2933

    • Property Owner set to jkarder
    • Property Status changed from new to readytorelease
    • Property Version changed from to trunk
  • Ticket #2933 – Description

    initial v6  
    11In #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.
    22
    3 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.
     3~~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.~~
     4
     5The issue is fixed by implementing a static class RandomSeedGenerator which returns one seed after another from a static instance of System.Random that is guarded by a lock.