1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

21 lines
491 B
MiniZinc

% RUNS ON mzn20_fd
% RUNS ON mzn-fzn_fd
% RUNS ON mzn20_fd_linear
% RUNS ON mzn20_mip
% Regression test for bug #282: mzn2fzn's optimization pass left dangling
% variables in the int_search/4 annotation below.
var int : P;
var int : Q;
var int : R;
constraint ((R + 1) = P);
constraint ((R + 2) = Q);
solve :: seq_search([int_search([P,Q,R], input_order, indomain_min, complete)])
satisfy;
output [
"P = ", show(P), "\n",
"Q = ", show(Q), "\n",
"R = ", show(R), "\n"
];