-
Notifications
You must be signed in to change notification settings - Fork 32
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
Make dependency on Clarabel optional #142
Comments
@bnaras Could you please take a look? I could revert related commits, of course, to fix it for MacPorts locally, but it is better to have it done properly for everyone. |
@barracuda156 thanks for letting me know. Certainly not our intent, and perhaps I pulled the trigger a bit too fast. We can make it optional by adding it to the "Enhances" field. Down the line, however, with ECOS not being maintained, we need a good conic solver as a default and so it might become necessary. I will do this as soon as I can. |
@bnaras Thank you. With Rust there are two potential options to have it working on every platform:
Neither is gonna happen soon, AFAIK. So it is desirable to have a fallback via a non-default configure option (to keep Rust-less systems with ECOS) or otherwise find some cross-platform replacement for Clarabel.
I am not familiar with the related code, so saying this blindly, but perhaps you could make a fork and maintain it? Generally speaking, math should not require Rust, C/C++/Fortran work perfectly fine. If not, there are OCaml and Lisp, which are not completely cross-platform, but at least not as bad as Rust. (Both in terms of support for platforms and in terms of bootstrapping their compilers from sources.) |
@barracuda156 I already maintain the R package Re: math. The authors of Clarabel chose to write the solver in Rust and I am glad to be able to make it available to R users. But, at least for now, I can make this an enhancement rather than an import. |
@bnaras Thank you, this is appreciated. |
This fix is in place in the clarabel_interface branch. You can install via:
or download the whole tree and checkout the |
The latest version of
CVXR
adds a dependency onclarabel
, which, unfortunately, uses Rust. This a) pulls in a dependency on Rust, which is a huge thing to build; and b) breaks it for all platforms where Rust is broken.This is a very undesirable move affecting multiple platforms and downstream distributions.
The text was updated successfully, but these errors were encountered: