I tried the following code at http://rise4fun.com/z3/tutorial
(declare-const a Int) (assert (> a 100)) (check-sat) (get-model)
the result is always a=101
. I need some randomness in the answer that it produces a random number in the range [101,MAXINT)
. for example, gets seed=1000
and suggests a=12344
. for seed=2323
offers a=9088765
and ....
What should I add to this simple code?
source share