|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:
/ h4 _+ G& o* v, X9 v1 `约束条件是在上面的Table里面直接输入最大最小值吧。
& \. Y9 a# ]7 I- I& V# [( FMinimum 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).- y( b% n- _5 S4 f
8 g6 Q; l$ {8 u& Z" P
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).
9 ]+ x; f* h- U# O- i+ S/ z" I下面的Equation栏里面应该写入目标函数吧。5 m! H/ ~/ U* ^4 |" s9 H8 y
MaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|