Questions tagged [jsprit]

jsprit is a java based, open source toolkit for solving rich vehicle routing problems

jsprit is a java based, open source toolkit for solving rich vehicle routing problems

94 questions
0
votes
1 answer

What is the optimal number of iterations for jsprit solution for pickups_and_deliveries_solomon_c101.xml?

VehicleRoutingAlgorithm vra = vraBuilder.build(); vra.setMaxIterations(250); We use the above code for number of iterations to be done to find vra solution. in the examples in jsprit I can see 250 as a hard coded value. My question is what is the…
sutirtha
  • 375
  • 3
  • 21
0
votes
1 answer

How to add time constraints in jsprit?

setTimeWindow(new TimeWindow(start_time, end_time)) Is used to add time constraints for a task/shipment. But I want to have a complete example. Is there any complete example of jsprit on time bound shipment?
sutirtha
  • 375
  • 3
  • 21
0
votes
0 answers

How to run jsprit using maven

Im new to using maven, and am trying to run the "SimpleExample.java" listed on the jsprit library github you can find the setup instructions here and the source code here. I setup the directories as per some maven tutorials I found, and the…
Kevin Michael
  • 118
  • 1
  • 7
0
votes
2 answers

Cannot run the code due to java.lang.NoClassDefFoundError

I am investigating the jsprit library. For this I just created a new project in Eclipse and copied-pasted the demo example class. Then I added all jars to the path, including log4j-1.2.17.jar. Nevrtheless I cannot execute the demo code due to the…
Klausos Klausos
  • 15,308
  • 51
  • 135
  • 217
0
votes
1 answer

How to use jsprit for calculating the shortest path

I have came across Jsprit which is the collection of the algorithms for calculating the shortest path but i have added the maven dependencies in IDE, is there any information for classes and methods that can be used for calculating the shortest path…
Manjunath M
  • 588
  • 1
  • 6
  • 30
0
votes
1 answer

Setting XML configuration algorithm for solving VRPTW with JSPRIT library

We have the following XML file (from jsprit library) which sets the algorithm for solving VRPTW. We don't understand how set properly the various parameters to reach a good solution as well as those reported here:…
0
votes
1 answer

Export a jsprit maven project to an executable jar

I'm trying to create an executable .jar from a maven project using eclipse mars. The project itself can be found on https://github.com/jsprit/jsprit So far I have successfully imported jsprit to eclipse as a maven project and I am able to run…
0
votes
1 answer

How can I set adifferent service time for each job / vehicle in JSprit?

Some employees are faster than others doing the services so the service time is different for each one. Its there any way to apply a multiplier on service time for each vehicle? Other more exact approach would be to provide a service time / vehicle…
paperro
  • 11
  • 1
0
votes
1 answer

JobInsertionContent iFacts.getRoute.getStart().getLocation() is null

I'm trying to implement a HardActivityConstraint which chooses services/shipments that lie in a certain radial distance from the vehicle depot. In the constraintStatus method, I am trying to get the start location of the route from the…
Anirban Mandal
  • 161
  • 1
  • 8
0
votes
1 answer

Vehicle Routing with pre-determined number of drivers with different work schedules

I am working on a try and buy service in which I will be having one fixed depot along with pre-defined number of drivers (each with different 6 hour shifts). I have a list of customer orders which I have to deliver at different 1 hour hard windows.…
qube
  • 1
  • 1
  • 2
0
votes
1 answer

dial a ride algorithm implementation using Jsprit

I have a task to implement Dial-A-Ride scenario. As of now, the option available with me is to use Jsprit. I found the following link on the github wiki of Jsprit But I am not able to exactly figure out what "probably you want the shipment to have a…
addicted20015
  • 644
  • 7
  • 16
0
votes
1 answer

Vehicle Routing with Multiple trips (VRPMT)

I am pretty new to jsprit and was wondering if there is an easy way to do vehicle routing with multiple trips. Example: 1 depot with a large supply of packages(~100) weighing from 0-5 pounds and 1 vehicle able to carry 15 lbs at a time. I have a…
Jan
  • 3
  • 1
0
votes
1 answer

Multiple vehicles with no capacities and cost matrix

I'm trying to create a VRP using two vehicles that are of the same type and start at the same location. I want the solution to create a route for each vehicle in the problem in the most cost effective way. I'm using GraphHopper to calculate the road…
0
votes
1 answer

jsprit VRP Related jobs hard Contraint

Is it possible to have two or multiple shipment in same route by hard Contraint. If not, do you know other java libraries that can handle such kind of restrictions? Thank you!
0
votes
2 answers

Using OptaPlanner for a large scale optimization - VRPPD with destination time windows

I am new to transportation optimization and OptaPlanner, but I need to tackle a problem where approximately 1,400 vehicles need to pick up from 9000 locations and deliver to 500 destinations at certain times. My goal is to develop a transportation…
user2952819
  • 111
  • 8