git-subtree-dir: software/mza git-subtree-split: f970a59b177c13ca3dd8aaef8cc6681d83b7e813
12 lines
226 B
MiniZinc
12 lines
226 B
MiniZinc
% RUNS ON mzn20_fd
|
|
% RUNS ON mzn-fzn_fd
|
|
% Test sum/1 for floats with multi-dimensional arrays.
|
|
|
|
float : a = sum([|1.0, 2.0, 3.0, 4.0, 5.0 | 6.0, 7.0, 8.0, 9.0, 10.0|]);
|
|
|
|
solve satisfy;
|
|
|
|
output [
|
|
"% a = ", show(a), ";\n"
|
|
];
|