Ask Your Question
2

Using the semi-definite program solver

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

Antoine.Gr gravatar image

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

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

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

Comments

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 -0600 )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

Stats

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

Seen: 68 times

Last updated: Feb 25 '16