0
 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')
4

0 に答える 0