|
|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法: L' Y9 V# z$ }( j% e: c7 J
约束条件是在上面的Table里面直接输入最大最小值吧。2 ^6 t" c$ B! {
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).
. W: r9 I2 F6 M9 n, c! O, i* I# [+ x2 N0 l0 T$ r: k& u
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).
, {( w8 J' G, ?4 F6 \* O下面的Equation栏里面应该写入目标函数吧。
& d# w! {, |/ x0 G7 T3 h5 g' sMaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|