ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 19 Jan 2014 07:18:55 -0600How can I add cvxpy to Sagehttp://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/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.
ThanksMon, 23 Dec 2013 15:55:27 -0600http://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/Answer by Behzad for <p>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.</p>
<p>Thanks</p>
http://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/?answer=15640#post-id-15640Till now, I realized to install any Python module, you can write:
sage --python setup.py install
in the module folder.Wed, 25 Dec 2013 07:14:40 -0600http://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/?answer=15640#post-id-15640Comment by Behzad for <p>Till now, I realized to install any Python module, you can write:</p>
<p>sage --python setup.py install</p>
<p>in the module folder.</p>
http://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/?comment=16416#post-id-16416I was still wondering if I can cvxpy to Sage Cloud in my session.Sun, 19 Jan 2014 07:18:55 -0600http://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/?comment=16416#post-id-16416Comment by tmonteil for <p>Till now, I realized to install any Python module, you can write:</p>
<p>sage --python setup.py install</p>
<p>in the module folder.</p>
http://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/?comment=16503#post-id-16503Do you still need some help with this question, or does this answer means that you suceeded in installing cvxpy ?Thu, 26 Dec 2013 03:12:03 -0600http://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/?comment=16503#post-id-16503