Skip to content
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

JSON DecodeError with "minizinc:experimental" #154

Closed
rubenkindt opened this issue Nov 14, 2022 · 1 comment
Closed

JSON DecodeError with "minizinc:experimental" #154

rubenkindt opened this issue Nov 14, 2022 · 1 comment

Comments

@rubenkindt
Copy link

solver: "minizinc:experimental"
CPMpy: version v0.9.9 commit e79b3af
minizinc-python release version 0.7.0 commit {MiniZinc/minizinc-python@a195cf6)

MiniZinc's experimental solver raise a JSON error, "minizinc:gecode" and "minizinc:gist" do crash on this file as well, but seems to be a different bug which I will report in a separate issue.
minimized.zip

from cpmpy import *

file ="minimized"  # don't forget to unzip
m=Model().from_file(file)
m.solve(solver='minizinc:experimental')

expected behavior:
No crash like other solvers ("minizinc:ortools" ...)

bug found while working on my master thesis.

@tias
Copy link
Collaborator

tias commented Nov 15, 2022

I don't think we should expect stable behavior from a solver that is called 'experimental'. I have never heard of it, not sure we should report it upstream with minizinc, maybe just leave the 'experimental' out of the fuzz tests? (if you agree, feel free to close)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants