Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only

help about dependent Indexes

  • 1.  help about dependent Indexes

    Posted 02/28/11 05:07 PM

    Originally posted by: agra


    I have a decision variable with 4 indexes like X http://r in 1..3http://d in 1..6http://e in 1... ???? . Lets say r defines the year , d defines the department, e defines the exam . Is there any way to write e depending on the r and d. what i meant is; lets say when r is 1 , d is 1, e will be 3 and r =2 d =3 e will be 5. and so on... it will be like the following matrix.
    e = 3,3,1,5,6,4,3,4,5,5,6,2,3,3,1,4,6,4
    ct1:
    forall (t in Timeslot)
    sum (r in Rank, d in Department,e in Exam) X[r][d][e]*N[r][d] <= sum (c in Classroom) K[c] ;
    As a result if i can do it, how can i write this constraint ?? thanks in advance...
    #DecisionOptimization
    #OPLusingCPLEXOptimizer