function [val] = partial_definition_cvx(p,rho,H,sigma2,S)
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here
cvx_begin quiet 

        variable a
       
        maximize a
         
       0<= a <= log(H^2+S) ;
        
cvx_end 
cvx_begin quiet 

        variable b
       
        maximize b
     
        b <= +log(sigma2*(H^2+S)+p*rho) ;
        
cvx_end 


val=(a-b);
end

