|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:! w% T7 @( a4 E3 G
约束条件是在上面的Table里面直接输入最大最小值吧。# t" J0 E) c; e' j% L/ [8 D
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).$ q( r6 f7 h4 k: q7 j- F+ W
8 Y& c, l, ?3 a. p: t3 [8 MMaximum 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).
* n) F9 I+ n& a' `; @9 ^. a% ^3 Y下面的Equation栏里面应该写入目标函数吧。1 a- {' g4 D1 O$ ?9 o3 j, Z" y
MaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|