个人想法: 6 W3 b' s( X* K2 g' b0 J约束条件是在上面的Table里面直接输入最大最小值吧。; C4 |% q8 p. @' _5 Y
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). 6 x/ _0 w' c: p! N& b) } W2 T8 Z$ m2 A2 ?: ^2 ]6 l8 tMaximum 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). ! [( {- \; N7 b! i! O下面的Equation栏里面应该写入目标函数吧。 9 C; |! J8 _/ Z" R: ^6 {- Y& q3 C1 q5 nMaxProfit (MiniCost)= Var0 + Var1 + Var2;