provider optimization POST
/optimization @utdk/openrouteservice
/optimization Solve a Vehicle Routing Problem (Vroom)
Assigns jobs to vehicles optimally, minimising total travel time subject
to time windows, skill matching, capacity, and breaks. Backed by Vroom.
Free-plan limits: 50 jobs, 3 vehicles per request. Self-hosted ORS has no
such caps. For larger problems, run or-tools VRPTW locally and use only
the `/v2/matrix/*` endpoint here.
Try it
Authentication
Configure credentials for OpenRouteService API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import openrouteservice from '@utdk/openrouteservice';
await openrouteservice.solveoptimization()