Google Cloud Optimization V1 Client - Class SearchMode (0.2.0)

Reference documentation and code samples for the Google Cloud Optimization V1 Client class SearchMode.

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

Protobuf type google.cloud.optimization.v1.OptimizeToursRequest.SearchMode

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

SEARCH_MODE_UNSPECIFIED

Value: 0

Unspecified search mode, equivalent to RETURN_FAST.

Generated from protobuf enum SEARCH_MODE_UNSPECIFIED = 0;

RETURN_FAST

Value: 1

Stop the search after finding the first good solution.

Generated from protobuf enum RETURN_FAST = 1;

CONSUME_ALL_AVAILABLE_TIME

Value: 2

Spend all the available time to search for better solutions.

Generated from protobuf enum CONSUME_ALL_AVAILABLE_TIME = 2;