急需会运筹学的,帮忙解决一个多目标规划问题答:先按销路平衡一下预期利润 In[37]:= {7, 6, 9, 10}*60/100 + {5, 4, 6, 2}*40/100 Out[37]= {31/5, 26/5, 39/5, 34/5} 再求解:In[75]:= u = 4; z = 2; a = Array[# &, {u}]; b = Array[# &, {z}]; zt = {45, 36}; ut = {31/5, 26/5, ...
求运筹学目标规划问题答案答:r,g,b表示三种酒,r1,r2,r3表示红酒里面三种原料的成分,g1...b3类似。用mathematica求解:In[28]:= Clear["`*"];vars = {r, r1, r2, r3, b, b1, b2, b3, g, g1, g2, g3};con0 = # >= 0 & /@ vars;con1 = {r1 + b1 + g1 <= 1500, r2 + b2 + g2 <= 20...