个人想法: R- v* _3 k7 B. B* [; K2 b
约束条件是在上面的Table里面直接输入最大最小值吧。 & \1 V2 |" z5 B5 y `' q: x6 yMinimum 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). : a5 z* B4 b( P0 P4 _* y+ H3 h G. I# 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). 7 j) C. Q( |% f( O' I2 i下面的Equation栏里面应该写入目标函数吧。 ) w+ ?5 K d0 D4 {; Q3 t. NMaxProfit (MiniCost)= Var0 + Var1 + Var2;