bool_xor.fzn 441 Bytes
% RUNS ON flatzinc
% RUNS ON fzn_bdd_canon
% RUNS ON fzn_fd_canon
% RUNS ON fzn_fdlp_canon
% RUNS ON fzn_lazyfd_canon
% RUNS ON fzn_sat_canon

var bool: x1 :: output_var;
var bool: x2 :: output_var;
var bool: x3 :: output_var;
constraint bool_xor(false, true,  true);
constraint bool_xor(false, false, false);
constraint bool_xor(true,  false, true);
constraint bool_xor(true,  true,  false);
constraint bool_xor(x1, x2, x3);
solve satisfy;