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

0.16.0 (latest) 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.2 0.8.2 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.1 0.1.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.