Skip to content

Use constant whenever possible in the MiniZinc interface #392

Open

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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