We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4dc8d3 commit bbc6aeeCopy full SHA for bbc6aee
pyomo/contrib/solver/solvers/knitro/api.py
@@ -12,7 +12,7 @@
12
13
from pyomo.common.dependencies import attempt_import
14
15
-import knitro
+# import knitro
16
17
-_, KNITRO_AVAILABLE = attempt_import("knitro")
+knitro, KNITRO_AVAILABLE = attempt_import("knitro")
18
KNITRO_VERSION = knitro.__version__ if KNITRO_AVAILABLE else "0.0.0"
0 commit comments