|
|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:. ? F% ?" a' `* b2 W% O4 {; O
约束条件是在上面的Table里面直接输入最大最小值吧。1 M( s" {; J' E+ n- |3 V2 u
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).
0 ], s6 l; X h. \
9 P3 k' T/ Y& w! y u8 d LMaximum 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).4 ~) V% [7 c/ Z o
下面的Equation栏里面应该写入目标函数吧。
X" j% ~1 P3 v: i: zMaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|