Ask Your Question
2

Using the semi-definite program solver

asked 9 years ago

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 9 years ago

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 ?
  • ... ?
Preview: (hide)
link

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 ( 9 years ago )

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: 9 years ago

Seen: 345 times

Last updated: Feb 25 '16