-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
…de option to run rust or python versions
Co-authored-by: Jae-Won Chung <[email protected]>
… pimpl version is actually slower
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. |
Now that the |
Replacing this with #3 |
This PR follows #1.
#1: Sets up
pyo3
integration and replaces calls tonx.maximum_flow
with a Rust implementation. In particular, #1 constructs and destructs a Rust-sidePhillipsDessouky
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