Hi,
I am using VRP code for testing. I am using pickup-delivery configuration with start-end. start is set to vehicle location and end i am not using. following is the configurations.
- i am using 1 vehicle
- 2 pickup and 2 delivery
- I not using deport, so 1st column and row is set to 0.
public final int[][] pickupsDeliveries =
{
{1, 2},
{3, 4},
};
// [END pickups_deliveries]
public final int vehicleNumber = 1;
public final int[] starts = {5};
public final int[] ends = {0};
i have passed, 4 location + 1 vehicle, details and distance matrix is built like as shown below ( i have attached the file):
going via the matrix, i should get sequence as V -> P1 -> P2 -> D1 -> D2
But or-tool is returning sequence as V -> P1 -> P2 -> D2 -> D1, which is not correct.
i am using tool version of 9.0.9048.
can some one tell me what is the issue here?
Thanks,
Keerthi.