Latest Version On SeDuMi

Is SeDuMi 1.3.4 the latest version or there any updates onto CVX??

Just use the build of SeDuMi which comes bundled with CVX 2.2 That version of SeDuMi happens to be called 1.3.4. But there might be some little bug fixes or tweaks to ensure it works as well as possible with CVX. So use the SeDuMi bundled with CVX, rather than some other SeDuMi 1.3.4 (I’m not sure there actually are any other builds of SeDuMi 1.3.4, but just in case).

1 Like

Thanks Dr Mark. Currently I’m using CVX 2.2 version SeDuMi version 1.3.4 which
is working fine.
But I noticed on Release SeDuMi 1.3.7 · sqlp/sedumi · GitHub (i.e. SeDuMi 1.3.7 has
been significantly upgraded via the SQLP: conic solvers for Matlab & Octave maintained by Johan Löfberg…


If so, that;s probably the best version to use for YALMIP (for which Johan Lofberg is the developer). You can try it with CVX and let us know how it goes. The SeDuMIi bundled with CVX 2.2 should be the “safe bet” for CVX 2.2. I don’t know how well SeDuMi 1.3.7 would work with CVX 2.2 - maybe better, maybe not.

1 Like

Before I proceed to adopt on SeDuMi 1.3.7 updates, it’s best that I understood
the principal and requirements of CVX2.2 by Dr Michael Grant of CVX.


If you do so, I’m afraid that will have to be on your own, because forum readers (which no longer include CVX developer @mcg) likely do not have the requisite knowledge.

The easy and safe thing to do is to just use the bundled SeDuMi with CVX 2.2.

1 Like

Hi – I am trying to install CVX 2.2 on a Mac Ventura 13.4.1.

cvx_setup gives me the following error


CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.2, Build 1148 (62bfcca) Tue Jan 28 00:51:35 2020

Installation info:
Path: /Users/haimonti/Research/DDM/DistMomMethods/Code/cvx
MATLAB version: 9.13 (R2022b)
OS: Mac OS X x86_64 version 13.4.1
Java version: 1.8.0_202
Verfying CVX directory contents:
WARNING: The following files/directories are missing:
These omissions may prevent CVX from operating properly.
Preferences: none found; defaults loaded.

Should I try an earlier version of sedumi? Any suggestions?

I think everyone gets that message in WINDOWS and Mac. It appears to be harmless. Just stick with the version of SeDuMi bundled with CVX 2.2.

1 Like

Thanks much for the help with this!

It turns out I tried a simple example, but it throws some errors:


m=16; n=8;
variable x(n)
minimize( norm(A*x-b) )
Unrecognized function or variable ‘cvx_bcompress_mex’.

Error in cvx_bcompress (line 29)
[ ndxs, scls ] = cvx_bcompress_mex( sparse( x ), mode, num_sorted );

Error in cvx/bcompress (line 21)
[ xR, xb ] = cvx_bcompress( xb, mode, nsrt );

Error in cvx/svec (line 13)
[ xR, y ] = bcompress( x );

Error in cvx/norm (line 46)
x = svec( x, p );

Where do I find cvx_bcompress_mex?

Perhaps related to Mac security. Look at I have a problem using CVX after I update my Mac OS to Catalina and threads linked there. And Installing CVX on a new Mac and some other more recent threads on this forum on Mac installation issues.

1 Like