Ask Your Question

Using the semi-definite program solver

asked 2016-02-24 14:00:47 +0200

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 17:13:28 +0200

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 08:35:11 +0200 )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 13:58:10 +0200

Seen: 306 times

Last updated: Feb 25 '16