You are viewing Nextmv legacy docs. ⚡️ Go to latest docs ⚡️

Features

Vehicle 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.

{
  "defaults": {
    "vehicles": {
      "shift_start": "2021-10-17T09:00:00-06:00",
      "speed": 10
    }
  },
  "vehicles": [
    { 
      "id": "vehicle-1",
      "initialization_cost": 100000
    }
  ],
  "stops": [
    {
      "id": "location-1",
      "position": { "lon": -96.8445, "lat": 32.9787 },
    },
    {
      "id": "location-2",
      "position": { "lon": -96.8694, "lat": 32.9965 },
    },
    {
      "id": "location-3",
      "position": { "lon": -96.8152, "lat": 33.0203 },
    }
  ]
}
Copy

Page last updated