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 190bf09 commit 799739dCopy full SHA for 799739d
pyomo/contrib/solver/solvers/gurobi_direct.py
@@ -229,7 +229,7 @@ def license_available(
229
- BadLicense : clearly invalid/corrupt license
230
- Unknown : unexpected error states
231
"""
232
- if not gurobipy_available:
+ if not self._gurobipy_available:
233
return LicenseAvailability.NotAvailable
234
if not recheck and self._license_cache is not None:
235
return self._license_cache
0 commit comments