Originally posted by: AELIX_01
I have a particular VRP that I can't figure out if I can model with CP. I think it's not possible, let's discuss it.
Can I model this with CP?:
> 2 machines A & B must execute operation 1 or 2
> T(A,1) = 10m, T(A,2) = 20m, T(B,1) = 15m, T(B,2) = 15m
> operation 1 produces 10 items of type X and 20 items of type Y
> operation 2 produces 15 items of type X and 5 items of type Y
> Total demand is 250 items type X and 450 items type Y
> Find the schedule that completes the demand in the minimum amount of time.
Expected solution in my mind: A(1,1,2,1,2,2,1,1,1,1) and B(2,2,2,2,1,2,2,2,2,2,2,1,1,2,2) [ |A|=10, |B| = 13 ]
I now it has multiple solutions (permutations of a specific solution).
Basically I have a VRP that must allocate (and possibly repeat) tasks until some demand is fulfilled. I couldn't think of a way of allowing repetition in tasks in CP when I don't have a limit in the planning horizon.
#CPOptimizer#DecisionOptimization