Originally posted by: Fab10
Hello,
I'm new to ILOG CP optimizer and to constraint programming in general and I'm trying to model and solve a simple problem.
I'm looking for a special construct or a method to let me constrain the intersection of two int var arrays to be of a given size, something like
Intersection(intVarArray vars1, intVarArrays vars2, iloInt size)
In other words, the cardinality of the intersection of vars1 and vars2 should be exactly of size "size".
Is there a specific constraint or should I have to construct it?
Thank you for your help.
Fabio
#CPOptimizer#DecisionOptimization