I'm trying to use jsprit for my VRP problem. The problem is as follows:
matrixBuilder.addTransportTime(from, to, time);
Above code is used to add time. If you don't want to add distance constraints just remove
matrixBuilder.addTransportDistance(from, to, distance);