Originally posted by: qtbgo
Hi, guys, could you help me on the following problem?
Suppose we have the following varaibles:
dvar interval task[i in 1..100] in 0..10000 size 10..20;
dvar sequence seq in all(i in 1..100)task[i];
and we have constraints:
noOverlap(seq);
other constraints on task.
Now, I want to minimize the distance between tasks in the sequence, how to do it?
Thank you in advance.
#DecisionOptimization#OPLusingCPOptimizer