-
Notifications
You must be signed in to change notification settings - Fork 311
Add sparse simplex, transport, and Birkhoff projections from JAXopt #1545
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
base: main
Are you sure you want to change the base?
Add sparse simplex, transport, and Birkhoff projections from JAXopt #1545
Conversation
|
Thanks! I'd ask one of the project maintainers, perhaps @rdyro, about the desired API. |
rdyro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
It looks pretty good to me. Just to be sure @aymuos15 :
Thanks again! |
f4a0b8c to
55523dc
Compare
|
I did just push a fix for the docstrings. Thank you very much for pointing that out. @vroulet For simplex, I have made sure we are matching everything. For transport and birkhoff, they are usable with an outside solver. |
Transport/Birkhoff projections require a solver via make_solver argument.
55523dc to
c8e85fc
Compare
|
Ok, would it be possible to make two separate PRs? One for the sparse simplex projection and one for the transport/birkhoff projections. The problem with the transport/birkhoff is that (i) it requires a solver, (ii) the api for the solver is not documented and it takes a specific form like |
|
Okay, that's a very fair argument. Thank you. I will change this to just the sparse simplex. Instead of raising another PR right away, should I first raise a separate issue to discuss what the default solver should be (or continue the convo in one of the other issues)? |
|
@aymuos15 you may raise the issue and open a discussion with amybe @carlosgmartin if he's interested. For now, just prune this PR from the Birkhoff and transport projections. I'm happy to merge after that. Thanks again! |
I have set it up so one can feed the solver for Transport/Birkhoff projections via make_solver argument. @carlosgmartin for this PR is this enough (as the tests are namesake for these) or should I only port the sparse_simplex for now?
Continuation of #1280, #1351 and #1439