how to use simplex method from matlab toolbox to min objective function with Ax>=b

3 次查看(过去 30 天)
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

采纳的回答

Matt J
Matt J 2015-9-16
编辑:Matt J 2015-9-16
Note that Ax>=b is equivalent to -A*x<=-b, so call linprog as
opts=optimoptions(@linprog,'Algorithm','simplex',...);
linprog(f,-A,-b,...,opts)

更多回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by