[gecode-users] BinPacking constraint crash
David Rijsman
David.Rijsman at quintiq.com
Thu Mar 28 15:28:06 CET 2013
Hi,
minor issue (I think in all versions with a bin packing constraint); I am not sure to what degree we want Gecode to protect me from invoking constraint with nonsense arguments but I noticed that the bin packing constraint:
binpacking(Home home, const IntVarArgs& l, const IntVarArgs& b, const IntArgs& s, IntConLevel)
crashed when you pass an empty list of b and s (I have one load variable). This due to line 64 in bin-packing.cpp where it is assumed there is at least one bin.
David J. Rijsman
Algorithm Lead
Quintiq
T +31 (0)73 691 07 39
F +31 (0)73 691 07 54
M +31 (0)62 127 68 29
E david.rijsman at quintiq.com
I www.quintiq.com
More information about the users
mailing list