求大神解答
f = [-5; -4; -6];
>> A = [1 -1 1
3 2 4
3 2 0];
>> b = [20; 42; 30];
lb = zeros(3,1);
>> [x,fval,exitflag,output,lambda] = linprog(f,A,b,[],[],lb);
Error using sparsfun
Unknown command option.Error in colmmd (line 12)
p = sparsfun('colmmd',S);Error in lipsol (line 680)
perm = colmmd(A');Error in linprog (line 160)
[x,fval,lambda,exitflag,output] = lipsol(f,A,B,Aeq,Beq,lb,ub,options,defaultopt,computeLambda);
f = [-5; -4; -6];
>> A = [1 -1 1
3 2 4
3 2 0];
>> b = [20; 42; 30];
lb = zeros(3,1);
>> [x,fval,exitflag,output,lambda] = linprog(f,A,b,[],[],lb);
Error using sparsfun
Unknown command option.Error in colmmd (line 12)
p = sparsfun('colmmd',S);Error in lipsol (line 680)
perm = colmmd(A');Error in linprog (line 160)
[x,fval,lambda,exitflag,output] = lipsol(f,A,B,Aeq,Beq,lb,ub,options,defaultopt,computeLambda);