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

2 views (last 30 days)
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

Accepted Answer

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

More Answers (0)

Categories

Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!