First time here? Check out the FAQ!

Ask Your Question
1

How can I add cvxpy to Sage

asked 11 years ago

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

Behzad gravatar image

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

sage --python setup.py install

in the module folder.

Preview: (hide)
link

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 ( 11 years ago )

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

Behzad gravatar imageBehzad ( 11 years ago )

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: 11 years ago

Seen: 544 times

Last updated: Dec 25 '13