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

Local search should accept and return a single Individual #113

Closed
jakobj opened this issue May 12, 2020 · 1 comment · Fixed by #117
Closed

Local search should accept and return a single Individual #113

jakobj opened this issue May 12, 2020 · 1 comment · Fixed by #117
Assignees
Labels
API change The label that should be avoided maintenance Fighting the second law
Milestone

Comments

@jakobj
Copy link
Member

jakobj commented May 12, 2020

I think from a user's perspective it makes more sense for all local search functions to accept and return a single individual. For example, the local search function updates parameters of the individual and finally returns it with updated parameters. All local search functions with otherwise need to implement the loop over the individuals, this would otherwise be hidden in the evolutionary algorithm.

Any strong opinion @mschmidt87? I'm assigning an early milestone since this changes the API for custom local searches.

@jakobj jakobj added the maintenance Fighting the second law label May 12, 2020
@jakobj jakobj added this to the 0.1.0 milestone May 12, 2020
@jakobj jakobj added API change The label that should be avoided help wanted Extra attention is needed labels May 12, 2020
@mschmidt87
Copy link
Member

I agree, I've stumbled upon this myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API change The label that should be avoided maintenance Fighting the second law
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants