个人想法:1 K0 `8 o- Y! s
约束条件是在上面的Table里面直接输入最大最小值吧。3 F' j. B% P4 L
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). * k% A6 b' o/ h) j 3 K8 ^9 `0 p o. _' iMaximum 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).$ [2 ]# h; Q7 A/ x
下面的Equation栏里面应该写入目标函数吧。 ; ?5 ]8 J. l1 [0 y2 n% w4 }MaxProfit (MiniCost)= Var0 + Var1 + Var2;