Skip to content

[networkx] Type max_flow_min_cost endpoints as nodes - #16559

Open
Cherith1222 wants to merge 1 commit into
python:mainfrom
Cherith1222:fix/16544-max-flow-node-type
Open

Cherith1222 wants to merge 1 commit into
python:mainfrom
Cherith1222:fix/16544-max-flow-node-type

Conversation

@Cherith1222

Copy link
Copy Markdown
Contributor

Use the graph node type for s and t in max_flow_min_cost.

Fixes #16544.

Upstream: https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.flow.max_flow_min_cost.html

Agent: Cursor

Drafted with Cursor.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nx.max_flow_min_cost should support taking in two graph nodes

1 participant