Skip to content

Commit def862e

Browse files
committed
highs.py: formatting with black
1 parent c2c752d commit def862e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mip/highs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
else:
2424
# Try library from highsbox, which is optional dependency.
2525
import highsbox
26+
2627
root = highsbox.highs_dist_dir()
2728

2829
# Need library matching operating system.
@@ -1333,7 +1334,7 @@ def constr_get_index(self: "SolverHighs", name: str) -> int:
13331334
if status == STATUS_ERROR:
13341335
# This means that no constraint with that name was found. Unfortunately,
13351336
# Highs: getRowByName doesn't assign a value to idx in that case.
1336-
return -1
1337+
return -1
13371338
return idx[0]
13381339

13391340
# Variable-related getters/setters

0 commit comments

Comments
 (0)