0
votes

Im currently coding PVRP on CPLEX. I needed a constraint which finds subtours and adds a constraint which prohibits subtour. In that sense, I used CPLEX library TSP subtour example, however when I run the model it gets into loop and runs forever.

Any help would be appreciated.

1
Show us a piece of your code please :) - Puka
The file is too large unfortunately, please give me your e-mail and I will send it to you. - Obmn

1 Answers

0
votes

I've used the MTZ model. It's good and simple.

MTZ model

The solution time depends on the subtours generated by the model

Regards!