Skip to content

Bug in generated ozn file #303

Closed
Closed

Description

@hectorpal

The following model makes minizinc command fail:

enum Node = { a, b, c, d, e, f, g, h, i, j, k, l, m, n };
var set of Node: solution;
int: path_length = 8;
array[1..path_length] of var Node: the_path;
solve satisfy;

MiniZinc command reports: evaluation error: not an array expression.
Using the MiniZincIDE works well.

It does work using the command if added the explicit output line
output ["solution =\( solution ), the_path = \(the_path)\n"];

Comparing the resulting ozn files reveal the bug

Activity

  1. added a commit that references this issue on Jul 29, 2019
    123b5f5
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