CVX on Octave: Discussion

Hi,

I’ve managed to install CVX with SDPT3 and Sedumi on Octave seemingly alright, but whenever I run any optimization script (whether the built-in examples, or my own which work perfectly fine in MATLAB), I get the following output:

Successive approximation method to be employed.
SDPT3 will be called several times to refine the solution.
Original size: 140 variables, 72 equality constraints
32 exponentials add 224 variables, 128 equality constraints

Cones | Errors |
Mov/Act | Centering Exp cone Poly cone | Status
--------±--------------------------------±--------
21/ 21 | 8.000e+00 1.500e+01 0.000e+00 | Solved
20/ 20 | 8.000e+00 1.727e+00 0.000e+00 | Solved
15/ 16 | 8.000e+00 3.928e-02 0.000e+00 | Solved
1/ 1 | 1.627e+00 9.941e-08 0.000e+00 | Solved
0/ 0 | 1.359e+00 0.000e+00 0.000e+00 | Solved

Status: Solved
Optimal value (cvx_optval): +0.367178

error: cellfun: all values must be scalars when UniformOutput = true

This last line about cellfun is the one that keeps coming up all the time. I checked and this is not in my own code, i.e. the built-in examples have the same error. What is it about CVX’s usage of cellfun that Octave does not like?

Thanks a lot

I think you are on your own trying to use CVX under Octave.