Originally posted by: SystemAdmin
[pierre schaus said:]
Hello,
I want to collect the union of the values of an IloIntVarArray in a IloIntSetVar.
Currently, we set each IloIntVar into a singleton IloIntSetVar and we make the union of each
singleton with IloEqUnion.
Unfortunately, the filtering is not optimal because when a value is removed from the domain of a IloIntVar,
it is not removed from the upper bound of the corresponding singleton IloIntSetVar.
Is there a smarter way to do it?
Thank you in advance,
Pierre
#CPOptimizer#DecisionOptimization