Skip to content

Added branch_and_bound Algorithm #16705

Added branch_and_bound Algorithm

Added branch_and_bound Algorithm #16705

Triggered via pull request December 28, 2025 07:29
Status Failure
Total duration 10s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
ruff
Process completed with exit code 1.
Ruff (UP006): knapsack/knapsack_branch_and_bound.py#L69
knapsack/knapsack_branch_and_bound.py:69:26: UP006 Use `tuple` instead of `Tuple` for type annotation
Ruff (UP006): knapsack/knapsack_branch_and_bound.py#L69
knapsack/knapsack_branch_and_bound.py:69:21: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): knapsack/knapsack_branch_and_bound.py#L58
knapsack/knapsack_branch_and_bound.py:58:48: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): knapsack/knapsack_branch_and_bound.py#L58
knapsack/knapsack_branch_and_bound.py:58:29: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): knapsack/knapsack_branch_and_bound.py#L32
knapsack/knapsack_branch_and_bound.py:32:55: UP006 Use `list` instead of `List` for type annotation
Ruff (UP035): knapsack/knapsack_branch_and_bound.py#L14
knapsack/knapsack_branch_and_bound.py:14:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
Ruff (UP035): knapsack/knapsack_branch_and_bound.py#L14
knapsack/knapsack_branch_and_bound.py:14:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (I001): knapsack/knapsack_branch_and_bound.py#L13
knapsack/knapsack_branch_and_bound.py:13:1: I001 Import block is un-sorted or un-formatted