Skip to content

Commit

Permalink
add appsi fbbt
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedongPeng committed Mar 28, 2024
1 parent f697791 commit 3a872b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyomo/contrib/mindtpy/algorithm_base_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from pyomo.repn import generate_standard_repn
import logging
from pyomo.contrib.fbbt.fbbt import fbbt
from pyomo.contrib.appsi.fbbt import IntervalTightener
from pyomo.opt import TerminationCondition as tc
from pyomo.contrib.mindtpy import __version__
from pyomo.common.dependencies import attempt_import
Expand Down Expand Up @@ -753,7 +754,8 @@ def set_up_solve_data(self, model):
config.use_dual_bound = False

if config.use_fbbt:
fbbt(model)
IntervalTightener().perform_fbbt(model)
# fbbt(model)
# TODO: logging_level is not logging.INFO here
config.logger.info('Use the fbbt to tighten the bounds of variables')

Expand Down

0 comments on commit 3a872b0

Please sign in to comment.