Determine the minimum number of partitions */
| 267 | |
| 268 | /** Determine the minimum number of partitions */ |
| 269 | virtual int get_min_partition() const { |
| 270 | if (num_worker == 1) |
| 271 | return num_worker; |
| 272 | if (tied_weights) |
| 273 | return num_worker * 2; |
| 274 | else |
| 275 | return num_worker; |
| 276 | } |
| 277 | |
| 278 | /** |
| 279 | * @brief Determine and allocate all resources for the solver |
nothing calls this directly
no outgoing calls
no test coverage detected