【发布时间】:2021-05-11 01:50:02
【问题描述】:
我正在使用 z3py 进行编码。请参阅以下示例。
from z3 import *
x = Int('x')
y = Int('y')
s = Solver()
s.add(x+y>3)
if s.check()==sat:
m = s.model()
# how to check whether model m satisfies x+y<5 ?
print(m)
【问题讨论】: