z3py - Z3 taking too long for a non-linear real formula -


why take unspecified large time z3 solve following non-linear real formula? instantly solves if first constraint changes < 0 > 0.

the formula:

s.add (0.9993612667+0.0014*x^2+0.0014*y^2+0.0014*z^2-0.0023*x^2*y^2-0.0023*x^2*z^2-0.0023*y^2*z^2+0.0010*x^4*y^2+0.0011*x^2*y^4+0.0011*x^3*y^2*z+0.0011*x^4*z^2+0.0034*x^2*y^2*z^2+0.0011*x*y^3*z^2+0.0010*y^4*z^2+0.0011*x^2*y*z^3+0.0010*x^2*z^4+0.0011*y^2*z^4 < 0,x>=-1,x<=-0.1,y>=-1,y>=-0.1,z>=-1,z<=-0.1 ) 

ok, have sorted out problem running iterative loop on ranges of x,y , z.that means,instead of asking z3 solve problem whole ranges of x,y,z, used partitioning of these ranges instead, , iteratively found sat/unsat of inequality.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -