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
If - then statements in linprog
1 次查看(过去 30 天)
显示 更早的评论
Dear all,
how can I implement if - then statements into linprog? Is there a syntax how to write that into constraints?
Thanks, Nina
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!