Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels
Activity
Check if overloaded function required for output. Fixes #303.