optimization toolbox-quick question

Hello..
One question: How to use the optimization toolbox (ga) for a problem with 4 variables and three inequality constrains?
Thanks! B.

 Respuesta aceptada

Geoff Hayes
Geoff Hayes el 17 de Mayo de 2015

0 votos

B - have you looked at the documentation found at ga? The first example discusses an optimization problem of two variables with three inequality constraints so I suspect that it can be extended to your problem of 4 variables and three inequality constraints.

2 comentarios

B
B el 21 de Mayo de 2015
Yes, I think so. But if there is any reference on a problem with more than variables, it would be much better.
Geoff Hayes
Geoff Hayes el 21 de Mayo de 2015
B - one of the examples from the above link corresponds to an optimization problem of two variables so you should be able to adapt that for your purposes.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

B
B
el 17 de Mayo de 2015

Comentada:

el 21 de Mayo de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by