Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"objectives": [
{
"type": "min",
"value": "completion_time"
}
],
"vehicle_types": [
{
"type_id": "myType",
"capacity": [
10
]
}
],
"vehicles": [
{
"vehicle_id": "vehicle1",
"type_id": "myType",
"start_address": {
"location_id": "v1_startLoc",
"lon": 9.797058,
"lat": 52.375599
},
"earliest_start": 25200
}
],
"services": [
{
"id": "break",
"name": "driver break",
"duration": 3600,
"time_windows": [
{
"earliest": 54000,
"latest": 58000
}
]
},
{
"id": "phone-call",
"name": "phone call",
"duration": 1800,
"time_windows": [
{
"earliest": 36000,
"latest": 38000
}
]
},
{
"id": "b2",
"name": "drink_cola_in_berlin",
"address": {
"location_id": "loc_b2",
"lon": 13.354568,
"lat": 52.514549
},
"size": [
2
]
},
{
"id": "b3",
"name": "drink_juice_in_ulm",
"address": {
"location_id": "loc_b3",
"lon": 9.990692,
"lat": 48.398209
}
},
{
"id": "b4",
"name": "drink_nothing_in_dresden",
"address": {
"location_id": "loc_b4",
"lon": 13.738403,
"lat": 51.050028
}
},
{
"id": "b5",
"name": "drink_wine_in_kassel",
"address": {
"location_id": "loc_b5",
"lon": 9.486694,
"lat": 51.31173
}
},
{
"id": "b6",
"name": "drink_beer_in_dortmund",
"address": {
"location_id": "loc_b6",
"lon": 7.500916,
"lat": 51.508742
}
},
{
"id": "b7",
"name": "drink_water_in_karlsruhe",
"address": {
"location_id": "loc_b7",
"lon": 8.3858333,
"lat": 49.0047222
}
},
{
"id": "b8",
"name": "drink_fish_in_bremen",
"address": {
"location_id": "loc_b8",
"lon": 8.822021,
"lat": 53.041213
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.