15 lines
246 B
MiniZinc
15 lines
246 B
MiniZinc
% RUNS ON mzn20_fd
|
|
% RUNS ON mzn-fzn_fd
|
|
% RUNS ON mzn20_fd_linear
|
|
% RUNS ON mzn20_mip
|
|
%% has solution x = 1 in relational, strict and Kleene
|
|
|
|
var 0..1: x;
|
|
|
|
constraint not (not (1 div x = 1));
|
|
|
|
solve satisfy;
|
|
|
|
output ["x = ", show(x), ";\n"];
|
|
|