A very similar questions were asked on SO already, but I couldn't find answer to the following problem. A linear maximization problem can be easily stated using for-all quantifier:
obj = f(x) AND \forall x . Ax <= b => f(x) <= obj
The queries like above can be posed to z3. Consequently I want to ask whether z3 is smart enough to recognize an LP problem when it sees one and will it apply a simplex method to eliminate a for-all quantifier?
I did a few experiments and it seemed to work, but I haven't tried it on more complex examples.
Thanks!