% Syntax: opt_toolbox_lp

c=[-20 -30];
A=[  1   1
   0.1 0.2];
b=[100 14]';
lb=zeros(2,1);
ub=[];             % No upper bound
[x,fval,exitflag]=linprog(c,A,b,[],[],lb,ub)
profit=-c*x
