For my consolidation problem in Cplex, I want to make the travel time (leadtime) from origin terminal to gateway terminal 'emerge' with a given probability. The transportation from gateway to the final destination will then depend on this outcome. Here is a simplified version of my code where x is 1 if order n is shipped from terminal i to terminal j at time t:
int leadtime[terminal, terminal] = ...;
dvar int+ x[terminal, terminal, time, order] in 0..1;
forall(i terminal, j in terminal, d in terminal, t in time, n in order) x[i,j,t,n] <= x[j,d,t+leadtime[i,j],n];
The leadtime between origin and gateway is equal to 1 time period in 80% of the times, for example, and equal to 2 time periods in the remaining 20% of the time. I want to include different probability distributions for this. Is there a way to model this?
Thank you very much in advance! Kind regards