Skip to content

Commit 3f64dd3

Browse files
committed
cleanup merge
1 parent e2d73ee commit 3f64dd3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: mpisppy/extensions/reduced_costs_fixer.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ def sync_with_spokes(self, pre_iter0 = False):
124124
is_new_outer_bound = self._update_best_outer_bound(this_outer_bound)
125125
if pre_iter0:
126126
# make sure we set the bound we compute prior to iteration 0
127-
self.opt.spcomm.BestOuterBound = self.opt.spcomm.OuterBoundUpdate(self._best_outer_bound, idx=idx)
127+
self.opt.spcomm.BestOuterBound = self.opt.spcomm.OuterBoundUpdate(
128+
self._best_outer_bound,
129+
idx=self.reduced_costs_spoke_index,
130+
)
128131
if not pre_iter0 and self._use_rc_bt:
129132
self.reduced_costs_bounds_tightening(reduced_costs, this_outer_bound)
130133
## End if

0 commit comments

Comments
 (0)