Skip to content

minizinc 2.5.2 struggles with ground instances #429

Closed
@informarte

Description

@informarte

minizinc 2.5.2 infers unsatisfiability for many ground instances (where all search variables have values assigned) which are verified by earlier minizinc versions.

minizinc-2.5.2-ground-instance-issue.tar.gz contains everything to reproduce the issue.

Reproduction steps:

tar xzvf minizinc-2.5.2-ground-instance-issue.tar.gz
cd minizinc-2.5.2-ground-instance-issue
ls
cd golomb
minizinc -I . solution.mzn

Expected output and what earlier minizinc versions produce:

Positions: [8, 0, 1, 2, 7, 6, 3, 4, 5]
Preferences satisfied: 8
----------
==========

Output from minizinc 2.5.2:

=====UNSATISFIABLE=====

Apart from photo, the archive contains four other instances where this issue occurs.

I also observed this issue with many problems from the minizinc-benchmarks library. So, if necessary, I could provide more test data.

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