minimum of constrained multivariable function

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.

 Accepted 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.

More Answers (1)

Thank you very much Matt, I had misunderstood the instructions in the manual of matlab. Now I try to rewrite (Ceq) as a vector. best regards elcaffo

Tags

Community Treasure Hunt

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

Start Hunting!