Skip to content

Add inequality constraint of two different genes #119

Open
@terrancelu92

Description

@terrancelu92

Hello, may I know how to add inequality constraint of two different genes. For example, I have a gene space gene_space=[{'low': 0, 'high': 16}, {'low': 0, 'high': 24}]. I would like to add the constraint of gene1 < gene2. May I know if there is a way to do it in PyGAD. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions