Search…
Vehicle initialization costs
You will learn the basics of using vehicle initialization costs on cloud.
Vehicle initialization costs are used to apply fixed costs for using a vehicle. This can be useful if costs that incur from using a type of vehicle (e.g. truck) are higher than another type (e.g. bike).
These vehicle initialization costs are defined at the vehicle level of the input schema and contribute to the overall value function of a solution.
JSON
1
{
2
"defaults": {
3
"vehicles": {
4
"shift_start": "2021-10-17T09:00:00-06:00",
5
"speed": 10
6
}
7
},
8
"vehicles": [
9
{
10
"id": "vehicle-1",
11
"initialization_cost": 100000
12
}
13
],
14
"stops": [
15
{
16
"id": "location-1",
17
"position": { "lon": -96.8445, "lat": 32.9787 },
18
},
19
{
20
"id": "location-2",
21
"position": { "lon": -96.8694, "lat": 32.9965 },
22
},
23
{
24
"id": "location-3",
25
"position": { "lon": -96.8152, "lat": 33.0203 },
26
}
27
]
28
}
Copied!
Export as PDF
Copy link