function obi=profit(x)
%Function to be maximized. 
global a b0 b1 b2 obi a1 a2 bfmax
obi=-sum(x); %% simply minimize the sum of x. 

end

