Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Modeling a time slot constraint

    Posted 09/04/08 01:40 AM

    Originally posted by: SystemAdmin


    [mk485234 said:]

    Dear all,


    In my formulation I am using a constraint which allows two units to occupy a single time slot of the width of 10sec. The size of the time slot is defined by the respective input data.
    the constraint in OPL is as follows:

    forall (t in timeSeq)
    sum(i in planeSeq) x[ i][t] <= 2;<br />
    Now, I would like to use time slots with a width of only 1sec (again, width is defined by the input data). However, the constraint above still needs to hold. In other words: 2 units may occupy 10 one-second time slots.
    My question: how do I need to change the constraint mentioned above?


    Best,
    Michael.
    #DecisionOptimization
    #OPLusingCPOptimizer


  • 2.  Re: Modeling a time slot constraint

    Posted 09/05/08 12:28 AM

    Originally posted by: SystemAdmin


    [afleischer said:]

    Hi,

    could

    forall (t in timeSeq:t <= last(timeSeq)-width)<br />  sum(i in planeSeq,t2 in t..t+width) x[ i][t2] <= 2;<br />
    help you?

    Alex
    #DecisionOptimization
    #OPLusingCPOptimizer


  • 3.  Re: Modeling a time slot constraint

    Posted 09/26/08 10:49 PM

    Originally posted by: SystemAdmin


    [mk485234 said:]

    Hello Katai, Hello Alex!

    Sorry for the long delay to your replies.
    I'll try what you suggested and get back to you later on.
    Thanks a lot!

    Best,
    Michael.
    #DecisionOptimization
    #OPLusingCPOptimizer