Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <constraint_solveri.h>
Public Member Functions | |
int64_t | Min () const |
int64_t | Max () const |
bool | SetMin (int64_t new_min) |
bool | SetMax (int64_t new_max) |
void | Relax () |
Friends | |
class | LocalSearchState |
Only LocalSearchState can construct LocalSearchVariables. | |
A LocalSearchState Variable 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.
Definition at line 2026 of file constraint_solveri.h.
|
inline |
Definition at line 2029 of file constraint_solveri.h.
|
inline |
Definition at line 2028 of file constraint_solveri.h.
|
inline |
Definition at line 2038 of file constraint_solveri.h.
|
inline |
Definition at line 2034 of file constraint_solveri.h.
|
inline |
Definition at line 2030 of file constraint_solveri.h.
|
friend |
Only LocalSearchState can construct LocalSearchVariables.
Definition at line 2045 of file constraint_solveri.h.