Forum Discussion

FICO's avatar
FICO
Community Manager
9 years ago

MPVAR mod integer

Hi all, I'm wondering is it possible to modulo an mpvar. I have a set of mpvars Xs which are binary and I want to have Sum(i in set) Xi mod 2 = 0 (in other words), the sum of the binary variabl...