-
Notifications
You must be signed in to change notification settings - Fork 2
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
cvxpy interface works #2
Comments
Looks great! Only syntax issue that might need a bit more thought is for when we compose solvers. For example the conic <-> nonlinear wrapper at https://github.com/mlubin/ConicNonlinearBridge.jl (which is still a bit broken) requires more than one julia package to be imported before being used, e.g.,
and then the "name" of the conic solver is
and then calling
but that's a bit ugly. A better approach would probably be to have a function in the API just to import julia packages without creating a solver. Another solution which isn't too weird is to just do:
|
Ok, with 26c2b6a the comma-separated syntax above should work just fine. No need to change anything else. |
Is the cvxpy interface to Pajarito working for you? I was testing it out and had some issues. |
Currently at a conference but I'll try it out later this week |
Sorry, will definitely get to it this week. |
Ok, got most everything set up but running into:
How do I point it to the An obvious reason why Pajarito wouldn't be working yet is that there's no API in cmpb to pass in variable categories (binary, int, etc.), but that should be easy to do once everything else is going. |
That error means |
I got the cvxpy to call ECOS and SCS via this package in the cvxpy julia_opt branch. The tests are in
cvxpy/tests/test_julia_opt.py
.Let me know if it works for you guys.
The text was updated successfully, but these errors were encountered: