Originally posted by: user1234567
Sorry! The problem is not resolved even when i change the code.
In "Journal de Script", i get this result:
// solution with objective 15; -247
Operation 1of job1 on machine 3 starting at 7and ends at9
Operation 2of job1 on machine 1 starting at 9and ends at11
Operation 3of job1 on machine 2 starting at 11and ends at14
Operation 4of job1 on machine 1 starting at 14and ends at15
Operation 5of job2 on machine 3 starting at 1and ends at3
Operation 6of job2 on machine 2 starting at 3and ends at5
Operation 7of job2 on machine 1 starting at 5and ends at6
Operation 8of job2 on machine 1 starting at 6and ends at9
Operation 9of job3 on machine 1 starting at 0and ends at5
Operation 10of job3 on machine 2 starting at 5and ends at10
Operation 11of job3 on machine 2 starting at 10and ends at11
Operation 12of job3 on machine 3 starting at 11and ends at13
In the left part of "Navigateur de problèmes", i get this solution of s and c:
s = [[7 9 11 14]
[0 206 0 0]
[0 0 0 0]];
c = [[9 11 14 15]
[0 0 0 0]
[0 0 0 0]];
Where i should get exactly these results (as displayed in journal de script exactly):
s = [[7 9 11 14]
[1 3 5 6]
[0 5 10 11]];
c = [[9 11 14 15]
[3 5 6 9]
[5 10 11 13]];
This is what i meant exactly. I don't know how to correct this ! Please help me.
#CPLEXOptimizers#DecisionOptimization