Mauricio Toro wrote:
I made the difference. There was a bug in other part of the code.
But the problem with the ".." representation is that I am getting
too many solutions representing the same, such as:
(1,2..5)
(1,2,3..5)
(1,2,3,4,5)

and I just want to get (1,2,3,4,5).

I'm not sure I can follow you. Does Gecode sometimes output {1,2..5} and sometimes {1,2,3..5}? Or do you get two solutions where a certain set has the same value, and you only care about solutions that give you "new" sets?

Guido

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to