![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Generates a neighborhood by taking a random local neighborhood in an undirected graph where the nodes are the variables and two nodes are linked if they appear in the same constraint.
#include <bop_lns.h>
Public Member Functions | |
| RelationGraphBasedNeighborhood (const sat::LinearBooleanProblem &problem, absl::BitGenRef random) | |
| ~RelationGraphBasedNeighborhood () final=default | |
| Public Member Functions inherited from operations_research::bop::NeighborhoodGenerator | |
| NeighborhoodGenerator ()=default | |
| virtual | ~NeighborhoodGenerator ()=default |
| operations_research::bop::RelationGraphBasedNeighborhood::RelationGraphBasedNeighborhood | ( | const sat::LinearBooleanProblem & | problem, |
| absl::BitGenRef | random ) |
We will ignore constraints that have more variables than this percentage of the total number of variables in this neighborhood computation.
Definition at line 528 of file bop_lns.cc.
|
finaldefault |