Added branch_and_bound Algorithm #16705
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
|