Nonlinear matrix inequality constraints in fmincon
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I wish to use 'fmincon' to minimize a linear function subject to nonlinear matrix inequality constraints of the form: L(i) = [gi+x(1) x(2)*x(3); x(2)*x(3) qi+x(4)] >= 0, for all i={1,2,..,n}.
The size of the (symmetric) matrix L(i) can be as large as 7x7.
I have MATLAB v7.5 (release 2007b) and from reading the documentation on fmincon, it appears that the nonlinear constraints can only be vectors. So is there any way to impose nonlinear matrix inequality constraints L(i) >= 0.
Many thanks.
0 个评论
采纳的回答
Matt J
2013-9-5
编辑:Matt J
2013-9-9
I'm pretty sure fmincon disregards the shape of the nonlinear constraint array that you supply (since why would the shape matter?). Regardless, there's no clear reason why you have to organize your L(i) as a 7x7 matrix. You can reshape it into a 49x1 vector without changing the meaning of the constraints.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Nonlinear Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!