Ask Your Question

Using the semi-definite program solver

asked 2016-02-24 07:00:47 -0500

Antoine.Gr gravatar image


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. Antoine

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-24 10:13:28 -0500

tmonteil gravatar image

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:

  • 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 ?
  • ... ?
edit flag offensive delete link more


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 day

Antoine.Gr gravatar imageAntoine.Gr ( 2016-02-25 01:35:11 -0500 )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

1 follower


Asked: 2016-02-24 06:58:10 -0500

Seen: 71 times

Last updated: Feb 25 '16