1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

create and add docs

This commit is contained in:
oblonski 2016-09-01 12:25:57 +02:00
parent 432ec2fdd3
commit af1ef088cd
8 changed files with 70 additions and 70 deletions

View file

@ -10,7 +10,7 @@ It is based on the problem instance P08 defined by
Please visit for example <a href="http://neo.lcc.uma.es/vrp/vrp-flavors/multiple-depot-vrp/" target="_blank">this site</a> to get more information on Multiple Depot VRP. Please visit for example <a href="http://neo.lcc.uma.es/vrp/vrp-flavors/multiple-depot-vrp/" target="_blank">this site</a> to get more information on Multiple Depot VRP.
Before you start, [add the latest release to your pom](https://github.com/jsprit/jsprit/wiki/Add-latest-release-to-your-pom). Additionally, create an output folder in your project directory. Either do it manually or add the following lines to your code: Before you start, [add the latest release to your pom](Add-latest-release-to-your-pom.md). Additionally, create an output folder in your project directory. Either do it manually or add the following lines to your code:
<pre><code>File dir = new File("output"); <pre><code>File dir = new File("output");
// if the directory does not exist, create it // if the directory does not exist, create it
if (!dir.exists()){ if (!dir.exists()){

View file

@ -1,25 +1,25 @@
#### [Multiple Depot VRP](https://github.com/jsprit/jsprit/wiki/Multiple-Depot-VRP) #### [Multiple Depot VRP](Multiple-Depot-VRP.md)
- setting up a VRP with Multiple Depots - setting up a VRP with Multiple Depots
- defining depots, vehicles and their types - defining depots, vehicles and their types
- dealing with finite fleet size - dealing with finite fleet size
#### [VRP with time windows](https://github.com/jsprit/jsprit/wiki/VRP-with-time-windows-example) #### [VRP with time windows](VRP-with-time-windows-example.md)
- defining and creating vehicles and their types - defining and creating vehicles and their types
- defining services with time-windows and service times - defining services with time-windows and service times
- defining a problem with infinite fleet-size - defining a problem with infinite fleet-size
- reading, creating and running an algorithm - reading, creating and running an algorithm
#### [VRP with backhauls](https://github.com/jsprit/jsprit/wiki/VRP-with-backhauls-example) #### [VRP with backhauls](VRP-with-backhauls-example.md)
- defining and creating pickup and deliveries - defining and creating pickup and deliveries
- defining backhaul constraint - defining backhaul constraint
#### [VRP with backhauls (with mixed pickup and deliveries)](https://github.com/jsprit/jsprit/wiki/VRP-with-depot-bounded-pickups-and-deliveries) #### [VRP with backhauls (with mixed pickup and deliveries)](VRP-with-depot-bounded-pickups-and-deliveries.md)
- defining and creating depot-bounded pickups and deliveries - defining and creating depot-bounded pickups and deliveries
#### [VRP with pickup and delivieries](https://github.com/jsprit/jsprit/wiki/VRP-with-pickups-and-deliveries) #### [VRP with pickup and delivieries](VRP-with-pickups-and-deliveries.md)
- defining and creating pickups and deliveries - defining and creating pickups and deliveries
#### [VRP with heterogeneous fleet](https://github.com/jsprit/jsprit/wiki/Heterogeneous-Fleet) #### [VRP with heterogeneous fleet](Heterogeneous-Fleet.md)
- illustrating different problem types, - illustrating different problem types,
- specifying heterogeneous fleet with its vehicles and vehicle-types, - specifying heterogeneous fleet with its vehicles and vehicle-types,
- specifying the algorithm, - specifying the algorithm,

View file

@ -10,7 +10,7 @@ It is based on the problem instance P01 defined by
Please visit for example <a href="http://neo.lcc.uma.es/vrp/vrp-flavors/multiple-depot-vrp/" target="_blank">this site</a> to get more information on Multiple Depot VRP. Please visit for example <a href="http://neo.lcc.uma.es/vrp/vrp-flavors/multiple-depot-vrp/" target="_blank">this site</a> to get more information on Multiple Depot VRP.
Before you start, [add the latest release to your pom](https://github.com/jsprit/jsprit/wiki/Add-latest-release-to-your-pom). Additionally, create an output folder in your project directory. Either do it manually or add the following lines to your code (even this obfuscates the code-example a bit): Before you start, [add the latest release to your pom](Add-latest-release-to-your-pom.md). Additionally, create an output folder in your project directory. Either do it manually or add the following lines to your code (even this obfuscates the code-example a bit):
<pre><code>File dir = new File("output"); <pre><code>File dir = new File("output");
// if the directory does not exist, create it // if the directory does not exist, create it
if (!dir.exists()){ if (!dir.exists()){

View file

@ -4,7 +4,7 @@ This example covers
- reading and running a predefined algorithm, - reading and running a predefined algorithm,
- plotting the solution. - plotting the solution.
Make sure, your pom is prepared (see [Add the latest snapshot to your pom](https://github.com/jsprit/jsprit/wiki/Add-latest-snapshot-to-your-pom)). Additionally, create an output folder in your project directory. Either do it manually or add the following lines to your code (even this obfuscates the code-example a bit): Make sure, your pom is prepared (see [Add the latest snapshot to your pom](Add-latest-snapshot-to-your-pom.md)). Additionally, create an output folder in your project directory. Either do it manually or add the following lines to your code (even this obfuscates the code-example a bit):
<pre><code>File dir = new File("output"); <pre><code>File dir = new File("output");
// if the directory does not exist, create it // if the directory does not exist, create it
if (!dir.exists()){ if (!dir.exists()){

View file

@ -8,7 +8,7 @@ This example covers
- plotting the solution, - plotting the solution,
- printing solution stats. - printing solution stats.
[Add the latest release to your pom](https://github.com/jsprit/jsprit/wiki/Add-latest-release-to-your-pom). [Add the latest release to your pom](Add-latest-release-to-your-pom.md).
Assume the following problem. We can employ one vehicle(-type) located at (10,10) with one capacity dimension, e.g. weight, and a capacity value of 2 to deliver four customers located at [(5,7),(5,13),(15,7),(15,13)], each with a demand that has a weight of 1. All employed vehicles need to return to their start-locations. Setting up this problem and solving it is as simple as coding the following lines: Assume the following problem. We can employ one vehicle(-type) located at (10,10) with one capacity dimension, e.g. weight, and a capacity value of 2 to deliver four customers located at [(5,7),(5,13),(15,7),(15,13)], each with a demand that has a weight of 1. All employed vehicles need to return to their start-locations. Setting up this problem and solving it is as simple as coding the following lines:

View file

@ -1,4 +1,4 @@
This example assumes that you know [SimpleExample](https://github.com/jsprit/jsprit/wiki/Simple-Example) and covers: This example assumes that you know [SimpleExample](Simple-Example.md) and covers:
- defining pickups and deliveries - defining pickups and deliveries
<strong>Note</strong> that the VRP with Backhauls with mixed pickups and deliveries described here assumes that all deliveries are loaded in the depot at the beginning of a tour and all pickups are unloaded in the depot as well (at the end of the tour). En route pickup and deliveries such that a shipment is loaded at location A and unloaded again at location B within the same route (where A and B are unequal to the depot location) is covered [here](https://github.com/jsprit/jsprit/wiki/VRP-with-pickups-and-deliveries/). <strong>Note</strong> that the VRP with Backhauls with mixed pickups and deliveries described here assumes that all deliveries are loaded in the depot at the beginning of a tour and all pickups are unloaded in the depot as well (at the end of the tour). En route pickup and deliveries such that a shipment is loaded at location A and unloaded again at location B within the same route (where A and B are unequal to the depot location) is covered [here](https://github.com/jsprit/jsprit/wiki/VRP-with-pickups-and-deliveries/).

View file

@ -4,7 +4,7 @@ This example covers:
- defining a problem with infinite fleet-size - defining a problem with infinite fleet-size
- reading, creating and running an algorithm - reading, creating and running an algorithm
Before you start, [add the latest release to your pom](https://github.com/jsprit/jsprit/wiki/Add-latest-release-to-your-pom). Additionally, create an output folder in your project directory. Either do it manually or add the following lines to your code (even this obfuscates the code-example a bit): Before you start, [add the latest release to your pom](Add-latest-release-to-your-pom.md). Additionally, create an output folder in your project directory. Either do it manually or add the following lines to your code (even this obfuscates the code-example a bit):
<pre><code>File dir = new File("output"); <pre><code>File dir = new File("output");
// if the directory does not exist, create it // if the directory does not exist, create it
if (!dir.exists()){ if (!dir.exists()){

View file

@ -1,4 +1,4 @@
This example assumes that you know [SimpleExample](https://github.com/jsprit/jsprit/wiki/Simple-Example) and covers: This example assumes that you know [SimpleExample](Simple-Example.md) and covers:
- defining shipments - defining shipments
The only difference compared to SimpleExample is the creation of shipments instead of services. However, you define them much like you define services: The only difference compared to SimpleExample is the creation of shipments instead of services. However, you define them much like you define services: