Skip to content

Fix: raise ValueError when run_simplex exceeds max iterations #17750

Fix: raise ValueError when run_simplex exceeds max iterations

Fix: raise ValueError when run_simplex exceeds max iterations #17750

Triggered via pull request April 26, 2026 18:08
Status Failure
Total duration 12s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
ruff
Process completed with exit code 1.
ruff (EM102): linear_programming/simplex.py#L122
linear_programming/simplex.py:122:13: EM102 Exception must not use an f-string literal, assign to variable first help: Assign to variable; remove f-string literal
ruff (B007): linear_programming/simplex.py#L109
linear_programming/simplex.py:109:13: B007 Loop control variable `iteration` not used within loop body help: Rename unused `iteration` to `_iteration`
ruff (I001): linear_programming/simplex.py#L1
linear_programming/simplex.py:1:1: I001 Import block is un-sorted or un-formatted help: Organize imports