Problem with Timewindows

Hey,

the timewindows we specified are not taken into consideration.

We have this request

{
	"algorithm": {
		"problem_type": "min",
		"objective": "completion_time"
	},
	"vehicles": [
		{
			"vehicle_id": "F2F1FFD819E04F1B932F9C5328F4575C",
			"start_address": {
				"location_id": "5E11498180BD4BD48D9C8B0738C4519D",
				"lon": 10.00145,
				"lat": 48.38564
			},
			"end_address": {
				"location_id": "5E11498180BD4BD48D9C8B0738C4519D",
				"lon": 10.00145,
				"lat": 48.38564
			},
			"earliest_start": 28800,
			"latest_end": 64800,
			"break": {
				"earliest": 43200,
				"latest": 46800,
				"duration": 2700
			}
		}
	],
	"services": [
		{
			"id": "ADR_3CA492744E684092B3E4DD0505A7BFFF",
			"name": "3CA492744E684092B3E4DD0505A7BFFF",
			"address": {
				"location_id": "3CA492744E684092B3E4DD0505A7BFFF",
				"lon": 6.90471,
				"lat": 50.90745
			},
			"duration": 900,
			"time_windows": [
				{
					"earliest": 46800,
					"latest": 52200
				}
			],
			"priority": 1
		}
	]
}

and getting this as a result:

{
  "copyrights" : [ "GraphHopper", "OpenStreetMap contributors" ],
  "job_id" : "3decb44f-799d-43c3-9d18-ba97957927cd",
  "status" : "finished",
  "waiting_time_in_queue" : 0,
  "processing_time" : 73,
  "solution" : {
    "costs" : 31510,
    "distance" : 916084,
    "time" : 28117,
    "transport_time" : 28117,
    "completion_time" : 32988,
    "max_operation_time" : 32988,
    "waiting_time" : 1271,
    "no_vehicles" : 1,
    "no_unassigned" : 0,
    "routes" : [ {
      "vehicle_id" : "F2F1FFD819E04F1B932F9C5328F4575C",
      "distance" : 916084,
      "transport_time" : 28117,
      "completion_time" : 32988,
      "waiting_time" : 1271,
      "activities" : [ {
        "type" : "start",
        "location_id" : "5E11498180BD4BD48D9C8B0738C4519D",
        "address" : {
          "location_id" : "5E11498180BD4BD48D9C8B0738C4519D",
          "lat" : 48.38564,
          "lon" : 10.00145
        },
        "end_time" : 28800,
        "distance" : 0,
        "driving_time" : 0,
        "load_after" : [ 0 ]
      }, {
        "type" : "break",
        "id" : "F2F1FFD819E04F1B932F9C5328F4575C_break",
        "location_id" : "3CA492744E684092B3E4DD0505A7BFFF",
        "address" : {
          "location_id" : "3CA492744E684092B3E4DD0505A7BFFF",
          "lat" : 50.90745,
          "lon" : 6.90471
        },
        "arr_time" : 42829,
        "end_time" : 45900,
        "waiting_time" : 371,
        "distance" : 457510,
        "driving_time" : 14029,
        "load_before" : [ 0 ],
        "load_after" : [ 0 ]
      }, {
        "type" : "service",
        "id" : "ADR_3CA492744E684092B3E4DD0505A7BFFF",
        "location_id" : "3CA492744E684092B3E4DD0505A7BFFF",
        "address" : {
          "location_id" : "3CA492744E684092B3E4DD0505A7BFFF",
          "lat" : 50.90745,
          "lon" : 6.90471
        },
        "arr_time" : 45900,
        "end_time" : 47700,
        "waiting_time" : 900,
        "distance" : 457510,
        "driving_time" : 14029,
        "load_before" : [ 0 ],
        "load_after" : [ 0 ]
      }, {
        "type" : "end",
        "location_id" : "5E11498180BD4BD48D9C8B0738C4519D",
        "address" : {
          "location_id" : "5E11498180BD4BD48D9C8B0738C4519D",
          "lat" : 48.38564,
          "lon" : 10.00145
        },
        "arr_time" : 61788,
        "distance" : 916084,
        "driving_time" : 28117,
        "load_before" : [ 0 ]
      } ]
    } ],
    "unassigned" : {
      "services" : [ ],
      "shipments" : [ ],
      "breaks" : [ ]
    }
  }
}

So while the timewindow for the service is between 46800 and 52200 the service get assigned at 45900 to 47700

Do you have an idea why this happens?

Just saw it myself… We have to watch out for the waiting time.

This topic can be closed / deleted. Sorry