Skip to content

Instantly share code, notes, and snippets.

@oblonski
Created April 20, 2020 08:23
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 oblonski/b5d00cbedccb639a5599ced7d56bc10e to your computer and use it in GitHub Desktop.
Save oblonski/b5d00cbedccb639a5599ced7d56bc10e to your computer and use it in GitHub Desktop.
{
"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