Linprog - How define lb and ub as interval containing zero
Show older comments
I'm using the function linprog of the optimization toolbox. I have defined an interval by use of lb and ub: 0 <= x <= 90.
But actually I would like 'x' getting values between 15 <= x <= 90 AND containing zero. I don't want 'x' getting values between 0 and 15.
The reason is that there's a power station and it's not useful when the power station charges with power less than 15 MW. But it should be possible that the power station has power 0 MW when it's off (not charging).
The background is that I want to charge a power station while the electricity costs are cheap.
Is there any solution?
Accepted Answer
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!