8楼有两处错误,
1、缺了条件:X8>100.352;
2、Parameter x(1:2)[0,],x3[188.16,196.8],x(4:5)[0,],x6[0,188.16],x(7:9)[0,];与原条件不符,因为原条件边界不能取等号;
如果按照你的错误做法,lingo 运行结果如下,与你的结果完全相同。
Global optimal solution found at iteration: 130986
Objective value: 136967.2
Variable Value Reduced Cost
X1 183.1155 0.000000
X7 388.7291 0.000000
X8 0.000000 592.3176
X9 0.000000 233.4801
X4 103.8153 0.000000
X6 34.96057 0.000000
X2 270.5856 0.000000
X3 188.1600 469.3340
X5 85.03397 0.000000
Y 136967.2 0.000000
Row Slack or Surplus Dual Price
1 136967.2 1.000000
2 0.000000 188.5141
3 0.000000 -188.5141
4 0.000000 188.5141
5 153.1994 0.000000
6 0.000000 -0.6652787E-01
7 0.000000 52839.08
8 0.000000 -16030.11
9 0.000000 -188.5141
[此贴子已经被作者于2007-5-3 22:53:39编辑过]