Linear and Non-Linear constraint Optimization

I have a series of linear constarints and a series of non linear constraints.
I know nonlinconstr(x) deals with the non-linear constraints [c, ceq]. However can we implement series of non linear constraints instead of just one?

 采纳的回答

Matt J
Matt J 2019-2-16
编辑:Matt J 2019-2-16
Yes, c and ceq can be vectors (or matrices, or arrays of any dimension...).

2 个评论

use the code i have provided here:
https://www.mathworks.com/matlabcentral/answers/751894-fmincon-nonlinear-constraints-not-being-optimized?s_tid=prof_contriblnk

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by