Contains the explanation, once solved.
Api Key based authentication (apikey)
Status
Explains the conflicts of a certain routing solution and the unresolved constraints.
Score of the solution.
Conflicts in the solution
{
"constraint": "TIME_WINDOW_CONFLICT",
"score": "-1000",
"job": "Job-1",
"resource": "vehicle-1"
}Unresolved constraints in the solution
{
"constraint": "TRAVEL_TIME",
"score": "-1500"
}When options.explanation.enabled is set to true, this field will contain the alternatives for the solution.The key is the job name and the value is the list of assignments. Each assignment contains the resource, the date, and the score. In this way, you can check the impact of the alternative on the score.
{
"Job-1": [
{
"job": "Job-1",
"resource": "vehicle-2",
"suggestedArrival": "2023-01-13T09:30:00Z",
"latestArrival": "2023-01-13T10:00:00Z",
"executedAfter": "Job-0",
"score": {
"hard": 0,
"soft": -1500,
"feasible": true
}
}
]
}