Remove the quotation marks from 'options'. I don't understand why this didn't produce an error message.
options = optimoptions('linprog','Algorithm','simplex')
[x,fval,exitflag,output,lambda]=linprog(f,A,b,Aeq,beq,[],[],[],options)
I also don't understand why the fact that you have f=[] doesn't produce an error message.
And how can I increase the iterations?
Use the 'MaxIter' option.
