Hi there, I am new to Java, so perhaps there is something I am missing, but I am wondering how to clear the jobs & vehicle of the VehicleRoutingProblem.Builder ?
I have tried using a conditional check:
if(vrpBuilder.getAddedJobs().size()>0) vrpBuilder.getAddedJobs().clear()
Using the same style of conditional when checking for added Vehicles. Seem to be having the same problem with resetting the cost Matrix as well. Any suggestions or links to resources? Searching on Google/StackOverFlow, I haven’t come across any questions with a similar problem yet.
Thanks!