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

keepBest problem #22

Closed
andyjslee opened this issue Jan 4, 2019 · 1 comment
Closed

keepBest problem #22

andyjslee opened this issue Jan 4, 2019 · 1 comment

Comments

@andyjslee
Copy link

Thank you for developing such a useful package. Your package is helping me a lot with my current project.

There seems to be an issue with the keepBest option.

After iteration 1, the bestSol list is all NULL.
After the last iteration k, the bestSol list is populated by k-1 elements.

I think that many will agree the expected behavior is that after iteration 1, the bestSol list contains 1 element and after iteration k, the bestSol list contains k elements.

It would be great if this could be updated accordingly. Thank you!

@luca-scr
Copy link
Owner

luca-scr commented Jan 7, 2019

Can you provide a minimal reproducible example (data+code) so I can trace the issue.
See https://en.wikipedia.org/wiki/Minimal_Working_Example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants