个人想法: ! a/ T$ m; O$ J7 F8 \约束条件是在上面的Table里面直接输入最大最小值吧。 ; o) s* W% t5 E( ]8 u- c% K: CMinimum 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).# p6 |0 G j: O( h( b( m1 K
. Z+ E) e* T# ]" ] F& c s4 vMaximum 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). / J: Y' w' j5 K2 o下面的Equation栏里面应该写入目标函数吧。: L' R1 D6 ]4 o" X
MaxProfit (MiniCost)= Var0 + Var1 + Var2;