Version: stable
Language: C++
Method LocalSearchOperator* Model::GetNeighborhoodOperators()
What did you expect to see
if (!pickup_delivery_pairs_.empty() and
search_parameters.local_search_operators().use_relocate_neighbors() ==
BOOL_TRUE) {
operators.push_back(local_search_operators_[RELOCATE_NEIGHBORS]);
}
What did you see instead?
if (!pickup_delivery_pairs_.empty() ||
search_parameters.local_search_operators().use_relocate_neighbors() ==
BOOL_TRUE) {
operators.push_back(local_search_operators_[RELOCATE_NEIGHBORS]);
}
Issue
I cannot controll the neighborhood operator, since one of them (see above) is bypassing the search parameters.
Version: stable
Language: C++
Method
LocalSearchOperator* Model::GetNeighborhoodOperators()What did you expect to see
What did you see instead?
Issue
I cannot controll the neighborhood operator, since one of them (see above) is bypassing the search parameters.