Skip to content

Commit 1423cca

Browse files
committed
applied black
1 parent 6503198 commit 1423cca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pulp/pulp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ class LpVariable(LpElement):
258258
:param e: Used for column based modelling: relates to the variable's
259259
existence in the objective function and constraints
260260
"""
261+
261262
name: str
262263
varValue: Optional[float]
263264
dj: Optional[float]
@@ -588,7 +589,7 @@ def valid(self, eps):
588589
return False
589590
return True
590591

591-
def infeasibilityGap(self, mip: bool=True):
592+
def infeasibilityGap(self, mip: bool = True):
592593
if self.varValue is None:
593594
raise ValueError("variable value is None")
594595
if self.upBound is not None and self.varValue > self.upBound:

0 commit comments

Comments
 (0)