Open anfuchs opened 9 years ago
Is it possible that this happens only when using JaCoP as a solver? Because currently, JaCoP is limited to integer values in the interval of [-50,50]. You can change this interval by putting smaller(!) values into de.wwu.muggl.solvers.jacop.JaCoPTransformer#DOMAIN_DEPRECIATION
, as this constant is used for reducing the domain of IntVar
s.
Background: If we assume a range of [-50,50], then there is actually no x
that can fulfill the criterion x > 1000
. This is wrong, of course, but with JaCoP there is currently no other solution.
Only one condition is tested in a simple if-else construct.
Tried with different Coverage options, resulting all in same generated test case (see below).
Code to test:
Generated Test Case: