Skip to content

Crashes for var opt 0..infinity #456

Description

@simonihmig

MiniZinc crashes when I declare a variable with both opt and an upper bound of infinity (same for lower bound).

This crashes:

var opt 0..infinity: dummy;

but all of the following variable declarations do work as expected:

var opt 0..100: dummy; % dummy = <>
var opt int: dummy; % dummy = <>
var 0..infinity: dummy; % dummy = 0

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