getOptimization

suspend fun OrsClient.getOptimization(vehicles: List<Vehicle>, jobs: List<Job>? = null, shipments: List<Shipment>? = null, matrices: Map<String, CustomMatrix>? = null, options: Map<String, JsonElement>? = null): OptimizationResponse

Calls the ORS Optimization endpoint with provided arguments and builds the request.