16 lines
284 B
MiniZinc
16 lines
284 B
MiniZinc
% RUNS ON mzn20_fd
|
|
% RUNS ON mzn-fzn_fd
|
|
% RUNS ON mzn20_fd_linear
|
|
% RUNS ON mzn20_mip
|
|
%% has solutions y = 0, y = 1 in relational, Kleene
|
|
%% no solutions in strict
|
|
|
|
var 0..1: y;
|
|
|
|
constraint true \/ 2 div y + 2 div (y - 1) == 0 ;
|
|
|
|
solve satisfy;
|
|
|
|
output ["y = ", show(y), ";\n"];
|
|
|