A set of benchmarks to compare a new prototype MiniZinc implementation
at develop 391 B view raw
1% testing the student's t-distribution for both float and integer sample size 2var float: x; 3var float: y; 4float: myFloat1 = abs(tdistribution(1)); % t-distribution with int sample size 5float: myFloat2; 6myFloat2 = tdistribution(5.0); % t-distribution with float sample size 7constraint x + y < myFloat1; 8constraint x + y > myFloat2; 9 10solve satisfy; 11output ["x = ", show(x), "\ny = ", show(y)];