ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 19 Jan 2014 14:18:55 +0100How can I add cvxpy to Sagehttps://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 22:55:27 +0100https://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>
https://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 14:14:40 +0100https://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/?answer=15640#post-id-15640Comment 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>
https://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 10:12:03 +0100https://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/?comment=16503#post-id-16503Comment 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>
https://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 14:18:55 +0100https://ask.sagemath.org/question/10856/how-can-i-add-cvxpy-to-sage/?comment=16416#post-id-16416