<>程序中的目标函数有误,</P>
<>若改成</P>
<>min 14x2+15x1+2x3+x4<br>st <br>x4=1150<br>x1+x2<=40<br>x2>=30<br>x2<=50<br>x1+x3>=10<br>x3>=20<br>end<br>结果为:</P>
<P>LP OPTIMUM FOUND AT STEP 0</P>
<P> OBJECTIVE FUNCTION VALUE</P>
<P> 1) 1610.000</P>
<P> VARIABLE VALUE REDUCED COST<br> X2 30.000000 0.000000<br> X1 0.000000 15.000000<br> X3 20.000000 0.000000<br> X4 1150.000000 0.000000</P>
<P><br> ROW SLACK OR SURPLUS DUAL PRICES<br> 2) 0.000000 -1.000000<br> 3) 10.000000 0.000000<br> 4) 0.000000 -14.000000<br> 5) 20.000000 0.000000<br> 6) 10.000000 0.000000<br> 7) 0.000000 -2.000000</P>
<P> NO. ITERATIONS= 0</P>
<P><br> RANGES IN WHICH THE BASIS IS UNCHANGED:</P>
<P> OBJ COEFFICIENT RANGES<br> VARIABLE CURRENT ALLOWABLE ALLOWABLE<br> COEF INCREASE DECREASE<br> X2 14.000000 INFINITY 14.000000<br> X1 15.000000 INFINITY 15.000000<br> X3 2.000000 INFINITY 2.000000<br> X4 1.000000 INFINITY INFINITY</P>
<P> RIGHTHAND SIDE RANGES<br> ROW CURRENT ALLOWABLE ALLOWABLE<br> RHS INCREASE DECREASE<br> 2 1150.000000 INFINITY 1150.000000<br> 3 40.000000 INFINITY 10.000000<br> 4 30.000000 10.000000 30.000000<br> 5 50.000000 INFINITY 20.000000<br> 6 10.000000 10.000000 INFINITY<br> 7 20.000000 INFINITY 10.000000</P>
<P><br> </P>
[此贴子已经被作者于2005-8-27 17:23:53编辑过]
|