Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.graphhopper:jsprit:1.9.0-beta.17'
}
dependencies {
implementation("com.github.graphhopper:jsprit:1.9.0-beta.17")
}
<dependency>
<groupId>com.github.graphhopper</groupId>
<artifactId>jsprit</artifactId>
<version>1.9.0-beta.17</version>
</dependency>
libraryDependencies += "com.github.graphhopper" % "jsprit" % "1.9.0-beta.17"
:dependencies [[com.github.graphhopper/jsprit "1.9.0-beta.17"]]
jsprit is a java based, open source toolkit for solving rich Traveling Salesman Problems(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
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 ...
The jsprit-project is maintained by GraphHopper.
Please visit docs to learn more.
Please read Notice.md to get to know the direct dependencies of each module.
jsprit develops fast. Look here to get to know whats new.
This software is released under Apache License v2.
Any contribution is welcome. Feel free to improve jsprit and make pull requests. If you want to contribute to jsprit (which would be great), fork the project and build your fork, make changes, run your and jsprit's test cases and make a pull request (see help.github.contribute or stackoverflow.contribute for details).
See who has contributed here.
In the Graphhopper Forum you can discuss jsprit related issues and you will probably get answers to your questions.
You can also use stackoverflow to discuss your issues. Tag it with <em>jsprit</em> then it is easier to keep track of your topic.
For bugs, feature requests or similar use the issue tracker.
If you cannot get help in the mailing list or you just do not want to discuss your topic publicly, contact us via mail