个人想法:( F% d0 m% g# X6 o& s
约束条件是在上面的Table里面直接输入最大最小值吧。/ B$ A# p7 T! [+ p' r' n; `
Minimum Limit: Table Column 5: The minimum value that this variable can be set to by the Optimizer block. If it is entered without a decimal point, it can only assume integer values. Do not enter limits for variables that are used as results from the model (i.e. Exited from an Exit block). 3 T u* \7 H. e6 }" Y5 l: A8 m2 r& z# {& V% Q5 @0 k1 P) f
Maximum Limit: Table Column 6: The maximum value that this variable can be set to by the Optimizer block. If it is entered without a decimal point, it can only assume integer values. Do not enter limits for variables that are used as results from the model (i.e. Exited from an Exit block). ! f0 I' j$ X+ d+ b下面的Equation栏里面应该写入目标函数吧。 + P( e |& ?; O. RMaxProfit (MiniCost)= Var0 + Var1 + Var2;