Hi,
We’ve found an interesting case where providing curbside causes the driving_time to increase a lot higher than expected.
Swapping the curbside of fCqIQFciILD1eilVU2Qm
from any
to left
causes the driving time to be increased by ~30 minutes, even though the driving distance only increases by ~100m.
Here is the optimization request:
{
"configuration": {
"routing": {
"calc_points": true,
"consider_traffic": false,
"fail_fast": true,
"network_data_provider": "openstreetmap",
"return_snapped_waypoints": true,
"snap_preventions": [
"motorway",
"tunnel",
"ferry"
]
}
},
"objectives": [
{
"type": "min",
"value": "completion_time"
}
],
"relations": [],
"services": [
{
"address": {
"curbside": "any",
"lat": -33.9108078,
"location_id": "hdmMM9xdPoOmyYZrIQQQ",
"lon": 151.210465,
"name": "340/7 Letitia Street",
"street_hint": "340/7 Letitia St"
},
"allowed_vehicles": [],
"duration": 360,
"id": "hdmMM9xdPoOmyYZrIQQQ",
"name": "340/7 Letitia Street",
"priority": 2,
"time_windows": []
},
{
"address": {
"curbside": "left",
"lat": -33.9095491,
"location_id": "fCqIQFciILD1eilVU2Qm",
"lon": 151.2119761,
"name": "629/5 Bindon place",
"street_hint": "629/5 Bindon Pl"
},
"allowed_vehicles": [],
"duration": 360,
"id": "fCqIQFciILD1eilVU2Qm",
"name": "629/5 Bindon place",
"priority": 2,
"time_windows": []
}
],
"shipments": [],
"vehicle_types": [
{
"profile": "car",
"service_time_factor": 1,
"speed_factor": 1,
"type_id": "vhc_iiZd8BWoOVhdotLKz08Tdc4tjv92"
}
],
"vehicles": [
{
"earliest_start": 1724888289,
"return_to_depot": false,
"start_address": {
"curbside": "any",
"lat": -33.9358304,
"location_id": "1yxunLKL",
"lon": 151.2078147
},
"type_id": "vhc_iiZd8BWoOVhdotLKz08Tdc4tjv92",
"vehicle_id": "iiZd8BWoOVhdotLKz08Tdc4tjv92"
}
]
}