Ask Your Question

How can I add cvxpy to Sage

asked 2013-12-23 22:55:27 +0200

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 14:14:40 +0200

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 10:12:03 +0200 )edit

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

Behzad gravatar imageBehzad ( 2014-01-19 14:18:55 +0200 )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 22:55:27 +0200

Seen: 458 times

Last updated: Dec 25 '13