File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ from pyomo .common .dependencies import numpy , numpy_available , attempt_import
2
+ from pyomo .common import unittest
3
+
4
+ if not numpy_available :
5
+ raise unittest .SkipTest ('numpy is not available' )
6
+
7
+ pybnb , pybnb_available = attempt_import ('pybnb' )
8
+ if not pybnb_available :
9
+ raise unittest .SkipTest ('pybnb is not available' )
10
+
1
11
from . import utils
2
12
from . import domain_reduction
3
13
from . import relaxations
Original file line number Diff line number Diff line change @@ -276,6 +276,7 @@ def __ne__(self, other):
276
276
#'pathos', # requested for #963, but PR currently closed
277
277
'pint' , # units
278
278
'plotly' , # incidence_analysis
279
+ 'pybnb' , # coramin
279
280
'python-louvain' , # community_detection
280
281
'pyyaml' , # core
281
282
# qtconsole also requires a supported Qt version (PyQt5 or PySide6).
You can’t perform that action at this time.
0 commit comments