|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:+ M1 w- o7 @6 Q) h( x% U3 Y
约束条件是在上面的Table里面直接输入最大最小值吧。
4 X, z1 h0 }; u& u+ z, 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).' L n: g( L* T: P* b# |0 a% x# d
9 v8 [( z' @8 q( d+ TMaximum 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).' C. L+ P" G. t
下面的Equation栏里面应该写入目标函数吧。
! ^4 C. m: G M* B% U6 f6 VMaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|