Z3: set starting values -
Z3: set starting values -
can inquire z3 search starting values satisfy constraints ?
say, if have 2 realexprs x , y, , have x==y constraint. can inquire z3 search x=-9999, y=-9997 such z3 might homecoming me model x=-9998 , y=-9998 , "sat" ?
as far understand question, kind of looking solution maximisation/minimisation problem, namely, of next function
f(x, y) = |x + 9999| + |y + 9997| together constraint x = y. stated in answers this question, z3 doesn't back upwards directly. however, stated, can seek solve such problems querying z3 within python loop adds found solutions new constraints of next query.
z3
Comments
Post a Comment