Originally posted by: qtbgo
Chris, I have simplified the problem.
In fact, this is a scheduling problem in container terminal. n is the number of containers, it may reach 3000. nQC is the number of quay cranes, it may reach 20.
This constraint is used for that the quay cranes should not cross over each other.
P = {<v,w,i,j> | v, w in 1..nQC, i, j in 1..n : v < w && l[i] > l[j] - 2 * (w-v)};
where l[i], l[j] is the bay of container i on the ship.
forall(<v, w, i, j> in P )
endBeforeStart(opt_z1[w][j], opt_z1[v][i],deltaTime[<v,w,i,j>]);
Is there a more efficient way to model this?
#DecisionOptimization#OPLusingCPOptimizer