Originally posted by: YunYuan
Hi, I am new to CPLEX, and I have lots of problems setting up my model.
I want make a flexible job shop scheduling problem with MIP, and I want to make a decision variable Xijk to see if the j-th operation of job i is processed on machine k.
If yes, then Xijk=1.
But, the index j is dependent on job i since it's a flexible job shop problem.
That means, j will be 1,2,...,n[i].
I found that CPLEX cannot initialize array with different size(Please correct me if I am wrong with this idea), so Xijk can not be array type.
I tried to make Xijk into a tuple, is it possible? Or anything better than tuple type in this situation? Please help me. Thank you!
#DecisionOptimization#OPLusingCPLEXOptimizer