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

Min

Return type: int64

Relax

Return type: void

SetMax

Return type: bool

Arguments: int64 new_max

SetMin

Return type: bool

Arguments: int64 new_min