Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only

Set Construction to Minimize CPU and Memory

  • 1.  Set Construction to Minimize CPU and Memory

    Posted 10/27/11 11:47 PM

    Originally posted by: UDOPS


    So, which of these is more efficient?

    set = { elements | a in seta, b in setb, c in setc: a>x && b>y}
    or

    fixedset = {a| a in seta: a>x};

    set = { elements | a in fixedset, b in setb, c in setc: b>y};

    I imagine it depends on the way in which OPL filters sets and sequences the limiting conditions.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer