V=10;

E=fix(V^2/10);

% Generating a valid adjacency matrix 

A=zeros(0,V);
for k=1:E
    temp=zeros(1,V);
    a=fix(rand*V)+1;
    temp(a)=1;
    flag= true;
    while(flag)
        b=fix(rand*V)+1;
        if b~=a
            flag=false;
        end
    end
    temp(b)=1;
    A=[A;temp];
end

cvx_begin
variable x(V)
minimize (sum(x))
A*x>=1;
x>=0;
cvx_end
