SDPT3 does not support integer variables

Hello every one!
I have my code:
c= [-1 4];
a= [-10 20;
5 10 ;
1 0 ];
b=[22;49;5];
cvx_begin
variable x(2) integer;
maximize( cx );
subject to
a
x <= b;
x>=0;
cvx_end

and when I complie , it have error:

matching

Calling SDPT3 4.0: 7 variables, 5 equality constraints


Status: Error
Optimal value (cvx_optval): NaN

Error using cvx_sdpt3>solve (line 131)
SDTP3 does not support integer variables.

Error in cvxprob/solve (line 429)
[ x, status, tprec, iters ] = shim.solve( At, b, c, cones, quiet, prec, solv.settings, eargs{:} );

Error in cvx_end (line 88)
solve( prob );

Error in matching (line 12)
cvx_end

Can you help me!!

Your thread title sums it up quite nicely, SDPT3 does not support integer variables.

Gurobi, CPLEX, MOSEK, and GLPK do support integer (and binary) variables. The table of solver capabilities is at http://web.cvxr.com/cvx/doc/solver.html .

http://web.cvxr.com/cvx/beta/doc/solver.html provides the solver capability matrix for CVX 3.0beta. Neither of the two additional solvers, ECOS and SCS, which are available under 3.0beta but not 2.1, support integer variables.