lower bound in inequality constrints in linprog command

1 view (last 30 days)
in 'linprog' command how can define and assign lower bound in inequality constraint? for example 'c' in the following constraint c≤A*X≤b According to the MATLAB help The default format only include upper bound 'b'.
thanks.

Answers (1)

Matt J
Matt J on 24 Jan 2014
Edited: Matt J on 24 Jan 2014
Lower bound inequalities
c<=A*x
can be converted to equivalent upper bound inequalities,
(-A)*x<=(-c)

Categories

Find more on Problem-Based Optimization Setup 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!