You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/src/main/java/ai/timefold/solver/core/impl/localsearch/decider/acceptor/tabu/AbstractTabuAcceptor.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,11 @@ public boolean isAccepted(LocalSearchMoveScope<Solution_> moveScope) {
141
141
logger.trace("{} Proposed move ({}) is tabu and is therefore not accepted.",
142
142
logIndentation, moveScope.getMove());
143
143
returnfalse;
144
+
} elseif (workingFadingTabuSize == 0) {
145
+
// No comment as the move is not tabu; the tabu list needs to be adjusted.
146
+
returntrue;
144
147
}
148
+
// From this point, we are guaranteed to be in a fading tabu.
0 commit comments