mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
add examples
This commit is contained in:
parent
403316143e
commit
f7e6d6b87f
2 changed files with 124 additions and 2 deletions
|
|
@ -87,8 +87,6 @@ public class SimplePickupAndDeliveryExample {
|
|||
vrpBuilder.addVehicle(vehicle);
|
||||
vrpBuilder.addService(pickup1).addService(pickup2).addService(delivery1).addService(delivery2);
|
||||
|
||||
//
|
||||
vrpBuilder.addProblemConstraint(Constraint.DELIVERIES_FIRST);
|
||||
|
||||
VehicleRoutingProblem problem = vrpBuilder.build();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue