# Class SearchMode (1.15.0)

1.15.0 (latest) 1.14.0 1.13.0 1.12.0 1.11.2 1.10.0 1.9.1 1.8.5 1.7.0 1.6.0 1.5.0 1.4.3 1.3.2 1.2.0 1.1.3 1.0.1 0.1.1

    SearchMode(value)

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

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `SEARCH_MODE_UNSPECIFIED` | Unspecified search mode, equivalent to \`RETURN_FAST\`. |
| `RETURN_FAST` | Stop the search after finding the first good solution. |
| `CONSUME_ALL_AVAILABLE_TIME` | Spend all the available time to search for better solutions. |