Dear Team Jsprit,
I attempted to modify the MultipleDepotExample.java to add depots from a csv. However, after running the project, I got the following exception:
"Exception in thread “main” java.lang.IllegalStateException: cannot lock vehicle twice ***@ezhome.com
at jsprit.core.problem.vehicle.VehicleFleetManagerImpl.lock(VehicleFleetManagerImpl.java:166)
at jsprit.core.algorithm.ResetAndIniFleetManager.informInsertionStarts(ResetAndIniFleetManager.java:42)
at jsprit.core.algorithm.recreate.listener.InsertionListeners.informInsertionStarts(InsertionListeners.java:63)
at jsprit.core.algorithm.recreate.AbstractInsertionStrategy.insertJobs(AbstractInsertionStrategy.java:84)
at jsprit.core.algorithm.module.RuinAndRecreateModule.runAndGetSolution(RuinAndRecreateModule.java:54)
at jsprit.core.algorithm.SearchStrategy.run(SearchStrategy.java:140)
at jsprit.core.algorithm.VehicleRoutingAlgorithm.searchSolutions(VehicleRoutingAlgorithm.java:206)
at test.MultipleDepotExample.main(MultipleDepotExample.java:129)
Are there resources available for me to better understand what it means when it says that I cannot lock a vehicle twice?
Please advise. I would greatly appreciate your support.