|
|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:5 e1 p3 z& w1 b% u2 l- |
约束条件是在上面的Table里面直接输入最大最小值吧。
9 |/ A$ R- D9 @5 LMinimum 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).1 W6 q! }; q( d4 I
1 v3 c; k1 I) u0 r' X% jMaximum 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).
) s9 V% h7 x0 Q0 }下面的Equation栏里面应该写入目标函数吧。5 z& E8 T& j5 `, m0 q5 }6 O0 E
MaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|