A set of benchmarks to compare a new prototype MiniZinc implementation
1% testing the chi-squared distribution for both float and integer degrees of freedom
2var float: x;
3var float: y;
4float: myFloat1 = chisquared(11.3); % chi-squared distribution with float degree of freedom
5float: myFloat2;
6myFloat2 = chisquared(1); % chi-squared distribution with int degree of freedom
7constraint x + y < 10*myFloat1;
8constraint x + y > myFloat2;
9
10solve satisfy;
11output ["x = ", show(x), "\ny = ", show(y)];