hdbeukel / james-core

Core module of the JAMES framework
Apache License 2.0
6 stars 5 forks source link

propagate seeds to subsearches #46

Open hdbeukel opened 7 years ago

hdbeukel commented 7 years ago

Currently, when using an algorithm with subsearches, such as parallel tempering or VNS, setting a custom random generator does not lead to reproducible results because the subsearches are not affected.

Solution: set custom random generators for the subsearches, when created, with seeds that are generated using the main search's random generator. As such, reproducibility will propagate.