data b;
input x1 x2 a b _type_ $ _rhs_;
datalines;
0 0 1 -1 min .
6 8 -1 0 eq 10
8 12 0 1 eq 10
;
run;
proc lp data=b;run;
本来书上是说最优参数出来是x1=0.4,x2=0.6但我这
里的程序显示是x1=1.25 x2=0,并且log显示
ERROR: Infeasible problem. Note the constraints in the constraint summary that are identified as infeasible. If none of the
constraints are flagged then check the implicit bounds on the variables.
不知道错哪?谢谢




雷达卡


京公网安备 11010802022788号







