MATLAB: How to use simplex method from matlab toolbox to min objective function with Ax>=b

ax=bsimplex

Dear,
I want to use simplex method from matlab toolbox and is for the constraints Ax<=b. but I have Ax>=b. Is there any suggestions please.
regards,
Nadia

Best Answer

Note that Ax>=b is equivalent to -A*x<=-b, so call linprog as
opts=optimoptions(@linprog,'Algorithm','simplex',...);
linprog(f,-A,-b,...,opts)