线性、非线性的区别: ① linprog函数: 求解线性规划问题,求目标函数的最小值, [x,y]= linprog(c,A,b,Aeq,beq,lb,ub) 求最大值时,c加上负号:-c ② intlinprog函数: 求解混合整数线性规划问题, [x,y]= intlinprog(c,