Originally posted by: ouss1
Hello,
I am working in a job shop scheduling problem.
I had found a problem in declaring a set.
For more details, I have N jobs and for each job I have concerned machines (not necessary the same, and not necessary the same sequence}
you find here a sample example :
I have 3 jobs and 2 machines. The first job has this sequence of machine : M1 then M2. The second job is treated in a single machine M2. Finally, the third job has this sequence (on machines): M2 then M1.
How can I define this problem in the file .mod and in the file .dat.
Can you give me an example (example of a constraint) when using a set.
Thank you in advance,
Best regards
#CPLEXOptimizers#DecisionOptimization