Skip to content

Commit 65a3d5e

Browse files
Update examples/finished/nodesel_hybridestim.py
Co-authored-by: João Dionísio <[email protected]>
1 parent d2aa743 commit 65a3d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/finished/nodesel_hybridestim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def nodeselect(self):
101101
lowerbound = self.scip.getLowerbound()
102102
cutoffbound = self.scip.getCutoffbound()
103103

104-
# If we didn't find a solution yet, use only 20% of the gap as cutoff bound
104+
# If we didn't find a solution yet, tighten the cutoff bound to 20% of the range between it and the lowerbound.
105105
if self.scip.getNSols() == 0:
106106
cutoffbound = lowerbound + 0.2 * (cutoffbound - lowerbound)
107107

0 commit comments

Comments
 (0)