标签: matlab
我有A,b,f矩阵,如下所示:
A
b
f
A = [ 2 1 1 2 ] B = [ 4; 3 ] F = [ 1; 1 ] LB = [ 0; 0 ] [X, fval, exitflag, output, lambda] = linprog(F, A, B, [], [], LB)
之后,MATLAB提供的解决方案令人惊讶。它说fval的值是1.2169e-013。这不是解决方案。你可以通过识别错误来帮助我吗?
fval
1.2169e-013