MATLAB: Linear and Non-Linear constraint Optimization

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?

Best Answer

Yes, c and ceq can be vectors (or matrices, or arrays of any dimension...).