C++ Reference: class LocalSearchVariable

This documentation is automatically generated.

A LocalSearchVariable can only be created by a LocalSearchState, then it is meant to be passed by copy. If at some point the duplication of LocalSearchState pointers is too expensive, we could switch to index only, and the user would have to know the relevant state. The present setup allows to ensure that variable users will not misuse the state.
Method
Max

Return type: int64_t

Min

Return type: int64_t

Relax

Return type: void

SetMax

Return type: bool

Arguments: int64_t new_max

SetMin

Return type: bool

Arguments: int64_t new_min