100<=P1<=200 100<=P2<=200 100<=P3<=200 80<=P4<=200 P3+P4<=210
F=45*P1+50*P2+60*P3+48*P4 =>min
我无法找到如何实现这个F
的最小值
答案
syms P1 P2 P3 P4 PL5
Z=solve('P1>=100','P1<=200','P2>=100','P2<=200'
,'P3>=100','P3<=200','P4>=80','P4<=200','P1+P2+P3+P4=500','P3+P4<=210')