Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correcting max-flow problem in MILP tutorial #38557

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

anshu129
Copy link

@anshu129 anshu129 commented Aug 23, 2024

tdf #35497 incorrect max-flow problem formulation in MILP tutorial

I have made changes in two files , just completed the objective function as described in the comments.
p.set_objective(p.sum(f[s,u] for u in g.neighbors_out(s)) - p.sum(f[v,s] for v in g.neighbors_in(s)))

#35497 (comment)

  • [ x] The title is concise and informative.
  • [x ] The description explains in detail what this PR is about.
  • [ x] I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

@dcoudert
Copy link
Contributor

Please rebase this branch on last beta. I will then review it.

@anshu129
Copy link
Author

anshu129 commented Sep 22, 2024

@dcoudert I have tried rebasing it . if there is any problem. plz let me know.

Copy link
Contributor

@dcoudert dcoudert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants