git-subtree-dir: software/mza git-subtree-split: f970a59b177c13ca3dd8aaef8cc6681d83b7e813
14 lines
201 B
MiniZinc
14 lines
201 B
MiniZinc
% RUNS ON mzn20_fd
|
|
% RUNS ON mzn-fzn_fd
|
|
include "roots.mzn";
|
|
|
|
array[0..2] of var 0..1000: x;
|
|
|
|
constraint roots(x, {0, 1, 2}, {5});
|
|
|
|
solve satisfy;
|
|
|
|
output [
|
|
"x = array1d(0..2, ", show(x), ");\n"
|
|
];
|