Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Problems with Sum Constraint

    Posted 01/22/15 06:00 AM

    Originally posted by: TuPeM


    I'm currently struggling to formulate the term which is attached and part of a longer formula. Cplex cannot extract it and i know the programming is not correct.

    Currently i have the following formulation

    forall (t in periods, ..., v in variants)

    ... + sum (s in periods: t-RT+1 <= s <= t) E[v][s] + ...

    RT is a fixed value that is e.g. 4. while t<RT, s should start with the value of 1.  for t is 5,6,7,... s should start at 2,3,4,... respectively and sum up to t.

    the formulation somehow needs to be like this , but i don't know which expressions to use

    sum(s in periods: max(1,t-RT+1 <= s) E[v][s]

     

    Any help is much appreciated!


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Problems with Sum Constraint

    Posted 01/22/15 09:06 AM

    Originally posted by: Rajasekhar_Kadambur


    Hi,

    Try this

    forall(t in periods, v in variants)

    sum(s in periods: s>=maxl(1,t-RT+1 )) E[v][s]


    #DecisionOptimization
    #OPLusingCPLEXOptimizer