Installation of Gloptipoly3 under cvx environment


#1

I begin to study polynomial optimization and try to use the Matlab interface Gloptipoly:

http://homepages.laas.fr/henrion/software/gloptipoly/
(developed by Didier Henrion and Jean-Bernard Lasserre)
with decument: http://homepages.laas.fr/henrion/papers/gloptipoly.pdf

Gloptipoly3 requires SDP solver SeDuMi, and I know cvx includes copy of the solver SeDuMi.
So I choose sedumi:

cvx_solver sedumi

Now I use the command to run the basic example (to demo my Matlab)

gloptipolydemo

however, it shows “SeDuMi is not properly installed”

and

How to solve such problem? Should I install sedumi independently?


(Mark L. Stone) #2

This may not be the “right” thing to do, but try adding the sedumi directory (folder) and its subdirectories to the MATLAB path, perhaps after the cvx directories. Verify that CVX still works correctly, and hopefully gloptipoly will work correctly. In case that “screws up” CVX, copy the sedumi directory to somewhere else (outside of cvx directories) and add that and subdirecories to your MATLAB path instead of the sedumi directory under cvx.


#3

I copy the folder sedumi to the folder bin under Matlab; and then

addpath sedumi

and do

gloptipolydemo

It still shows the same errors. Not sure if this is the way you suggest.


(Mark L. Stone) #4

What is the result of
which -all sedumi

You ought to be able to run examples from http://www.ece.uvic.ca/~wslu/Talk/SeDuMi-Remarks.pdf from the MAT:LAB command line. If not, sedumi is not installed correctly. If these examples run, then perhaps you have difficulty with Gloptipoly, which is out of scope of this forum.