Skip to content

Feature request: allow for constraints on ordered choice parameters #710

@lena-kashtelyan

Description

@lena-kashtelyan

Original comment by @LuddeWessen:
I was about to post an issue report on this as well, since I need to put constraints on choice variables, especially between them.
I believe this should be possible for at least two reasons:

If the parameters have internal ordering we often need to put constraints as if it were range parameter.
Sometimes categorical or ordered parameters needs to be constrained to remove "symmetries" in the parameter space, e.g. when parameters (1,2) actually means the same as (2,1), we want to disallow one of them.
I believe that the fix suggested by @Balandat Jul 17 sounds good.

Proposed solution: #621 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwishlistLong-term wishlist feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions