-
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
Optimize / maximize incorrect return value #5710
Comments
In case a smt testcase is required: Thomas |
The buggy code path is unfortunately hacky and I have repeatedly gotten it wrong for multi-objective case. |
Unfortunately I can't comment on code quality there. Thanks |
The code quality is my fault, of course. |
Hello
work.py.zip
Starting from version 4.8.9.0 the attached python script is not able to return the correct maximum value of my problem:
Here the execution trace of my script with the last working (4.8.8.0) and the last release (4.8.13.0) not working
Depending of Z3 revision and/or the order the script fill
opt.maximize
in each variable the result of which variable having maximum value find at zero can change.Is that a bug or an expected behavioral change ?
Thanks
Thomas
The text was updated successfully, but these errors were encountered: