Skip to content

Instantly share code, notes, and snippets.

@zuper-tom
Created June 14, 2016 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zuper-tom/b19064a11029538a97104b89dd240be2 to your computer and use it in GitHub Desktop.
Save zuper-tom/b19064a11029538a97104b89dd240be2 to your computer and use it in GitHub Desktop.
{
"algorithm": {
"problem_type": "min-max",
"objective": "completion_time"
},
"vehicles": [
{
"return_to_depot": false,
"vehicle_id": "6626360537645056",
"earliest_start": 28800,
"latest_end": 63900,
"start_address": {
"location_id": "6626360537645056-address",
"lat": 48.1869141,
"lon": 16.2591354
}
},
{
"return_to_depot": false,
"vehicle_id": "5949325012107264",
"earliest_start": 30600,
"latest_end": 47700,
"start_address": {
"location_id": "5949325012107264-address",
"lat": 48.1858242,
"lon": 16.3510437
}
},
{
"return_to_depot": false,
"vehicle_id": "6280615938752512",
"earliest_start": 32400,
"latest_end": 33300,
"start_address": {
"location_id": "6280615938752512-address",
"lat": 48.1855988,
"lon": 16.3564563
}
},
{
"return_to_depot": false,
"vehicle_id": "5156898915483648",
"earliest_start": 32400,
"latest_end": 34200,
"start_address": {
"location_id": "5156898915483648-address",
"lat": 48.2244842,
"lon": 16.3148232
}
},
{
"return_to_depot": false,
"vehicle_id": "6280615938752512",
"earliest_start": 47700,
"latest_end": 75600,
"start_address": {
"location_id": "6280615938752512-address",
"lat": 48.1855988,
"lon": 16.3564563
}
},
{
"return_to_depot": false,
"vehicle_id": "6117108781940736",
"earliest_start": 57600,
"latest_end": 75600,
"start_address": {
"location_id": "6117108781940736-address",
"lat": 48.14968469999999,
"lon": 16.3874363
}
}
],
"services": [
{
"id": "53970117-pickup",
"name": "4199",
"type": "pickup",
"allowed_vehicles": [
6280615938752512
],
"address": {
"location_id": "53970117-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "53970117-delivery",
"name": "4199",
"type": "delivery",
"allowed_vehicles": [
6280615938752512
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "53970117-delivery-address",
"lat": 48.2198128,
"lon": 16.4833996
}
},
{
"id": "54850047-pickup",
"name": "4184",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "54850047-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "54850047-pickup",
"name": "4184",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "54850047-pickup-address",
"lat": 48.17995,
"lon": 16.32754
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "54850047-delivery",
"name": "4184",
"type": "delivery",
"allowed_vehicles": [
5949325012107264
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "54850047-delivery-address",
"lat": 48.1967187,
"lon": 16.3114484
}
},
{
"id": "54910025-pickup",
"name": "4231",
"type": "pickup",
"allowed_vehicles": [
6280615938752512
],
"address": {
"location_id": "54910025-pickup-address"
},
"time_windows": [
{
"earliest": 46800,
"latest": 54000
}
],
"duration": 300
},
{
"id": "54910025-pickup",
"name": "4231",
"type": "pickup",
"allowed_vehicles": [
6280615938752512
],
"address": {
"location_id": "54910025-pickup-address",
"lat": 48.16669,
"lon": 16.36991
},
"time_windows": [
{
"earliest": 46800,
"latest": 54000
}
],
"duration": 300
},
{
"id": "54910025-delivery",
"name": "4231",
"type": "delivery",
"allowed_vehicles": [
6280615938752512
],
"time_windows": [
{
"earliest": 46800,
"latest": 54000
}
],
"duration": 600,
"address": {
"location_id": "54910025-delivery-address",
"lat": 48.1810223,
"lon": 16.4139574
}
},
{
"id": "55840093-pickup",
"name": "4204",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "55840093-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "55840093-pickup",
"name": "4204",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "55840093-pickup-address",
"lat": 48.17995,
"lon": 16.32754
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "55840093-delivery",
"name": "4204",
"type": "delivery",
"allowed_vehicles": [
5949325012107264
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "55840093-delivery-address",
"lat": 48.1497663,
"lon": 16.3459496
}
},
{
"id": "55950035-pickup",
"name": "4181",
"type": "pickup",
"allowed_vehicles": [
6626360537645056
],
"address": {
"location_id": "55950035-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "55950035-pickup",
"name": "4181",
"type": "pickup",
"allowed_vehicles": [
6626360537645056
],
"address": {
"location_id": "55950035-pickup-address",
"lat": 48.1768,
"lon": 16.39545
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "55950035-delivery",
"name": "4181",
"type": "delivery",
"allowed_vehicles": [
6626360537645056
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "55950035-delivery-address",
"lat": 48.1852363,
"lon": 16.3636559
}
},
{
"id": "55950051-pickup",
"name": "4202",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "55950051-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "55950051-pickup",
"name": "4202",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "55950051-pickup-address",
"lat": 48.17995,
"lon": 16.32754
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "55950051-delivery",
"name": "4202",
"type": "delivery",
"allowed_vehicles": [
5949325012107264
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "55950051-delivery-address",
"lat": 48.1497663,
"lon": 16.3459496
}
},
{
"id": "57850019-pickup",
"name": "4182",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "57850019-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "57850019-pickup",
"name": "4182",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "57850019-pickup-address",
"lat": 48.17995,
"lon": 16.32754
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "57850019-delivery",
"name": "4182",
"type": "delivery",
"allowed_vehicles": [
5949325012107264
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "57850019-delivery-address",
"lat": 48.2026625,
"lon": 16.3305563
}
},
{
"id": "58820002-pickup",
"name": "4191",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "58820002-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "58820002-pickup",
"name": "4191",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "58820002-pickup-address",
"lat": 48.25161629999999,
"lon": 16.40552589999993
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "58820002-delivery",
"name": "4191",
"type": "delivery",
"allowed_vehicles": [
5949325012107264
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "58820002-delivery-address",
"lat": 48.2290508,
"lon": 16.352328
}
},
{
"id": "59710072-pickup",
"name": "4196",
"type": "pickup",
"allowed_vehicles": [
6626360537645056
],
"address": {
"location_id": "59710072-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "59710072-pickup",
"name": "4196",
"type": "pickup",
"allowed_vehicles": [
6626360537645056
],
"address": {
"location_id": "59710072-pickup-address",
"lat": 48.1768,
"lon": 16.39545
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "59710072-delivery",
"name": "4196",
"type": "delivery",
"allowed_vehicles": [
6626360537645056
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "59710072-delivery-address",
"lat": 52.6390458,
"lon": 7.0984294
}
},
{
"id": "60090060-pickup",
"name": "4171",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "60090060-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "60090060-pickup",
"name": "4171",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "60090060-pickup-address",
"lat": 48.17995,
"lon": 16.32754
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "60090060-delivery",
"name": "4171",
"type": "delivery",
"allowed_vehicles": [
5949325012107264
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "60090060-delivery-address",
"lat": 48.2326349,
"lon": 16.3227667
}
},
{
"id": "63040052-pickup",
"name": "4166",
"type": "pickup",
"allowed_vehicles": [
6626360537645056
],
"address": {
"location_id": "63040052-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "63040052-delivery",
"name": "4166",
"type": "delivery",
"allowed_vehicles": [
6626360537645056
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "63040052-delivery-address",
"lat": 48.1951683,
"lon": 16.3655048
}
},
{
"id": "63040064-pickup",
"name": "4187",
"type": "pickup",
"allowed_vehicles": [
6626360537645056
],
"address": {
"location_id": "63040064-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "63040064-pickup",
"name": "4187",
"type": "pickup",
"allowed_vehicles": [
6626360537645056
],
"address": {
"location_id": "63040064-pickup-address",
"lat": 48.1768,
"lon": 16.39545
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "63040064-delivery",
"name": "4187",
"type": "delivery",
"allowed_vehicles": [
6626360537645056
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "63040064-delivery-address",
"lat": 48.2165999,
"lon": 16.3861181
}
},
{
"id": "63040065-pickup",
"name": "4188",
"type": "pickup",
"allowed_vehicles": [
6626360537645056
],
"address": {
"location_id": "63040065-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "63040065-pickup",
"name": "4188",
"type": "pickup",
"allowed_vehicles": [
6626360537645056
],
"address": {
"location_id": "63040065-pickup-address",
"lat": 48.1768,
"lon": 16.39545
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "63040065-delivery",
"name": "4188",
"type": "delivery",
"allowed_vehicles": [
6626360537645056
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "63040065-delivery-address",
"lat": 48.2177494,
"lon": 16.4830666
}
},
{
"id": "60140051-pickup",
"name": "4203",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "60140051-pickup-address"
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "60140051-pickup",
"name": "4203",
"type": "pickup",
"allowed_vehicles": [
5949325012107264
],
"address": {
"location_id": "60140051-pickup-address",
"lat": 48.17995,
"lon": 16.32754
},
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 300
},
{
"id": "60140051-delivery",
"name": "4203",
"type": "delivery",
"allowed_vehicles": [
5949325012107264
],
"time_windows": [
{
"earliest": 32400,
"latest": 39600
}
],
"duration": 600,
"address": {
"location_id": "60140051-delivery-address",
"lat": 48.1497663,
"lon": 16.3459496
}
}
],
"relations": [
{
"type": "in_same_route",
"ids": [
"53970117-pickup",
"53970117-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"53970117-pickup",
"53970117-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"54850047-pickup",
"54850047-pickup",
"54850047-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"54850047-pickup",
"54850047-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"54910025-pickup",
"54910025-pickup",
"54910025-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"54910025-pickup",
"54910025-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"55840093-pickup",
"55840093-pickup",
"55840093-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"55840093-pickup",
"55840093-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"55950035-pickup",
"55950035-pickup",
"55950035-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"55950035-pickup",
"55950035-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"55950051-pickup",
"55950051-pickup",
"55950051-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"55950051-pickup",
"55950051-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"57850019-pickup",
"57850019-pickup",
"57850019-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"57850019-pickup",
"57850019-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"58820002-pickup",
"58820002-pickup",
"58820002-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"58820002-pickup",
"58820002-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"59710072-pickup",
"59710072-pickup",
"59710072-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"59710072-pickup",
"59710072-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"60090060-pickup",
"60090060-pickup",
"60090060-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"60090060-pickup",
"60090060-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"63040052-pickup",
"63040052-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"63040052-pickup",
"63040052-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"63040064-pickup",
"63040064-pickup",
"63040064-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"63040064-pickup",
"63040064-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"63040065-pickup",
"63040065-pickup",
"63040065-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"63040065-pickup",
"63040065-delivery"
]
},
{
"type": "in_same_route",
"ids": [
"60140051-pickup",
"60140051-pickup",
"60140051-delivery"
]
},
{
"type": "in_sequence",
"ids": [
"60140051-pickup",
"60140051-delivery"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment