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

Enable SPRAL(+METIS) option for IpoptSolver #21476

Open
jwnimmer-tri opened this issue May 23, 2024 · 0 comments · May be fixed by #22206
Open

Enable SPRAL(+METIS) option for IpoptSolver #21476

jwnimmer-tri opened this issue May 23, 2024 · 0 comments · May be fixed by #22206
Assignees
Labels
component: mathematical program Formulating and solving mathematical programs; our autodiff and symbolic libraries type: feature request

Comments

@jwnimmer-tri
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

Ipopt requires a linear solver under the hood. See https://coin-or.github.io/Ipopt/index.html#PREREQUISITES for background.

Currently, Drake's build configures Ipopt to use MUMPS for this purpose. However, the MUMPS build system is kind of a portability disaster (#20429), and its license (LGPL-like) means that we need to ship it as shared libraries in our wheel builds, which also increases brittleness. In an ideal world, we would evict MUMPS from our build.

Describe the solution you'd like

Most of the alternative linear solvers for Ipopt are also unusable, with one exception: the SPRAL package is suitably maintained and licensed, and its required dependency METIS is also available with a suitable license.

We should add the SPRAL solver to our build so that IpoptSolver can opt-in to it. (It has a setting linear_solver="mumps" as a default; a user can opt-in to SPRAL by providing a different option.)

Once we have some experience with SPRAL, and assuming we like it, we should switch to it by default and deprecate the MUMPS option for removal, eventually removing MUMPS from our build entirely.

Describe alternatives you've considered

Drop support for Ipopt entirely.

Additional context

The end of a related discussion: #4913 (comment).

@jwnimmer-tri jwnimmer-tri added type: feature request component: mathematical program Formulating and solving mathematical programs; our autodiff and symbolic libraries labels May 23, 2024
@jwnimmer-tri jwnimmer-tri self-assigned this May 23, 2024
@jwnimmer-tri jwnimmer-tri linked a pull request Nov 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: mathematical program Formulating and solving mathematical programs; our autodiff and symbolic libraries type: feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant