vx_end

fprintf(1,<span class="string">'Done! \n'</span>);

<span class="comment">% Optimal strategy for Player 2</span>
fprintf(1,<span class="string">'Computing the optimal strategy for player 2 ... '</span>);

cvx_begin
    variables <span class="string">v(m)</span> <span class="string">t2</span>
    maximize ( t2 )
    v &gt;= 0;
    ones(1,m)*v == 1;
    P*v &gt;= t2*ones(n,1);
cvx_end

fprintf(1,<span class="string">'Done! \n'</span>);

<span class="comment">% Displaying results</span>
disp(<span clas