Originally posted by: AdamGregory
Hello all,
I'm trying to model the resource requirements for a set of intervals and I'm running into a problem. Each interval has a corresponding IloIntVar "effort" which denotes the percentage of time spent by the workers on the completion of this interval. The completion time of each interval depends on this "effort value".
I am trying to use the pulse function to limit the overall effort of workers to be less than 100%, but am having some difficulty using "effort" as the height for the pulse since it is an IloIntVar and not a static integer value.
According to the documentation, the pulse function can not be used in this way.
Is there a way to use the pulse function to model the sum of the effort at all times during the schedule? Or is there an alternative way to model the effort of workers which will not have this problem?
Thank you in advance,
Adam
#CPOptimizer#DecisionOptimization