Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

parents_portion = 0 doesn't works #61

@mariobigai

Description

@mariobigai

I'm trying to built a classical GA without parents_portion and elit_ratio parameters.
In documentation said it's only set both to zero, but doing it raises a AssertionError on line 279 of geneticalgorithm2.py file:
https://github.com/PasaOpasen/geneticalgorithm2/blob/8de8420e3da606534958c0a24db261861e1be50d/geneticalgorithm2/geneticalgorithm2.py#L279

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions