|
|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:; O/ y/ U( K4 u6 _6 A& n
约束条件是在上面的Table里面直接输入最大最小值吧。$ G% u! z+ D: w/ z4 f2 t1 V- 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).
3 f4 @7 b6 a j! d8 k: J9 Q
6 O; l$ k1 ~# sMaximum 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).
+ T# i$ Q2 a& I/ n8 ?下面的Equation栏里面应该写入目标函数吧。
8 U* f, _2 m5 ~MaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|