Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to model this constraint?

    Posted 10/26/11 12:21 PM

    Originally posted by: y82li


    If y[t]=1 and yt+1=0, then xt+1=1, xt+2=1, xt+3=1;
    or xt+1=1, xt+2=1, xt+3=1, xt+4=1, xt+5=1, xt+6=1;
    or xt+1=1, xt+2=1, xt+3=1, xt+4=1, xt+5=1, xt+6=1, xt+7=1, xt+8=1, xt+9=1.

    if y[t]=0, then xt+1=0.

    x,y are binary variables

    Thank you!
    #DecisionOptimization
    #MathematicalProgramming-General


  • 2.  Re: How to model this constraint?

    Posted 10/26/11 05:31 PM

    Originally posted by: SystemAdmin


    You can delete the second and third lines (”or ...”) without affecting the interpretation of the expression, which makes me think you did not write exactly what you meant.

    Also, you can see that the web site is mistaking some of what you wrote as commands to use italics. It will be more readable if you either use the code tags or exalt your brackets.

    Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #DecisionOptimization
    #MathematicalProgramming-General