个人想法: # ?" y7 J% b. @. ^* I5 I约束条件是在上面的Table里面直接输入最大最小值吧。3 P! Q3 t8 r/ k) N6 a9 a- W
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). ' F: ]& W. w+ c2 E3 c 9 M- @+ I# Z/ n/ m/ c {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).% ?( t4 I1 H; f: Q7 Z6 U
下面的Equation栏里面应该写入目标函数吧。( m9 r g; A" X
MaxProfit (MiniCost)= Var0 + Var1 + Var2;