Skip to content

Commit

Permalink
remove fix_dual_bound for ECP method
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedongPeng committed Feb 1, 2024
1 parent acb10de commit de73340
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pyomo/contrib/mindtpy/extended_cutting_plane.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ def MindtPy_iteration_loop(self):

add_ecp_cuts(self.mip, self.jacobians, self.config, self.timing)

# if add_no_good_cuts is True, the bound obtained in the last iteration is no reliable.
# we correct it after the iteration.
if (
self.config.add_no_good_cuts or self.config.use_tabu_list
) and not self.should_terminate:
self.fix_dual_bound(self.last_iter_cuts)
self.config.logger.info(
' ==============================================================================================='
)
Expand Down

0 comments on commit de73340

Please sign in to comment.