0
votes

Cplex must determine this binary decision variable: dvar boolean y[I][J][M]; // y(jm)=1 if operation O (ij) is assigned to machine m belonging to M (O(ij)) where int num_job=...; range J=1..num_job; //index job j int num_operationsjob=...; range I=1..num_operationsjobj; //index operations

The problem is with M because I have to define the set of machines associated with O (ij) which I have now defined simply with M but it is wrong. I thought about defining them like this:

int machine [I][J] =...;

but now I don't know how to put it inside the decision variable. Do you have any ideas for me? Thank you :)

1
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. - Community

1 Answers

0
votes