git-subtree-dir: software/mza git-subtree-split: f970a59b177c13ca3dd8aaef8cc6681d83b7e813
14 lines
273 B
MiniZinc
14 lines
273 B
MiniZinc
% RUNS ON mzn20_fd
|
|
% RUNS ON mzn-fzn_fd
|
|
% RUNS ON mzn20_fd_linear
|
|
% RUNS ON mzn20_mip
|
|
% RUNS ON mzn20_mip
|
|
var 1..10: x;
|
|
var bool: b;
|
|
constraint b <-> ( let { var 1..10: y = x + 1 } in x = y );
|
|
solve satisfy;
|
|
output [
|
|
"b = ", show(b), ";\n",
|
|
"x = ", show(x), ";\n"
|
|
];
|