Route Optimization API란 무엇인가요?
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Route Optimization은 단일 또는 여러 차량과 해당 경유지에 대해 최적화된 경로 계획을 생성하는 Google Maps Platform API입니다.
Route Optimization API를 사용하는 이유
경로 계획을 통해 운송 차량의 운영 효율성을 개선하세요. 비용, 시간 제약, 고객 요구사항, 기타 비즈니스 목표에 맞게 경로를 조정할 수 있습니다. 예를 들면 다음과 같습니다.
- 물류 회사는 시간 효율성, 비용 절감, 정시 배송, 운전자 및 최종 고객 만족도를 위해 배송을 최적화하면서 다음 날 배송을 예약하여 시간과 리소스를 절약할 수 있습니다.
- 주문형 음식 배달 회사는 신규 주문을 픽업할 최적의 활성 운전자를 선택하고 기존 경로에 삽입하여 배차 프로세스를 더 빠르고 효과적으로 만들 수 있습니다.
- 현장 서비스 제공업체는 약속에 제공업체를 할당하고 두 개 이상의 약속에 대한 최적의 정류장 순서를 찾으면서도 문제가 발생할 때 경로를 다시 최적화하여 효율성과 고객 만족도를 개선할 수 있습니다.
Route Optimization API로 할 수 있는 작업
Route Optimization API를 사용하여 자체 목표 및 제약 조건에 따라 차량의 경로 및 작업 할당을 최적화하세요.
- 목표: 비즈니스 목표입니다.
- 제약 조건: 물리적 애셋의 제한사항입니다.
목표
|
제약조건
|
이동 효율성
|
거리, 목적지까지의 시간과 같은 매개변수를 사용하여 기본 이동 경로를 최적화합니다.
|
운전기사 근무 시간
|
근무 시간과 휴식 시간을 기준으로 운전자에게 경로를 할당합니다.
|
정시 도착
|
특정 시간 전에 도착하도록 수령, 배송 또는 서비스의 우선순위를 지정합니다.
|
차량 용량
|
운반할 수 있는 적재량에 따라 차량을 작업에 할당합니다.
|
차량 사용 비용
|
작업을 수행하는 데 필요한 차량 수를 최소화합니다.
|
기간
|
특정 시간대에 배송 또는 작업이 도착하도록 합니다.
|
부하 분산
|
차량 및 인력에 작업을 공정하게 분배합니다.
|
종속 항목 및 호환성
|
차량 유형, 작업 순서 또는 배송 조건에 따라 차량 경로를 최적화합니다.
|
Route Optimization API 작동 방식
Route Optimization API는 REST, gRPC, 클라이언트 라이브러리를 사용하여 액세스할 수 있습니다.
요청 본문
요청 본문은 배송 및 배송에 사용할 수 있는 차량에 관한 정보를 허용합니다. 여기에는 다음과 같은 세부정보가 포함됩니다.
- 수령 및 배송 위치
- 기간
- 배송물 크기 및 무게
- 차량 용량
응답 본문
응답 본문은 다음을 포함하는 자세한 경로 계획을 제공합니다.
요청 메시지 구성에서 요청 구성에 대해 자세히 알아보고 응답 해석에서 응답 해석에 대해 자세히 알아보세요.
리소스
다음 표에는 경로 최적화 API를 통해 사용할 수 있는 리소스와 반환되는 데이터가 요약되어 있습니다.
데이터 리소스
|
설명 및 반환된 데이터
|
반환 형식
|
optimizeTours
|
이 메서드는 방문 및 측정항목 세부정보가 포함된 최적화된 경로를 반환합니다.
|
JSON 또는 gRPC proto
|
batchOptimizeTours
|
이 메서드는 처리가 완료되는 시점을 나타내는 장기 실행 작업의 리소스 이름을 반환합니다.
|
JSON 또는 gRPC proto
|
Route Optimization API 사용 방법
사용 가능한 클라이언트 라이브러리
Route Optimization API에 사용할 수 있는 클라이언트 라이브러리 목록은 클라이언트 라이브러리를 참고하세요.
다음 단계
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-10(UTC)
[null,null,["최종 업데이트: 2025-08-10(UTC)"],[[["\u003cp\u003eRoute Optimization API leverages Google Maps data and custom parameters to generate efficient routes for fleets, considering factors like time, cost, and vehicle capacity.\u003c/p\u003e\n"],["\u003cp\u003eBusinesses like logistics companies, on-demand delivery services, and field service providers can use the API to automate dispatch, optimize delivery routes, and improve overall operational efficiency.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers synchronous and asynchronous options for route calculation and provides detailed route plans with assigned tasks, vehicle routes, and performance metrics.\u003c/p\u003e\n"],["\u003cp\u003eUsers can define objectives such as travel efficiency, on-time arrival, and load balancing, along with constraints like driver work hours and vehicle capacity for tailored optimization.\u003c/p\u003e\n"],["\u003cp\u003eTo begin, set up a Google Cloud project, construct a basic request, and explore advanced scenarios to create customized route optimization solutions.\u003c/p\u003e\n"]]],["The Route Optimization API optimizes routes for single or multiple vehicles, enhancing operational efficiency. Users define business objectives (e.g., travel efficiency, on-time arrival) and constraints (e.g., driver hours, vehicle capacity) to guide the optimization. The API accepts shipment and vehicle details, such as locations, time windows, and capacity. It returns a detailed route plan with stop sequences and assigned shipments via JSON or gRPC. Users can construct requests and interpret responses using provided guidelines and resources.\n"],null,["# What is the Route Optimization API\n\n**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n\nRoute Optimization is a Google Maps Platform API that generates optimized route\nplans for single or multiple vehicles and their stops.\n\nWhy use the Route Optimization API\n----------------------------------\n\nImprove the operational efficiency of your transportation fleet with the help of\nroute plans. Adjust your routes for cost, time constraints, customer needs, and\nany other business objective. For example:\n\n- A **logistics company** can save time and resources by scheduling next-day shipments while optimizing the deliveries for time efficiency, cost saving, on-time delivery, and driver and end customer satisfaction.\n- An **on-demand food delivery** company can make their dispatch process quicker and more effective by choosing the best active driver to pick up new orders and inserting them in their existing routes.\n- A **field service provider** can improve their efficiency and customer satisfaction by assigning providers to appointments and finding the optimal stop sequence for more than one appointment, all while re-optimizing routes when challenges come up.\n\nWhat you can do with the Route Optimization API\n-----------------------------------------------\n\nUse Route Optimization API to optimize your fleet's routes and tasks\nassignments based on your own *objectives* and\n*constraints*.\n\n- **Objectives:** Your business goals.\n- **Constraints:** The limitations of your physical assets.\n\n| Objectives || Constraints ||\n|-----------------------|--------------------------------------------------------------------------------------|------------------------------------|---------------------------------------------------------------------------------------------------|\n| **Travel efficiency** | Optimize basic travel routes using parameters like distance and time-to-destination. | **Drivers work hours** | Assign routes to drivers based on their work hours and breaks. |\n| **On-time arrival** | Prioritize a pickup, delivery, or service to arrive before a specific time. | **Vehicle capacity** | Assign a vehicle to a task based on the amount of load it can carry. |\n| **Vehicle use cost** | Minimize the number of vehicles required to perform a task. | **Time windows** | Have a shipment or task arrive in a specific time slot. |\n| **Load balancing** | Fairly distribute tasks across a fleet of vehicles and personnel. | **Dependencies and compatibility** | Optimize your fleet routes based on your types of vehicle, task sequence, or shipment conditions. |\n\nHow the Route Optimization API works\n------------------------------------\n\nThe Route Optimization API can be accessed using [REST](/maps/documentation/route-optimization/reference/rest/v1/operations), [gRPC](/maps/documentation/route-optimization/reference/rpc), and\n[client libraries](/maps/documentation/route-optimization/client-libraries).\n\n### Request body\n\nThe request body accepts information about your shipments and the vehicles\navailable to deliver them. This includes details such as:\n\n- Pickup and delivery locations\n- Time windows\n- Shipment size and weight\n- Vehicle capacity\n\n### Response body\n\nThe response body provides a detailed route plan which includes:\n\n- Sequence of stops\n- Assigned shipments\n- Overall metrics\n\nRead more details about constructing a request in [Construct a Request\nMessage](/maps/documentation/route-optimization/construct-request)\nand interpreting a response in [Interpret the\nResponse](/maps/documentation/route-optimization/interpret-response).\n\n### Resources\n\nThe following table summarizes the resources available through the\nRoute Optimization API along with the data it returns.\n\n| **Data resources** | **Description and data returned** | **Return format** |\n|----------------------|-----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `optimizeTours` | This method returns an optimized route, with details of the visits and metrics. | [JSON](/maps/documentation/route-optimization/reference/rest/v1/projects/optimizeTours) or [gRPC proto](/maps/documentation/route-optimization/reference/rpc/google.maps.routeoptimization.v1#google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours) |\n| `batchOptimizeTours` | This method returns the resource name of a Long Running Operation, which indicates when processing is complete. | [JSON](/maps/documentation/route-optimization/reference/rest/v1/projects/batchOptimizeTours) or [gRPC proto](/maps/documentation/route-optimization/reference/rpc/google.maps.routeoptimization.v1#google.maps.routeoptimization.v1.RouteOptimization.BatchOptimizeTours) |\n\nHow to use the Route Optimization API\n-------------------------------------\n\n|---|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 1 | **Get set up** | Start with [Set up your Google Cloud project](/maps/documentation/route-optimization/cloud-setup) and complete the setup instructions that follow. |\n| 2 | **Run a basic request and receive a response** | After setup, start with sending a basic request and get the response, following [Construct a Request](/maps/documentation/route-optimization/construct-request) and [Interpret the Response](/maps/documentation/route-optimization/interpret-response). |\n| 3 | **Try a more advanced scenario and start creating your own request** | Explore example scenarios starting with [Pickup and Delivery Stop Order Optimization](/maps/documentation/route-optimization/pickup-delivery-order-optimization) and start building requests that match your use cases. |\n\n### Available client libraries\n\nFor a list of the available client libraries for Route Optimization API, see\n[Client Libraries](/maps/documentation/route-optimization/client-libraries).\n\nWhat's next\n-----------\n\n- **Start using the Route Optimization API** : Go to [Run a Basic Request](/maps/documentation/route-optimization/construct-request).\n- **Understand billing** : [Usage and Billing](/maps/documentation/route-optimization/usage-and-billing)\n- **See sample code and libraries** : [Client Libraries](/maps/documentation/route-optimization/client-libraries) and [Open Source](https://github.com/googleapis/google-cloud-java/tree/main/java-maps-routeoptimization).\n- **Follow best practices** : [Best Practices Using Route Optimization API Web\n Services](/maps/documentation/route-optimization/web-service-best-practices)"]]