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

[solvers] Add CommonSolverOption::to_string #22079

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented Oct 24, 2024

Deprecate operator<<. I'm using a 6-month window since the deprecations for #22078 might be intrusive, and it's not that costly to keep around the shims a little extra while.

Towards #22078. Efficient string look-up of common option names is important for that feature.


This change is Reviewable

@jwnimmer-tri jwnimmer-tri added priority: medium release notes: newly deprecated This pull request contains new deprecations release notes: feature This pull request contains a new feature labels Oct 24, 2024
@jwnimmer-tri jwnimmer-tri changed the title [solvers] Add CommonSolverOptions::to_string [solvers] Add CommonSolverOption::to_string Oct 24, 2024
@jwnimmer-tri jwnimmer-tri force-pushed the solver-options-common-to_string branch 2 times, most recently from 161fcf1 to 7ceac57 Compare October 24, 2024 23:53
@jwnimmer-tri jwnimmer-tri added the status: single reviewer ok https://drake.mit.edu/reviewable.html label Oct 24, 2024
@jwnimmer-tri
Copy link
Collaborator Author

+@xuchenhan-tri for both reviews, please (I'm on-call Monday).

@jwnimmer-tri jwnimmer-tri force-pushed the solver-options-common-to_string branch from 7ceac57 to 7e97524 Compare October 24, 2024 23:59
Copy link
Contributor

@xuchenhan-tri xuchenhan-tri left a comment

Choose a reason for hiding this comment

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

:lgtm: x2

Reviewed 3 of 3 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignee xuchenhan-tri(platform)

@xuchenhan-tri xuchenhan-tri merged commit babaaf8 into RobotLocomotion:master Oct 25, 2024
9 checks passed
@jwnimmer-tri jwnimmer-tri deleted the solver-options-common-to_string branch October 25, 2024 00:57
RussTedrake pushed a commit to RussTedrake/drake that referenced this pull request Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium release notes: feature This pull request contains a new feature release notes: newly deprecated This pull request contains new deprecations status: single reviewer ok https://drake.mit.edu/reviewable.html
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants