个人想法: 4 S2 M( r# l" e; y/ c约束条件是在上面的Table里面直接输入最大最小值吧。) A6 d9 Z+ v4 K7 @ L! ]* T
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). ( B) R* g. {/ e ' u( R! \5 V% P% h* [) JMaximum 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 ~0 _& {: r9 U2 O5 }2 K- s0 z7 w) F下面的Equation栏里面应该写入目标函数吧。 4 M# E& |7 N G1 t' X9 kMaxProfit (MiniCost)= Var0 + Var1 + Var2;