|
|
发表于 2009-5-21 20:36:24
|
显示全部楼层
个人想法:8 k+ K+ t' ^# U' B- Z- ?+ o
约束条件是在上面的Table里面直接输入最大最小值吧。
" M: s. c( h Z3 _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).
n |& L5 S- ?8 t( O! X. Y, p$ 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).
t8 O/ U1 c5 ^' }) I% Y7 q7 |下面的Equation栏里面应该写入目标函数吧。
0 f$ g+ j0 U( ]! C8 }MaxProfit (MiniCost)= Var0 + Var1 + Var2; |
|