A set of benchmarks to compare a new prototype MiniZinc implementation
1% testing the cauchy distribution for both float and integer means
2var float: x;
3var float: y;
4float: myFloat1 = cauchy(10.3, 1.8); % cauchy distribution with float mean
5float: myFloat2;
6myFloat2 = cauchy(3, 0.25); % cauchy distribution with int mean
7constraint x + y < myFloat1;
8constraint x + y > myFloat2;
9
10solve satisfy;
11output ["x = ", show(x), "\ny = ", show(y)];