-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sub-optimal optimize result. Model doesn't match objectives. #5145
Comments
Hi, Looks like this is still a problem. Changing just a little the input problem (basically swap A1 by B1, and A2 by B2 consts), bring back the wrong result:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm using Z3 to solve a small optimization problem, and everything was fine in release 4.8.8. But later releases, even the current master, gives a (weird) sub-optimal solution for the following problem:
Expected result (v4.8.8)
Second optimization goal matches the model
N1.used
andN2.used
consts, with both evaluating totrue
:Unexpected result (v4.8.9 - master)
Second optimization goal doesn't matches the model
N1.used
andN2.used
consts:Possible reason
After a little search, appears that the bug was introduced in commit (cfa7c73).
So is that a bug, or some default configuration has changed to the point of altering the result?
The text was updated successfully, but these errors were encountered: