Model.txt LP model: A=[1 1 1 1 40*l(5) 10 12 25-5*l(3) -0.8 0.2 0.2 0.2 0 0 0 1 2 3 2 2 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1] b=[1000+l(1) 12000+l(2) 0 (0.3+l(4)*0.05)*(1000+l(1)) 2*(1000+l(1)) 0 0 0 0] Ax<=b are constraints c=-[1600*l(5) 5*50 6*80 0.5*1000] minimize cx -------------------------------------------- BCOP: cost function: (l(1)-1000)*200+(l(2)-12000)*20+5000*l(3)+10000*l(4)+(l(5)-0.25)*1000 Constraints: cons(1)=x(1)+x(2)+x(3)+x(4)-1000-l(1); cons(2)=40*(l(5))*x(1)+10*x(2)+12*x(3)+(25-5*l(3))*x(4)-12000-l(2); cons(3)=0.2*(x(1)+x(2)+x(3)+x(4))-x(1); cons(4)=x(4)-(0.3+0.05*l(4))*(1000+l(1)); cons(5)=(x(2)/(1000+l(1)-x(1)-x(2)-x(3)-x(4)))-2; cons(6)=-x(1); cons(7)=-x(2); cons(8)=-x(3); cons(9)=-x(4); cons(10)=-l(1); cons(11)=l(1)-1000; cons(12)=-l(2); cons(13)=l(2)-3000; cons(14)=-l(3); cons(15)=-l(4); cons(16)=l(3)-1; cons(17)=l(4)-1; cons(18)=-l(5)+0.25; cons(19)=l(5)-0.7; Boundaries: [x(1) x(2) x(3) x(4) l(1) l(2) l(3) l(4) l(5)] min=[0 0 0 0 0 0 0 0 0.25]; max=[10000 10000 10000 10000 1000 3000 1 1 0.7]; l=[additional acres for 200$ (up to 1000 addition is possible), additional labor hour for 20$/h (up to 3000 addition is possible), renting a tomato packing machin for 5000$, a new license for 10000$, less yield for cattle linear from 0.25 to 0.7 for 0 to 10000$]