Cloud Optimization V1 API - Module Google::Cloud::Optimization::V1::OptimizeToursRequest::SearchMode (v0.4.1)

Reference documentation and code samples for the Cloud Optimization V1 API module Google::Cloud::Optimization::V1::OptimizeToursRequest::SearchMode.

Mode defining the behavior of the search, trading off latency versus solution quality. In all modes, the global request deadline is enforced.

Constants

SEARCH_MODE_UNSPECIFIED

value: 0
Unspecified search mode, equivalent to RETURN_FAST.

RETURN_FAST

value: 1
Stop the search after finding the first good solution.

CONSUME_ALL_AVAILABLE_TIME

value: 2
Spend all the available time to search for better solutions.