Ask Your Question

How can I add cvxpy to Sage

asked 2013-12-23 15:55:27 -0500

Behzad gravatar image

It is not easy to describe convex optimization problems for CVXOPT because CVXOPT is just the solver and there is almost no "modeling" (or user friendly interface). Take Yalmip as an example. With Yalmip, you can add constraints as: x1+2*x2<=0 and much more (including matrices). The closest thing I found for CVXOPT was cvxpy. I was wondering how I can add cvxpy to my Sage installation.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-12-25 07:14:40 -0500

Behzad gravatar image

Till now, I realized to install any Python module, you can write:

sage --python install

in the module folder.

edit flag offensive delete link more



Do you still need some help with this question, or does this answer means that you suceeded in installing cvxpy ?

tmonteil gravatar imagetmonteil ( 2013-12-26 03:12:03 -0500 )edit

I was still wondering if I can cvxpy to Sage Cloud in my session.

Behzad gravatar imageBehzad ( 2014-01-19 07:18:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-12-23 15:55:27 -0500

Seen: 170 times

Last updated: Dec 25 '13