Hi, 

Currently, I have a difficulties in scheduling tasks which duration is dependent on previous tasks . For example, I have the following two sets of tasks to complete on two different machines M1 and M2:

S1: T1 -> T2 -> T3

S2: T4 -> T5

Each task has duration of 2s. However, If I perform T5 immediately after T1 on the same machine, the duration of T5 can be shorten into 1s. Furthermore, If I perform T3 after T5, the duration of T3 can be shorten into 1s as well. 

Therefore, the schedule below has a time span of 4, not 6.

M1: T1 -> T5 -> T3

M2: T4 -> T2  

My question is: how do I model this type of "duration dependency" in my CSP model? Or which keywords I should use to search for related information?

More Ka Lun, Mario Leung's questions See All
Similar questions and discussions