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

Support open-source Linear Programming solver #14055

Closed
hongkai-dai opened this issue Sep 13, 2020 · 7 comments
Closed

Support open-source Linear Programming solver #14055

hongkai-dai opened this issue Sep 13, 2020 · 7 comments
Assignees
Labels
component: mathematical program Formulating and solving mathematical programs; our autodiff and symbolic libraries

Comments

@hongkai-dai
Copy link
Contributor

Currently we don't have a very good open-source LP solver in drake.

Some candidates are

@jamiesnape and @jeremyma-tri , do we support EPL-2 license?

@hongkai-dai hongkai-dai self-assigned this Sep 13, 2020
@hongkai-dai hongkai-dai added component: mathematical program Formulating and solving mathematical programs; our autodiff and symbolic libraries unused team: manipulation labels Sep 13, 2020
@jamiesnape
Copy link
Contributor

@jamiesnape and @jeremyma-tri , do we support EPL-2 license?

Yes.

@jamiesnape
Copy link
Contributor

jamiesnape commented Sep 14, 2020

And we already use CLP as a transitive dependency of dReal via IBEX.

@hongkai-dai
Copy link
Contributor Author

I would like to add CLP into Drake. @jamiesnape , could you point me to how I should get started to add its build file into drake? Is there a template inside Drake I could use? Thanks a lot!

@jwnimmer-tri
Copy link
Collaborator

It's in Ubuntu as https://packages.ubuntu.com/bionic/coinor-libclp-dev and we already depend on it (per dReal, noted upthread):

To bring it into workspace, it will look similar to how we do tools/workspace/ipopt. On a quick glance, it seems like the only changes would be modname = "clp" and the licenses block.

@hongkai-dai
Copy link
Contributor Author

hongkai-dai commented Mar 3, 2021

Thanks @jwnimmer-tri ! I just sent PR #14729. I am not sure if I need to change the licenses block, as both CLP and IPOPT use the same EPL 2.0 license https://github.com/coin-or/Ipopt/blob/master/LICENSE?

@jwnimmer-tri
Copy link
Collaborator

FYI I'll switch my suggestions over to the PR code, which will be an easier place to discuss.

@hongkai-dai
Copy link
Contributor Author

We added CLP to Drake.

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
Projects
None yet
Development

No branches or pull requests

3 participants