Skip to content

Change selection process to prevent duplicates - #3340

Merged
ShiZhongming merged 1 commit into
masterfrom
3339-duplicate-individuals-in-new-optimisation-script
Jul 26, 2023
Merged

Change selection process to prevent duplicates#3340
ShiZhongming merged 1 commit into
masterfrom
3339-duplicate-individuals-in-new-optimisation-script

Conversation

@MatNif

@MatNif MatNif commented Jul 6, 2023

Copy link
Copy Markdown
Collaborator

With this change, offspring created from mutation and crossover operations are compared against the existing population to determine which ones are novel and prevent duplicates from being added to the population.

This should also make the optimisation script run faster since duplicate systems are not unnecessarily evaluated.

Offspring created from mutation and crossovers are compared against the existing population to determine which ones are novel and prevent duplicates from being added to the population.
@MatNif MatNif self-assigned this Jul 6, 2023
@MatNif MatNif linked an issue Jul 6, 2023 that may be closed by this pull request
@ShiZhongming

Copy link
Copy Markdown
Collaborator

Hi @MatNif
Thanks for the update!
How should we test this? Using the same scenarios for the PR test before? :D

@MatNif

MatNif commented Jul 6, 2023

Copy link
Copy Markdown
Collaborator Author

Yes. The scenario you've used before should work. Ideally, rename the optimisation_new folder in the results so you can compare the debugging files of both runs.

@ShiZhongming
ShiZhongming merged commit bad8bf9 into master Jul 26, 2023
@ShiZhongming
ShiZhongming deleted the 3339-duplicate-individuals-in-new-optimisation-script branch July 26, 2023 11:59
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

Successfully merging this pull request may close these issues.

Duplicate individuals in new optimisation script

2 participants