MATLAB: Minimum of constrained multivariable function

ciao ciao

Hello guys, I'm a mechanical engineer and I'm executing the constrained optimization problems. In the last week I ran into a problem that I could not provide a solution, so I decided to ask your community for advice. I have to solve a constrained optimization problem and I'm using the 'fmincon', unfortunately I should impose more than one equality in the non-linear constraints (Ceq). But matlab allows me to impose only one constraint for both non-linear equalities and for inequalities, someone has already come across this problem? As you have by-passed the problem? Thank you very much in advance for both the responses and for the attention.

Best Answer

But matlab allows me to impose only one constraint for both non-linear equalities and for inequalities,
Not true. Both c and ceq can be vectors.