You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like z3py saves time in statistics only for Solver objects and not for Optimize ones.
Using Solver:
x=Int('x')
y=Int('y')
s=Solver()
s.add(x>10, y==x+2)
s.set("timeout", 1000) # not actually needed to have time in statisticss.check()
print(s.statistics())
Looks like z3py saves time in statistics only for Solver objects and not for Optimize ones.
Using Solver:
outputs
which includes time, but for Optimize the same code
outputs
This issue looks very similar to issue #4662. Is there any way to get the internal time when using the Optimize class?
The text was updated successfully, but these errors were encountered: