个人想法: - x1 H# ?/ L4 a3 [6 m4 }9 ^约束条件是在上面的Table里面直接输入最大最小值吧。3 @5 a6 m* `+ C: p& f
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). # V! Y* ~4 G _9 T0 d+ j/ k+ e" G9 \3 X& C
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)." P' Q8 _+ ~' h7 {; b
下面的Equation栏里面应该写入目标函数吧。/ j& r" Q# g- m: H* g$ U' {+ I6 m& M
MaxProfit (MiniCost)= Var0 + Var1 + Var2;