|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:
2 v4 E, }5 W9 {; O5 Q8 w约束条件是在上面的Table里面直接输入最大最小值吧。3 z" E* p& x. _# i ^; M
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).; X0 u7 d% f# v* ^( f
% z! y' r" Z+ Y8 x% D& \# m# ]
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).4 `3 G0 n" r* P6 r' _& c. L" c
下面的Equation栏里面应该写入目标函数吧。
2 e/ @( w3 ]8 t( ?MaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|