Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only

Getting the union of a IloIntVarArray

  • 1.  Getting the union of a IloIntVarArray

    Posted 07/31/08 03:11 PM

    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