4.1 KiB
jsprit
jsprit is a java based, open source toolkit for solving rich traveling salesman (TSP) and vehicle routing problems (VRP). It is lightweight, flexible and easy-to-use, and based on a single all-purpose meta-heuristic currently solving
- Capacitated VRP
- Multiple Depot VRP
- VRP with Time Windows
- VRP with Backhauls
- VRP with Pickups and Deliveries
- VRP with Heterogeneous Fleet
- Time-dependent VRP
- Traveling Salesman Problem
- Dial-a-Ride Problem
- Various combination of these types
Setting up the problem, defining additional constraints, modifying the algorithms and visualising the discovered solutions is as easy and handy as reading classical VRP instances to benchmark your algorithm. It is fit for change and extension due to a modular design and a comprehensive set of unit and integration-tests. More features ...
##Documentation
Please visit jsprit-wiki to learn more.
##License This software is released under LGPL.
##Get Started
####You know Maven and have an IDE
Add the latest snapshot (i.e. head of development) to your pom.
Add the latest release to your pom.
####If not and you want to use Maven
the following documentation is recommended:
Here you learn to setup the Java environment and an Integrated Development Environment (IDE). In the subsection Adding Jars to your Project you learn to integrate external libraries in your project. Just copy/paste the above jsprit releases/snapshots to your pom.xml instead of the GeoTools-artifacts.
If you do not want Maven
to manage your dependencies, go to snapshot-jars or realease-jars to download jsprit-binaries directly. Just click on the jar-file you want to download and use the 'Raw'-button to actually download it. Put the jars into your classpath. Note that you then need to put all dependencies jsprit relies on manually to your classpath as well.
##Contributors Pierre-David Bélanger
##About The jsprit-project is created and maintained by Stefan Schröder. It is motivated by two issues.
First, you can find vehicle routing problems everywhere transportation and logistics. Just think of pizza services, parcel services, bicycle messengers, craftsmen, passenger transport on-demand and numerous types of other shipping companies. This probably explains why there is an almost endless list of papers and algorithms to tackle these problems, BUT there are (as far as I know) only a very few open source implementations, and there are even fewer projects that can deal with real world problems that usually have many side-constraints.
Second, it is motivated by my PhD-project at KIT where I apply vehicle routing algorithms to solve behavioural models of freight agents to assess (freight) transport policy measures.
It is mainly inspired by my research group at KIT-ECON, and by a great open-source project called MATSim and its developers.
If you have questions or if you use jsprit, it would be great you give feedback and let me know your experience: