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

Rust Integration: Full Rust Integration #2

Closed
wants to merge 32 commits into from

Conversation

ohjuny
Copy link
Collaborator

@ohjuny ohjuny commented Nov 7, 2024

This PR follows #1.
#1: Sets up pyo3 integration and replaces calls to nx.maximum_flow with a Rust implementation. In particular, #1 constructs and destructs a Rust-side PhillipsDessouky object every iteration, and therefore incurs interop overhead at every iteration.

This PR seeks to replace all (or most of) solver.py such that all the iterations can be performed in Rust without having to go back to Python.

TODO: more information

ohjuny and others added 30 commits October 18, 2024 17:06
Co-authored-by: Jae-Won Chung <[email protected]>
@ohjuny ohjuny marked this pull request as draft November 7, 2024 18:50
@ohjuny ohjuny changed the title Lowtime rust full graph Rust Integration: Full Rust Integration Nov 7, 2024
@ohjuny
Copy link
Collaborator Author

ohjuny commented Nov 7, 2024

Note to self: I think I've set up this PR wrong, have never tried making a PR based on another (pending) PR. Will have to figure this out and/or create a new PR and reproduce the changes here in the future.

@jaywonchung
Copy link
Member

Now that the lowtime-rust branch has been updated, you might be better off cutting a new branch from the up-to-date lowtime-rust branch and creating a PR from that new branch.

@ohjuny
Copy link
Collaborator Author

ohjuny commented Nov 9, 2024

Replacing this with #3
This PR was set up with a weird branch structure, so we are replacing it with a cleaner version.

@ohjuny ohjuny closed this Nov 9, 2024
@ohjuny ohjuny deleted the lowtime-rust-full-graph branch November 9, 2024 17:28
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.

2 participants