Ask Your Question
1

How can I add cvxpy to Sage

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

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.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-12-25 14:14:40 +0100

Behzad gravatar image

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

sage --python setup.py install

in the module folder.

edit flag offensive delete link more

Comments

1

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 +0100 )edit

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

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

Stats

Asked: 2013-12-23 22:55:27 +0100

Seen: 523 times

Last updated: Dec 25 '13