Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Step Size in Range Definition

    Posted 10/03/11 02:20 PM

    Originally posted by: UDOPS


    I would like to index a set over a range with >1 step sizes. Can I define ranges with step sizes greater than one? Right now, the best I can imagine is adding a filter condition to the index value:
    { a | a in lower..upper: a mod stepsize ==0 }
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Step Size in Range Definition

    Posted 10/04/11 04:12 AM
    Hi

    could the following help you?

    { lower +stepsize *k | k in 0..(upper-lower) div stepsize };
    


    Regards
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Step Size in Range Definition

    Posted 10/19/11 03:30 PM

    Originally posted by: UDOPS


    Thanks for that suggestion. I went ahead with my earlier version, and there does not appear to be a speed obstacle. Your version is clever and would appear to require less processing.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer