I have a rather specific question about using the optimization features of the Z3 opt-branch.
Namely, I can add assertions to the "opt" context using z3_optimize_assert
, and those constraints do work.
However, all constraints added to the original z3_context
, which was used to create the optimization context are ignored.
Is it a bug or a feature? What is the purpose of having two contexts?