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 c2c752d commit def862eCopy full SHA for def862e
mip/highs.py
@@ -23,6 +23,7 @@
23
else:
24
# Try library from highsbox, which is optional dependency.
25
import highsbox
26
+
27
root = highsbox.highs_dist_dir()
28
29
# Need library matching operating system.
@@ -1333,7 +1334,7 @@ def constr_get_index(self: "SolverHighs", name: str) -> int:
1333
1334
if status == STATUS_ERROR:
1335
# This means that no constraint with that name was found. Unfortunately,
1336
# Highs: getRowByName doesn't assign a value to idx in that case.
- return -1
1337
+ return -1
1338
return idx[0]
1339
1340
# Variable-related getters/setters
0 commit comments