Skip to content

Commit

Permalink
black format
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedongPeng committed Sep 21, 2023
1 parent d82dcde commit cb1c2a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyomo/contrib/mindtpy/algorithm_base_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
tabu_list, tabu_list_available = attempt_import('pyomo.contrib.mindtpy.tabu_list')
egb = attempt_import('pyomo.contrib.pynumero.interfaces.external_grey_box')[0]


class _MindtPyAlgorithm(object):
def __init__(self, **kwds):
"""
Expand Down
1 change: 1 addition & 0 deletions pyomo/contrib/mindtpy/tests/MINLP_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
from pyomo.common.collections import ComponentMap
from pyomo.contrib.mindtpy.tests.MINLP_simple_grey_box import GreyBoxModel
from pyomo.common.dependencies import attempt_import

egb = attempt_import('pyomo.contrib.pynumero.interfaces.external_grey_box')[0]


Expand Down
1 change: 1 addition & 0 deletions pyomo/contrib/mindtpy/tests/MINLP_simple_grey_box.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from pyomo.common.dependencies import numpy as np
import pyomo.common.dependencies.scipy.sparse as scipy_sparse
from pyomo.common.dependencies import attempt_import

egb = attempt_import('pyomo.contrib.pynumero.interfaces.external_grey_box')[0]


Expand Down

0 comments on commit cb1c2a9

Please sign in to comment.