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