Closed SeriousBug closed 8 years ago
Yes, the first time in the class goes over the midnight and the end of a week:
<time breaktime="10" days="0000001" length="60" pref="1" start="229"/>
The solver does not expect that and such a situation should be avoided.
Please note that the UniTime user interface does not allow a time placement to go over the midnight as it could create all sorts of issues.
Thanks!
The following input file causes the error "Failed to select a neighbour: ArrayIndexOutOfBoundsException". The solver still produces a solution, but constantly throws this error while trying to improve the solution.
The jar being ran is
cpsolver-1.3.79.jar
, it is run with the commandjava -Xmx1g -jar cpsolver-1.3.79.jar great-deluge.cfg 124150.xml OUTPUT
.The configuration file that is being used is the great deluge configuration.
The output:
The problem seems to be caused by the line
<time breaktime="10" days="0000001" length="60" pref="1" start="229"/>
. Taking out this line, changing the day to anything other than '0000001' or setting the start to something lower than '229' solves the issue.Are the errors caused by a problem in the input file?