Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Arithmetic Operation on Infinite Value Error - Option Types #51
The following code from the paper "Modelling with Option Types in MiniZinc" throws the error:
NOTE: Hopefully I haven't made a silly mistake with the allowable input parameter values.
Side note: It might also be a good time to point out that the arguments to a number of the scheduling global constraints are miss-specified. Several constrains list "var int" when it should only be "int". It would be worth giving the global constraints a review because I have encountered other mistakes as well.
added a commit
Sep 21, 2015
The problem now begins running without reporting an error, but I ran the code included above for 48 hours on 2 cores without reaching an optimal solution. I then switched it to satisfy and ran it for 2 minutes and didn't achieve any satisfiable solution. Do you have a copy of the dataset that was used with the paper (to confirm the code will actually return the correct solution, as the above dataset may not be sensical)? I haven't yet been able to get a model to solve correctly using option types.
I also ran the following 2 examples from the same paper "Modelling with Option Types in MiniZinc":
Returns the following error:
Returns the following error (yes, I realize the "compatible" param still needs to be populated) :