Skip to content
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

Repeatability for VD-CMA #105

Closed
agrayver opened this issue Jan 23, 2015 · 3 comments
Closed

Repeatability for VD-CMA #105

agrayver opened this issue Jan 23, 2015 · 3 comments
Assignees
Labels

Comments

@agrayver
Copy link

For testing purposes I use constant seed like that:

CMAParameters<> cmaparams(x0, sigma, -1, 12345, gp);

This gives reproducible results with aCMAES. However, when I switch to VD-CMA, even with the fixed seed specified, results change for every run.

Any idea?

@beniz beniz added the bug label Jan 23, 2015
@beniz beniz self-assigned this Jan 23, 2015
@beniz
Copy link
Collaborator

beniz commented Jan 23, 2015

Thanks for catching this. I can reproduce, so I will look at it and report here.

@beniz
Copy link
Collaborator

beniz commented Jan 23, 2015

Here, fixed, due to the init of a complementary vector, which is now taking the seed into account. The fix in on 'dev' branch, you can either pull that branch or report the fix on the master's source code if you like, it is really a very tiny change in the code.

@agrayver
Copy link
Author

Done. Thanks for quick patch.

@beniz beniz closed this as completed Jan 23, 2015
andrewsali pushed a commit to andrewsali/libcmaes that referenced this issue Jan 31, 2016
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

2 participants