个人想法:. w& x) f) }& N0 l) C: g
约束条件是在上面的Table里面直接输入最大最小值吧。 : P }0 K) f* o/ @0 P5 n2 T6 rMinimum 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).4 S' Q0 ]3 A1 U3 k% z
0 m7 N- l; k1 E+ l4 {4 m3 Y/ K
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). 8 R7 ~/ N( T$ |) T下面的Equation栏里面应该写入目标函数吧。 $ ~' I) f1 _/ _' J% dMaxProfit (MiniCost)= Var0 + Var1 + Var2;