Skip to content

Commit 5357c6c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7faa575 commit 5357c6c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

linear_programming/simplex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ def run_simplex(self) -> dict[Any, Any]:
107107
"""Run simplex algorithm until optimal solution is found."""
108108

109109
for iteration in range(Tableau.maxiter):
110-
111110
if not self.objectives:
112111
return self.interpret_tableau()
113112

@@ -152,4 +151,5 @@ def interpret_tableau(self) -> dict[str, float]:
152151

153152
if __name__ == "__main__":
154153
import doctest
155-
doctest.testmod()
154+
155+
doctest.testmod()

0 commit comments

Comments
 (0)