If - then statements in linprog
Show older comments
Dear all,
how can I implement if - then statements into linprog? Is there a syntax how to write that into constraints?
Thanks, Nina
Answers (1)
Walter Roberson
on 7 Oct 2011
0 votes
Perhaps an example would help, but I suspect the answer is You Cannot Do That. But perhaps you do not really mean "if then" statements and are just trying to rephrase your previous question that involved linear constraints
Categories
Find more on Solver Outputs and Iterative Display 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!