TrueWay VRP

免费增值
Verified
通过 TrueWay Team | 已更新 5 giorni fa | Logistics
人气

8.9 / 10

延迟

1,099ms

服务等级

100%

Health Check

N/A

返回全部教程 (7)

Pickup with capacity constraints

{
  "pickup_orders": [
    {
      "id": "order-1",
      "location": {
        "lat": 36.185851,
        "lng": -115.2064059
      },
      "service_duration": 60,
      "quantity": 5
    },
    {
      "id": "order-2",
      "location": {
        "lat": 36.190831,
        "lng": -115.137368
      },
      "service_duration": 60,
      "quantity": 8
    },
    {
      "id": "order-3",
      "location": {
        "lat": 36.1692548,
        "lng": -115.1312463
      },
      "service_duration": 60,
      "quantity": 10
    },
    {
      "id": "order-4",
      "location": {
        "lat": 36.1664349,
        "lng": -115.1325665
      },
      "service_duration": 60,
      "quantity": 7
    },
    {
      "id": "order-5",
      "location": {
        "lat": 36.15833,
        "lng": -115.1706666
      },
      "service_duration": 60,
      "quantity": 4
    },
    {
      "id": "order-6",
      "location": {
        "lat": 36.1552112,
        "lng": -115.1920527
      },
      "service_duration": 60,
      "quantity": 6
    },
    {
      "id": "order-7",
      "location": {
        "lat": 36.153458,
        "lng": -115.191221
      },
      "service_duration": 60,
      "quantity": 9
    },
    {
      "id": "order-8",
      "location": {
        "lat": 36.168741,
        "lng": -115.211532
      },
      "service_duration": 60,
      "quantity": 12
    },
    {
      "id": "order-9",
      "location": {
        "lat": 36.196647,
        "lng": -115.282064
      },
      "service_duration": 60,
      "quantity": 7
    }
  ],
  "depots": [
    {
      "id": "depot-1",
      "location": {
        "lat": 36.159548,
        "lng": -115.3172336
      }
    }
  ],
  "vehicles": [
    {
      "id": "vehicle-1",
      "start": "depot-1",
      "end": "depot-1",
      "capacity": 20,
      "max_distance": 100000,
      "max_duration": 28800
    },
    {
      "id": "vehicle-2",
      "start": "depot-1",
      "end": "depot-1",
      "capacity": 30,
      "max_distance": 100000,
      "max_duration": 28800
    },
    {
      "id": "vehicle-3",
      "start": "depot-1",
      "end": "depot-1",
      "capacity": 40,
      "max_distance": 100000,
      "max_duration": 28800
    }
  ]
}