Installation in Octave [note: do not try this!]

I have read that CVX can be installed for Octave versions 3.8.1 and up. That being said I get the following error during cvx_setup. Am I correct in assuming that it can be used or is it not supported yet?

>> cvx_setup

---------------------------------------------------------------------------
CVX: Software for Disciplined Convex Programming       (c)2014 CVX Research
Version 2.1, Build 1094 (f0d5a63)                  Fri Oct 24 12:59:19 2014
---------------------------------------------------------------------------
Installation info:
    Path: /home/robert/octave/cvx
    GNU Octave 3.8.1 on x86_64-pc-linux-gnu
Verfying CVX directory contents:
    No missing files.
Preferences:
    Path: /home/robert/.cvx_prefs.mat
---------------------------------------------------------------------------
Setting CVX paths...already set!
Searching for solvers...3 shims found.
3 solvers initialized (* = default):
    GLPK     unknown    /usr/share/octave/3.8.1/m/optimization
 *  SDPT3    4.0        {cvx}/sdpt3
    SeDuMi   1.34       {cvx}/sedumi
Saving updated preferences...done.
Testing with a simple model...
    UNEXPECTED ERROR: ----------------
    Invalid variable specification: w(
    ----------------------------------
Please report this error to support, and include entire output of
CVX_SETUP in your support request.
---------------------------------------------------------------------------

I have looked in cvx_setup and this is the routine that it is trying to execute when it gets the error.

m = 16; n = 8;
A = randn(m,n);
b = randn(m,1);
cvx_begin('quiet')
    variable('x(n)');
    minimize( norm(A*x-b,1) );
cvx_end

I have run these lines separately, and it seems that the line that is causing the error is

minimize( norm(A*x-b,1) );

with output

>> minimize( norm(A*x-b,1) );
error: Invalid variable specification: w(
error: called from:
error:   /home/robert/octave/cvx/keywords/variable.m at line 57, column 9
error:   /home/robert/octave/cvx/keywords/epigraph.m at line 41, column 1
error:   /home/robert/octave/cvx/builtins/@cvx/abs.m at line 67, column 17
error: evaluating argument list element number 1
error:   /home/robert/octave/cvx/builtins/@cvx/norm.m at line 56, column 24
error: evaluating argument list element number 1
>>

If anyone has any advice it would be much appreciated. Thanks.

I’m not sure where you read this, because it’s not correct.
http://cvxr.com/news/2014/03/cvx-on-octave/

Its funny you wonder where I heard it, because here is the link explicitly referring to Octave. There is also documentation on installation in Octave saying it works for 3.8.1 and up. Anyways thanks, I’ll try back later.

(http://cvxr.com/cvx/doc/install.html)

Here is the link that explicitly refers to Octave. http://cvxr.com/cvx/doc/install.html and here is the install text file http://cvxr.com/cvx/doc/_sources/install.txt But thanks I’ll try back later.

Looks like I have some editing to do. And yet: on that same page, it does not list Octave as a supported platform, either. I will make a formal announcement when Octave support is live.