Response after solving a tour optimization problem containing
the routes followed by each vehicle, the shipments which have
been skipped and the overall cost of the solution.
float
Deprecated: Use
Metrics.total_cost
instead. Total cost of the solution. This takes into account
all costs: costs per per hour and travel hour, fixed vehicle
costs, unperformed shipment penalty costs, global duration
cost, etc.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class OptimizeToursResponse (1.11.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.11.2 (latest)](/python/docs/reference/optimization/latest/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.11.0](/python/docs/reference/optimization/1.11.0/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.10.0](/python/docs/reference/optimization/1.10.0/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.9.1](/python/docs/reference/optimization/1.9.1/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.8.5](/python/docs/reference/optimization/1.8.5/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.7.0](/python/docs/reference/optimization/1.7.0/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.6.0](/python/docs/reference/optimization/1.6.0/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.5.0](/python/docs/reference/optimization/1.5.0/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.4.3](/python/docs/reference/optimization/1.4.3/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.3.2](/python/docs/reference/optimization/1.3.2/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.2.0](/python/docs/reference/optimization/1.2.0/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.1.3](/python/docs/reference/optimization/1.1.3/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [1.0.1](/python/docs/reference/optimization/1.0.1/google.cloud.optimization_v1.types.OptimizeToursResponse)\n- [0.1.1](/python/docs/reference/optimization/0.1.1/google.cloud.optimization_v1.types.OptimizeToursResponse) \n\n OptimizeToursResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nResponse after solving a tour optimization problem containing\nthe routes followed by each vehicle, the shipments which have\nbeen skipped and the overall cost of the solution.\n\nClasses\n-------\n\n### Metrics\n\n Metrics(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nOverall metrics, aggregated over all routes."]]