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