求助:该程序有什么问题,该怎样改?
f=[10 8 9 11 13 12];
>> aeq=[1 1 1 0 0 0;0 0 0 1 1 1;1 0 0 1 0 0;0 1 0 0 1 0;0 0 1 0 0 1];
>> beq=[10;25;10;20;15];
>> lb=[0;0;0;0;0;0];
>> [x,fval]=linprog(f,[],[],aeq,beq,lb)
Exiting: One or more of the residuals, duality gap, or total relative error
has stalled:
the primal appears to be infeasible (and the dual unbounded).
(The dual residual < TolFun=1.00e-008.)
x =
0.0001
19.9999
0.0000
9.9999
0.0001
15.0000