个人想法: - H* `4 J3 Y# y( J4 K( j' Y# g约束条件是在上面的Table里面直接输入最大最小值吧。 ( v9 o( s' V# \: [& t8 Y0 V* JMinimum 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). 3 ?+ J; t2 Q7 L& _) ~9 U9 N+ M7 \! [5 b; d0 _
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 @8 v* N% g1 f5 n+ M下面的Equation栏里面应该写入目标函数吧。 * Q; f5 A" N4 M: t0 u' QMaxProfit (MiniCost)= Var0 + Var1 + Var2;