Skip to content

Use constant whenever possible in the MiniZinc interface #392

@ImkoMarijnissen

Description

@ImkoMarijnissen

We have have recently added the IntegerVariable interface for i32s; to avoid allocation and runtime overhead, we should use constants whenever possible rather than a DomainId with a singleton domain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions