-
Notifications
You must be signed in to change notification settings - Fork 22
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
findMUS: two objective functions, different outputs #202
Comments
Hi all, I would like to provide some additional details about the issues we are facing using FindMUS and Minizinc:
Declaration of variable and constraintFor convenience, we have preferred to eliminate global variables in our model. However, by removing the
Model v1: Use of count global variable
I get: command line
IDE
Which are the expected outputs from cprudhom's example. Model v2: Decomposed the global variable
|
Hello
With @JolanPhilippe, we have a software stack that generates MiniZinc models.
Sometimes, the model generated is not consistent, so we use
findMUS
.There was some unexpected behaviour and we realised that it was due to the declaration of the objective function.
Here are the two versions tested with MiniZincIDE version 2.8.3.
We don't understand why we have to declare the intermediate variable
scost
.Can anyone help us with this?
Obviously, we can provide a model, if that helps.
Thank you
First version
model.mzn
comand line
results in:
IDE
With the IDE, it results in:
Second version
If I change the model to:
I get:
comand line
IDE
The text was updated successfully, but these errors were encountered: