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.rijs...@quintiq.com
I www.quintiq.com



_______________________________________________
Gecode users mailing list
users@gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to