Originally posted by: ZuluBravo
Hi everyone,
I am a beginner both in CP Optimizer and Java interface and I am having hard times implementing a very simple scheduling problem.
The problem is to minimize makespan in a single machine with sequence-dependent setups. However setups can only occur after the release time of the related job, so unfortunately noOverlap function does o no good in this case. I have been able to solve this problem in CP Optimizer by adding additional interval variables, but I cannot implement it in Java because I cannot add only a subset of interval variables to the sequence variable.
Basically, I am trying to write the following constraints in Java
dvar interval job[0..NbJob]
dvar sequence schedule in all(j in 0..K) job[j] types all(j in 0..K) state[j} // Again, K < NbJob
Thanks a lot in advence,
Zeynep.
#CPOptimizer#DecisionOptimization