CVX 3 bug in simple problem

(Denis Rosset) #1

EDIT: I filed a support ticket for it. This post should be deleted.

The following problem:

variable x
variable y
maximize sum(x + y)
x <= 1
y <= 1

is met with an error

Error using <=
Matrix dimensions must agree.

Error in cvx_extract (line 377)
rx = rx(dx<=abs(c_slack(cx)));

Error in cvx_solve (line 26)
[ At, cones, sgn, Q, P, exps, dualized ] = cvx_extract( shim.config, );

Error in cvx_finish

Error in cvx_end (line 11)
evalin( ‘caller’, ‘cvx_finish’ );