|
|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:: u7 H) h/ p5 Q, C& Q' k
约束条件是在上面的Table里面直接输入最大最小值吧。& y6 a$ O8 N! r1 E9 q$ Q5 L$ E
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).% K3 Y6 x3 m* a4 l7 L1 v' V) d5 S
3 t3 ~) u, L, y% W. _
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).2 R4 Q- v6 g% g7 m' \3 j1 u4 y, z. A8 c( |
下面的Equation栏里面应该写入目标函数吧。) T/ m3 S: A1 M; j: ]
MaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|