|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:
+ L9 [; z0 g0 u: H/ O5 n1 Y约束条件是在上面的Table里面直接输入最大最小值吧。
, j* i5 I7 S# b0 @3 c: PMinimum 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).- J9 n: m% H; |2 w9 l# m2 Y
6 u- J6 ` S* A5 d% a3 W g+ e7 c" 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).
1 u0 ~" H2 C! u6 N0 K: _, Q下面的Equation栏里面应该写入目标函数吧。# f8 {) V2 e1 v; ]$ i
MaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|