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
ax <= 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!!