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.Thu, 25 Feb 2016 01:35:11 -0600Using the semi-definite program solverhttp://ask.sagemath.org/question/32658/using-the-semi-definite-program-solver/ Hello,
I try to use the solver for sdp as explained in the reference manual but
"sage: p = SemidefiniteProgram(maximization = False)"
returns:
"NameError: name 'SemidefiniteProgram' is not defined"
Is there something I am doing wrong?
Thank you for your help.
AntoineWed, 24 Feb 2016 06:58:10 -0600http://ask.sagemath.org/question/32658/using-the-semi-definite-program-solver/Answer by tmonteil for <p>Hello,</p>
<p>I try to use the solver for sdp as explained in the reference manual but
"sage: p = SemidefiniteProgram(maximization = False)"
returns:
"NameError: name 'SemidefiniteProgram' is not defined"
Is there something I am doing wrong?</p>
<p>Thank you for your help.
Antoine</p>
http://ask.sagemath.org/question/32658/using-the-semi-definite-program-solver/?answer=32661#post-id-32661It works for me (Sage 7.1.beta3 complied on Debian jessie 64bit, run from the command line). Could you please give us some informations so that someone can try to reproduce your problem:
- which version of Sage did you use ?
- which OS ?
- did you install Sage from the binaries, and which ones ?
- did you compile Sage yourself ?
- which notebook did you use (Sage notebook or jupyter notebook) ?
- did you use the command line ?
- which command did you type precisely to get the error ?
- which error message did you get ?
- ... ?Wed, 24 Feb 2016 10:13:28 -0600http://ask.sagemath.org/question/32658/using-the-semi-definite-program-solver/?answer=32661#post-id-32661Comment by Antoine.Gr for <p>It works for me (Sage 7.1.beta3 complied on Debian jessie 64bit, run from the command line). Could you please give us some informations so that someone can try to reproduce your problem: </p>
<ul>
<li>which version of Sage did you use ?</li>
<li>which OS ?</li>
<li>did you install Sage from the binaries, and which ones ?</li>
<li>did you compile Sage yourself ?</li>
<li>which notebook did you use (Sage notebook or jupyter notebook) ?</li>
<li>did you use the command line ?</li>
<li>which command did you type precisely to get the error ?</li>
<li>which error message did you get ?</li>
<li>... ?</li>
</ul>
http://ask.sagemath.org/question/32658/using-the-semi-definite-program-solver/?comment=32666#post-id-32666 Thank you tmonteil,
I thought I had the last version of sage but I worked on the version 6. I have upgraded to 7.0 and now it's fine.
Since SemidefiniteProgram() doesn't work on the cloud, I thought the problem was not the version of sage.
Have a nice dayThu, 25 Feb 2016 01:35:11 -0600http://ask.sagemath.org/question/32658/using-the-semi-definite-program-solver/?comment=32666#post-id-32666Answer by tmonteil for <p>Hello,</p>
<p>I try to use the solver for sdp as explained in the reference manual but
"sage: p = SemidefiniteProgram(maximization = False)"
returns:
"NameError: name 'SemidefiniteProgram' is not defined"
Is there something I am doing wrong?</p>
<p>Thank you for your help.
Antoine</p>
http://ask.sagemath.org/question/32658/using-the-semi-definite-program-solver/?answer=32659#post-id-32659It works for me (Sage 7.1.beta3 complied on Debian jessie 64bit, run from the command line). Could you please give us some informations so that someone can try to reproduce your problem:
- which version of Sage did you use ?
- which OS ?
- did you install Sage from the binaries, and which ones ?
- did you compile Sage yourself ?
- which notebook did you use (Sage notebook or jupyter notebook) ?
- did you use the command line ?
- which command did you type precisely to get the error ?
- which error message did you get ?
- ... ?
Wed, 24 Feb 2016 07:05:45 -0600http://ask.sagemath.org/question/32658/using-the-semi-definite-program-solver/?answer=32659#post-id-32659