Skip to content

Commit 12c29ce

Browse files
committed
manual line length inspection and fix for ruff
1 parent 0a1b0d5 commit 12c29ce

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

linear_programming/interior_point_method.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class InteriorPointMethod:
1313
"""
14-
Operate on linear programming problems using the Primal-Dual Interior-Point Method.
14+
Operate on linear programming problems using the Interior-Point Method.
1515
1616
Attributes:
1717
objective_coefficients (np.ndarray): Coefficient matrix for the objective
@@ -57,11 +57,10 @@ def _convert_to_standard_form(self) -> tuple[np.ndarray, np.ndarray]:
5757

5858
def solve(self) -> tuple[np.ndarray, float]:
5959
"""
60-
Solve the linear programming problem using the Primal-Dual Interior-Point
61-
Method.
60+
Solve problem with Primal-Dual Interior-Point Method.
6261
6362
Returns:
64-
tuple: A tuple containing the optimal solution and the optimal value.
63+
tuple: A tuple with optimal soln and the optimal value.
6564
"""
6665
a, c = self._convert_to_standard_form()
6766
m, n = a.shape

0 commit comments

Comments
 (0)