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

fix: dedup orders while doing genetics in Optimus #1611

Merged
merged 1 commit into from
Oct 9, 2018

Conversation

3Hren
Copy link
Member

@3Hren 3Hren commented Oct 9, 2018

The God of Random in Optimus sometimes put the same order several times into a genome in genetic optimization, which results in invalid knapsack construction. This commit fixes that behavior by doing orders deduplication while crossing over and mutating genomes.

The God of Random in Optimus sometimes put the same order several times into a genome in genetic optimization, which results in invalid knapsack construction. This commit fixes that behavior by doing orders deduplication while crossing over and mutating genomes.
@3Hren 3Hren added 💩 T: bug This PR/Issue fixes a bug S: Node This PR/Issue changes Node S: Optimus This PR/Issue changes Optimus P: HIGH This PR/Issue has the high priority V: patch This PR/Issue requires patch version to be bumped labels Oct 9, 2018
@3Hren 3Hren merged commit 2dd741a into master Oct 9, 2018
@3Hren 3Hren deleted the fix/optimus/genetic-shit branch October 9, 2018 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: HIGH This PR/Issue has the high priority S: Node This PR/Issue changes Node S: Optimus This PR/Issue changes Optimus 💩 T: bug This PR/Issue fixes a bug V: patch This PR/Issue requires patch version to be bumped
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants