Simple
The simplest of examples is just trying to optimize assigning 1 job to 1 resource. The solution is trivial, but it shows
the basic structure of a VRP request.
{
"jobs": [
{
"name": "JOB-1"
}
],
"resources": [
{
"name": "R-1"
}
]
}
{
"score": {
"hardScore": 0,
"mediumScore": 0,
"softScore": -1,
"feasible": true
},
"trips": [
{
"visits": [
{
"arrival": "2023-09-28T08:00:00",
"job": "JOB-1"
}
],
"resource": "R-1",
"date": "2023-09-28",
"departureTime": "2023-09-28T08:00:00",
"waitTime": 0,
"travelTime": 0,
"workTime": 0,
"serviceTime": 0
}
],
"totalTravelTimeInSeconds": 0,
"totalServiceTimeInSeconds": 0,
"workloadFairness": 1,
"status": "SOLVED"
}
Updated 7 months ago