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

[Utilities] add more distance_to_set implementations #2314

Merged
merged 7 commits into from
Oct 24, 2023
Merged

[Utilities] add more distance_to_set implementations #2314

merged 7 commits into from
Oct 24, 2023

Conversation

odow
Copy link
Member

@odow odow commented Oct 22, 2023

Closes #2033

These are really painful to test and check that they are correct. It's easy to make a mistake.

@odow
Copy link
Member Author

odow commented Oct 22, 2023

I haven't added the matrix cones (or the constraint programming ones, or things like indicator and complementarity), but this is a reasonably complete list for 95% of the use-cases.

@odow
Copy link
Member Author

odow commented Oct 23, 2023

Thoughts @matbesancon?

@blegat
Copy link
Member

blegat commented Oct 24, 2023

I haven't added the matrix cones (or the constraint programming ones, or things like indicator and complementarity), but this is a reasonably complete list for 95% of the use-cases.

I don't think we should require having an implementation for any set or should aim as covering "most" use case. It's more like, if someone has an short and simple distance computation without any dependency and makes a PR that is well tested then we'll accept it in MOI and it does not have to be in MOSD.

@odow odow merged commit f0d9b28 into master Oct 24, 2023
16 of 17 checks passed
@odow odow deleted the od/mosd branch October 24, 2023 07:22
@odow odow mentioned this pull request Oct 24, 2023
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Implement Utilities.distance_to_set for more sets
2 participants