Originally posted by: yuriwon
Can anyone explain about this example code of intensity function?
stepFunction F = stepwise(0—>1; 100–>5; 50–>6; 0–>7);
dvar interval decoration size 5..5 in 1..7 intensity F;
It must has work utility with 100% for five days, 50% for one day, and zero
for the last day.
So, I confuse that why the day 1 to day 5 are 100% but the day 7 is 0% because
both day 1 and day 7 are declare similarly 0->1 and 0->7.
#CPOptimizer#DecisionOptimization