Reputation: 95
Context ctx = getZ3Context();
solver = ctx.MkSolver();
Params p = ctx.MkParams();
p.Add("soft_timeout", 1);
solver.setParameters(p);
Z3 will stop in 10 secs of a particular benchmark, no matter what I set for "soft_timeout".
Upvotes: 1
Views: 204
Reputation: 21475
See the following related questions:
Upvotes: 1