git-subtree-dir: software/minizinc git-subtree-split: 4f10c82056ffcb1041d7ffef29d77a7eef92cf76
16 lines
227 B
MiniZinc
16 lines
227 B
MiniZinc
/***
|
|
--- !Test
|
|
solvers: [chuffed, cbc]
|
|
expected: !Result
|
|
solution: !Solution
|
|
y: !!set {1, 4}
|
|
***/
|
|
|
|
% Comparison of sets with holes
|
|
|
|
set of int: x = {1, 2};
|
|
var set of {1, 4}: y;
|
|
|
|
constraint card(y) = 2;
|
|
constraint x < y;
|