Info
此问题已关闭。 请重新打开它进行编辑或回答。
Condition between variable fmincon
1 次查看(过去 30 天)
显示 更早的评论
I have an optimization problem of 2 variables a and b of lenght N both.
I want to add the following constraint with matrices:
if a=0 then b=0
Can you help me to do this?
4 个评论
Matt J
2019-11-1
I agree with Alan. If your variables are continuous, it is peculiar to impose such a discontinuous constraint. What is the rationale behind it?
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!