Skip to content

Commit 62f8aca

Browse files
committed
format updated gurobi.py
Former-commit-id: 11845c7 [formerly 77dd346] Former-commit-id: 6d4b22c
1 parent 3ff87ca commit 62f8aca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mip/gurobi.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,16 @@
5151
if not libfile:
5252
libfile = glob(
5353
os.path.join(
54-
os.environ["GUROBI_HOME"], "lib/libgurobi.so.[0-9].[0-9].*"
54+
os.environ["GUROBI_HOME"],
55+
"lib/libgurobi.so.[0-9].[0-9].*",
5556
)
5657
)
5758

5859
if libfile:
5960
lib_path = libfile[0]
6061

6162
# checking gurobi version
62-
s1 = lib_path.split("\"")[-1].split("/")[-1]
63+
s1 = lib_path.split('"')[-1].split("/")[-1]
6364
vs = [c for c in s1 if c.isdigit()]
6465
major_ver = vs[0]
6566
minor_ver = vs[1]

0 commit comments

Comments
 (0)